Documentation ¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues() []string
- func GetDrPlanExecutionControlDetailsActionTypeEnumStringValues() []string
- func GetDrPlanExecutionLifecycleStateEnumStringValues() []string
- func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues() []string
- func GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues() []string
- func GetDrPlanExecutionTypeEnumStringValues() []string
- func GetDrPlanGroupExecutionStatusEnumStringValues() []string
- func GetDrPlanGroupTypeEnumStringValues() []string
- func GetDrPlanLifecycleStateEnumStringValues() []string
- func GetDrPlanStepErrorModeEnumStringValues() []string
- func GetDrPlanStepExecutionStatusEnumStringValues() []string
- func GetDrPlanStepTypeEnumStringValues() []string
- func GetDrPlanTypeEnumStringValues() []string
- func GetDrPlanUserDefinedStepStepTypeEnumStringValues() []string
- func GetDrProtectionGroupLifecycleStateEnumStringValues() []string
- func GetDrProtectionGroupMemberTypeEnumStringValues() []string
- func GetDrProtectionGroupRoleEnumStringValues() []string
- func GetListDrPlanExecutionsDrPlanExecutionTypeEnumStringValues() []string
- func GetListDrPlanExecutionsLifecycleStateEnumStringValues() []string
- func GetListDrPlanExecutionsSortByEnumStringValues() []string
- func GetListDrPlanExecutionsSortOrderEnumStringValues() []string
- func GetListDrPlansDrPlanTypeEnumStringValues() []string
- func GetListDrPlansLifecycleStateEnumStringValues() []string
- func GetListDrPlansSortByEnumStringValues() []string
- func GetListDrPlansSortOrderEnumStringValues() []string
- func GetListDrProtectionGroupsLifecycleStateEnumStringValues() []string
- func GetListDrProtectionGroupsRoleEnumStringValues() []string
- func GetListDrProtectionGroupsSortByEnumStringValues() []string
- func GetListDrProtectionGroupsSortOrderEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues() []string
- type ActionTypeEnum
- type AssociateDrProtectionGroupDetails
- type AssociateDrProtectionGroupRequest
- func (request AssociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request AssociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request AssociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request AssociateDrProtectionGroupRequest) String() string
- func (request AssociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type AssociateDrProtectionGroupResponse
- type CancelDrPlanExecutionDetails
- type CancelDrPlanExecutionRequest
- func (request CancelDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelDrPlanExecutionRequest) String() string
- func (request CancelDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type CancelDrPlanExecutionResponse
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type ChangeDrProtectionGroupCompartmentDetails
- type ChangeDrProtectionGroupCompartmentRequest
- func (request ChangeDrProtectionGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeDrProtectionGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeDrProtectionGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeDrProtectionGroupCompartmentRequest) String() string
- func (request ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeDrProtectionGroupCompartmentResponse
- type ComputeInstanceMovableVnicMapping
- type ComputeInstanceMovableVnicMappingDetails
- type ComputeInstanceVnicMapping
- type ComputeInstanceVnicMappingDetails
- type CreateDrPlanDetails
- type CreateDrPlanExecutionDetails
- type CreateDrPlanExecutionRequest
- func (request CreateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDrPlanExecutionRequest) String() string
- func (request CreateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type CreateDrPlanExecutionResponse
- type CreateDrPlanRequest
- func (request CreateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDrPlanRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDrPlanRequest) String() string
- func (request CreateDrPlanRequest) ValidateEnumValue() (bool, error)
- type CreateDrPlanResponse
- type CreateDrProtectionGroupDetails
- type CreateDrProtectionGroupMemberAutonomousDatabaseDetails
- func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) String() string
- func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupMemberComputeInstanceDetails
- func (m CreateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberComputeInstanceDetails) String() string
- func (m CreateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupMemberComputeInstanceMovableDetails
- func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string
- func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails
- func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string
- func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupMemberDatabaseDetails
- func (m CreateDrProtectionGroupMemberDatabaseDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberDatabaseDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberDatabaseDetails) String() string
- func (m CreateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupMemberDetails
- type CreateDrProtectionGroupMemberVolumeGroupDetails
- func (m CreateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId() *string
- func (m CreateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateDrProtectionGroupMemberVolumeGroupDetails) String() string
- func (m CreateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupRequest
- func (request CreateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDrProtectionGroupRequest) String() string
- func (request CreateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type CreateDrProtectionGroupResponse
- type CreateObjectStorageLogLocationDetails
- type DeleteDrPlanExecutionRequest
- func (request DeleteDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDrPlanExecutionRequest) String() string
- func (request DeleteDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type DeleteDrPlanExecutionResponse
- type DeleteDrPlanRequest
- func (request DeleteDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDrPlanRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDrPlanRequest) String() string
- func (request DeleteDrPlanRequest) ValidateEnumValue() (bool, error)
- type DeleteDrPlanResponse
- type DeleteDrProtectionGroupRequest
- func (request DeleteDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDrProtectionGroupRequest) String() string
- func (request DeleteDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type DeleteDrProtectionGroupResponse
- type DisassociateDrProtectionGroupDefaultDetails
- type DisassociateDrProtectionGroupDetails
- type DisassociateDrProtectionGroupDetailsTypeEnum
- type DisassociateDrProtectionGroupRequest
- func (request DisassociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DisassociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DisassociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request DisassociateDrProtectionGroupRequest) String() string
- func (request DisassociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type DisassociateDrProtectionGroupResponse
- type DisasterRecoveryClient
- func (client DisasterRecoveryClient) AssociateDrProtectionGroup(ctx context.Context, request AssociateDrProtectionGroupRequest) (response AssociateDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) CancelDrPlanExecution(ctx context.Context, request CancelDrPlanExecutionRequest) (response CancelDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
- func (client DisasterRecoveryClient) ChangeDrProtectionGroupCompartment(ctx context.Context, request ChangeDrProtectionGroupCompartmentRequest) (response ChangeDrProtectionGroupCompartmentResponse, err error)
- func (client *DisasterRecoveryClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DisasterRecoveryClient) CreateDrPlan(ctx context.Context, request CreateDrPlanRequest) (response CreateDrPlanResponse, err error)
- func (client DisasterRecoveryClient) CreateDrPlanExecution(ctx context.Context, request CreateDrPlanExecutionRequest) (response CreateDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) CreateDrProtectionGroup(ctx context.Context, request CreateDrProtectionGroupRequest) (response CreateDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) DeleteDrPlan(ctx context.Context, request DeleteDrPlanRequest) (response DeleteDrPlanResponse, err error)
- func (client DisasterRecoveryClient) DeleteDrPlanExecution(ctx context.Context, request DeleteDrPlanExecutionRequest) (response DeleteDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) DeleteDrProtectionGroup(ctx context.Context, request DeleteDrProtectionGroupRequest) (response DeleteDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) DisassociateDrProtectionGroup(ctx context.Context, request DisassociateDrProtectionGroupRequest) (response DisassociateDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) GetDrPlan(ctx context.Context, request GetDrPlanRequest) (response GetDrPlanResponse, err error)
- func (client DisasterRecoveryClient) GetDrPlanExecution(ctx context.Context, request GetDrPlanExecutionRequest) (response GetDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) GetDrProtectionGroup(ctx context.Context, request GetDrProtectionGroupRequest) (response GetDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client DisasterRecoveryClient) IgnoreDrPlanExecution(ctx context.Context, request IgnoreDrPlanExecutionRequest) (response IgnoreDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) ListDrPlanExecutions(ctx context.Context, request ListDrPlanExecutionsRequest) (response ListDrPlanExecutionsResponse, err error)
- func (client DisasterRecoveryClient) ListDrPlans(ctx context.Context, request ListDrPlansRequest) (response ListDrPlansResponse, err error)
- func (client DisasterRecoveryClient) ListDrProtectionGroups(ctx context.Context, request ListDrProtectionGroupsRequest) (response ListDrProtectionGroupsResponse, err error)
- func (client DisasterRecoveryClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client DisasterRecoveryClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client DisasterRecoveryClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client DisasterRecoveryClient) PauseDrPlanExecution(ctx context.Context, request PauseDrPlanExecutionRequest) (response PauseDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) ResumeDrPlanExecution(ctx context.Context, request ResumeDrPlanExecutionRequest) (response ResumeDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) RetryDrPlanExecution(ctx context.Context, request RetryDrPlanExecutionRequest) (response RetryDrPlanExecutionResponse, err error)
- func (client *DisasterRecoveryClient) SetRegion(region string)
- func (client DisasterRecoveryClient) UpdateDrPlan(ctx context.Context, request UpdateDrPlanRequest) (response UpdateDrPlanResponse, err error)
- func (client DisasterRecoveryClient) UpdateDrPlanExecution(ctx context.Context, request UpdateDrPlanExecutionRequest) (response UpdateDrPlanExecutionResponse, err error)
- func (client DisasterRecoveryClient) UpdateDrProtectionGroup(ctx context.Context, request UpdateDrProtectionGroupRequest) (response UpdateDrProtectionGroupResponse, err error)
- func (client DisasterRecoveryClient) UpdateDrProtectionGroupRole(ctx context.Context, request UpdateDrProtectionGroupRoleRequest) (response UpdateDrProtectionGroupRoleResponse, err error)
- type DrPlan
- type DrPlanCollection
- type DrPlanExecution
- type DrPlanExecutionCollection
- type DrPlanExecutionControlDetails
- type DrPlanExecutionControlDetailsActionTypeEnum
- type DrPlanExecutionLifecycleStateEnum
- type DrPlanExecutionOptionDetails
- type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
- type DrPlanExecutionOptions
- type DrPlanExecutionOptionsPlanExecutionTypeEnum
- type DrPlanExecutionSummary
- type DrPlanExecutionTypeEnum
- type DrPlanGroup
- type DrPlanGroupExecution
- type DrPlanGroupExecutionStatusEnum
- type DrPlanGroupTypeEnum
- type DrPlanLifecycleStateEnum
- type DrPlanStep
- type DrPlanStepErrorModeEnum
- type DrPlanStepExecution
- type DrPlanStepExecutionStatusEnum
- type DrPlanStepTypeEnum
- type DrPlanSummary
- type DrPlanTypeEnum
- type DrPlanUserDefinedStep
- type DrPlanUserDefinedStepStepTypeEnum
- type DrProtectionGroup
- type DrProtectionGroupCollection
- type DrProtectionGroupLifecycleStateEnum
- type DrProtectionGroupMember
- type DrProtectionGroupMemberAutonomousDatabase
- func (m DrProtectionGroupMemberAutonomousDatabase) GetMemberId() *string
- func (m DrProtectionGroupMemberAutonomousDatabase) MarshalJSON() (buff []byte, e error)
- func (m DrProtectionGroupMemberAutonomousDatabase) String() string
- func (m DrProtectionGroupMemberAutonomousDatabase) ValidateEnumValue() (bool, error)
- type DrProtectionGroupMemberComputeInstance
- func (m DrProtectionGroupMemberComputeInstance) GetMemberId() *string
- func (m DrProtectionGroupMemberComputeInstance) MarshalJSON() (buff []byte, e error)
- func (m DrProtectionGroupMemberComputeInstance) String() string
- func (m DrProtectionGroupMemberComputeInstance) ValidateEnumValue() (bool, error)
- type DrProtectionGroupMemberComputeInstanceMovable
- func (m DrProtectionGroupMemberComputeInstanceMovable) GetMemberId() *string
- func (m DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON() (buff []byte, e error)
- func (m DrProtectionGroupMemberComputeInstanceMovable) String() string
- func (m DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue() (bool, error)
- type DrProtectionGroupMemberComputeInstanceNonMovable
- func (m DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId() *string
- func (m DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON() (buff []byte, e error)
- func (m DrProtectionGroupMemberComputeInstanceNonMovable) String() string
- func (m DrProtectionGroupMemberComputeInstanceNonMovable) ValidateEnumValue() (bool, error)
- type DrProtectionGroupMemberDatabase
- type DrProtectionGroupMemberTypeEnum
- type DrProtectionGroupMemberVolumeGroup
- type DrProtectionGroupRoleEnum
- type DrProtectionGroupSummary
- type FailoverExecutionOptionDetails
- type FailoverExecutionOptions
- type FailoverPrecheckExecutionOptionDetails
- type FailoverPrecheckExecutionOptions
- type GetDrPlanExecutionRequest
- func (request GetDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDrPlanExecutionRequest) String() string
- func (request GetDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type GetDrPlanExecutionResponse
- type GetDrPlanRequest
- func (request GetDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDrPlanRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDrPlanRequest) String() string
- func (request GetDrPlanRequest) ValidateEnumValue() (bool, error)
- type GetDrPlanResponse
- type GetDrProtectionGroupRequest
- func (request GetDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDrProtectionGroupRequest) String() string
- func (request GetDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type GetDrProtectionGroupResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type IgnoreDrPlanExecutionDetails
- type IgnoreDrPlanExecutionRequest
- func (request IgnoreDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request IgnoreDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request IgnoreDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request IgnoreDrPlanExecutionRequest) String() string
- func (request IgnoreDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type IgnoreDrPlanExecutionResponse
- type InvokeFunctionPrecheckStep
- type InvokeFunctionStep
- type ListDrPlanExecutionsDrPlanExecutionTypeEnum
- type ListDrPlanExecutionsLifecycleStateEnum
- type ListDrPlanExecutionsRequest
- func (request ListDrPlanExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDrPlanExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDrPlanExecutionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDrPlanExecutionsRequest) String() string
- func (request ListDrPlanExecutionsRequest) ValidateEnumValue() (bool, error)
- type ListDrPlanExecutionsResponse
- type ListDrPlanExecutionsSortByEnum
- type ListDrPlanExecutionsSortOrderEnum
- type ListDrPlansDrPlanTypeEnum
- type ListDrPlansLifecycleStateEnum
- type ListDrPlansRequest
- func (request ListDrPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDrPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDrPlansRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDrPlansRequest) String() string
- func (request ListDrPlansRequest) ValidateEnumValue() (bool, error)
- type ListDrPlansResponse
- type ListDrPlansSortByEnum
- type ListDrPlansSortOrderEnum
- type ListDrProtectionGroupsLifecycleStateEnum
- type ListDrProtectionGroupsRequest
- func (request ListDrProtectionGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDrProtectionGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDrProtectionGroupsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDrProtectionGroupsRequest) String() string
- func (request ListDrProtectionGroupsRequest) ValidateEnumValue() (bool, error)
- type ListDrProtectionGroupsResponse
- type ListDrProtectionGroupsRoleEnum
- type ListDrProtectionGroupsSortByEnum
- type ListDrProtectionGroupsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type LocalScriptPrecheckStep
- type ObjectStorageLogLocation
- type ObjectStorageScriptLocation
- type ObjectStoreScriptPrecheckStep
- type OperationStatusEnum
- type OperationTypeEnum
- type PauseDrPlanExecutionDetails
- type PauseDrPlanExecutionRequest
- func (request PauseDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request PauseDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request PauseDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request PauseDrPlanExecutionRequest) String() string
- func (request PauseDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type PauseDrPlanExecutionResponse
- type ResumeDrPlanExecutionDetails
- type ResumeDrPlanExecutionRequest
- func (request ResumeDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ResumeDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ResumeDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request ResumeDrPlanExecutionRequest) String() string
- func (request ResumeDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type ResumeDrPlanExecutionResponse
- type RetryDrPlanExecutionDetails
- type RetryDrPlanExecutionRequest
- func (request RetryDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RetryDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RetryDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request RetryDrPlanExecutionRequest) String() string
- func (request RetryDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type RetryDrPlanExecutionResponse
- type RunLocalScriptUserDefinedStep
- type RunObjectStoreScriptUserDefinedStep
- type SortOrderEnum
- type SwitchoverExecutionOptionDetails
- type SwitchoverExecutionOptions
- type SwitchoverPrecheckExecutionOptionDetails
- type SwitchoverPrecheckExecutionOptions
- type UpdateDrPlanDetails
- type UpdateDrPlanExecutionDetails
- type UpdateDrPlanExecutionRequest
- func (request UpdateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDrPlanExecutionRequest) String() string
- func (request UpdateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
- type UpdateDrPlanExecutionResponse
- type UpdateDrPlanGroupDetails
- type UpdateDrPlanRequest
- func (request UpdateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDrPlanRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDrPlanRequest) String() string
- func (request UpdateDrPlanRequest) ValidateEnumValue() (bool, error)
- type UpdateDrPlanResponse
- type UpdateDrPlanStepDetails
- type UpdateDrPlanUserDefinedStepDetails
- type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
- type UpdateDrProtectionGroupDetails
- type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails
- func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) String() string
- func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupMemberComputeInstanceDetails
- func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) String() string
- func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupMemberComputeInstanceMovableDetails
- func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string
- func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails
- func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string
- func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupMemberDatabaseDetails
- func (m UpdateDrProtectionGroupMemberDatabaseDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberDatabaseDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberDatabaseDetails) String() string
- func (m UpdateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupMemberDetails
- type UpdateDrProtectionGroupMemberVolumeGroupDetails
- func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId() *string
- func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) String() string
- func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupRequest
- func (request UpdateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDrProtectionGroupRequest) String() string
- func (request UpdateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupResponse
- type UpdateDrProtectionGroupRoleDetails
- type UpdateDrProtectionGroupRoleRequest
- func (request UpdateDrProtectionGroupRoleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDrProtectionGroupRoleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDrProtectionGroupRoleRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDrProtectionGroupRoleRequest) String() string
- func (request UpdateDrProtectionGroupRoleRequest) ValidateEnumValue() (bool, error)
- type UpdateDrProtectionGroupRoleResponse
- type UpdateInvokeFunctionPrecheckStepDetails
- type UpdateInvokeFunctionUserDefinedStepDetails
- type UpdateLocalScriptPrecheckStepDetails
- type UpdateObjectStorageLogLocationDetails
- type UpdateObjectStorageScriptLocationDetails
- type UpdateObjectStoreScriptPrecheckStepDetails
- type UpdateRunLocalScriptUserDefinedStepDetails
- type UpdateRunObjectStoreScriptUserDefinedStepDetails
- type WorkRequest
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues ¶
func GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues() []string
GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues Enumerates the set of values in String for DisassociateDrProtectionGroupDetailsTypeEnum
func GetDrPlanExecutionControlDetailsActionTypeEnumStringValues ¶
func GetDrPlanExecutionControlDetailsActionTypeEnumStringValues() []string
GetDrPlanExecutionControlDetailsActionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionControlDetailsActionTypeEnum
func GetDrPlanExecutionLifecycleStateEnumStringValues ¶
func GetDrPlanExecutionLifecycleStateEnumStringValues() []string
GetDrPlanExecutionLifecycleStateEnumStringValues Enumerates the set of values in String for DrPlanExecutionLifecycleStateEnum
func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues ¶
func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues() []string
GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
func GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues ¶
func GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues() []string
GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionOptionsPlanExecutionTypeEnum
func GetDrPlanExecutionTypeEnumStringValues ¶
func GetDrPlanExecutionTypeEnumStringValues() []string
GetDrPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionTypeEnum
func GetDrPlanGroupExecutionStatusEnumStringValues ¶
func GetDrPlanGroupExecutionStatusEnumStringValues() []string
GetDrPlanGroupExecutionStatusEnumStringValues Enumerates the set of values in String for DrPlanGroupExecutionStatusEnum
func GetDrPlanGroupTypeEnumStringValues ¶
func GetDrPlanGroupTypeEnumStringValues() []string
GetDrPlanGroupTypeEnumStringValues Enumerates the set of values in String for DrPlanGroupTypeEnum
func GetDrPlanLifecycleStateEnumStringValues ¶
func GetDrPlanLifecycleStateEnumStringValues() []string
GetDrPlanLifecycleStateEnumStringValues Enumerates the set of values in String for DrPlanLifecycleStateEnum
func GetDrPlanStepErrorModeEnumStringValues ¶
func GetDrPlanStepErrorModeEnumStringValues() []string
GetDrPlanStepErrorModeEnumStringValues Enumerates the set of values in String for DrPlanStepErrorModeEnum
func GetDrPlanStepExecutionStatusEnumStringValues ¶
func GetDrPlanStepExecutionStatusEnumStringValues() []string
GetDrPlanStepExecutionStatusEnumStringValues Enumerates the set of values in String for DrPlanStepExecutionStatusEnum
func GetDrPlanStepTypeEnumStringValues ¶
func GetDrPlanStepTypeEnumStringValues() []string
GetDrPlanStepTypeEnumStringValues Enumerates the set of values in String for DrPlanStepTypeEnum
func GetDrPlanTypeEnumStringValues ¶
func GetDrPlanTypeEnumStringValues() []string
GetDrPlanTypeEnumStringValues Enumerates the set of values in String for DrPlanTypeEnum
func GetDrPlanUserDefinedStepStepTypeEnumStringValues ¶
func GetDrPlanUserDefinedStepStepTypeEnumStringValues() []string
GetDrPlanUserDefinedStepStepTypeEnumStringValues Enumerates the set of values in String for DrPlanUserDefinedStepStepTypeEnum
func GetDrProtectionGroupLifecycleStateEnumStringValues ¶
func GetDrProtectionGroupLifecycleStateEnumStringValues() []string
GetDrProtectionGroupLifecycleStateEnumStringValues Enumerates the set of values in String for DrProtectionGroupLifecycleStateEnum
func GetDrProtectionGroupMemberTypeEnumStringValues ¶
func GetDrProtectionGroupMemberTypeEnumStringValues() []string
GetDrProtectionGroupMemberTypeEnumStringValues Enumerates the set of values in String for DrProtectionGroupMemberTypeEnum
func GetDrProtectionGroupRoleEnumStringValues ¶
func GetDrProtectionGroupRoleEnumStringValues() []string
GetDrProtectionGroupRoleEnumStringValues Enumerates the set of values in String for DrProtectionGroupRoleEnum
func GetListDrPlanExecutionsDrPlanExecutionTypeEnumStringValues ¶
func GetListDrPlanExecutionsDrPlanExecutionTypeEnumStringValues() []string
GetListDrPlanExecutionsDrPlanExecutionTypeEnumStringValues Enumerates the set of values in String for ListDrPlanExecutionsDrPlanExecutionTypeEnum
func GetListDrPlanExecutionsLifecycleStateEnumStringValues ¶
func GetListDrPlanExecutionsLifecycleStateEnumStringValues() []string
GetListDrPlanExecutionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDrPlanExecutionsLifecycleStateEnum
func GetListDrPlanExecutionsSortByEnumStringValues ¶
func GetListDrPlanExecutionsSortByEnumStringValues() []string
GetListDrPlanExecutionsSortByEnumStringValues Enumerates the set of values in String for ListDrPlanExecutionsSortByEnum
func GetListDrPlanExecutionsSortOrderEnumStringValues ¶
func GetListDrPlanExecutionsSortOrderEnumStringValues() []string
GetListDrPlanExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListDrPlanExecutionsSortOrderEnum
func GetListDrPlansDrPlanTypeEnumStringValues ¶
func GetListDrPlansDrPlanTypeEnumStringValues() []string
GetListDrPlansDrPlanTypeEnumStringValues Enumerates the set of values in String for ListDrPlansDrPlanTypeEnum
func GetListDrPlansLifecycleStateEnumStringValues ¶
func GetListDrPlansLifecycleStateEnumStringValues() []string
GetListDrPlansLifecycleStateEnumStringValues Enumerates the set of values in String for ListDrPlansLifecycleStateEnum
func GetListDrPlansSortByEnumStringValues ¶
func GetListDrPlansSortByEnumStringValues() []string
GetListDrPlansSortByEnumStringValues Enumerates the set of values in String for ListDrPlansSortByEnum
func GetListDrPlansSortOrderEnumStringValues ¶
func GetListDrPlansSortOrderEnumStringValues() []string
GetListDrPlansSortOrderEnumStringValues Enumerates the set of values in String for ListDrPlansSortOrderEnum
func GetListDrProtectionGroupsLifecycleStateEnumStringValues ¶
func GetListDrProtectionGroupsLifecycleStateEnumStringValues() []string
GetListDrProtectionGroupsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsLifecycleStateEnum
func GetListDrProtectionGroupsRoleEnumStringValues ¶ added in v65.44.0
func GetListDrProtectionGroupsRoleEnumStringValues() []string
GetListDrProtectionGroupsRoleEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsRoleEnum
func GetListDrProtectionGroupsSortByEnumStringValues ¶
func GetListDrProtectionGroupsSortByEnumStringValues() []string
GetListDrProtectionGroupsSortByEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsSortByEnum
func GetListDrProtectionGroupsSortOrderEnumStringValues ¶
func GetListDrProtectionGroupsSortOrderEnumStringValues() []string
GetListDrProtectionGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues ¶
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues ¶
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues ¶
func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues() []string
GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues Enumerates the set of values in String for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type AssociateDrProtectionGroupDetails ¶
type AssociateDrProtectionGroupDetails struct { // The role of this DR Protection Group. Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"` // The OCID of the peer (remote) DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` PeerId *string `mandatory:"false" json:"peerId"` // The region of the peer (remote) DR Protection Group. // Example: `us-ashburn-1` PeerRegion *string `mandatory:"false" json:"peerRegion"` }
AssociateDrProtectionGroupDetails The details for associating this DR Protection Group with a peer (remote) DR Protection Group.
func (AssociateDrProtectionGroupDetails) String ¶
func (m AssociateDrProtectionGroupDetails) String() string
func (AssociateDrProtectionGroupDetails) ValidateEnumValue ¶
func (m AssociateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AssociateDrProtectionGroupRequest ¶
type AssociateDrProtectionGroupRequest struct { // Details for creating an association between two DR Protection Groups. AssociateDrProtectionGroupDetails `contributesTo:"body"` // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
AssociateDrProtectionGroupRequest wrapper for the AssociateDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/AssociateDrProtectionGroup.go.html to see an example of how to use AssociateDrProtectionGroupRequest.
func (AssociateDrProtectionGroupRequest) BinaryRequestBody ¶
func (request AssociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (AssociateDrProtectionGroupRequest) HTTPRequest ¶
func (request AssociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AssociateDrProtectionGroupRequest) RetryPolicy ¶
func (request AssociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AssociateDrProtectionGroupRequest) String ¶
func (request AssociateDrProtectionGroupRequest) String() string
func (AssociateDrProtectionGroupRequest) ValidateEnumValue ¶
func (request AssociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AssociateDrProtectionGroupResponse ¶
type AssociateDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
AssociateDrProtectionGroupResponse wrapper for the AssociateDrProtectionGroup operation
func (AssociateDrProtectionGroupResponse) HTTPResponse ¶
func (response AssociateDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AssociateDrProtectionGroupResponse) String ¶
func (response AssociateDrProtectionGroupResponse) String() string
type CancelDrPlanExecutionDetails ¶
type CancelDrPlanExecutionDetails struct { }
CancelDrPlanExecutionDetails The details for cancelling a DR Plan Execution.
func (CancelDrPlanExecutionDetails) MarshalJSON ¶
func (m CancelDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CancelDrPlanExecutionDetails) String ¶
func (m CancelDrPlanExecutionDetails) String() string
func (CancelDrPlanExecutionDetails) ValidateEnumValue ¶
func (m CancelDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelDrPlanExecutionRequest ¶
type CancelDrPlanExecutionRequest struct { // Details for canceling a DR Plan Execution. CancelDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CancelDrPlanExecutionRequest wrapper for the CancelDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelDrPlanExecution.go.html to see an example of how to use CancelDrPlanExecutionRequest.
func (CancelDrPlanExecutionRequest) BinaryRequestBody ¶
func (request CancelDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelDrPlanExecutionRequest) HTTPRequest ¶
func (request CancelDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelDrPlanExecutionRequest) RetryPolicy ¶
func (request CancelDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelDrPlanExecutionRequest) String ¶
func (request CancelDrPlanExecutionRequest) String() string
func (CancelDrPlanExecutionRequest) ValidateEnumValue ¶
func (request CancelDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelDrPlanExecutionResponse ¶
type CancelDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CancelDrPlanExecutionResponse wrapper for the CancelDrPlanExecution operation
func (CancelDrPlanExecutionResponse) HTTPResponse ¶
func (response CancelDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelDrPlanExecutionResponse) String ¶
func (response CancelDrPlanExecutionResponse) String() string
type CancelWorkRequestRequest ¶
type CancelWorkRequestRequest struct { // The ID (OCID) of the asynchronous request. // Example: `ocid1.workrequest.oc1.phx.exampleocid` WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
func (CancelWorkRequestRequest) BinaryRequestBody ¶
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CancelWorkRequestRequest) HTTPRequest ¶
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CancelWorkRequestRequest) RetryPolicy ¶
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CancelWorkRequestRequest) String ¶
func (request CancelWorkRequestRequest) String() string
func (CancelWorkRequestRequest) ValidateEnumValue ¶
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CancelWorkRequestResponse ¶
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type ChangeDrProtectionGroupCompartmentDetails ¶
type ChangeDrProtectionGroupCompartmentDetails struct { // The OCID of the compartment to which the DR Protection Group should be moved. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeDrProtectionGroupCompartmentDetails The details for moving a DR Protection Group to another compartment.
func (ChangeDrProtectionGroupCompartmentDetails) String ¶
func (m ChangeDrProtectionGroupCompartmentDetails) String() string
func (ChangeDrProtectionGroupCompartmentDetails) ValidateEnumValue ¶
func (m ChangeDrProtectionGroupCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeDrProtectionGroupCompartmentRequest ¶
type ChangeDrProtectionGroupCompartmentRequest struct { // Details of DR Protection Group compartment to change. ChangeDrProtectionGroupCompartmentDetails `contributesTo:"body"` // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeDrProtectionGroupCompartmentRequest wrapper for the ChangeDrProtectionGroupCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ChangeDrProtectionGroupCompartment.go.html to see an example of how to use ChangeDrProtectionGroupCompartmentRequest.
func (ChangeDrProtectionGroupCompartmentRequest) BinaryRequestBody ¶
func (request ChangeDrProtectionGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeDrProtectionGroupCompartmentRequest) HTTPRequest ¶
func (request ChangeDrProtectionGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeDrProtectionGroupCompartmentRequest) RetryPolicy ¶
func (request ChangeDrProtectionGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeDrProtectionGroupCompartmentRequest) String ¶
func (request ChangeDrProtectionGroupCompartmentRequest) String() string
func (ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue ¶
func (request ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeDrProtectionGroupCompartmentResponse ¶
type ChangeDrProtectionGroupCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ChangeDrProtectionGroupCompartmentResponse wrapper for the ChangeDrProtectionGroupCompartment operation
func (ChangeDrProtectionGroupCompartmentResponse) HTTPResponse ¶
func (response ChangeDrProtectionGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeDrProtectionGroupCompartmentResponse) String ¶
func (response ChangeDrProtectionGroupCompartmentResponse) String() string
type ComputeInstanceMovableVnicMapping ¶ added in v65.44.0
type ComputeInstanceMovableVnicMapping struct { // The OCID of the VNIC. // Example: `ocid1.vnic.oc1..<unique_id>` SourceVnicId *string `mandatory:"true" json:"sourceVnicId"` // The OCID of the destination (remote) subnet to which this VNIC should connect. // Example: `ocid1.subnet.oc1..<unique_id>` DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"` // The primary private IP address to assign. This address must belong to the destination subnet. // Example: `10.0.3.3` DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"` // The hostname to assign for this primary private IP. // The value is the hostname portion of the private IP's fully qualified domain name (FQDN) // (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). // Example: `bminstance1` DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"` // A list of destination region's network security group (NSG) OCIDs which this VNIC should use. // Example: `[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]` DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"` }
ComputeInstanceMovableVnicMapping A movable compute instance's source and destination VNIC mapping.
func (ComputeInstanceMovableVnicMapping) String ¶ added in v65.44.0
func (m ComputeInstanceMovableVnicMapping) String() string
func (ComputeInstanceMovableVnicMapping) ValidateEnumValue ¶ added in v65.44.0
func (m ComputeInstanceMovableVnicMapping) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ComputeInstanceMovableVnicMappingDetails ¶ added in v65.44.0
type ComputeInstanceMovableVnicMappingDetails struct { // The OCID of the VNIC. // Example: `ocid1.vnic.oc1..<unique_id>` SourceVnicId *string `mandatory:"true" json:"sourceVnicId"` // The OCID of the destination (remote) subnet to which this VNIC should connect. // Example: `ocid1.subnet.oc1..<unique_id>` DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"` // The primary private IP address to assign. This address must belong to the destination subnet. // Example: `10.0.3.3` DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"` // The hostname to assign for this primary private IP. // The value is the hostname portion of the private IP's fully qualified domain name (FQDN) // (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). // Example: `bminstance1` DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"` // A list of network security group (NSG) IDs in the destination region which this VNIC should use. // Example: `[ ocid1.networksecuritygroup.oc1..<unique_id>, ocid1.networksecuritygroup.oc1..<unique_id> ]` DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"` }
ComputeInstanceMovableVnicMappingDetails A movable compute instance's source and destination VNIC mapping.
func (ComputeInstanceMovableVnicMappingDetails) String ¶ added in v65.44.0
func (m ComputeInstanceMovableVnicMappingDetails) String() string
func (ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue ¶ added in v65.44.0
func (m ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ComputeInstanceVnicMapping ¶
type ComputeInstanceVnicMapping struct { // The OCID of the VNIC. // Example: `ocid1.vnic.oc1.phx.exampleocid` SourceVnicId *string `mandatory:"true" json:"sourceVnicId"` // The OCID of the destination (remote) subnet to which this VNIC should connect. // Example: `ocid1.subnet.oc1.iad.exampleocid` DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"` // A list of destination region's network security group (NSG) OCIDs which this VNIC should use. // Example: `[ ocid1.networksecuritygroup.oc1.iad.exampleocid1, ocid1.networksecuritygroup.oc1.iad.exampleocid2 ]` DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"` }
ComputeInstanceVnicMapping A compute instance's source and destination VNIC mapping.
func (ComputeInstanceVnicMapping) String ¶
func (m ComputeInstanceVnicMapping) String() string
func (ComputeInstanceVnicMapping) ValidateEnumValue ¶
func (m ComputeInstanceVnicMapping) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ComputeInstanceVnicMappingDetails ¶
type ComputeInstanceVnicMappingDetails struct { // The OCID of the VNIC. // Example: `ocid1.vnic.oc1.phx.<unique_id>` SourceVnicId *string `mandatory:"true" json:"sourceVnicId"` // The OCID of the destination (remote) subnet to which this VNIC should connect. // Example: `ocid1.subnet.oc1.iad.<unique_id>` DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"` // The primary private IP address to assign. This address must belong to the destination subnet. // Example: `10.0.3.3` DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"` // The hostname to assign for this primary private IP. // The value is the hostname portion of the private IP's fully qualified domain name (FQDN) // (for example, bminstance1 in FQDN bminstance1.subnet123.vcn1.oraclevcn.com). // Example: `bminstance1` DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"` // A list of network security group (NSG) IDs in the destination region which this VNIC should use. // Example: `[ ocid1.networksecuritygroup.oc1.iad.<unique_id>, ocid1.networksecuritygroup.oc1.iad.<unique_id> ]` DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"` }
ComputeInstanceVnicMappingDetails A compute instance's source and destination VNIC mapping.
func (ComputeInstanceVnicMappingDetails) String ¶
func (m ComputeInstanceVnicMappingDetails) String() string
func (ComputeInstanceVnicMappingDetails) ValidateEnumValue ¶
func (m ComputeInstanceVnicMappingDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrPlanDetails ¶
type CreateDrPlanDetails struct { // The display name of the DR Plan being created. // Example: `EBS Switchover PHX to IAD` DisplayName *string `mandatory:"true" json:"displayName"` // The type of DR Plan to be created. Type DrPlanTypeEnum `mandatory:"true" json:"type"` // The OCID of the DR Protection Group to which this DR Plan belongs. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateDrPlanDetails The details for creating a DR Plan.
func (CreateDrPlanDetails) String ¶
func (m CreateDrPlanDetails) String() string
func (CreateDrPlanDetails) ValidateEnumValue ¶
func (m CreateDrPlanDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrPlanExecutionDetails ¶
type CreateDrPlanExecutionDetails struct { // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.<unique_id>` PlanId *string `mandatory:"true" json:"planId"` ExecutionOptions DrPlanExecutionOptionDetails `mandatory:"true" json:"executionOptions"` // The display name of the DR Plan Execution. // Example: `Execution - EBS Switchover PHX to IAD` DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateDrPlanExecutionDetails The details for creating a DR Plan Execution.
func (CreateDrPlanExecutionDetails) String ¶
func (m CreateDrPlanExecutionDetails) String() string
func (*CreateDrPlanExecutionDetails) UnmarshalJSON ¶
func (m *CreateDrPlanExecutionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateDrPlanExecutionDetails) ValidateEnumValue ¶
func (m CreateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrPlanExecutionRequest ¶
type CreateDrPlanExecutionRequest struct { // Details for the new DR Plan Execution. CreateDrPlanExecutionDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateDrPlanExecutionRequest wrapper for the CreateDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrPlanExecution.go.html to see an example of how to use CreateDrPlanExecutionRequest.
func (CreateDrPlanExecutionRequest) BinaryRequestBody ¶
func (request CreateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDrPlanExecutionRequest) HTTPRequest ¶
func (request CreateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDrPlanExecutionRequest) RetryPolicy ¶
func (request CreateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDrPlanExecutionRequest) String ¶
func (request CreateDrPlanExecutionRequest) String() string
func (CreateDrPlanExecutionRequest) ValidateEnumValue ¶
func (request CreateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrPlanExecutionResponse ¶
type CreateDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // The DrPlanExecution instance DrPlanExecution `presentIn:"body"` // A URI for the new resource which was created by the request. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateDrPlanExecutionResponse wrapper for the CreateDrPlanExecution operation
func (CreateDrPlanExecutionResponse) HTTPResponse ¶
func (response CreateDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDrPlanExecutionResponse) String ¶
func (response CreateDrPlanExecutionResponse) String() string
type CreateDrPlanRequest ¶
type CreateDrPlanRequest struct { // Details for creating the new DR Plan. CreateDrPlanDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateDrPlanRequest wrapper for the CreateDrPlan operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrPlan.go.html to see an example of how to use CreateDrPlanRequest.
func (CreateDrPlanRequest) BinaryRequestBody ¶
func (request CreateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDrPlanRequest) HTTPRequest ¶
func (request CreateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDrPlanRequest) RetryPolicy ¶
func (request CreateDrPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDrPlanRequest) String ¶
func (request CreateDrPlanRequest) String() string
func (CreateDrPlanRequest) ValidateEnumValue ¶
func (request CreateDrPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrPlanResponse ¶
type CreateDrPlanResponse struct { // The underlying http response RawResponse *http.Response // The DrPlan instance DrPlan `presentIn:"body"` // A URI for the new resource which was created by the request. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateDrPlanResponse wrapper for the CreateDrPlan operation
func (CreateDrPlanResponse) HTTPResponse ¶
func (response CreateDrPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDrPlanResponse) String ¶
func (response CreateDrPlanResponse) String() string
type CreateDrProtectionGroupDetails ¶
type CreateDrProtectionGroupDetails struct { // The OCID of the compartment in which to create the DR Protection Group. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the DR Protection Group. // Example: `EBS PHX DRPG` DisplayName *string `mandatory:"true" json:"displayName"` LogLocation *CreateObjectStorageLogLocationDetails `mandatory:"true" json:"logLocation"` Association *AssociateDrProtectionGroupDetails `mandatory:"false" json:"association"` // A list of DR Protection Group members. Members []CreateDrProtectionGroupMemberDetails `mandatory:"false" json:"members"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateDrProtectionGroupDetails The details for creating a DR Protection Group.
func (CreateDrProtectionGroupDetails) String ¶
func (m CreateDrProtectionGroupDetails) String() string
func (*CreateDrProtectionGroupDetails) UnmarshalJSON ¶
func (m *CreateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (CreateDrProtectionGroupDetails) ValidateEnumValue ¶
func (m CreateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberAutonomousDatabaseDetails ¶
type CreateDrProtectionGroupMemberAutonomousDatabaseDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
CreateDrProtectionGroupMemberAutonomousDatabaseDetails Create properties for an Autonomous Database member.
func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId ¶
func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON ¶
func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) String ¶
func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) String() string
func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue ¶
func (m CreateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberComputeInstanceDetails ¶
type CreateDrProtectionGroupMemberComputeInstanceDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved during DR operations. // Example: `false` IsMovable *bool `mandatory:"false" json:"isMovable"` // A list of Compute Instance VNIC mappings. VnicMapping []ComputeInstanceVnicMappingDetails `mandatory:"false" json:"vnicMapping"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..<unique_id>` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host in the destination region where this compute instance // should be launched // Example: `ocid1.dedicatedvmhost.oc1.iad.<unique_id>` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
CreateDrProtectionGroupMemberComputeInstanceDetails Create properties for a Compute Instance member.
func (CreateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId ¶
func (m CreateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON ¶
func (m CreateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberComputeInstanceDetails) String ¶
func (m CreateDrProtectionGroupMemberComputeInstanceDetails) String() string
func (CreateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue ¶
func (m CreateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberComputeInstanceMovableDetails ¶ added in v65.44.0
type CreateDrProtectionGroupMemberComputeInstanceMovableDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved to the same fault domain. // Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. // Example: `false` IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"` // The OCID of the capacity reservation in the destination region using which this compute instance // should be launched. // Example: `ocid1.capacityreservation.oc1..<unique_id>` DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"` // A list of Compute Instance VNIC mappings. VnicMappings []ComputeInstanceMovableVnicMappingDetails `mandatory:"false" json:"vnicMappings"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..<unique_id>` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host in the destination region where this compute instance // should be launched // Example: `ocid1.dedicatedvmhost.oc1..<unique_id>` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
CreateDrProtectionGroupMemberComputeInstanceMovableDetails Create properties for a Movable Compute Instance member.
func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string
func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails ¶ added in v65.44.0
type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails Create properties for a Non-Movable Compute Instance member.
func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string
func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue ¶ added in v65.44.0
func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberDatabaseDetails ¶
type CreateDrProtectionGroupMemberDatabaseDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // The OCID of the vault secret where the database password is stored. // Example: `ocid1.vaultsecret.oc1.phx.<unique_id>` PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"` }
CreateDrProtectionGroupMemberDatabaseDetails Create properties for a Database (DBCS) member.
func (CreateDrProtectionGroupMemberDatabaseDetails) GetMemberId ¶
func (m CreateDrProtectionGroupMemberDatabaseDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberDatabaseDetails) MarshalJSON ¶
func (m CreateDrProtectionGroupMemberDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberDatabaseDetails) String ¶
func (m CreateDrProtectionGroupMemberDatabaseDetails) String() string
func (CreateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue ¶
func (m CreateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupMemberDetails ¶
type CreateDrProtectionGroupMemberDetails interface { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` GetMemberId() *string }
CreateDrProtectionGroupMemberDetails Create properties for a member in a DR Protection Group.
type CreateDrProtectionGroupMemberVolumeGroupDetails ¶
type CreateDrProtectionGroupMemberVolumeGroupDetails struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
CreateDrProtectionGroupMemberVolumeGroupDetails Create properties for a Volume Group member.
func (CreateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId ¶
func (m CreateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId() *string
GetMemberId returns MemberId
func (CreateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON ¶
func (m CreateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateDrProtectionGroupMemberVolumeGroupDetails) String ¶
func (m CreateDrProtectionGroupMemberVolumeGroupDetails) String() string
func (CreateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue ¶
func (m CreateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupRequest ¶
type CreateDrProtectionGroupRequest struct { // Details for the new DR Protection Group. CreateDrProtectionGroupDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateDrProtectionGroupRequest wrapper for the CreateDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrProtectionGroup.go.html to see an example of how to use CreateDrProtectionGroupRequest.
func (CreateDrProtectionGroupRequest) BinaryRequestBody ¶
func (request CreateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDrProtectionGroupRequest) HTTPRequest ¶
func (request CreateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDrProtectionGroupRequest) RetryPolicy ¶
func (request CreateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDrProtectionGroupRequest) String ¶
func (request CreateDrProtectionGroupRequest) String() string
func (CreateDrProtectionGroupRequest) ValidateEnumValue ¶
func (request CreateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateDrProtectionGroupResponse ¶
type CreateDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // The DrProtectionGroup instance DrProtectionGroup `presentIn:"body"` // A URI for the new resource which was created by the request. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
CreateDrProtectionGroupResponse wrapper for the CreateDrProtectionGroup operation
func (CreateDrProtectionGroupResponse) HTTPResponse ¶
func (response CreateDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDrProtectionGroupResponse) String ¶
func (response CreateDrProtectionGroupResponse) String() string
type CreateObjectStorageLogLocationDetails ¶
type CreateObjectStorageLogLocationDetails struct { // The namespace in Object Storage (Note - this is usually the tenancy name). // Example: `myocitenancy` Namespace *string `mandatory:"true" json:"namespace"` // The bucket name inside the Object Storage namespace. // Example: `operation_logs` Bucket *string `mandatory:"true" json:"bucket"` }
CreateObjectStorageLogLocationDetails Information about creating an Object Storage log location for a DR Protection Group.
func (CreateObjectStorageLogLocationDetails) String ¶
func (m CreateObjectStorageLogLocationDetails) String() string
func (CreateObjectStorageLogLocationDetails) ValidateEnumValue ¶
func (m CreateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteDrPlanExecutionRequest ¶
type DeleteDrPlanExecutionRequest struct { // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteDrPlanExecutionRequest wrapper for the DeleteDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlanExecution.go.html to see an example of how to use DeleteDrPlanExecutionRequest.
func (DeleteDrPlanExecutionRequest) BinaryRequestBody ¶
func (request DeleteDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDrPlanExecutionRequest) HTTPRequest ¶
func (request DeleteDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDrPlanExecutionRequest) RetryPolicy ¶
func (request DeleteDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDrPlanExecutionRequest) String ¶
func (request DeleteDrPlanExecutionRequest) String() string
func (DeleteDrPlanExecutionRequest) ValidateEnumValue ¶
func (request DeleteDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteDrPlanExecutionResponse ¶
type DeleteDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteDrPlanExecutionResponse wrapper for the DeleteDrPlanExecution operation
func (DeleteDrPlanExecutionResponse) HTTPResponse ¶
func (response DeleteDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDrPlanExecutionResponse) String ¶
func (response DeleteDrPlanExecutionResponse) String() string
type DeleteDrPlanRequest ¶
type DeleteDrPlanRequest struct { // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.exampleocid` DrPlanId *string `mandatory:"true" contributesTo:"path" name:"drPlanId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteDrPlanRequest wrapper for the DeleteDrPlan operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlan.go.html to see an example of how to use DeleteDrPlanRequest.
func (DeleteDrPlanRequest) BinaryRequestBody ¶
func (request DeleteDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDrPlanRequest) HTTPRequest ¶
func (request DeleteDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDrPlanRequest) RetryPolicy ¶
func (request DeleteDrPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDrPlanRequest) String ¶
func (request DeleteDrPlanRequest) String() string
func (DeleteDrPlanRequest) ValidateEnumValue ¶
func (request DeleteDrPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteDrPlanResponse ¶
type DeleteDrPlanResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteDrPlanResponse wrapper for the DeleteDrPlan operation
func (DeleteDrPlanResponse) HTTPResponse ¶
func (response DeleteDrPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDrPlanResponse) String ¶
func (response DeleteDrPlanResponse) String() string
type DeleteDrProtectionGroupRequest ¶
type DeleteDrProtectionGroupRequest struct { // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteDrProtectionGroupRequest wrapper for the DeleteDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrProtectionGroup.go.html to see an example of how to use DeleteDrProtectionGroupRequest.
func (DeleteDrProtectionGroupRequest) BinaryRequestBody ¶
func (request DeleteDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDrProtectionGroupRequest) HTTPRequest ¶
func (request DeleteDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDrProtectionGroupRequest) RetryPolicy ¶
func (request DeleteDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDrProtectionGroupRequest) String ¶
func (request DeleteDrProtectionGroupRequest) String() string
func (DeleteDrProtectionGroupRequest) ValidateEnumValue ¶
func (request DeleteDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteDrProtectionGroupResponse ¶
type DeleteDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DeleteDrProtectionGroupResponse wrapper for the DeleteDrProtectionGroup operation
func (DeleteDrProtectionGroupResponse) HTTPResponse ¶
func (response DeleteDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDrProtectionGroupResponse) String ¶
func (response DeleteDrProtectionGroupResponse) String() string
type DisassociateDrProtectionGroupDefaultDetails ¶
type DisassociateDrProtectionGroupDefaultDetails struct { }
DisassociateDrProtectionGroupDefaultDetails The default type (required for forward compatibility).
func (DisassociateDrProtectionGroupDefaultDetails) MarshalJSON ¶
func (m DisassociateDrProtectionGroupDefaultDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DisassociateDrProtectionGroupDefaultDetails) String ¶
func (m DisassociateDrProtectionGroupDefaultDetails) String() string
func (DisassociateDrProtectionGroupDefaultDetails) ValidateEnumValue ¶
func (m DisassociateDrProtectionGroupDefaultDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DisassociateDrProtectionGroupDetails ¶
type DisassociateDrProtectionGroupDetails interface { }
DisassociateDrProtectionGroupDetails The details for disassociating this DR Protection Group from a peer (remote) DR Protection Group.
type DisassociateDrProtectionGroupDetailsTypeEnum ¶
type DisassociateDrProtectionGroupDetailsTypeEnum string
DisassociateDrProtectionGroupDetailsTypeEnum Enum with underlying type: string
const (
DisassociateDrProtectionGroupDetailsTypeDefault DisassociateDrProtectionGroupDetailsTypeEnum = "DEFAULT"
)
Set of constants representing the allowable values for DisassociateDrProtectionGroupDetailsTypeEnum
func GetDisassociateDrProtectionGroupDetailsTypeEnumValues ¶
func GetDisassociateDrProtectionGroupDetailsTypeEnumValues() []DisassociateDrProtectionGroupDetailsTypeEnum
GetDisassociateDrProtectionGroupDetailsTypeEnumValues Enumerates the set of values for DisassociateDrProtectionGroupDetailsTypeEnum
func GetMappingDisassociateDrProtectionGroupDetailsTypeEnum ¶
func GetMappingDisassociateDrProtectionGroupDetailsTypeEnum(val string) (DisassociateDrProtectionGroupDetailsTypeEnum, bool)
GetMappingDisassociateDrProtectionGroupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DisassociateDrProtectionGroupRequest ¶
type DisassociateDrProtectionGroupRequest struct { // Details for removing an association between two DR Protection Groups. DisassociateDrProtectionGroupDetails `contributesTo:"body"` // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DisassociateDrProtectionGroupRequest wrapper for the DisassociateDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DisassociateDrProtectionGroup.go.html to see an example of how to use DisassociateDrProtectionGroupRequest.
func (DisassociateDrProtectionGroupRequest) BinaryRequestBody ¶
func (request DisassociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DisassociateDrProtectionGroupRequest) HTTPRequest ¶
func (request DisassociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DisassociateDrProtectionGroupRequest) RetryPolicy ¶
func (request DisassociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DisassociateDrProtectionGroupRequest) String ¶
func (request DisassociateDrProtectionGroupRequest) String() string
func (DisassociateDrProtectionGroupRequest) ValidateEnumValue ¶
func (request DisassociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DisassociateDrProtectionGroupResponse ¶
type DisassociateDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
DisassociateDrProtectionGroupResponse wrapper for the DisassociateDrProtectionGroup operation
func (DisassociateDrProtectionGroupResponse) HTTPResponse ¶
func (response DisassociateDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DisassociateDrProtectionGroupResponse) String ¶
func (response DisassociateDrProtectionGroupResponse) String() string
type DisasterRecoveryClient ¶
type DisasterRecoveryClient struct { common.BaseClient // contains filtered or unexported fields }
DisasterRecoveryClient a client for DisasterRecovery
func NewDisasterRecoveryClientWithConfigurationProvider ¶
func NewDisasterRecoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DisasterRecoveryClient, err error)
NewDisasterRecoveryClientWithConfigurationProvider Creates a new default DisasterRecovery client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDisasterRecoveryClientWithOboToken ¶
func NewDisasterRecoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DisasterRecoveryClient, err error)
NewDisasterRecoveryClientWithOboToken Creates a new default DisasterRecovery client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (DisasterRecoveryClient) AssociateDrProtectionGroup ¶
func (client DisasterRecoveryClient) AssociateDrProtectionGroup(ctx context.Context, request AssociateDrProtectionGroupRequest) (response AssociateDrProtectionGroupResponse, err error)
AssociateDrProtectionGroup Create an association between the DR Protection Group identified by *drProtectionGroupId* and another DR Protection Group in a different region.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/AssociateDrProtectionGroup.go.html to see an example of how to use AssociateDrProtectionGroup API. A default retry strategy applies to this operation AssociateDrProtectionGroup()
func (DisasterRecoveryClient) CancelDrPlanExecution ¶
func (client DisasterRecoveryClient) CancelDrPlanExecution(ctx context.Context, request CancelDrPlanExecutionRequest) (response CancelDrPlanExecutionResponse, err error)
CancelDrPlanExecution Cancel the DR Plan Execution indentified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelDrPlanExecution.go.html to see an example of how to use CancelDrPlanExecution API. A default retry strategy applies to this operation CancelDrPlanExecution()
func (DisasterRecoveryClient) CancelWorkRequest ¶
func (client DisasterRecoveryClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel the work request identified by *workRequestId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (DisasterRecoveryClient) ChangeDrProtectionGroupCompartment ¶
func (client DisasterRecoveryClient) ChangeDrProtectionGroupCompartment(ctx context.Context, request ChangeDrProtectionGroupCompartmentRequest) (response ChangeDrProtectionGroupCompartmentResponse, err error)
ChangeDrProtectionGroupCompartment Move the DR Protection Group identified by *drProtectionGroupId* to a different compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ChangeDrProtectionGroupCompartment.go.html to see an example of how to use ChangeDrProtectionGroupCompartment API. A default retry strategy applies to this operation ChangeDrProtectionGroupCompartment()
func (*DisasterRecoveryClient) ConfigurationProvider ¶
func (client *DisasterRecoveryClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DisasterRecoveryClient) CreateDrPlan ¶
func (client DisasterRecoveryClient) CreateDrPlan(ctx context.Context, request CreateDrPlanRequest) (response CreateDrPlanResponse, err error)
CreateDrPlan Creates a new DR Plan of the specified DR Plan type.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrPlan.go.html to see an example of how to use CreateDrPlan API. A default retry strategy applies to this operation CreateDrPlan()
func (DisasterRecoveryClient) CreateDrPlanExecution ¶
func (client DisasterRecoveryClient) CreateDrPlanExecution(ctx context.Context, request CreateDrPlanExecutionRequest) (response CreateDrPlanExecutionResponse, err error)
CreateDrPlanExecution Execute a DR Plan for a DR Protection Group.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrPlanExecution.go.html to see an example of how to use CreateDrPlanExecution API. A default retry strategy applies to this operation CreateDrPlanExecution()
func (DisasterRecoveryClient) CreateDrProtectionGroup ¶
func (client DisasterRecoveryClient) CreateDrProtectionGroup(ctx context.Context, request CreateDrProtectionGroupRequest) (response CreateDrProtectionGroupResponse, err error)
CreateDrProtectionGroup Create a new DR Protection Group.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrProtectionGroup.go.html to see an example of how to use CreateDrProtectionGroup API. A default retry strategy applies to this operation CreateDrProtectionGroup()
func (DisasterRecoveryClient) DeleteDrPlan ¶
func (client DisasterRecoveryClient) DeleteDrPlan(ctx context.Context, request DeleteDrPlanRequest) (response DeleteDrPlanResponse, err error)
DeleteDrPlan Delete the DR Plan identified by *drPlanId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlan.go.html to see an example of how to use DeleteDrPlan API. A default retry strategy applies to this operation DeleteDrPlan()
func (DisasterRecoveryClient) DeleteDrPlanExecution ¶
func (client DisasterRecoveryClient) DeleteDrPlanExecution(ctx context.Context, request DeleteDrPlanExecutionRequest) (response DeleteDrPlanExecutionResponse, err error)
DeleteDrPlanExecution Delete the DR Plan Execution identified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlanExecution.go.html to see an example of how to use DeleteDrPlanExecution API. A default retry strategy applies to this operation DeleteDrPlanExecution()
func (DisasterRecoveryClient) DeleteDrProtectionGroup ¶
func (client DisasterRecoveryClient) DeleteDrProtectionGroup(ctx context.Context, request DeleteDrProtectionGroupRequest) (response DeleteDrProtectionGroupResponse, err error)
DeleteDrProtectionGroup Delete the DR Protection Group identified by *drProtectionGroupId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrProtectionGroup.go.html to see an example of how to use DeleteDrProtectionGroup API. A default retry strategy applies to this operation DeleteDrProtectionGroup()
func (DisasterRecoveryClient) DisassociateDrProtectionGroup ¶
func (client DisasterRecoveryClient) DisassociateDrProtectionGroup(ctx context.Context, request DisassociateDrProtectionGroupRequest) (response DisassociateDrProtectionGroupResponse, err error)
DisassociateDrProtectionGroup Delete the association between the DR Protection Group identified by *drProtectionGroupId*. and its peer DR Protection Group.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DisassociateDrProtectionGroup.go.html to see an example of how to use DisassociateDrProtectionGroup API. A default retry strategy applies to this operation DisassociateDrProtectionGroup()
func (DisasterRecoveryClient) GetDrPlan ¶
func (client DisasterRecoveryClient) GetDrPlan(ctx context.Context, request GetDrPlanRequest) (response GetDrPlanResponse, err error)
GetDrPlan Get details for the DR Plan identified by *drPlanId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlan.go.html to see an example of how to use GetDrPlan API. A default retry strategy applies to this operation GetDrPlan()
func (DisasterRecoveryClient) GetDrPlanExecution ¶
func (client DisasterRecoveryClient) GetDrPlanExecution(ctx context.Context, request GetDrPlanExecutionRequest) (response GetDrPlanExecutionResponse, err error)
GetDrPlanExecution Get details for the DR Plan Execution identified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlanExecution.go.html to see an example of how to use GetDrPlanExecution API. A default retry strategy applies to this operation GetDrPlanExecution()
func (DisasterRecoveryClient) GetDrProtectionGroup ¶
func (client DisasterRecoveryClient) GetDrProtectionGroup(ctx context.Context, request GetDrProtectionGroupRequest) (response GetDrProtectionGroupResponse, err error)
GetDrProtectionGroup Get the DR Protection Group identified by *drProtectionGroupId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrProtectionGroup.go.html to see an example of how to use GetDrProtectionGroup API. A default retry strategy applies to this operation GetDrProtectionGroup()
func (DisasterRecoveryClient) GetWorkRequest ¶
func (client DisasterRecoveryClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Get the status of the work request identified by *workRequestId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (DisasterRecoveryClient) IgnoreDrPlanExecution ¶
func (client DisasterRecoveryClient) IgnoreDrPlanExecution(ctx context.Context, request IgnoreDrPlanExecutionRequest) (response IgnoreDrPlanExecutionResponse, err error)
IgnoreDrPlanExecution Ignore failed group or step in DR Plan Execution identified by *drPlanExecutionId* and resume execution.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/IgnoreDrPlanExecution.go.html to see an example of how to use IgnoreDrPlanExecution API. A default retry strategy applies to this operation IgnoreDrPlanExecution()
func (DisasterRecoveryClient) ListDrPlanExecutions ¶
func (client DisasterRecoveryClient) ListDrPlanExecutions(ctx context.Context, request ListDrPlanExecutionsRequest) (response ListDrPlanExecutionsResponse, err error)
ListDrPlanExecutions Get a summary list of all DR Plan Executions for a DR Protection Group.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrPlanExecutions.go.html to see an example of how to use ListDrPlanExecutions API. A default retry strategy applies to this operation ListDrPlanExecutions()
func (DisasterRecoveryClient) ListDrPlans ¶
func (client DisasterRecoveryClient) ListDrPlans(ctx context.Context, request ListDrPlansRequest) (response ListDrPlansResponse, err error)
ListDrPlans Gets a summary list of all DR Plans for a DR Protection Group.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrPlans.go.html to see an example of how to use ListDrPlans API. A default retry strategy applies to this operation ListDrPlans()
func (DisasterRecoveryClient) ListDrProtectionGroups ¶
func (client DisasterRecoveryClient) ListDrProtectionGroups(ctx context.Context, request ListDrProtectionGroupsRequest) (response ListDrProtectionGroupsResponse, err error)
ListDrProtectionGroups Gets a summary list of all DR Protection Groups in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrProtectionGroups.go.html to see an example of how to use ListDrProtectionGroups API. A default retry strategy applies to this operation ListDrProtectionGroups()
func (DisasterRecoveryClient) ListWorkRequestErrors ¶
func (client DisasterRecoveryClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (DisasterRecoveryClient) ListWorkRequestLogs ¶
func (client DisasterRecoveryClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for the work request identified by *workRequestId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (DisasterRecoveryClient) ListWorkRequests ¶
func (client DisasterRecoveryClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (DisasterRecoveryClient) PauseDrPlanExecution ¶
func (client DisasterRecoveryClient) PauseDrPlanExecution(ctx context.Context, request PauseDrPlanExecutionRequest) (response PauseDrPlanExecutionResponse, err error)
PauseDrPlanExecution Pause the DR Plan Execution identified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/PauseDrPlanExecution.go.html to see an example of how to use PauseDrPlanExecution API. A default retry strategy applies to this operation PauseDrPlanExecution()
func (DisasterRecoveryClient) ResumeDrPlanExecution ¶
func (client DisasterRecoveryClient) ResumeDrPlanExecution(ctx context.Context, request ResumeDrPlanExecutionRequest) (response ResumeDrPlanExecutionResponse, err error)
ResumeDrPlanExecution Resume the DR Plan Execution identified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ResumeDrPlanExecution.go.html to see an example of how to use ResumeDrPlanExecution API. A default retry strategy applies to this operation ResumeDrPlanExecution()
func (DisasterRecoveryClient) RetryDrPlanExecution ¶
func (client DisasterRecoveryClient) RetryDrPlanExecution(ctx context.Context, request RetryDrPlanExecutionRequest) (response RetryDrPlanExecutionResponse, err error)
RetryDrPlanExecution Retry failed group or step in DR Plan Execution identified by *drPlanExecutionId* and resume execution.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/RetryDrPlanExecution.go.html to see an example of how to use RetryDrPlanExecution API. A default retry strategy applies to this operation RetryDrPlanExecution()
func (*DisasterRecoveryClient) SetRegion ¶
func (client *DisasterRecoveryClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DisasterRecoveryClient) UpdateDrPlan ¶
func (client DisasterRecoveryClient) UpdateDrPlan(ctx context.Context, request UpdateDrPlanRequest) (response UpdateDrPlanResponse, err error)
UpdateDrPlan Update the DR Plan identified by *drPlanId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlan.go.html to see an example of how to use UpdateDrPlan API. A default retry strategy applies to this operation UpdateDrPlan()
func (DisasterRecoveryClient) UpdateDrPlanExecution ¶
func (client DisasterRecoveryClient) UpdateDrPlanExecution(ctx context.Context, request UpdateDrPlanExecutionRequest) (response UpdateDrPlanExecutionResponse, err error)
UpdateDrPlanExecution Update the DR Plan Execution identified by *drPlanExecutionId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlanExecution.go.html to see an example of how to use UpdateDrPlanExecution API. A default retry strategy applies to this operation UpdateDrPlanExecution()
func (DisasterRecoveryClient) UpdateDrProtectionGroup ¶
func (client DisasterRecoveryClient) UpdateDrProtectionGroup(ctx context.Context, request UpdateDrProtectionGroupRequest) (response UpdateDrProtectionGroupResponse, err error)
UpdateDrProtectionGroup Update the DR Protection Group identified by *drProtectionGroupId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroup.go.html to see an example of how to use UpdateDrProtectionGroup API. A default retry strategy applies to this operation UpdateDrProtectionGroup()
func (DisasterRecoveryClient) UpdateDrProtectionGroupRole ¶
func (client DisasterRecoveryClient) UpdateDrProtectionGroupRole(ctx context.Context, request UpdateDrProtectionGroupRoleRequest) (response UpdateDrProtectionGroupRoleResponse, err error)
UpdateDrProtectionGroupRole Update the role of the DR Protection Group identified by *drProtectionGroupId*.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroupRole.go.html to see an example of how to use UpdateDrProtectionGroupRole API. A default retry strategy applies to this operation UpdateDrProtectionGroupRole()
type DrPlan ¶
type DrPlan struct { // The OCID of this DR Plan. // Example: `ocid1.drplan.oc1.iad.<unique_id>` Id *string `mandatory:"true" json:"id"` // The display name of this DR Plan. // Example: `EBS Switchover PHX to IAD` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment containing the DR Plan. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of this DR Plan. Type DrPlanTypeEnum `mandatory:"true" json:"type"` // The date and time the DR Plan was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the DR Plan was updated. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The OCID of the DR Protection Group with which this DR Plan is associated. // Example: `ocid1.drplan.oc1.iad.<unique_id>` DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"` // The OCID of the peer (remote) DR Protection Group associated with this plan's // DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"` // The region of the peer (remote) DR Protection Group associated with this plan's // DR Protection Group. // Example: `us-phoenix-1` PeerRegion *string `mandatory:"true" json:"peerRegion"` // The list of groups in this DR Plan. PlanGroups []DrPlanGroup `mandatory:"true" json:"planGroups"` // The current state of the DR Plan. LifecycleState DrPlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A message describing the DR Plan's current state in more detail. LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrPlan The details of a DR Plan.
func (DrPlan) ValidateEnumValue ¶
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanCollection ¶
type DrPlanCollection struct { // A list of DR Plan objects. Items []DrPlanSummary `mandatory:"true" json:"items"` }
DrPlanCollection Contains a list of DR Plans.
func (DrPlanCollection) String ¶
func (m DrPlanCollection) String() string
func (DrPlanCollection) ValidateEnumValue ¶
func (m DrPlanCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanExecution ¶
type DrPlanExecution struct { // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing this DR Plan Execution. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of this DR Plan Execution. // Example: `Execution - EBS Switchover PHX to IAD` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.<unique_id>` PlanId *string `mandatory:"true" json:"planId"` // The type of the DR Plan executed. PlanExecutionType DrPlanExecutionTypeEnum `mandatory:"true" json:"planExecutionType"` ExecutionOptions DrPlanExecutionOptions `mandatory:"true" json:"executionOptions"` // The OCID of the DR Protection Group to which this DR Plan Execution belongs. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"` // The OCID of peer (remote) DR Protection Group associated with this plan's // DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"` // The region of the peer (remote) DR Protection Group. // Example: `us-ashburn-1` PeerRegion *string `mandatory:"true" json:"peerRegion"` LogLocation *ObjectStorageLogLocation `mandatory:"true" json:"logLocation"` // The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // A list of groups executed in this DR Plan Execution. GroupExecutions []DrPlanGroupExecution `mandatory:"true" json:"groupExecutions"` // The current state of the DR Plan Execution. LifecycleState DrPlanExecutionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time at which DR Plan Execution succeeded, failed, was paused, or was canceled. // An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` // The total duration in seconds taken to complete the DR Plan Execution. // Example: `750` ExecutionDurationInSec *int `mandatory:"false" json:"executionDurationInSec"` // A message describing the DR Plan Execution's current state in more detail. // Example: `The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress` LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrPlanExecution The details of a DR Plan Execution.
func (DrPlanExecution) String ¶
func (m DrPlanExecution) String() string
func (*DrPlanExecution) UnmarshalJSON ¶
func (m *DrPlanExecution) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (DrPlanExecution) ValidateEnumValue ¶
func (m DrPlanExecution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanExecutionCollection ¶
type DrPlanExecutionCollection struct { // A list of all DR Plan Execution summary objects. Items []DrPlanExecutionSummary `mandatory:"true" json:"items"` }
DrPlanExecutionCollection Results of a DR Plan Execution search. Contains both DR Plan Execution summary items and other information, such as metadata.
func (DrPlanExecutionCollection) String ¶
func (m DrPlanExecutionCollection) String() string
func (DrPlanExecutionCollection) ValidateEnumValue ¶
func (m DrPlanExecutionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanExecutionControlDetails ¶
type DrPlanExecutionControlDetails interface { }
DrPlanExecutionControlDetails The details for controlling plan execution.
type DrPlanExecutionControlDetailsActionTypeEnum ¶
type DrPlanExecutionControlDetailsActionTypeEnum string
DrPlanExecutionControlDetailsActionTypeEnum Enum with underlying type: string
const ( DrPlanExecutionControlDetailsActionTypeCancel DrPlanExecutionControlDetailsActionTypeEnum = "CANCEL" DrPlanExecutionControlDetailsActionTypePause DrPlanExecutionControlDetailsActionTypeEnum = "PAUSE" DrPlanExecutionControlDetailsActionTypeResume DrPlanExecutionControlDetailsActionTypeEnum = "RESUME" )
Set of constants representing the allowable values for DrPlanExecutionControlDetailsActionTypeEnum
func GetDrPlanExecutionControlDetailsActionTypeEnumValues ¶
func GetDrPlanExecutionControlDetailsActionTypeEnumValues() []DrPlanExecutionControlDetailsActionTypeEnum
GetDrPlanExecutionControlDetailsActionTypeEnumValues Enumerates the set of values for DrPlanExecutionControlDetailsActionTypeEnum
func GetMappingDrPlanExecutionControlDetailsActionTypeEnum ¶
func GetMappingDrPlanExecutionControlDetailsActionTypeEnum(val string) (DrPlanExecutionControlDetailsActionTypeEnum, bool)
GetMappingDrPlanExecutionControlDetailsActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanExecutionLifecycleStateEnum ¶
type DrPlanExecutionLifecycleStateEnum string
DrPlanExecutionLifecycleStateEnum Enum with underlying type: string
const ( DrPlanExecutionLifecycleStateAccepted DrPlanExecutionLifecycleStateEnum = "ACCEPTED" DrPlanExecutionLifecycleStateInProgress DrPlanExecutionLifecycleStateEnum = "IN_PROGRESS" DrPlanExecutionLifecycleStateWaiting DrPlanExecutionLifecycleStateEnum = "WAITING" DrPlanExecutionLifecycleStateCanceling DrPlanExecutionLifecycleStateEnum = "CANCELING" DrPlanExecutionLifecycleStateCanceled DrPlanExecutionLifecycleStateEnum = "CANCELED" DrPlanExecutionLifecycleStateSucceeded DrPlanExecutionLifecycleStateEnum = "SUCCEEDED" DrPlanExecutionLifecycleStateFailed DrPlanExecutionLifecycleStateEnum = "FAILED" DrPlanExecutionLifecycleStateDeleting DrPlanExecutionLifecycleStateEnum = "DELETING" DrPlanExecutionLifecycleStateDeleted DrPlanExecutionLifecycleStateEnum = "DELETED" DrPlanExecutionLifecycleStatePausing DrPlanExecutionLifecycleStateEnum = "PAUSING" DrPlanExecutionLifecycleStatePaused DrPlanExecutionLifecycleStateEnum = "PAUSED" DrPlanExecutionLifecycleStateResuming DrPlanExecutionLifecycleStateEnum = "RESUMING" )
Set of constants representing the allowable values for DrPlanExecutionLifecycleStateEnum
func GetDrPlanExecutionLifecycleStateEnumValues ¶
func GetDrPlanExecutionLifecycleStateEnumValues() []DrPlanExecutionLifecycleStateEnum
GetDrPlanExecutionLifecycleStateEnumValues Enumerates the set of values for DrPlanExecutionLifecycleStateEnum
func GetMappingDrPlanExecutionLifecycleStateEnum ¶
func GetMappingDrPlanExecutionLifecycleStateEnum(val string) (DrPlanExecutionLifecycleStateEnum, bool)
GetMappingDrPlanExecutionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanExecutionOptionDetails ¶
type DrPlanExecutionOptionDetails interface { }
DrPlanExecutionOptionDetails The options for a plan execution.
type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum ¶
type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum string
DrPlanExecutionOptionDetailsPlanExecutionTypeEnum Enum with underlying type: string
const ( DrPlanExecutionOptionDetailsPlanExecutionTypeSwitchover DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "SWITCHOVER" DrPlanExecutionOptionDetailsPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK" DrPlanExecutionOptionDetailsPlanExecutionTypeFailover DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "FAILOVER" DrPlanExecutionOptionDetailsPlanExecutionTypeFailoverPrecheck DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "FAILOVER_PRECHECK" )
Set of constants representing the allowable values for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues ¶
func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
func GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum ¶
func GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionDetailsPlanExecutionTypeEnum, bool)
GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanExecutionOptions ¶
type DrPlanExecutionOptions interface { }
DrPlanExecutionOptions The options for a plan execution.
type DrPlanExecutionOptionsPlanExecutionTypeEnum ¶
type DrPlanExecutionOptionsPlanExecutionTypeEnum string
DrPlanExecutionOptionsPlanExecutionTypeEnum Enum with underlying type: string
const ( DrPlanExecutionOptionsPlanExecutionTypeSwitchover DrPlanExecutionOptionsPlanExecutionTypeEnum = "SWITCHOVER" DrPlanExecutionOptionsPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionOptionsPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK" DrPlanExecutionOptionsPlanExecutionTypeFailover DrPlanExecutionOptionsPlanExecutionTypeEnum = "FAILOVER" DrPlanExecutionOptionsPlanExecutionTypeFailoverPrecheck DrPlanExecutionOptionsPlanExecutionTypeEnum = "FAILOVER_PRECHECK" )
Set of constants representing the allowable values for DrPlanExecutionOptionsPlanExecutionTypeEnum
func GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues ¶
func GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionsPlanExecutionTypeEnum
GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionOptionsPlanExecutionTypeEnum
func GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum ¶
func GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionsPlanExecutionTypeEnum, bool)
GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanExecutionSummary ¶
type DrPlanExecutionSummary struct { // The OCID of this plan execution. // Example: `ocid1.drplanexecution.oc1.iad.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing this plan execution. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of this DR Plan Execution. // Example: `Execution - EBS Switchover PHX to IAD` DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the DR Plan for this plan execution. // Example: `ocid1.drplan.oc1.iad.<unique_id>` PlanId *string `mandatory:"true" json:"planId"` // The type of the DR Plan executed. PlanExecutionType DrPlanExecutionTypeEnum `mandatory:"true" json:"planExecutionType"` // The OCID of DR Protection Group associated with this plan execution. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"` // The OCID of peer (remote) DR Protection Group associated with this plan execution's // DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"` // The region of the peer (remote) DR Protection Group. // Example: `us-ashburn-1` PeerRegion *string `mandatory:"true" json:"peerRegion"` LogLocation *ObjectStorageLogLocation `mandatory:"true" json:"logLocation"` // The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The time at which DR Plan Execution was last updated. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the DR Plan Execution. LifecycleState DrPlanExecutionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time at which DR Plan Execution succeeded, failed, paused, or canceled. // An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` // The total duration in seconds taken to complete the DR Plan Execution. // Example: `750` ExecutionDurationInSec *int `mandatory:"false" json:"executionDurationInSec"` // A message describing the DR Plan Execution's current state in more detail. // Example: `The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress` LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrPlanExecutionSummary Summary information about a DR Plan Execution.
func (DrPlanExecutionSummary) String ¶
func (m DrPlanExecutionSummary) String() string
func (DrPlanExecutionSummary) ValidateEnumValue ¶
func (m DrPlanExecutionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanExecutionTypeEnum ¶
type DrPlanExecutionTypeEnum string
DrPlanExecutionTypeEnum Enum with underlying type: string
const ( DrPlanExecutionTypeSwitchover DrPlanExecutionTypeEnum = "SWITCHOVER" DrPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK" DrPlanExecutionTypeFailover DrPlanExecutionTypeEnum = "FAILOVER" DrPlanExecutionTypeFailoverPrecheck DrPlanExecutionTypeEnum = "FAILOVER_PRECHECK" )
Set of constants representing the allowable values for DrPlanExecutionTypeEnum
func GetDrPlanExecutionTypeEnumValues ¶
func GetDrPlanExecutionTypeEnumValues() []DrPlanExecutionTypeEnum
GetDrPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionTypeEnum
func GetMappingDrPlanExecutionTypeEnum ¶
func GetMappingDrPlanExecutionTypeEnum(val string) (DrPlanExecutionTypeEnum, bool)
GetMappingDrPlanExecutionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanGroup ¶
type DrPlanGroup struct { // The unique id of this group. Must not be modified by user. // Example: `sgid1.group..<unique_id>` Id *string `mandatory:"true" json:"id"` // The plan group type. Type DrPlanGroupTypeEnum `mandatory:"true" json:"type"` // The display name of this DR Plan Group. // Example: `DATABASE_SWITCHOVER` DisplayName *string `mandatory:"true" json:"displayName"` // The list of steps in this plan group. Steps []DrPlanStep `mandatory:"true" json:"steps"` }
DrPlanGroup Details of a plan group in a DR Plan.
func (DrPlanGroup) String ¶
func (m DrPlanGroup) String() string
func (DrPlanGroup) ValidateEnumValue ¶
func (m DrPlanGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanGroupExecution ¶
type DrPlanGroupExecution struct { // The unique id of the group. Must not be modified by user. // Example: `sgid1.group..<unique_id>` GroupId *string `mandatory:"true" json:"groupId"` // The plan group type. Type DrPlanGroupTypeEnum `mandatory:"true" json:"type"` // The display name of group that was executed. // Example: `DATABASE_SWITCHOVER` DisplayName *string `mandatory:"true" json:"displayName"` // The status of the group execution. Status DrPlanGroupExecutionStatusEnum `mandatory:"true" json:"status"` // A list of details of each step executed in this group. StepExecutions []DrPlanStepExecution `mandatory:"true" json:"stepExecutions"` // Additional details about the group execution status. // Example: `A total of three steps failed in the group` StatusDetails *string `mandatory:"false" json:"statusDetails"` // The time at which group execution began. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time at which group execution ended. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` // The total duration in seconds taken to complete group execution. // Example: `120` ExecutionDurationInSec *int `mandatory:"false" json:"executionDurationInSec"` }
DrPlanGroupExecution Summary information about a group execution in a DR Plan Execution.
func (DrPlanGroupExecution) String ¶
func (m DrPlanGroupExecution) String() string
func (DrPlanGroupExecution) ValidateEnumValue ¶
func (m DrPlanGroupExecution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanGroupExecutionStatusEnum ¶
type DrPlanGroupExecutionStatusEnum string
DrPlanGroupExecutionStatusEnum Enum with underlying type: string
const ( DrPlanGroupExecutionStatusQueued DrPlanGroupExecutionStatusEnum = "QUEUED" DrPlanGroupExecutionStatusDisabled DrPlanGroupExecutionStatusEnum = "DISABLED" DrPlanGroupExecutionStatusInProgress DrPlanGroupExecutionStatusEnum = "IN_PROGRESS" DrPlanGroupExecutionStatusSucceeded DrPlanGroupExecutionStatusEnum = "SUCCEEDED" DrPlanGroupExecutionStatusSucceededWithWarning DrPlanGroupExecutionStatusEnum = "SUCCEEDED_WITH_WARNING" DrPlanGroupExecutionStatusFailed DrPlanGroupExecutionStatusEnum = "FAILED" DrPlanGroupExecutionStatusFailedIgnored DrPlanGroupExecutionStatusEnum = "FAILED_IGNORED" DrPlanGroupExecutionStatusTimedOut DrPlanGroupExecutionStatusEnum = "TIMED_OUT" DrPlanGroupExecutionStatusTimedOutIgnored DrPlanGroupExecutionStatusEnum = "TIMED_OUT_IGNORED" DrPlanGroupExecutionStatusPaused DrPlanGroupExecutionStatusEnum = "PAUSED" DrPlanGroupExecutionStatusCanceled DrPlanGroupExecutionStatusEnum = "CANCELED" )
Set of constants representing the allowable values for DrPlanGroupExecutionStatusEnum
func GetDrPlanGroupExecutionStatusEnumValues ¶
func GetDrPlanGroupExecutionStatusEnumValues() []DrPlanGroupExecutionStatusEnum
GetDrPlanGroupExecutionStatusEnumValues Enumerates the set of values for DrPlanGroupExecutionStatusEnum
func GetMappingDrPlanGroupExecutionStatusEnum ¶
func GetMappingDrPlanGroupExecutionStatusEnum(val string) (DrPlanGroupExecutionStatusEnum, bool)
GetMappingDrPlanGroupExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanGroupTypeEnum ¶
type DrPlanGroupTypeEnum string
DrPlanGroupTypeEnum Enum with underlying type: string
const ( DrPlanGroupTypeUserDefined DrPlanGroupTypeEnum = "USER_DEFINED" DrPlanGroupTypeBuiltIn DrPlanGroupTypeEnum = "BUILT_IN" DrPlanGroupTypeBuiltInPrecheck DrPlanGroupTypeEnum = "BUILT_IN_PRECHECK" )
Set of constants representing the allowable values for DrPlanGroupTypeEnum
func GetDrPlanGroupTypeEnumValues ¶
func GetDrPlanGroupTypeEnumValues() []DrPlanGroupTypeEnum
GetDrPlanGroupTypeEnumValues Enumerates the set of values for DrPlanGroupTypeEnum
func GetMappingDrPlanGroupTypeEnum ¶
func GetMappingDrPlanGroupTypeEnum(val string) (DrPlanGroupTypeEnum, bool)
GetMappingDrPlanGroupTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanLifecycleStateEnum ¶
type DrPlanLifecycleStateEnum string
DrPlanLifecycleStateEnum Enum with underlying type: string
const ( DrPlanLifecycleStateCreating DrPlanLifecycleStateEnum = "CREATING" DrPlanLifecycleStateUpdating DrPlanLifecycleStateEnum = "UPDATING" DrPlanLifecycleStateActive DrPlanLifecycleStateEnum = "ACTIVE" DrPlanLifecycleStateInactive DrPlanLifecycleStateEnum = "INACTIVE" DrPlanLifecycleStateDeleting DrPlanLifecycleStateEnum = "DELETING" DrPlanLifecycleStateDeleted DrPlanLifecycleStateEnum = "DELETED" DrPlanLifecycleStateFailed DrPlanLifecycleStateEnum = "FAILED" DrPlanLifecycleStateNeedsAttention DrPlanLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for DrPlanLifecycleStateEnum
func GetDrPlanLifecycleStateEnumValues ¶
func GetDrPlanLifecycleStateEnumValues() []DrPlanLifecycleStateEnum
GetDrPlanLifecycleStateEnumValues Enumerates the set of values for DrPlanLifecycleStateEnum
func GetMappingDrPlanLifecycleStateEnum ¶
func GetMappingDrPlanLifecycleStateEnum(val string) (DrPlanLifecycleStateEnum, bool)
GetMappingDrPlanLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanStep ¶
type DrPlanStep struct { // The unique id of this step. Must not be modified by the user. // Example: `sgid1.step..<unique_id>` Id *string `mandatory:"true" json:"id"` // The unique id of the group to which this step belongs. Must not be modified by user. // Example: `sgid1.group..<unique_id>` GroupId *string `mandatory:"true" json:"groupId"` // The plan step type. Type DrPlanStepTypeEnum `mandatory:"true" json:"type"` // The display name of this DR Plan Group. // Example: `DATABASE_SWITCHOVER` DisplayName *string `mandatory:"true" json:"displayName"` // The error mode for this step. ErrorMode DrPlanStepErrorModeEnum `mandatory:"true" json:"errorMode"` // The timeout in seconds for executing this step. // Example: `600` Timeout *int `mandatory:"true" json:"timeout"` // A flag indicating whether this step should be enabled for execution. // Example: `true` IsEnabled *bool `mandatory:"true" json:"isEnabled"` // The OCID of the member associated with this step. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"false" json:"memberId"` UserDefinedStep DrPlanUserDefinedStep `mandatory:"false" json:"userDefinedStep"` }
DrPlanStep Details of a step in a DR Plan.
func (DrPlanStep) String ¶
func (m DrPlanStep) String() string
func (*DrPlanStep) UnmarshalJSON ¶
func (m *DrPlanStep) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (DrPlanStep) ValidateEnumValue ¶
func (m DrPlanStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanStepErrorModeEnum ¶
type DrPlanStepErrorModeEnum string
DrPlanStepErrorModeEnum Enum with underlying type: string
const ( DrPlanStepErrorModeStopOnError DrPlanStepErrorModeEnum = "STOP_ON_ERROR" DrPlanStepErrorModeContinueOnError DrPlanStepErrorModeEnum = "CONTINUE_ON_ERROR" )
Set of constants representing the allowable values for DrPlanStepErrorModeEnum
func GetDrPlanStepErrorModeEnumValues ¶
func GetDrPlanStepErrorModeEnumValues() []DrPlanStepErrorModeEnum
GetDrPlanStepErrorModeEnumValues Enumerates the set of values for DrPlanStepErrorModeEnum
func GetMappingDrPlanStepErrorModeEnum ¶
func GetMappingDrPlanStepErrorModeEnum(val string) (DrPlanStepErrorModeEnum, bool)
GetMappingDrPlanStepErrorModeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanStepExecution ¶
type DrPlanStepExecution struct { // The unique id of this step. Must not be modified by user. // Example: `sgid1.step..<unique_id>` StepId *string `mandatory:"true" json:"stepId"` // The plan step type. Type DrPlanStepTypeEnum `mandatory:"true" json:"type"` // The unique id of the group to which this step belongs. Must not be modified by user. // Example: `sgid1.group..<unique_id>` GroupId *string `mandatory:"true" json:"groupId"` // The display name of the step. // Example: `DATABASE_SWITCHOVER` DisplayName *string `mandatory:"true" json:"displayName"` LogLocation *ObjectStorageLogLocation `mandatory:"true" json:"logLocation"` // The status of the step execution. Status DrPlanStepExecutionStatusEnum `mandatory:"true" json:"status"` // Additional details about the step execution status. // Example: `This step failed to complete due to a timeout` StatusDetails *string `mandatory:"false" json:"statusDetails"` // The time at which step execution began. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time at which step execution ended. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` // The total duration in seconds taken to complete step execution. // Example: `35` ExecutionDurationInSec *int `mandatory:"false" json:"executionDurationInSec"` }
DrPlanStepExecution Summary information about a step execution.
func (DrPlanStepExecution) String ¶
func (m DrPlanStepExecution) String() string
func (DrPlanStepExecution) ValidateEnumValue ¶
func (m DrPlanStepExecution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanStepExecutionStatusEnum ¶
type DrPlanStepExecutionStatusEnum string
DrPlanStepExecutionStatusEnum Enum with underlying type: string
const ( DrPlanStepExecutionStatusQueued DrPlanStepExecutionStatusEnum = "QUEUED" DrPlanStepExecutionStatusDisabled DrPlanStepExecutionStatusEnum = "DISABLED" DrPlanStepExecutionStatusInProgress DrPlanStepExecutionStatusEnum = "IN_PROGRESS" DrPlanStepExecutionStatusSucceeded DrPlanStepExecutionStatusEnum = "SUCCEEDED" DrPlanStepExecutionStatusFailed DrPlanStepExecutionStatusEnum = "FAILED" DrPlanStepExecutionStatusFailedIgnored DrPlanStepExecutionStatusEnum = "FAILED_IGNORED" DrPlanStepExecutionStatusTimedOut DrPlanStepExecutionStatusEnum = "TIMED_OUT" DrPlanStepExecutionStatusTimedOutIgnored DrPlanStepExecutionStatusEnum = "TIMED_OUT_IGNORED" DrPlanStepExecutionStatusPaused DrPlanStepExecutionStatusEnum = "PAUSED" DrPlanStepExecutionStatusCanceled DrPlanStepExecutionStatusEnum = "CANCELED" )
Set of constants representing the allowable values for DrPlanStepExecutionStatusEnum
func GetDrPlanStepExecutionStatusEnumValues ¶
func GetDrPlanStepExecutionStatusEnumValues() []DrPlanStepExecutionStatusEnum
GetDrPlanStepExecutionStatusEnumValues Enumerates the set of values for DrPlanStepExecutionStatusEnum
func GetMappingDrPlanStepExecutionStatusEnum ¶
func GetMappingDrPlanStepExecutionStatusEnum(val string) (DrPlanStepExecutionStatusEnum, bool)
GetMappingDrPlanStepExecutionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanStepTypeEnum ¶
type DrPlanStepTypeEnum string
DrPlanStepTypeEnum Enum with underlying type: string
const ( DrPlanStepTypeComputeInstanceStopPrecheck DrPlanStepTypeEnum = "COMPUTE_INSTANCE_STOP_PRECHECK" DrPlanStepTypeComputeInstanceLaunchPrecheck DrPlanStepTypeEnum = "COMPUTE_INSTANCE_LAUNCH_PRECHECK" DrPlanStepTypeComputeInstanceTerminatePrecheck DrPlanStepTypeEnum = "COMPUTE_INSTANCE_TERMINATE_PRECHECK" DrPlanStepTypeComputeInstanceRemovePrecheck DrPlanStepTypeEnum = "COMPUTE_INSTANCE_REMOVE_PRECHECK" DrPlanStepTypeVolumeGroupRestoreSwitchoverPrecheck DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_SWITCHOVER_PRECHECK" DrPlanStepTypeVolumeGroupRestoreFailoverPrecheck DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_FAILOVER_PRECHECK" DrPlanStepTypeDatabaseSwitchoverPrecheck DrPlanStepTypeEnum = "DATABASE_SWITCHOVER_PRECHECK" DrPlanStepTypeDatabaseFailoverPrecheck DrPlanStepTypeEnum = "DATABASE_FAILOVER_PRECHECK" DrPlanStepTypeAutonomousDatabaseSwitchoverPrecheck DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_SWITCHOVER_PRECHECK" DrPlanStepTypeAutonomousDatabaseFailoverPrecheck DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_FAILOVER_PRECHECK" DrPlanStepTypeUserDefinedPrecheck DrPlanStepTypeEnum = "USER_DEFINED_PRECHECK" DrPlanStepTypeComputeInstanceLaunch DrPlanStepTypeEnum = "COMPUTE_INSTANCE_LAUNCH" DrPlanStepTypeComputeInstanceStop DrPlanStepTypeEnum = "COMPUTE_INSTANCE_STOP" DrPlanStepTypeComputeInstanceTerminate DrPlanStepTypeEnum = "COMPUTE_INSTANCE_TERMINATE" DrPlanStepTypeComputeInstanceRemove DrPlanStepTypeEnum = "COMPUTE_INSTANCE_REMOVE" DrPlanStepTypeDatabaseSwitchover DrPlanStepTypeEnum = "DATABASE_SWITCHOVER" DrPlanStepTypeDatabaseFailover DrPlanStepTypeEnum = "DATABASE_FAILOVER" DrPlanStepTypeAutonomousDatabaseSwitchover DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_SWITCHOVER" DrPlanStepTypeAutonomousDatabaseFailover DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_FAILOVER" DrPlanStepTypeVolumeGroupRestoreSwitchover DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_SWITCHOVER" DrPlanStepTypeVolumeGroupRestoreFailover DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_FAILOVER" DrPlanStepTypeVolumeGroupReverse DrPlanStepTypeEnum = "VOLUME_GROUP_REVERSE" DrPlanStepTypeVolumeGroupDelete DrPlanStepTypeEnum = "VOLUME_GROUP_DELETE" DrPlanStepTypeVolumeGroupRemove DrPlanStepTypeEnum = "VOLUME_GROUP_REMOVE" DrPlanStepTypeVolumeGroupTerminate DrPlanStepTypeEnum = "VOLUME_GROUP_TERMINATE" DrPlanStepTypeUserDefined DrPlanStepTypeEnum = "USER_DEFINED" DrPlanStepTypeComputeCapacityReservationSwitchoverPrecheck DrPlanStepTypeEnum = "COMPUTE_CAPACITY_RESERVATION_SWITCHOVER_PRECHECK" DrPlanStepTypeComputeCapacityReservationFailoverPrecheck DrPlanStepTypeEnum = "COMPUTE_CAPACITY_RESERVATION_FAILOVER_PRECHECK" DrPlanStepTypeComputeCapacityAvailabilitySwitchoverPrecheck DrPlanStepTypeEnum = "COMPUTE_CAPACITY_AVAILABILITY_SWITCHOVER_PRECHECK" DrPlanStepTypeComputeCapacityAvailabilityFailoverPrecheck DrPlanStepTypeEnum = "COMPUTE_CAPACITY_AVAILABILITY_FAILOVER_PRECHECK" )
Set of constants representing the allowable values for DrPlanStepTypeEnum
func GetDrPlanStepTypeEnumValues ¶
func GetDrPlanStepTypeEnumValues() []DrPlanStepTypeEnum
GetDrPlanStepTypeEnumValues Enumerates the set of values for DrPlanStepTypeEnum
func GetMappingDrPlanStepTypeEnum ¶
func GetMappingDrPlanStepTypeEnum(val string) (DrPlanStepTypeEnum, bool)
GetMappingDrPlanStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanSummary ¶
type DrPlanSummary struct { // The OCID of this DR Plan. // Example: `ocid1.drplan.oc1.iad.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the DR Plan. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of this DR Plan. // Example: `EBS Switchover PHX to IAD` DisplayName *string `mandatory:"true" json:"displayName"` // The type of this DR Plan. Type DrPlanTypeEnum `mandatory:"true" json:"type"` // The OCID of the DR Protection Group with which this DR Plan is associated. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"` // The OCID of peer (remote) DR Protection Group associated with this plan execution's // DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"` // The region of the peer (remote) DR Protection Group. // Example: `us-phoenix-1` PeerRegion *string `mandatory:"true" json:"peerRegion"` // The date and time the DR Plan was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the DR Plan was updated. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the DR Plan. LifecycleState DrPlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A message describing the DR Plan's current state in more detail. LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrPlanSummary Summary information about a DR Plan Execution.
func (DrPlanSummary) String ¶
func (m DrPlanSummary) String() string
func (DrPlanSummary) ValidateEnumValue ¶
func (m DrPlanSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrPlanTypeEnum ¶
type DrPlanTypeEnum string
DrPlanTypeEnum Enum with underlying type: string
const ( DrPlanTypeSwitchover DrPlanTypeEnum = "SWITCHOVER" DrPlanTypeFailover DrPlanTypeEnum = "FAILOVER" )
Set of constants representing the allowable values for DrPlanTypeEnum
func GetDrPlanTypeEnumValues ¶
func GetDrPlanTypeEnumValues() []DrPlanTypeEnum
GetDrPlanTypeEnumValues Enumerates the set of values for DrPlanTypeEnum
func GetMappingDrPlanTypeEnum ¶
func GetMappingDrPlanTypeEnum(val string) (DrPlanTypeEnum, bool)
GetMappingDrPlanTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrPlanUserDefinedStep ¶
type DrPlanUserDefinedStep interface { }
DrPlanUserDefinedStep The details for a user-defined step in a DR Plan.
type DrPlanUserDefinedStepStepTypeEnum ¶
type DrPlanUserDefinedStepStepTypeEnum string
DrPlanUserDefinedStepStepTypeEnum Enum with underlying type: string
const ( DrPlanUserDefinedStepStepTypeRunObjectstoreScriptPrecheck DrPlanUserDefinedStepStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT_PRECHECK" DrPlanUserDefinedStepStepTypeRunLocalScriptPrecheck DrPlanUserDefinedStepStepTypeEnum = "RUN_LOCAL_SCRIPT_PRECHECK" DrPlanUserDefinedStepStepTypeInvokeFunctionPrecheck DrPlanUserDefinedStepStepTypeEnum = "INVOKE_FUNCTION_PRECHECK" DrPlanUserDefinedStepStepTypeRunObjectstoreScript DrPlanUserDefinedStepStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT" DrPlanUserDefinedStepStepTypeRunLocalScript DrPlanUserDefinedStepStepTypeEnum = "RUN_LOCAL_SCRIPT" DrPlanUserDefinedStepStepTypeInvokeFunction DrPlanUserDefinedStepStepTypeEnum = "INVOKE_FUNCTION" )
Set of constants representing the allowable values for DrPlanUserDefinedStepStepTypeEnum
func GetDrPlanUserDefinedStepStepTypeEnumValues ¶
func GetDrPlanUserDefinedStepStepTypeEnumValues() []DrPlanUserDefinedStepStepTypeEnum
GetDrPlanUserDefinedStepStepTypeEnumValues Enumerates the set of values for DrPlanUserDefinedStepStepTypeEnum
func GetMappingDrPlanUserDefinedStepStepTypeEnum ¶
func GetMappingDrPlanUserDefinedStepStepTypeEnum(val string) (DrPlanUserDefinedStepStepTypeEnum, bool)
GetMappingDrPlanUserDefinedStepStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrProtectionGroup ¶
type DrProtectionGroup struct { // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the DR Protection Group. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the DR Protection Group. // Example: `EBS PHX DRPG` DisplayName *string `mandatory:"true" json:"displayName"` // The role of the DR Protection Group. Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"` // The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the DR Protection Group. LifecycleState DrProtectionGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the peer (remote) DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` PeerId *string `mandatory:"false" json:"peerId"` // The region of the peer (remote) DR Protection Group. // Example: `us-ashburn-1` PeerRegion *string `mandatory:"false" json:"peerRegion"` LogLocation *ObjectStorageLogLocation `mandatory:"false" json:"logLocation"` // A list of DR Protection Group members. Members []DrProtectionGroupMember `mandatory:"false" json:"members"` // A message describing the DR Protection Group's current state in more detail. LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrProtectionGroup Details about a DR Protection Group.
func (DrProtectionGroup) String ¶
func (m DrProtectionGroup) String() string
func (*DrProtectionGroup) UnmarshalJSON ¶
func (m *DrProtectionGroup) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (DrProtectionGroup) ValidateEnumValue ¶
func (m DrProtectionGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupCollection ¶
type DrProtectionGroupCollection struct { // A list of DR Protection Group summary objects. Items []DrProtectionGroupSummary `mandatory:"true" json:"items"` }
DrProtectionGroupCollection A list of DR Protection Groups.
func (DrProtectionGroupCollection) String ¶
func (m DrProtectionGroupCollection) String() string
func (DrProtectionGroupCollection) ValidateEnumValue ¶
func (m DrProtectionGroupCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupLifecycleStateEnum ¶
type DrProtectionGroupLifecycleStateEnum string
DrProtectionGroupLifecycleStateEnum Enum with underlying type: string
const ( DrProtectionGroupLifecycleStateCreating DrProtectionGroupLifecycleStateEnum = "CREATING" DrProtectionGroupLifecycleStateActive DrProtectionGroupLifecycleStateEnum = "ACTIVE" DrProtectionGroupLifecycleStateUpdating DrProtectionGroupLifecycleStateEnum = "UPDATING" DrProtectionGroupLifecycleStateNeedsAttention DrProtectionGroupLifecycleStateEnum = "NEEDS_ATTENTION" DrProtectionGroupLifecycleStateDeleting DrProtectionGroupLifecycleStateEnum = "DELETING" DrProtectionGroupLifecycleStateDeleted DrProtectionGroupLifecycleStateEnum = "DELETED" DrProtectionGroupLifecycleStateFailed DrProtectionGroupLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for DrProtectionGroupLifecycleStateEnum
func GetDrProtectionGroupLifecycleStateEnumValues ¶
func GetDrProtectionGroupLifecycleStateEnumValues() []DrProtectionGroupLifecycleStateEnum
GetDrProtectionGroupLifecycleStateEnumValues Enumerates the set of values for DrProtectionGroupLifecycleStateEnum
func GetMappingDrProtectionGroupLifecycleStateEnum ¶
func GetMappingDrProtectionGroupLifecycleStateEnum(val string) (DrProtectionGroupLifecycleStateEnum, bool)
GetMappingDrProtectionGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DrProtectionGroupMember ¶
type DrProtectionGroupMember interface { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` GetMemberId() *string }
DrProtectionGroupMember Properties for a member in a DR Protection Group.
type DrProtectionGroupMemberAutonomousDatabase ¶
type DrProtectionGroupMemberAutonomousDatabase struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
DrProtectionGroupMemberAutonomousDatabase Properties for an Autonomous Database member of a DR Protection Group.
func (DrProtectionGroupMemberAutonomousDatabase) GetMemberId ¶
func (m DrProtectionGroupMemberAutonomousDatabase) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberAutonomousDatabase) MarshalJSON ¶
func (m DrProtectionGroupMemberAutonomousDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberAutonomousDatabase) String ¶
func (m DrProtectionGroupMemberAutonomousDatabase) String() string
func (DrProtectionGroupMemberAutonomousDatabase) ValidateEnumValue ¶
func (m DrProtectionGroupMemberAutonomousDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupMemberComputeInstance ¶
type DrProtectionGroupMemberComputeInstance struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved during DR operations. // Example: `false` IsMovable *bool `mandatory:"false" json:"isMovable"` // A list of compute instance VNIC mappings. VnicMapping []ComputeInstanceVnicMapping `mandatory:"false" json:"vnicMapping"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..exampleocid` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host for this compute instance in the destination region. // Example: `ocid1.dedicatedvmhost.oc1.iad.exampleocid` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
DrProtectionGroupMemberComputeInstance Properties for a Compute Instance member of a DR Protection Group.
func (DrProtectionGroupMemberComputeInstance) GetMemberId ¶
func (m DrProtectionGroupMemberComputeInstance) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberComputeInstance) MarshalJSON ¶
func (m DrProtectionGroupMemberComputeInstance) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberComputeInstance) String ¶
func (m DrProtectionGroupMemberComputeInstance) String() string
func (DrProtectionGroupMemberComputeInstance) ValidateEnumValue ¶
func (m DrProtectionGroupMemberComputeInstance) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupMemberComputeInstanceMovable ¶ added in v65.44.0
type DrProtectionGroupMemberComputeInstanceMovable struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved to the same fault domain. // Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. // Example: `false` IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"` // The OCID of the capacity reservation in the destination region using which this compute instance // should be launched. // Example: `ocid1.capacityreservation.oc1..<unique_id>` DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"` // A list of compute instance VNIC mappings. VnicMappings []ComputeInstanceMovableVnicMapping `mandatory:"false" json:"vnicMappings"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..<unique_id>` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host for this compute instance in the destination region. // Example: `ocid1.dedicatedvmhost.oc1..<unique_id>` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
DrProtectionGroupMemberComputeInstanceMovable Properties for a Movable Compute Instance member of a DR Protection Group.
func (DrProtectionGroupMemberComputeInstanceMovable) GetMemberId ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceMovable) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberComputeInstanceMovable) String ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceMovable) String() string
func (DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupMemberComputeInstanceNonMovable ¶ added in v65.44.0
type DrProtectionGroupMemberComputeInstanceNonMovable struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
DrProtectionGroupMemberComputeInstanceNonMovable Properties for a Non-Movable Compute Instance member of a DR Protection Group.
func (DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberComputeInstanceNonMovable) String ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceNonMovable) String() string
func (DrProtectionGroupMemberComputeInstanceNonMovable) ValidateEnumValue ¶ added in v65.44.0
func (m DrProtectionGroupMemberComputeInstanceNonMovable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupMemberDatabase ¶
type DrProtectionGroupMemberDatabase struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // The ID of the vault secret where the database password is stored. // Example: `ocid1.vaultsecret.oc1.phx.exampleocid1` PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"` }
DrProtectionGroupMemberDatabase Properties for a Database (DBCS) member of a DR Protection Group.
func (DrProtectionGroupMemberDatabase) GetMemberId ¶
func (m DrProtectionGroupMemberDatabase) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberDatabase) MarshalJSON ¶
func (m DrProtectionGroupMemberDatabase) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberDatabase) String ¶
func (m DrProtectionGroupMemberDatabase) String() string
func (DrProtectionGroupMemberDatabase) ValidateEnumValue ¶
func (m DrProtectionGroupMemberDatabase) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupMemberTypeEnum ¶
type DrProtectionGroupMemberTypeEnum string
DrProtectionGroupMemberTypeEnum Enum with underlying type: string
const ( DrProtectionGroupMemberTypeComputeInstance DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE" DrProtectionGroupMemberTypeComputeInstanceMovable DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE_MOVABLE" DrProtectionGroupMemberTypeComputeInstanceNonMovable DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE_NON_MOVABLE" DrProtectionGroupMemberTypeVolumeGroup DrProtectionGroupMemberTypeEnum = "VOLUME_GROUP" DrProtectionGroupMemberTypeDatabase DrProtectionGroupMemberTypeEnum = "DATABASE" DrProtectionGroupMemberTypeAutonomousDatabase DrProtectionGroupMemberTypeEnum = "AUTONOMOUS_DATABASE" )
Set of constants representing the allowable values for DrProtectionGroupMemberTypeEnum
func GetDrProtectionGroupMemberTypeEnumValues ¶
func GetDrProtectionGroupMemberTypeEnumValues() []DrProtectionGroupMemberTypeEnum
GetDrProtectionGroupMemberTypeEnumValues Enumerates the set of values for DrProtectionGroupMemberTypeEnum
func GetMappingDrProtectionGroupMemberTypeEnum ¶
func GetMappingDrProtectionGroupMemberTypeEnum(val string) (DrProtectionGroupMemberTypeEnum, bool)
GetMappingDrProtectionGroupMemberTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DrProtectionGroupMemberVolumeGroup ¶
type DrProtectionGroupMemberVolumeGroup struct { // The OCID of the member. // Example: `ocid1.instance.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
DrProtectionGroupMemberVolumeGroup Properties for a Volume Group member of a DR Protection Group.
func (DrProtectionGroupMemberVolumeGroup) GetMemberId ¶
func (m DrProtectionGroupMemberVolumeGroup) GetMemberId() *string
GetMemberId returns MemberId
func (DrProtectionGroupMemberVolumeGroup) MarshalJSON ¶
func (m DrProtectionGroupMemberVolumeGroup) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DrProtectionGroupMemberVolumeGroup) String ¶
func (m DrProtectionGroupMemberVolumeGroup) String() string
func (DrProtectionGroupMemberVolumeGroup) ValidateEnumValue ¶
func (m DrProtectionGroupMemberVolumeGroup) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DrProtectionGroupRoleEnum ¶
type DrProtectionGroupRoleEnum string
DrProtectionGroupRoleEnum Enum with underlying type: string
const ( DrProtectionGroupRolePrimary DrProtectionGroupRoleEnum = "PRIMARY" DrProtectionGroupRoleStandby DrProtectionGroupRoleEnum = "STANDBY" DrProtectionGroupRoleUnconfigured DrProtectionGroupRoleEnum = "UNCONFIGURED" )
Set of constants representing the allowable values for DrProtectionGroupRoleEnum
func GetDrProtectionGroupRoleEnumValues ¶
func GetDrProtectionGroupRoleEnumValues() []DrProtectionGroupRoleEnum
GetDrProtectionGroupRoleEnumValues Enumerates the set of values for DrProtectionGroupRoleEnum
func GetMappingDrProtectionGroupRoleEnum ¶
func GetMappingDrProtectionGroupRoleEnum(val string) (DrProtectionGroupRoleEnum, bool)
GetMappingDrProtectionGroupRoleEnum performs case Insensitive comparison on enum value and return the desired enum
type DrProtectionGroupSummary ¶
type DrProtectionGroupSummary struct { // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the DR Protection Group. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The display name of the DR Protection Group. // Example: `EBS PHX DRPG` DisplayName *string `mandatory:"true" json:"displayName"` // The role of the DR Protection Group. Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"` // The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // The current state of the DR Protection Group. LifecycleState DrProtectionGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The OCID of the peer (remote) DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` PeerId *string `mandatory:"false" json:"peerId"` // The region of the peer (remote) DR Protection Group. // Example: `us-ashburn-1` PeerRegion *string `mandatory:"false" json:"peerRegion"` // A message describing the DR Protection Group's current state in more detail. LifeCycleDetails *string `mandatory:"false" json:"lifeCycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
DrProtectionGroupSummary Summary information about a DR Protection Group.
func (DrProtectionGroupSummary) String ¶
func (m DrProtectionGroupSummary) String() string
func (DrProtectionGroupSummary) ValidateEnumValue ¶
func (m DrProtectionGroupSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FailoverExecutionOptionDetails ¶
type FailoverExecutionOptionDetails struct { // A flag indicating whether prechecks should be executed before the plan execution. // Example: `true` ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"` // A flag indicating whether warnings should be ignored during the failover. // Example: `false` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
FailoverExecutionOptionDetails Options for failover execution.
func (FailoverExecutionOptionDetails) MarshalJSON ¶
func (m FailoverExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FailoverExecutionOptionDetails) String ¶
func (m FailoverExecutionOptionDetails) String() string
func (FailoverExecutionOptionDetails) ValidateEnumValue ¶
func (m FailoverExecutionOptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FailoverExecutionOptions ¶
type FailoverExecutionOptions struct { // A flag indicating whether prechecks should be executed before the plan execution. // Example: `true` ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"` // A flag indicating whether warnings should be ignored during the plan execution. // Example: `false` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
FailoverExecutionOptions Options for failover execution.
func (FailoverExecutionOptions) MarshalJSON ¶
func (m FailoverExecutionOptions) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FailoverExecutionOptions) String ¶
func (m FailoverExecutionOptions) String() string
func (FailoverExecutionOptions) ValidateEnumValue ¶
func (m FailoverExecutionOptions) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FailoverPrecheckExecutionOptionDetails ¶
type FailoverPrecheckExecutionOptionDetails struct { // A flag indicating whether warnings should be ignored during the failover precheck. // Example: `false` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
FailoverPrecheckExecutionOptionDetails Options for a failover precheck execution.
func (FailoverPrecheckExecutionOptionDetails) MarshalJSON ¶
func (m FailoverPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FailoverPrecheckExecutionOptionDetails) String ¶
func (m FailoverPrecheckExecutionOptionDetails) String() string
func (FailoverPrecheckExecutionOptionDetails) ValidateEnumValue ¶
func (m FailoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type FailoverPrecheckExecutionOptions ¶
type FailoverPrecheckExecutionOptions struct { // A flag indicating whether warnings should be ignored during the precheck. // Example: `false` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
FailoverPrecheckExecutionOptions Options for failover precheck execution.
func (FailoverPrecheckExecutionOptions) MarshalJSON ¶
func (m FailoverPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FailoverPrecheckExecutionOptions) String ¶
func (m FailoverPrecheckExecutionOptions) String() string
func (FailoverPrecheckExecutionOptions) ValidateEnumValue ¶
func (m FailoverPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetDrPlanExecutionRequest ¶
type GetDrPlanExecutionRequest struct { // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDrPlanExecutionRequest wrapper for the GetDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlanExecution.go.html to see an example of how to use GetDrPlanExecutionRequest.
func (GetDrPlanExecutionRequest) BinaryRequestBody ¶
func (request GetDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDrPlanExecutionRequest) HTTPRequest ¶
func (request GetDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDrPlanExecutionRequest) RetryPolicy ¶
func (request GetDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDrPlanExecutionRequest) String ¶
func (request GetDrPlanExecutionRequest) String() string
func (GetDrPlanExecutionRequest) ValidateEnumValue ¶
func (request GetDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetDrPlanExecutionResponse ¶
type GetDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // The DrPlanExecution instance DrPlanExecution `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetDrPlanExecutionResponse wrapper for the GetDrPlanExecution operation
func (GetDrPlanExecutionResponse) HTTPResponse ¶
func (response GetDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDrPlanExecutionResponse) String ¶
func (response GetDrPlanExecutionResponse) String() string
type GetDrPlanRequest ¶
type GetDrPlanRequest struct { // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.exampleocid` DrPlanId *string `mandatory:"true" contributesTo:"path" name:"drPlanId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDrPlanRequest wrapper for the GetDrPlan operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlan.go.html to see an example of how to use GetDrPlanRequest.
func (GetDrPlanRequest) BinaryRequestBody ¶
func (request GetDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDrPlanRequest) HTTPRequest ¶
func (request GetDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDrPlanRequest) RetryPolicy ¶
func (request GetDrPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDrPlanRequest) String ¶
func (request GetDrPlanRequest) String() string
func (GetDrPlanRequest) ValidateEnumValue ¶
func (request GetDrPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetDrPlanResponse ¶
type GetDrPlanResponse struct { // The underlying http response RawResponse *http.Response // The DrPlan instance DrPlan `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetDrPlanResponse wrapper for the GetDrPlan operation
func (GetDrPlanResponse) HTTPResponse ¶
func (response GetDrPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDrPlanResponse) String ¶
func (response GetDrPlanResponse) String() string
type GetDrProtectionGroupRequest ¶
type GetDrProtectionGroupRequest struct { // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDrProtectionGroupRequest wrapper for the GetDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrProtectionGroup.go.html to see an example of how to use GetDrProtectionGroupRequest.
func (GetDrProtectionGroupRequest) BinaryRequestBody ¶
func (request GetDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDrProtectionGroupRequest) HTTPRequest ¶
func (request GetDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDrProtectionGroupRequest) RetryPolicy ¶
func (request GetDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDrProtectionGroupRequest) String ¶
func (request GetDrProtectionGroupRequest) String() string
func (GetDrProtectionGroupRequest) ValidateEnumValue ¶
func (request GetDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetDrProtectionGroupResponse ¶
type GetDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // The DrProtectionGroup instance DrProtectionGroup `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
GetDrProtectionGroupResponse wrapper for the GetDrProtectionGroup operation
func (GetDrProtectionGroupResponse) HTTPResponse ¶
func (response GetDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDrProtectionGroupResponse) String ¶
func (response GetDrProtectionGroupResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The ID (OCID) of the asynchronous request. // Example: `ocid1.workrequest.oc1.phx.exampleocid` WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven). Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type IgnoreDrPlanExecutionDetails ¶
type IgnoreDrPlanExecutionDetails struct { // The unique id of the group to ignore as a whole, or the group containing the step to ignore. // Example: `sgid1.group..<unique_id>` GroupId *string `mandatory:"true" json:"groupId"` // The unique id of the step to ignore (optional). Only needed when ignoring a step. // Example: `sgid1.step..<unique_id>` StepId *string `mandatory:"false" json:"stepId"` }
IgnoreDrPlanExecutionDetails The details for ignoring a failed group or step.
func (IgnoreDrPlanExecutionDetails) String ¶
func (m IgnoreDrPlanExecutionDetails) String() string
func (IgnoreDrPlanExecutionDetails) ValidateEnumValue ¶
func (m IgnoreDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IgnoreDrPlanExecutionRequest ¶
type IgnoreDrPlanExecutionRequest struct { // Details of the failed group or step to ignore. IgnoreDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
IgnoreDrPlanExecutionRequest wrapper for the IgnoreDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/IgnoreDrPlanExecution.go.html to see an example of how to use IgnoreDrPlanExecutionRequest.
func (IgnoreDrPlanExecutionRequest) BinaryRequestBody ¶
func (request IgnoreDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (IgnoreDrPlanExecutionRequest) HTTPRequest ¶
func (request IgnoreDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (IgnoreDrPlanExecutionRequest) RetryPolicy ¶
func (request IgnoreDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (IgnoreDrPlanExecutionRequest) String ¶
func (request IgnoreDrPlanExecutionRequest) String() string
func (IgnoreDrPlanExecutionRequest) ValidateEnumValue ¶
func (request IgnoreDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type IgnoreDrPlanExecutionResponse ¶
type IgnoreDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
IgnoreDrPlanExecutionResponse wrapper for the IgnoreDrPlanExecution operation
func (IgnoreDrPlanExecutionResponse) HTTPResponse ¶
func (response IgnoreDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (IgnoreDrPlanExecutionResponse) String ¶
func (response IgnoreDrPlanExecutionResponse) String() string
type InvokeFunctionPrecheckStep ¶
type InvokeFunctionPrecheckStep struct { }
InvokeFunctionPrecheckStep Invoke Oracle function precheck step details.
func (InvokeFunctionPrecheckStep) MarshalJSON ¶
func (m InvokeFunctionPrecheckStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (InvokeFunctionPrecheckStep) String ¶
func (m InvokeFunctionPrecheckStep) String() string
func (InvokeFunctionPrecheckStep) ValidateEnumValue ¶
func (m InvokeFunctionPrecheckStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type InvokeFunctionStep ¶
type InvokeFunctionStep struct { // The OCID of function to be invoked. // Example: `ocid1.fnfunc.oc1.iad.<unique_id>` FunctionId *string `mandatory:"true" json:"functionId"` // The region in which the function is deployed. // Example: `us-ashburn-1` FunctionRegion *string `mandatory:"true" json:"functionRegion"` // The request body for the function. // Example: `{ "FnParam1", "FnParam2" }` RequestBody *string `mandatory:"false" json:"requestBody"` }
InvokeFunctionStep Invoke Oracle function step details.
func (InvokeFunctionStep) MarshalJSON ¶
func (m InvokeFunctionStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (InvokeFunctionStep) String ¶
func (m InvokeFunctionStep) String() string
func (InvokeFunctionStep) ValidateEnumValue ¶
func (m InvokeFunctionStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListDrPlanExecutionsDrPlanExecutionTypeEnum ¶
type ListDrPlanExecutionsDrPlanExecutionTypeEnum string
ListDrPlanExecutionsDrPlanExecutionTypeEnum Enum with underlying type: string
const ( ListDrPlanExecutionsDrPlanExecutionTypeSwitchover ListDrPlanExecutionsDrPlanExecutionTypeEnum = "SWITCHOVER" ListDrPlanExecutionsDrPlanExecutionTypeSwitchoverPrecheck ListDrPlanExecutionsDrPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK" ListDrPlanExecutionsDrPlanExecutionTypeFailover ListDrPlanExecutionsDrPlanExecutionTypeEnum = "FAILOVER" ListDrPlanExecutionsDrPlanExecutionTypeFailoverPrecheck ListDrPlanExecutionsDrPlanExecutionTypeEnum = "FAILOVER_PRECHECK" )
Set of constants representing the allowable values for ListDrPlanExecutionsDrPlanExecutionTypeEnum
func GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues ¶
func GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues() []ListDrPlanExecutionsDrPlanExecutionTypeEnum
GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues Enumerates the set of values for ListDrPlanExecutionsDrPlanExecutionTypeEnum
func GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum ¶
func GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum(val string) (ListDrPlanExecutionsDrPlanExecutionTypeEnum, bool)
GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlanExecutionsLifecycleStateEnum ¶
type ListDrPlanExecutionsLifecycleStateEnum string
ListDrPlanExecutionsLifecycleStateEnum Enum with underlying type: string
const ( ListDrPlanExecutionsLifecycleStateAccepted ListDrPlanExecutionsLifecycleStateEnum = "ACCEPTED" ListDrPlanExecutionsLifecycleStateInProgress ListDrPlanExecutionsLifecycleStateEnum = "IN_PROGRESS" ListDrPlanExecutionsLifecycleStateWaiting ListDrPlanExecutionsLifecycleStateEnum = "WAITING" ListDrPlanExecutionsLifecycleStateCanceling ListDrPlanExecutionsLifecycleStateEnum = "CANCELING" ListDrPlanExecutionsLifecycleStateCanceled ListDrPlanExecutionsLifecycleStateEnum = "CANCELED" ListDrPlanExecutionsLifecycleStateSucceeded ListDrPlanExecutionsLifecycleStateEnum = "SUCCEEDED" ListDrPlanExecutionsLifecycleStateFailed ListDrPlanExecutionsLifecycleStateEnum = "FAILED" ListDrPlanExecutionsLifecycleStateDeleting ListDrPlanExecutionsLifecycleStateEnum = "DELETING" ListDrPlanExecutionsLifecycleStateDeleted ListDrPlanExecutionsLifecycleStateEnum = "DELETED" ListDrPlanExecutionsLifecycleStatePausing ListDrPlanExecutionsLifecycleStateEnum = "PAUSING" ListDrPlanExecutionsLifecycleStatePaused ListDrPlanExecutionsLifecycleStateEnum = "PAUSED" ListDrPlanExecutionsLifecycleStateResuming ListDrPlanExecutionsLifecycleStateEnum = "RESUMING" )
Set of constants representing the allowable values for ListDrPlanExecutionsLifecycleStateEnum
func GetListDrPlanExecutionsLifecycleStateEnumValues ¶
func GetListDrPlanExecutionsLifecycleStateEnumValues() []ListDrPlanExecutionsLifecycleStateEnum
GetListDrPlanExecutionsLifecycleStateEnumValues Enumerates the set of values for ListDrPlanExecutionsLifecycleStateEnum
func GetMappingListDrPlanExecutionsLifecycleStateEnum ¶
func GetMappingListDrPlanExecutionsLifecycleStateEnum(val string) (ListDrPlanExecutionsLifecycleStateEnum, bool)
GetMappingListDrPlanExecutionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlanExecutionsRequest ¶
type ListDrPlanExecutionsRequest struct { // The OCID of the DR Protection Group. Mandatory query param. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"query" name:"drProtectionGroupId"` // A filter to return only DR Plan Executions that match the given lifecycleState. LifecycleState ListDrPlanExecutionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"false" contributesTo:"query" name:"drPlanExecutionId"` // The DR Plan Execution type. DrPlanExecutionType ListDrPlanExecutionsDrPlanExecutionTypeEnum `mandatory:"false" contributesTo:"query" name:"drPlanExecutionType" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. // Example: `MY UNIQUE DISPLAY NAME` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDrPlanExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. // Example: `displayName` SortBy ListDrPlanExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDrPlanExecutionsRequest wrapper for the ListDrPlanExecutions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrPlanExecutions.go.html to see an example of how to use ListDrPlanExecutionsRequest.
func (ListDrPlanExecutionsRequest) BinaryRequestBody ¶
func (request ListDrPlanExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDrPlanExecutionsRequest) HTTPRequest ¶
func (request ListDrPlanExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDrPlanExecutionsRequest) RetryPolicy ¶
func (request ListDrPlanExecutionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDrPlanExecutionsRequest) String ¶
func (request ListDrPlanExecutionsRequest) String() string
func (ListDrPlanExecutionsRequest) ValidateEnumValue ¶
func (request ListDrPlanExecutionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListDrPlanExecutionsResponse ¶
type ListDrPlanExecutionsResponse struct { // The underlying http response RawResponse *http.Response // A list of DrPlanExecutionCollection instances DrPlanExecutionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListDrPlanExecutionsResponse wrapper for the ListDrPlanExecutions operation
func (ListDrPlanExecutionsResponse) HTTPResponse ¶
func (response ListDrPlanExecutionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDrPlanExecutionsResponse) String ¶
func (response ListDrPlanExecutionsResponse) String() string
type ListDrPlanExecutionsSortByEnum ¶
type ListDrPlanExecutionsSortByEnum string
ListDrPlanExecutionsSortByEnum Enum with underlying type: string
const ( ListDrPlanExecutionsSortByTimecreated ListDrPlanExecutionsSortByEnum = "timeCreated" ListDrPlanExecutionsSortByDisplayname ListDrPlanExecutionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDrPlanExecutionsSortByEnum
func GetListDrPlanExecutionsSortByEnumValues ¶
func GetListDrPlanExecutionsSortByEnumValues() []ListDrPlanExecutionsSortByEnum
GetListDrPlanExecutionsSortByEnumValues Enumerates the set of values for ListDrPlanExecutionsSortByEnum
func GetMappingListDrPlanExecutionsSortByEnum ¶
func GetMappingListDrPlanExecutionsSortByEnum(val string) (ListDrPlanExecutionsSortByEnum, bool)
GetMappingListDrPlanExecutionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlanExecutionsSortOrderEnum ¶
type ListDrPlanExecutionsSortOrderEnum string
ListDrPlanExecutionsSortOrderEnum Enum with underlying type: string
const ( ListDrPlanExecutionsSortOrderAsc ListDrPlanExecutionsSortOrderEnum = "ASC" ListDrPlanExecutionsSortOrderDesc ListDrPlanExecutionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDrPlanExecutionsSortOrderEnum
func GetListDrPlanExecutionsSortOrderEnumValues ¶
func GetListDrPlanExecutionsSortOrderEnumValues() []ListDrPlanExecutionsSortOrderEnum
GetListDrPlanExecutionsSortOrderEnumValues Enumerates the set of values for ListDrPlanExecutionsSortOrderEnum
func GetMappingListDrPlanExecutionsSortOrderEnum ¶
func GetMappingListDrPlanExecutionsSortOrderEnum(val string) (ListDrPlanExecutionsSortOrderEnum, bool)
GetMappingListDrPlanExecutionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlansDrPlanTypeEnum ¶
type ListDrPlansDrPlanTypeEnum string
ListDrPlansDrPlanTypeEnum Enum with underlying type: string
const ( ListDrPlansDrPlanTypeSwitchover ListDrPlansDrPlanTypeEnum = "SWITCHOVER" ListDrPlansDrPlanTypeFailover ListDrPlansDrPlanTypeEnum = "FAILOVER" )
Set of constants representing the allowable values for ListDrPlansDrPlanTypeEnum
func GetListDrPlansDrPlanTypeEnumValues ¶
func GetListDrPlansDrPlanTypeEnumValues() []ListDrPlansDrPlanTypeEnum
GetListDrPlansDrPlanTypeEnumValues Enumerates the set of values for ListDrPlansDrPlanTypeEnum
func GetMappingListDrPlansDrPlanTypeEnum ¶
func GetMappingListDrPlansDrPlanTypeEnum(val string) (ListDrPlansDrPlanTypeEnum, bool)
GetMappingListDrPlansDrPlanTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlansLifecycleStateEnum ¶
type ListDrPlansLifecycleStateEnum string
ListDrPlansLifecycleStateEnum Enum with underlying type: string
const ( ListDrPlansLifecycleStateCreating ListDrPlansLifecycleStateEnum = "CREATING" ListDrPlansLifecycleStateUpdating ListDrPlansLifecycleStateEnum = "UPDATING" ListDrPlansLifecycleStateActive ListDrPlansLifecycleStateEnum = "ACTIVE" ListDrPlansLifecycleStateInactive ListDrPlansLifecycleStateEnum = "INACTIVE" ListDrPlansLifecycleStateDeleting ListDrPlansLifecycleStateEnum = "DELETING" ListDrPlansLifecycleStateDeleted ListDrPlansLifecycleStateEnum = "DELETED" ListDrPlansLifecycleStateFailed ListDrPlansLifecycleStateEnum = "FAILED" ListDrPlansLifecycleStateNeedsAttention ListDrPlansLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for ListDrPlansLifecycleStateEnum
func GetListDrPlansLifecycleStateEnumValues ¶
func GetListDrPlansLifecycleStateEnumValues() []ListDrPlansLifecycleStateEnum
GetListDrPlansLifecycleStateEnumValues Enumerates the set of values for ListDrPlansLifecycleStateEnum
func GetMappingListDrPlansLifecycleStateEnum ¶
func GetMappingListDrPlansLifecycleStateEnum(val string) (ListDrPlansLifecycleStateEnum, bool)
GetMappingListDrPlansLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlansRequest ¶
type ListDrPlansRequest struct { // The OCID of the DR Protection Group. Mandatory query param. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"query" name:"drProtectionGroupId"` // A filter to return only DR Plans that match the given lifecycleState. LifecycleState ListDrPlansLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.exampleocid` DrPlanId *string `mandatory:"false" contributesTo:"query" name:"drPlanId"` // The DR Plan type. DrPlanType ListDrPlansDrPlanTypeEnum `mandatory:"false" contributesTo:"query" name:"drPlanType" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. // Example: `MY UNIQUE DISPLAY NAME` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDrPlansSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. // Example: `displayName` SortBy ListDrPlansSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDrPlansRequest wrapper for the ListDrPlans operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrPlans.go.html to see an example of how to use ListDrPlansRequest.
func (ListDrPlansRequest) BinaryRequestBody ¶
func (request ListDrPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDrPlansRequest) HTTPRequest ¶
func (request ListDrPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDrPlansRequest) RetryPolicy ¶
func (request ListDrPlansRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDrPlansRequest) String ¶
func (request ListDrPlansRequest) String() string
func (ListDrPlansRequest) ValidateEnumValue ¶
func (request ListDrPlansRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListDrPlansResponse ¶
type ListDrPlansResponse struct { // The underlying http response RawResponse *http.Response // A list of DrPlanCollection instances DrPlanCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListDrPlansResponse wrapper for the ListDrPlans operation
func (ListDrPlansResponse) HTTPResponse ¶
func (response ListDrPlansResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDrPlansResponse) String ¶
func (response ListDrPlansResponse) String() string
type ListDrPlansSortByEnum ¶
type ListDrPlansSortByEnum string
ListDrPlansSortByEnum Enum with underlying type: string
const ( ListDrPlansSortByTimecreated ListDrPlansSortByEnum = "timeCreated" ListDrPlansSortByDisplayname ListDrPlansSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDrPlansSortByEnum
func GetListDrPlansSortByEnumValues ¶
func GetListDrPlansSortByEnumValues() []ListDrPlansSortByEnum
GetListDrPlansSortByEnumValues Enumerates the set of values for ListDrPlansSortByEnum
func GetMappingListDrPlansSortByEnum ¶
func GetMappingListDrPlansSortByEnum(val string) (ListDrPlansSortByEnum, bool)
GetMappingListDrPlansSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrPlansSortOrderEnum ¶
type ListDrPlansSortOrderEnum string
ListDrPlansSortOrderEnum Enum with underlying type: string
const ( ListDrPlansSortOrderAsc ListDrPlansSortOrderEnum = "ASC" ListDrPlansSortOrderDesc ListDrPlansSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDrPlansSortOrderEnum
func GetListDrPlansSortOrderEnumValues ¶
func GetListDrPlansSortOrderEnumValues() []ListDrPlansSortOrderEnum
GetListDrPlansSortOrderEnumValues Enumerates the set of values for ListDrPlansSortOrderEnum
func GetMappingListDrPlansSortOrderEnum ¶
func GetMappingListDrPlansSortOrderEnum(val string) (ListDrPlansSortOrderEnum, bool)
GetMappingListDrPlansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrProtectionGroupsLifecycleStateEnum ¶
type ListDrProtectionGroupsLifecycleStateEnum string
ListDrProtectionGroupsLifecycleStateEnum Enum with underlying type: string
const ( ListDrProtectionGroupsLifecycleStateCreating ListDrProtectionGroupsLifecycleStateEnum = "CREATING" ListDrProtectionGroupsLifecycleStateActive ListDrProtectionGroupsLifecycleStateEnum = "ACTIVE" ListDrProtectionGroupsLifecycleStateUpdating ListDrProtectionGroupsLifecycleStateEnum = "UPDATING" ListDrProtectionGroupsLifecycleStateNeedsAttention ListDrProtectionGroupsLifecycleStateEnum = "NEEDS_ATTENTION" ListDrProtectionGroupsLifecycleStateDeleting ListDrProtectionGroupsLifecycleStateEnum = "DELETING" ListDrProtectionGroupsLifecycleStateDeleted ListDrProtectionGroupsLifecycleStateEnum = "DELETED" ListDrProtectionGroupsLifecycleStateFailed ListDrProtectionGroupsLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ListDrProtectionGroupsLifecycleStateEnum
func GetListDrProtectionGroupsLifecycleStateEnumValues ¶
func GetListDrProtectionGroupsLifecycleStateEnumValues() []ListDrProtectionGroupsLifecycleStateEnum
GetListDrProtectionGroupsLifecycleStateEnumValues Enumerates the set of values for ListDrProtectionGroupsLifecycleStateEnum
func GetMappingListDrProtectionGroupsLifecycleStateEnum ¶
func GetMappingListDrProtectionGroupsLifecycleStateEnum(val string) (ListDrProtectionGroupsLifecycleStateEnum, bool)
GetMappingListDrProtectionGroupsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrProtectionGroupsRequest ¶
type ListDrProtectionGroupsRequest struct { // The ID (OCID) of the compartment in which to list resources. // Example: `ocid1.compartment.oc1..exampleocid1` CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only DR Protection Groups that match the given lifecycleState. LifecycleState ListDrProtectionGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The OCID of the DR Protection Group. Optional query param. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"false" contributesTo:"query" name:"drProtectionGroupId"` // A filter to return only resources that match the entire display name given. // Example: `MY UNIQUE DISPLAY NAME` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDrProtectionGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. // Default order for displayName is ascending. If no value is specified timeCreated is default. // Example: `displayName` SortBy ListDrProtectionGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The DR Protection Group Role. Role ListDrProtectionGroupsRoleEnum `mandatory:"false" contributesTo:"query" name:"role" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDrProtectionGroupsRequest wrapper for the ListDrProtectionGroups operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrProtectionGroups.go.html to see an example of how to use ListDrProtectionGroupsRequest.
func (ListDrProtectionGroupsRequest) BinaryRequestBody ¶
func (request ListDrProtectionGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDrProtectionGroupsRequest) HTTPRequest ¶
func (request ListDrProtectionGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDrProtectionGroupsRequest) RetryPolicy ¶
func (request ListDrProtectionGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDrProtectionGroupsRequest) String ¶
func (request ListDrProtectionGroupsRequest) String() string
func (ListDrProtectionGroupsRequest) ValidateEnumValue ¶
func (request ListDrProtectionGroupsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListDrProtectionGroupsResponse ¶
type ListDrProtectionGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of DrProtectionGroupCollection instances DrProtectionGroupCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListDrProtectionGroupsResponse wrapper for the ListDrProtectionGroups operation
func (ListDrProtectionGroupsResponse) HTTPResponse ¶
func (response ListDrProtectionGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDrProtectionGroupsResponse) String ¶
func (response ListDrProtectionGroupsResponse) String() string
type ListDrProtectionGroupsRoleEnum ¶ added in v65.44.0
type ListDrProtectionGroupsRoleEnum string
ListDrProtectionGroupsRoleEnum Enum with underlying type: string
const ( ListDrProtectionGroupsRolePrimary ListDrProtectionGroupsRoleEnum = "PRIMARY" ListDrProtectionGroupsRoleStandby ListDrProtectionGroupsRoleEnum = "STANDBY" ListDrProtectionGroupsRoleUnconfigured ListDrProtectionGroupsRoleEnum = "UNCONFIGURED" )
Set of constants representing the allowable values for ListDrProtectionGroupsRoleEnum
func GetListDrProtectionGroupsRoleEnumValues ¶ added in v65.44.0
func GetListDrProtectionGroupsRoleEnumValues() []ListDrProtectionGroupsRoleEnum
GetListDrProtectionGroupsRoleEnumValues Enumerates the set of values for ListDrProtectionGroupsRoleEnum
func GetMappingListDrProtectionGroupsRoleEnum ¶ added in v65.44.0
func GetMappingListDrProtectionGroupsRoleEnum(val string) (ListDrProtectionGroupsRoleEnum, bool)
GetMappingListDrProtectionGroupsRoleEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrProtectionGroupsSortByEnum ¶
type ListDrProtectionGroupsSortByEnum string
ListDrProtectionGroupsSortByEnum Enum with underlying type: string
const ( ListDrProtectionGroupsSortByTimecreated ListDrProtectionGroupsSortByEnum = "timeCreated" ListDrProtectionGroupsSortByDisplayname ListDrProtectionGroupsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDrProtectionGroupsSortByEnum
func GetListDrProtectionGroupsSortByEnumValues ¶
func GetListDrProtectionGroupsSortByEnumValues() []ListDrProtectionGroupsSortByEnum
GetListDrProtectionGroupsSortByEnumValues Enumerates the set of values for ListDrProtectionGroupsSortByEnum
func GetMappingListDrProtectionGroupsSortByEnum ¶
func GetMappingListDrProtectionGroupsSortByEnum(val string) (ListDrProtectionGroupsSortByEnum, bool)
GetMappingListDrProtectionGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDrProtectionGroupsSortOrderEnum ¶
type ListDrProtectionGroupsSortOrderEnum string
ListDrProtectionGroupsSortOrderEnum Enum with underlying type: string
const ( ListDrProtectionGroupsSortOrderAsc ListDrProtectionGroupsSortOrderEnum = "ASC" ListDrProtectionGroupsSortOrderDesc ListDrProtectionGroupsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDrProtectionGroupsSortOrderEnum
func GetListDrProtectionGroupsSortOrderEnumValues ¶
func GetListDrProtectionGroupsSortOrderEnumValues() []ListDrProtectionGroupsSortOrderEnum
GetListDrProtectionGroupsSortOrderEnumValues Enumerates the set of values for ListDrProtectionGroupsSortOrderEnum
func GetMappingListDrProtectionGroupsSortOrderEnum ¶
func GetMappingListDrProtectionGroupsSortOrderEnum(val string) (ListDrProtectionGroupsSortOrderEnum, bool)
GetMappingListDrProtectionGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The ID (OCID) of the asynchronous request. // Example: `ocid1.workrequest.oc1.phx.exampleocid` WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. // Default order for timeAccepted is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The ID (OCID) of the asynchronous request. // Example: `ocid1.workrequest.oc1.phx.exampleocid` WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. // Default order for timeAccepted is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The ID (OCID) of the compartment in which to list resources. // Example: `ocid1.compartment.oc1..exampleocid1` CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID (OCID) of the asynchronous work request. // Example: `ocid1.workrequest.oc1.phx.exampleocid1` WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources whose lifecycleState matches the given OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The ID (OCID) of the resource affected by the work request. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. // For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. // Default order for timeAccepted is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type LocalScriptPrecheckStep ¶
type LocalScriptPrecheckStep struct { }
LocalScriptPrecheckStep Run local script precheck step details.
func (LocalScriptPrecheckStep) MarshalJSON ¶
func (m LocalScriptPrecheckStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (LocalScriptPrecheckStep) String ¶
func (m LocalScriptPrecheckStep) String() string
func (LocalScriptPrecheckStep) ValidateEnumValue ¶
func (m LocalScriptPrecheckStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ObjectStorageLogLocation ¶
type ObjectStorageLogLocation struct { // The namespace in Object Storage (Note - this is usually the tenancy name). // Example: `myocitenancy` Namespace *string `mandatory:"true" json:"namespace"` // The bucket name inside the Object Storage namespace. // Example: `operation_logs` Bucket *string `mandatory:"true" json:"bucket"` // The object name inside the Object Storage bucket. // Example: `switchover_plan_executions` Object *string `mandatory:"false" json:"object"` }
ObjectStorageLogLocation Information about an Object Storage log location for a DR Protection Group.
func (ObjectStorageLogLocation) String ¶
func (m ObjectStorageLogLocation) String() string
func (ObjectStorageLogLocation) ValidateEnumValue ¶
func (m ObjectStorageLogLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ObjectStorageScriptLocation ¶
type ObjectStorageScriptLocation struct { // The namespace in Object Storage (Note - this is usually the tenancy name). // Example: `myocitenancy` Namespace *string `mandatory:"true" json:"namespace"` // The bucket name inside the Object Storage namespace. // Example: `custom_dr_scripts` Bucket *string `mandatory:"true" json:"bucket"` // The object name inside the Object Storage bucket. // Example: `validate_app_start.sh` Object *string `mandatory:"true" json:"object"` }
ObjectStorageScriptLocation Information about an Object Storage script location for a user-defined step in a DR Plan.
func (ObjectStorageScriptLocation) String ¶
func (m ObjectStorageScriptLocation) String() string
func (ObjectStorageScriptLocation) ValidateEnumValue ¶
func (m ObjectStorageScriptLocation) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ObjectStoreScriptPrecheckStep ¶
type ObjectStoreScriptPrecheckStep struct { }
ObjectStoreScriptPrecheckStep Run object store script precheck step details.
func (ObjectStoreScriptPrecheckStep) MarshalJSON ¶
func (m ObjectStoreScriptPrecheckStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ObjectStoreScriptPrecheckStep) String ¶
func (m ObjectStoreScriptPrecheckStep) String() string
func (ObjectStoreScriptPrecheckStep) ValidateEnumValue ¶
func (m ObjectStoreScriptPrecheckStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateDrProtectionGroup OperationTypeEnum = "CREATE_DR_PROTECTION_GROUP" OperationTypeUpdateDrProtectionGroup OperationTypeEnum = "UPDATE_DR_PROTECTION_GROUP" OperationTypeDeleteDrProtectionGroup OperationTypeEnum = "DELETE_DR_PROTECTION_GROUP" OperationTypeMoveDrProtectionGroup OperationTypeEnum = "MOVE_DR_PROTECTION_GROUP" OperationTypeAssociateDrProtectionGroup OperationTypeEnum = "ASSOCIATE_DR_PROTECTION_GROUP" OperationTypeDisassociateDrProtectionGroup OperationTypeEnum = "DISASSOCIATE_DR_PROTECTION_GROUP" OperationTypeUpdateRoleDrProtectionGroup OperationTypeEnum = "UPDATE_ROLE_DR_PROTECTION_GROUP" OperationTypeCreateDrPlan OperationTypeEnum = "CREATE_DR_PLAN" OperationTypeUpdateDrPlan OperationTypeEnum = "UPDATE_DR_PLAN" OperationTypeDeleteDrPlan OperationTypeEnum = "DELETE_DR_PLAN" OperationTypeCreateDrPlanExecution OperationTypeEnum = "CREATE_DR_PLAN_EXECUTION" OperationTypeUpdateDrPlanExecution OperationTypeEnum = "UPDATE_DR_PLAN_EXECUTION" OperationTypeDeleteDrPlanExecution OperationTypeEnum = "DELETE_DR_PLAN_EXECUTION" OperationTypeRetryDrPlanExecution OperationTypeEnum = "RETRY_DR_PLAN_EXECUTION" OperationTypeIgnoreDrPlanExecution OperationTypeEnum = "IGNORE_DR_PLAN_EXECUTION" OperationTypeCancelDrPlanExecution OperationTypeEnum = "CANCEL_DR_PLAN_EXECUTION" OperationTypePauseDrPlanExecution OperationTypeEnum = "PAUSE_DR_PLAN_EXECUTION" OperationTypeResumeDrPlanExecution OperationTypeEnum = "RESUME_DR_PLAN_EXECUTION" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type PauseDrPlanExecutionDetails ¶
type PauseDrPlanExecutionDetails struct { }
PauseDrPlanExecutionDetails The details for pausing a DR Plan Execution.
func (PauseDrPlanExecutionDetails) MarshalJSON ¶
func (m PauseDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (PauseDrPlanExecutionDetails) String ¶
func (m PauseDrPlanExecutionDetails) String() string
func (PauseDrPlanExecutionDetails) ValidateEnumValue ¶
func (m PauseDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type PauseDrPlanExecutionRequest ¶
type PauseDrPlanExecutionRequest struct { // Details for pausing a DR Plan Execution. PauseDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
PauseDrPlanExecutionRequest wrapper for the PauseDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/PauseDrPlanExecution.go.html to see an example of how to use PauseDrPlanExecutionRequest.
func (PauseDrPlanExecutionRequest) BinaryRequestBody ¶
func (request PauseDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (PauseDrPlanExecutionRequest) HTTPRequest ¶
func (request PauseDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (PauseDrPlanExecutionRequest) RetryPolicy ¶
func (request PauseDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (PauseDrPlanExecutionRequest) String ¶
func (request PauseDrPlanExecutionRequest) String() string
func (PauseDrPlanExecutionRequest) ValidateEnumValue ¶
func (request PauseDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type PauseDrPlanExecutionResponse ¶
type PauseDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
PauseDrPlanExecutionResponse wrapper for the PauseDrPlanExecution operation
func (PauseDrPlanExecutionResponse) HTTPResponse ¶
func (response PauseDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (PauseDrPlanExecutionResponse) String ¶
func (response PauseDrPlanExecutionResponse) String() string
type ResumeDrPlanExecutionDetails ¶
type ResumeDrPlanExecutionDetails struct { }
ResumeDrPlanExecutionDetails The details for resuming a DR Plan Execution.
func (ResumeDrPlanExecutionDetails) MarshalJSON ¶
func (m ResumeDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ResumeDrPlanExecutionDetails) String ¶
func (m ResumeDrPlanExecutionDetails) String() string
func (ResumeDrPlanExecutionDetails) ValidateEnumValue ¶
func (m ResumeDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ResumeDrPlanExecutionRequest ¶
type ResumeDrPlanExecutionRequest struct { // Details for resuming a DR Plan Execution. ResumeDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ResumeDrPlanExecutionRequest wrapper for the ResumeDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ResumeDrPlanExecution.go.html to see an example of how to use ResumeDrPlanExecutionRequest.
func (ResumeDrPlanExecutionRequest) BinaryRequestBody ¶
func (request ResumeDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ResumeDrPlanExecutionRequest) HTTPRequest ¶
func (request ResumeDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ResumeDrPlanExecutionRequest) RetryPolicy ¶
func (request ResumeDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ResumeDrPlanExecutionRequest) String ¶
func (request ResumeDrPlanExecutionRequest) String() string
func (ResumeDrPlanExecutionRequest) ValidateEnumValue ¶
func (request ResumeDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ResumeDrPlanExecutionResponse ¶
type ResumeDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
ResumeDrPlanExecutionResponse wrapper for the ResumeDrPlanExecution operation
func (ResumeDrPlanExecutionResponse) HTTPResponse ¶
func (response ResumeDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ResumeDrPlanExecutionResponse) String ¶
func (response ResumeDrPlanExecutionResponse) String() string
type RetryDrPlanExecutionDetails ¶
type RetryDrPlanExecutionDetails struct { // The unique id of the group to retry as a whole, or the group containing the step being retried. // Example: `sgid1.group..<unique_id>` GroupId *string `mandatory:"true" json:"groupId"` // The unique id of the step to retry (optional). Only needed when retrying a step. // Example: `sgid1.step..<unique_id>` StepId *string `mandatory:"false" json:"stepId"` }
RetryDrPlanExecutionDetails The details for retrying a failed group or step.
func (RetryDrPlanExecutionDetails) String ¶
func (m RetryDrPlanExecutionDetails) String() string
func (RetryDrPlanExecutionDetails) ValidateEnumValue ¶
func (m RetryDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RetryDrPlanExecutionRequest ¶
type RetryDrPlanExecutionRequest struct { // Details of the failed group or step to retry. RetryDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
RetryDrPlanExecutionRequest wrapper for the RetryDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/RetryDrPlanExecution.go.html to see an example of how to use RetryDrPlanExecutionRequest.
func (RetryDrPlanExecutionRequest) BinaryRequestBody ¶
func (request RetryDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RetryDrPlanExecutionRequest) HTTPRequest ¶
func (request RetryDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RetryDrPlanExecutionRequest) RetryPolicy ¶
func (request RetryDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RetryDrPlanExecutionRequest) String ¶
func (request RetryDrPlanExecutionRequest) String() string
func (RetryDrPlanExecutionRequest) ValidateEnumValue ¶
func (request RetryDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RetryDrPlanExecutionResponse ¶
type RetryDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
RetryDrPlanExecutionResponse wrapper for the RetryDrPlanExecution operation
func (RetryDrPlanExecutionResponse) HTTPResponse ¶
func (response RetryDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RetryDrPlanExecutionResponse) String ¶
func (response RetryDrPlanExecutionResponse) String() string
type RunLocalScriptUserDefinedStep ¶
type RunLocalScriptUserDefinedStep struct { // The OCID of the instance where this script or command should be executed. // Example: `ocid1.instance.oc1.phx.<unique_id>` RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"` // The region in which the instance is present. // Example: `us-phoenix-1` RunOnInstanceRegion *string `mandatory:"true" json:"runOnInstanceRegion"` // The script name and arguments. // Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` ScriptCommand *string `mandatory:"true" json:"scriptCommand"` // The userid on the instance to be used for executing the script or command. // Example: `opc` RunAsUser *string `mandatory:"false" json:"runAsUser"` }
RunLocalScriptUserDefinedStep Run Local Script step details.
func (RunLocalScriptUserDefinedStep) MarshalJSON ¶
func (m RunLocalScriptUserDefinedStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (RunLocalScriptUserDefinedStep) String ¶
func (m RunLocalScriptUserDefinedStep) String() string
func (RunLocalScriptUserDefinedStep) ValidateEnumValue ¶
func (m RunLocalScriptUserDefinedStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RunObjectStoreScriptUserDefinedStep ¶
type RunObjectStoreScriptUserDefinedStep struct { // The OCID of the instance where this script or command should be executed. // Example: `ocid1.instance.oc1.phx.<unique_id>` RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"` // The region of the instance where this script or command should be executed. // Example: `us-phoenix-1` RunOnInstanceRegion *string `mandatory:"true" json:"runOnInstanceRegion"` ObjectStorageScriptLocation *ObjectStorageScriptLocation `mandatory:"true" json:"objectStorageScriptLocation"` }
RunObjectStoreScriptUserDefinedStep Run Object Store Script step details.
func (RunObjectStoreScriptUserDefinedStep) MarshalJSON ¶
func (m RunObjectStoreScriptUserDefinedStep) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (RunObjectStoreScriptUserDefinedStep) String ¶
func (m RunObjectStoreScriptUserDefinedStep) String() string
func (RunObjectStoreScriptUserDefinedStep) ValidateEnumValue ¶
func (m RunObjectStoreScriptUserDefinedStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetMappingSortOrderEnum ¶
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type SwitchoverExecutionOptionDetails ¶
type SwitchoverExecutionOptionDetails struct { // A flag indicating whether prechecks should be executed before the plan execution. // Example: `false` ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"` // A flag indicating whether warnings should be ignored during the switchover. // Example: `true` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
SwitchoverExecutionOptionDetails Options for switchover execution.
func (SwitchoverExecutionOptionDetails) MarshalJSON ¶
func (m SwitchoverExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (SwitchoverExecutionOptionDetails) String ¶
func (m SwitchoverExecutionOptionDetails) String() string
func (SwitchoverExecutionOptionDetails) ValidateEnumValue ¶
func (m SwitchoverExecutionOptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SwitchoverExecutionOptions ¶
type SwitchoverExecutionOptions struct { // A flag indicating whether prechecks should be executed before the plan execution. // Example: `false` ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"` // A flag indicating whether warnings should be ignored during the plan execution. // Example: `true` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
SwitchoverExecutionOptions Options for switchover execution.
func (SwitchoverExecutionOptions) MarshalJSON ¶
func (m SwitchoverExecutionOptions) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (SwitchoverExecutionOptions) String ¶
func (m SwitchoverExecutionOptions) String() string
func (SwitchoverExecutionOptions) ValidateEnumValue ¶
func (m SwitchoverExecutionOptions) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SwitchoverPrecheckExecutionOptionDetails ¶
type SwitchoverPrecheckExecutionOptionDetails struct { // A flag indicating whether warnings should be ignored during the switchover precheck. // Example: `true` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
SwitchoverPrecheckExecutionOptionDetails Options for switchover precheck execution.
func (SwitchoverPrecheckExecutionOptionDetails) MarshalJSON ¶
func (m SwitchoverPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (SwitchoverPrecheckExecutionOptionDetails) String ¶
func (m SwitchoverPrecheckExecutionOptionDetails) String() string
func (SwitchoverPrecheckExecutionOptionDetails) ValidateEnumValue ¶
func (m SwitchoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SwitchoverPrecheckExecutionOptions ¶
type SwitchoverPrecheckExecutionOptions struct { // A flag indicating whether warnings should be ignored during the precheck. // Example: `true` AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"` }
SwitchoverPrecheckExecutionOptions Options for switchover precheck execution.
func (SwitchoverPrecheckExecutionOptions) MarshalJSON ¶
func (m SwitchoverPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (SwitchoverPrecheckExecutionOptions) String ¶
func (m SwitchoverPrecheckExecutionOptions) String() string
func (SwitchoverPrecheckExecutionOptions) ValidateEnumValue ¶
func (m SwitchoverPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanDetails ¶
type UpdateDrPlanDetails struct { // The display name of the DR Plan being updated. // Example: `EBS Switchover PHX to IAD` DisplayName *string `mandatory:"false" json:"displayName"` // An ordered list of plan groups in a DR Plan. PlanGroups []UpdateDrPlanGroupDetails `mandatory:"false" json:"planGroups"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateDrPlanDetails The details for updating a DR Plan.
func (UpdateDrPlanDetails) String ¶
func (m UpdateDrPlanDetails) String() string
func (UpdateDrPlanDetails) ValidateEnumValue ¶
func (m UpdateDrPlanDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanExecutionDetails ¶
type UpdateDrPlanExecutionDetails struct { // The display name of the DR Protection Group to update. // Example: `EBS IAD DRPG` DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateDrPlanExecutionDetails The details for updating a DR Plan exection.
func (UpdateDrPlanExecutionDetails) String ¶
func (m UpdateDrPlanExecutionDetails) String() string
func (UpdateDrPlanExecutionDetails) ValidateEnumValue ¶
func (m UpdateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanExecutionRequest ¶
type UpdateDrPlanExecutionRequest struct { // Details of DR Plan Execution to update. UpdateDrPlanExecutionDetails `contributesTo:"body"` // The OCID of the DR Plan Execution. // Example: `ocid1.drplanexecution.oc1.iad.exampleocid` DrPlanExecutionId *string `mandatory:"true" contributesTo:"path" name:"drPlanExecutionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDrPlanExecutionRequest wrapper for the UpdateDrPlanExecution operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlanExecution.go.html to see an example of how to use UpdateDrPlanExecutionRequest.
func (UpdateDrPlanExecutionRequest) BinaryRequestBody ¶
func (request UpdateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDrPlanExecutionRequest) HTTPRequest ¶
func (request UpdateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDrPlanExecutionRequest) RetryPolicy ¶
func (request UpdateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDrPlanExecutionRequest) String ¶
func (request UpdateDrPlanExecutionRequest) String() string
func (UpdateDrPlanExecutionRequest) ValidateEnumValue ¶
func (request UpdateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanExecutionResponse ¶
type UpdateDrPlanExecutionResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateDrPlanExecutionResponse wrapper for the UpdateDrPlanExecution operation
func (UpdateDrPlanExecutionResponse) HTTPResponse ¶
func (response UpdateDrPlanExecutionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDrPlanExecutionResponse) String ¶
func (response UpdateDrPlanExecutionResponse) String() string
type UpdateDrPlanGroupDetails ¶
type UpdateDrPlanGroupDetails struct { // The unique id of this group. Must not be modified by user. // Example: `sgid1.group..<unique_id>` Id *string `mandatory:"false" json:"id"` // The display name of this group. // Example: `My_GROUP_3 - EBS Start` DisplayName *string `mandatory:"false" json:"displayName"` // The group type. Type DrPlanGroupTypeEnum `mandatory:"false" json:"type,omitempty"` // The list of steps in this group. Steps []UpdateDrPlanStepDetails `mandatory:"false" json:"steps"` }
UpdateDrPlanGroupDetails The details for updating a DR Plan group.
func (UpdateDrPlanGroupDetails) String ¶
func (m UpdateDrPlanGroupDetails) String() string
func (UpdateDrPlanGroupDetails) ValidateEnumValue ¶
func (m UpdateDrPlanGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanRequest ¶
type UpdateDrPlanRequest struct { // Details of DR Plan to update. UpdateDrPlanDetails `contributesTo:"body"` // The OCID of the DR Plan. // Example: `ocid1.drplan.oc1.iad.exampleocid` DrPlanId *string `mandatory:"true" contributesTo:"path" name:"drPlanId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDrPlanRequest wrapper for the UpdateDrPlan operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlan.go.html to see an example of how to use UpdateDrPlanRequest.
func (UpdateDrPlanRequest) BinaryRequestBody ¶
func (request UpdateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDrPlanRequest) HTTPRequest ¶
func (request UpdateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDrPlanRequest) RetryPolicy ¶
func (request UpdateDrPlanRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDrPlanRequest) String ¶
func (request UpdateDrPlanRequest) String() string
func (UpdateDrPlanRequest) ValidateEnumValue ¶
func (request UpdateDrPlanRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanResponse ¶
type UpdateDrPlanResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateDrPlanResponse wrapper for the UpdateDrPlan operation
func (UpdateDrPlanResponse) HTTPResponse ¶
func (response UpdateDrPlanResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDrPlanResponse) String ¶
func (response UpdateDrPlanResponse) String() string
type UpdateDrPlanStepDetails ¶
type UpdateDrPlanStepDetails struct { // The unique id of this step. // Example: `sgid1.step..<unique_id>` Id *string `mandatory:"false" json:"id"` // The display name of this step in a group. // Example: `My_STEP_3A - EBS Start - STAGE A` DisplayName *string `mandatory:"false" json:"displayName"` // The error mode for this step. ErrorMode DrPlanStepErrorModeEnum `mandatory:"false" json:"errorMode,omitempty"` // The timeout in seconds for executing this step. // Example: `600` Timeout *int `mandatory:"false" json:"timeout"` // A flag indicating whether this step should be enabled for execution. // Example: `true` IsEnabled *bool `mandatory:"false" json:"isEnabled"` UserDefinedStep UpdateDrPlanUserDefinedStepDetails `mandatory:"false" json:"userDefinedStep"` }
UpdateDrPlanStepDetails The details for updating a DR Plan step.
func (UpdateDrPlanStepDetails) String ¶
func (m UpdateDrPlanStepDetails) String() string
func (*UpdateDrPlanStepDetails) UnmarshalJSON ¶
func (m *UpdateDrPlanStepDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateDrPlanStepDetails) ValidateEnumValue ¶
func (m UpdateDrPlanStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrPlanUserDefinedStepDetails ¶
type UpdateDrPlanUserDefinedStepDetails interface { }
UpdateDrPlanUserDefinedStepDetails The details for updating a user-defined step in a DR Plan.
type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum ¶
type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum string
UpdateDrPlanUserDefinedStepDetailsStepTypeEnum Enum with underlying type: string
const ( UpdateDrPlanUserDefinedStepDetailsStepTypeRunObjectstoreScriptPrecheck UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT_PRECHECK" UpdateDrPlanUserDefinedStepDetailsStepTypeRunLocalScriptPrecheck UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_LOCAL_SCRIPT_PRECHECK" UpdateDrPlanUserDefinedStepDetailsStepTypeInvokeFunctionPrecheck UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "INVOKE_FUNCTION_PRECHECK" UpdateDrPlanUserDefinedStepDetailsStepTypeRunObjectstoreScript UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT" UpdateDrPlanUserDefinedStepDetailsStepTypeRunLocalScript UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_LOCAL_SCRIPT" UpdateDrPlanUserDefinedStepDetailsStepTypeInvokeFunction UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "INVOKE_FUNCTION" )
Set of constants representing the allowable values for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
func GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum ¶
func GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum(val string) (UpdateDrPlanUserDefinedStepDetailsStepTypeEnum, bool)
GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues ¶
func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues() []UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues Enumerates the set of values for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
type UpdateDrProtectionGroupDetails ¶
type UpdateDrProtectionGroupDetails struct { // The display name of the DR Protection Group. // Example: `EBS PHX DRPG` DisplayName *string `mandatory:"false" json:"displayName"` LogLocation *UpdateObjectStorageLogLocationDetails `mandatory:"false" json:"logLocation"` // A list of DR Protection Group members. Members []UpdateDrProtectionGroupMemberDetails `mandatory:"false" json:"members"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateDrProtectionGroupDetails The details for updating a DR Protection Group.
func (UpdateDrProtectionGroupDetails) String ¶
func (m UpdateDrProtectionGroupDetails) String() string
func (*UpdateDrProtectionGroupDetails) UnmarshalJSON ¶
func (m *UpdateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (UpdateDrProtectionGroupDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails ¶
type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
UpdateDrProtectionGroupMemberAutonomousDatabaseDetails Update properties for an Autonomous Database member.
func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId ¶
func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON ¶
func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) String ¶
func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) String() string
func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberComputeInstanceDetails ¶
type UpdateDrProtectionGroupMemberComputeInstanceDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved during DR operations. // Example: `false` IsMovable *bool `mandatory:"false" json:"isMovable"` // A list of Compute Instance VNIC mappings. VnicMapping []ComputeInstanceVnicMappingDetails `mandatory:"false" json:"vnicMapping"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..<unique_id>` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host in the destination region where this compute instance // should be launched // Example: `ocid1.dedicatedvmhost.oc1.iad.<unique_id>` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
UpdateDrProtectionGroupMemberComputeInstanceDetails Update properties for a Compute Instance member.
func (UpdateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId ¶
func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON ¶
func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberComputeInstanceDetails) String ¶
func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) String() string
func (UpdateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberComputeInstanceMovableDetails ¶ added in v65.44.0
type UpdateDrProtectionGroupMemberComputeInstanceMovableDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // A flag indicating if this compute instance should be moved to the same fault domain. // Compute instance launch will fail if this flag is set to true and capacity is not available in that specific fault domain in the destination region. // Example: `false` IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"` // The OCID of the capacity reservation in the destination region using which this compute instance // should be launched. // Example: `ocid1.capacityreservation.oc1..<unique_id>` DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"` // A list of Compute Instance VNIC mappings. VnicMappings []ComputeInstanceMovableVnicMappingDetails `mandatory:"false" json:"vnicMappings"` // The OCID of the compartment for this compute instance in the destination region. // Example: `ocid1.compartment.oc1..<unique_id>` DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"` // The OCID of the dedicated VM Host in the destination region where this compute instance // should be launched // Example: `ocid1.dedicatedvmhost.oc1..<unique_id>` DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"` }
UpdateDrProtectionGroupMemberComputeInstanceMovableDetails Update properties for a Movable Compute Instance member.
func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string
func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails ¶ added in v65.44.0
type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails Update properties for a Non-Movable Compute Instance member.
func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string
func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue ¶ added in v65.44.0
func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberDatabaseDetails ¶
type UpdateDrProtectionGroupMemberDatabaseDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` // The OCID of the vault secret where the database password is stored. // Example: `ocid1.vaultsecret.oc1.phx.<unique_id>` PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"` }
UpdateDrProtectionGroupMemberDatabaseDetails Update properties for a Database (DBCS) member.
func (UpdateDrProtectionGroupMemberDatabaseDetails) GetMemberId ¶
func (m UpdateDrProtectionGroupMemberDatabaseDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberDatabaseDetails) MarshalJSON ¶
func (m UpdateDrProtectionGroupMemberDatabaseDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberDatabaseDetails) String ¶
func (m UpdateDrProtectionGroupMemberDatabaseDetails) String() string
func (UpdateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupMemberDetails ¶
type UpdateDrProtectionGroupMemberDetails interface { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` GetMemberId() *string }
UpdateDrProtectionGroupMemberDetails Update properties for a member in a DR Protection Group.
type UpdateDrProtectionGroupMemberVolumeGroupDetails ¶
type UpdateDrProtectionGroupMemberVolumeGroupDetails struct { // The OCID of the member. // Example: `ocid1.database.oc1.phx.<unique_id>` MemberId *string `mandatory:"true" json:"memberId"` }
UpdateDrProtectionGroupMemberVolumeGroupDetails Update properties for a Volume Group member.
func (UpdateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId ¶
func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId() *string
GetMemberId returns MemberId
func (UpdateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON ¶
func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateDrProtectionGroupMemberVolumeGroupDetails) String ¶
func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) String() string
func (UpdateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupRequest ¶
type UpdateDrProtectionGroupRequest struct { // Details of DR Protection Group to update. UpdateDrProtectionGroupDetails `contributesTo:"body"` // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDrProtectionGroupRequest wrapper for the UpdateDrProtectionGroup operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroup.go.html to see an example of how to use UpdateDrProtectionGroupRequest.
func (UpdateDrProtectionGroupRequest) BinaryRequestBody ¶
func (request UpdateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDrProtectionGroupRequest) HTTPRequest ¶
func (request UpdateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDrProtectionGroupRequest) RetryPolicy ¶
func (request UpdateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDrProtectionGroupRequest) String ¶
func (request UpdateDrProtectionGroupRequest) String() string
func (UpdateDrProtectionGroupRequest) ValidateEnumValue ¶
func (request UpdateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupResponse ¶
type UpdateDrProtectionGroupResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateDrProtectionGroupResponse wrapper for the UpdateDrProtectionGroup operation
func (UpdateDrProtectionGroupResponse) HTTPResponse ¶
func (response UpdateDrProtectionGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDrProtectionGroupResponse) String ¶
func (response UpdateDrProtectionGroupResponse) String() string
type UpdateDrProtectionGroupRoleDetails ¶
type UpdateDrProtectionGroupRoleDetails struct { // The role of the DR Protection Group. Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"` }
UpdateDrProtectionGroupRoleDetails The role details for a DR Protection Group.
func (UpdateDrProtectionGroupRoleDetails) String ¶
func (m UpdateDrProtectionGroupRoleDetails) String() string
func (UpdateDrProtectionGroupRoleDetails) ValidateEnumValue ¶
func (m UpdateDrProtectionGroupRoleDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupRoleRequest ¶
type UpdateDrProtectionGroupRoleRequest struct { // The role details for the DR Protection Group. UpdateDrProtectionGroupRoleDetails `contributesTo:"body"` // The OCID of the DR Protection Group. // Example: `ocid1.drprotectiongroup.oc1.phx.exampleocid` DrProtectionGroupId *string `mandatory:"true" contributesTo:"path" name:"drProtectionGroupId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDrProtectionGroupRoleRequest wrapper for the UpdateDrProtectionGroupRole operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroupRole.go.html to see an example of how to use UpdateDrProtectionGroupRoleRequest.
func (UpdateDrProtectionGroupRoleRequest) BinaryRequestBody ¶
func (request UpdateDrProtectionGroupRoleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDrProtectionGroupRoleRequest) HTTPRequest ¶
func (request UpdateDrProtectionGroupRoleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDrProtectionGroupRoleRequest) RetryPolicy ¶
func (request UpdateDrProtectionGroupRoleRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDrProtectionGroupRoleRequest) String ¶
func (request UpdateDrProtectionGroupRoleRequest) String() string
func (UpdateDrProtectionGroupRoleRequest) ValidateEnumValue ¶
func (request UpdateDrProtectionGroupRoleRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateDrProtectionGroupRoleResponse ¶
type UpdateDrProtectionGroupRoleResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
UpdateDrProtectionGroupRoleResponse wrapper for the UpdateDrProtectionGroupRole operation
func (UpdateDrProtectionGroupRoleResponse) HTTPResponse ¶
func (response UpdateDrProtectionGroupRoleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDrProtectionGroupRoleResponse) String ¶
func (response UpdateDrProtectionGroupRoleResponse) String() string
type UpdateInvokeFunctionPrecheckStepDetails ¶
type UpdateInvokeFunctionPrecheckStepDetails struct { }
UpdateInvokeFunctionPrecheckStepDetails The details for updating Invoke Oracle function precheck step.
func (UpdateInvokeFunctionPrecheckStepDetails) MarshalJSON ¶
func (m UpdateInvokeFunctionPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateInvokeFunctionPrecheckStepDetails) String ¶
func (m UpdateInvokeFunctionPrecheckStepDetails) String() string
func (UpdateInvokeFunctionPrecheckStepDetails) ValidateEnumValue ¶
func (m UpdateInvokeFunctionPrecheckStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateInvokeFunctionUserDefinedStepDetails ¶
type UpdateInvokeFunctionUserDefinedStepDetails struct { // The OCID of function to be invoked. // Example: `ocid1.fnfunc.oc1.iad.<unique_id>` FunctionId *string `mandatory:"true" json:"functionId"` // The request body for the function. // Example: `{ "FnParam1", "FnParam2" }` RequestBody *string `mandatory:"false" json:"requestBody"` }
UpdateInvokeFunctionUserDefinedStepDetails The details for updating an Invoke Oracle Function step.
func (UpdateInvokeFunctionUserDefinedStepDetails) MarshalJSON ¶
func (m UpdateInvokeFunctionUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateInvokeFunctionUserDefinedStepDetails) String ¶
func (m UpdateInvokeFunctionUserDefinedStepDetails) String() string
func (UpdateInvokeFunctionUserDefinedStepDetails) ValidateEnumValue ¶
func (m UpdateInvokeFunctionUserDefinedStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateLocalScriptPrecheckStepDetails ¶
type UpdateLocalScriptPrecheckStepDetails struct { }
UpdateLocalScriptPrecheckStepDetails The details for updating Run local script precheck step.
func (UpdateLocalScriptPrecheckStepDetails) MarshalJSON ¶
func (m UpdateLocalScriptPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateLocalScriptPrecheckStepDetails) String ¶
func (m UpdateLocalScriptPrecheckStepDetails) String() string
func (UpdateLocalScriptPrecheckStepDetails) ValidateEnumValue ¶
func (m UpdateLocalScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateObjectStorageLogLocationDetails ¶
type UpdateObjectStorageLogLocationDetails struct { // The namespace in Object Storage (Note - this is usually the tenancy name). // Example: `myocitenancy` Namespace *string `mandatory:"true" json:"namespace"` // The bucket name inside the Object Storage namespace. // Example: `operation_logs` Bucket *string `mandatory:"true" json:"bucket"` }
UpdateObjectStorageLogLocationDetails Information about updating an Object Storage log location for a DR Protection Group.
func (UpdateObjectStorageLogLocationDetails) String ¶
func (m UpdateObjectStorageLogLocationDetails) String() string
func (UpdateObjectStorageLogLocationDetails) ValidateEnumValue ¶
func (m UpdateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateObjectStorageScriptLocationDetails ¶
type UpdateObjectStorageScriptLocationDetails struct { // The namespace in Object Storage (Note - this is usually the tenancy name). // Example: `myocitenancy` Namespace *string `mandatory:"true" json:"namespace"` // The bucket name inside the Object Storage namespace. // Example: `custom_dr_scripts` Bucket *string `mandatory:"true" json:"bucket"` // The object name inside the Object Storage bucket. // Example: `validate_app_start.sh` Object *string `mandatory:"true" json:"object"` }
UpdateObjectStorageScriptLocationDetails Information about updating an Object Storage script location for a user-defined step in a DR Plan.
func (UpdateObjectStorageScriptLocationDetails) String ¶
func (m UpdateObjectStorageScriptLocationDetails) String() string
func (UpdateObjectStorageScriptLocationDetails) ValidateEnumValue ¶
func (m UpdateObjectStorageScriptLocationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateObjectStoreScriptPrecheckStepDetails ¶
type UpdateObjectStoreScriptPrecheckStepDetails struct { }
UpdateObjectStoreScriptPrecheckStepDetails The details for updating Run object store script precheck step.
func (UpdateObjectStoreScriptPrecheckStepDetails) MarshalJSON ¶
func (m UpdateObjectStoreScriptPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateObjectStoreScriptPrecheckStepDetails) String ¶
func (m UpdateObjectStoreScriptPrecheckStepDetails) String() string
func (UpdateObjectStoreScriptPrecheckStepDetails) ValidateEnumValue ¶
func (m UpdateObjectStoreScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRunLocalScriptUserDefinedStepDetails ¶
type UpdateRunLocalScriptUserDefinedStepDetails struct { // The OCID of the instance where this script or command should be executed. // Example: `ocid1.instance.oc1.phx.<unique_id>` RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"` // The script name and arguments. // Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` ScriptCommand *string `mandatory:"true" json:"scriptCommand"` // The userid on the instance to be used for executing the script or command. // Example: `opc` RunAsUser *string `mandatory:"false" json:"runAsUser"` }
UpdateRunLocalScriptUserDefinedStepDetails The details for updating a Run Local Script step.
func (UpdateRunLocalScriptUserDefinedStepDetails) MarshalJSON ¶
func (m UpdateRunLocalScriptUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateRunLocalScriptUserDefinedStepDetails) String ¶
func (m UpdateRunLocalScriptUserDefinedStepDetails) String() string
func (UpdateRunLocalScriptUserDefinedStepDetails) ValidateEnumValue ¶
func (m UpdateRunLocalScriptUserDefinedStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateRunObjectStoreScriptUserDefinedStepDetails ¶
type UpdateRunObjectStoreScriptUserDefinedStepDetails struct { // The OCID of the instance where this script or command should be executed. RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"` ObjectStorageScriptLocation *UpdateObjectStorageScriptLocationDetails `mandatory:"true" json:"objectStorageScriptLocation"` }
UpdateRunObjectStoreScriptUserDefinedStepDetails The details for updating a Run Object Store Script step.
func (UpdateRunObjectStoreScriptUserDefinedStepDetails) MarshalJSON ¶
func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateRunObjectStoreScriptUserDefinedStepDetails) String ¶
func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) String() string
func (UpdateRunObjectStoreScriptUserDefinedStepDetails) ValidateEnumValue ¶
func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequest ¶
type WorkRequest struct { // The type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID (OCID) of the work request. // Example: `ocid1.workrequest.oc1.phx.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage of the request completed. // Example: `75` PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the request was finished. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest Information on a work request.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed here -- // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). // Example: `429` Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue encountered. // Example: `TooManyRequests` Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error associcated with a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // A list of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection The results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
func (WorkRequestErrorCollection) ValidateEnumValue ¶
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // A human-readable log message. // Example: `DR Plan Execution is in progress` Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message related to the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // A list of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection The results of a workRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
func (WorkRequestLogEntryCollection) ValidateEnumValue ¶
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource type the work request affects. // Example: `DrPlanExecution` EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier (OCID) of the resource the work request affects. // Example: `ocid1.drplanexecution.oc1.iad.<unique_id>` Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can use to perform a GET on the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID (OCID) of the work request. // Example: `ocid1.workrequest.oc1.phx.<unique_id>` Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used. // Example: `ocid1.compartment.oc1..<unique_id>` CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage of the request completed. // Example: `75` PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the request was finished. An RFC3339 formatted datetime string. // Example: `2019-03-29T09:36:42Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary A summary of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // A list of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection The results of a workRequestSummary search. Contains both WorkRequestSummary items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (m WorkRequestSummaryCollection) String() string
func (WorkRequestSummaryCollection) ValidateEnumValue ¶
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Source Files ¶
- action_type.go
- associate_dr_protection_group_details.go
- associate_dr_protection_group_request_response.go
- cancel_dr_plan_execution_details.go
- cancel_dr_plan_execution_request_response.go
- cancel_work_request_request_response.go
- change_dr_protection_group_compartment_details.go
- change_dr_protection_group_compartment_request_response.go
- compute_instance_movable_vnic_mapping.go
- compute_instance_movable_vnic_mapping_details.go
- compute_instance_vnic_mapping.go
- compute_instance_vnic_mapping_details.go
- create_dr_plan_details.go
- create_dr_plan_execution_details.go
- create_dr_plan_execution_request_response.go
- create_dr_plan_request_response.go
- create_dr_protection_group_details.go
- create_dr_protection_group_member_autonomous_database_details.go
- create_dr_protection_group_member_compute_instance_details.go
- create_dr_protection_group_member_compute_instance_movable_details.go
- create_dr_protection_group_member_compute_instance_non_movable_details.go
- create_dr_protection_group_member_database_details.go
- create_dr_protection_group_member_details.go
- create_dr_protection_group_member_volume_group_details.go
- create_dr_protection_group_request_response.go
- create_object_storage_log_location_details.go
- delete_dr_plan_execution_request_response.go
- delete_dr_plan_request_response.go
- delete_dr_protection_group_request_response.go
- disassociate_dr_protection_group_default_details.go
- disassociate_dr_protection_group_details.go
- disassociate_dr_protection_group_request_response.go
- disasterrecovery_client.go
- dr_plan.go
- dr_plan_collection.go
- dr_plan_execution.go
- dr_plan_execution_collection.go
- dr_plan_execution_control_details.go
- dr_plan_execution_lifecycle_state.go
- dr_plan_execution_option_details.go
- dr_plan_execution_options.go
- dr_plan_execution_summary.go
- dr_plan_execution_type.go
- dr_plan_group.go
- dr_plan_group_execution.go
- dr_plan_group_execution_status.go
- dr_plan_group_type.go
- dr_plan_lifecycle_state.go
- dr_plan_step.go
- dr_plan_step_error_mode.go
- dr_plan_step_execution.go
- dr_plan_step_execution_status.go
- dr_plan_step_type.go
- dr_plan_summary.go
- dr_plan_type.go
- dr_plan_user_defined_step.go
- dr_protection_group.go
- dr_protection_group_collection.go
- dr_protection_group_lifecycle_state.go
- dr_protection_group_member.go
- dr_protection_group_member_autonomous_database.go
- dr_protection_group_member_compute_instance.go
- dr_protection_group_member_compute_instance_movable.go
- dr_protection_group_member_compute_instance_non_movable.go
- dr_protection_group_member_database.go
- dr_protection_group_member_type.go
- dr_protection_group_member_volume_group.go
- dr_protection_group_role.go
- dr_protection_group_summary.go
- failover_execution_option_details.go
- failover_execution_options.go
- failover_precheck_execution_option_details.go
- failover_precheck_execution_options.go
- get_dr_plan_execution_request_response.go
- get_dr_plan_request_response.go
- get_dr_protection_group_request_response.go
- get_work_request_request_response.go
- ignore_dr_plan_execution_details.go
- ignore_dr_plan_execution_request_response.go
- invoke_function_precheck_step.go
- invoke_function_step.go
- list_dr_plan_executions_request_response.go
- list_dr_plans_request_response.go
- list_dr_protection_groups_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- local_script_precheck_step.go
- object_storage_log_location.go
- object_storage_script_location.go
- object_store_script_precheck_step.go
- operation_status.go
- operation_type.go
- pause_dr_plan_execution_details.go
- pause_dr_plan_execution_request_response.go
- resume_dr_plan_execution_details.go
- resume_dr_plan_execution_request_response.go
- retry_dr_plan_execution_details.go
- retry_dr_plan_execution_request_response.go
- run_local_script_user_defined_step.go
- run_object_store_script_user_defined_step.go
- sort_order.go
- switchover_execution_option_details.go
- switchover_execution_options.go
- switchover_precheck_execution_option_details.go
- switchover_precheck_execution_options.go
- update_dr_plan_details.go
- update_dr_plan_execution_details.go
- update_dr_plan_execution_request_response.go
- update_dr_plan_group_details.go
- update_dr_plan_request_response.go
- update_dr_plan_step_details.go
- update_dr_plan_user_defined_step_details.go
- update_dr_protection_group_details.go
- update_dr_protection_group_member_autonomous_database_details.go
- update_dr_protection_group_member_compute_instance_details.go
- update_dr_protection_group_member_compute_instance_movable_details.go
- update_dr_protection_group_member_compute_instance_non_movable_details.go
- update_dr_protection_group_member_database_details.go
- update_dr_protection_group_member_details.go
- update_dr_protection_group_member_volume_group_details.go
- update_dr_protection_group_request_response.go
- update_dr_protection_group_role_details.go
- update_dr_protection_group_role_request_response.go
- update_invoke_function_precheck_step_details.go
- update_invoke_function_user_defined_step_details.go
- update_local_script_precheck_step_details.go
- update_object_storage_log_location_details.go
- update_object_storage_script_location_details.go
- update_object_store_script_precheck_step_details.go
- update_run_local_script_user_defined_step_details.go
- update_run_object_store_script_user_defined_step_details.go
- work_request.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go
- work_request_summary.go
- work_request_summary_collection.go