...

Package disasterrecovery

import "github.com/oracle/oci-go-sdk/disasterrecovery"
Overview
Index

Overview ▾

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 GetDrProtectionGroupLifecycleSubStateEnumStringValues() []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 GetListDrProtectionGroupsLifecycleSubStateEnumStringValues() []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
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AssociateDrProtectionGroupDetails
    func (m AssociateDrProtectionGroupDetails) String() string
    func (m AssociateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
type AssociateDrProtectionGroupRequest
    func (request AssociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request AssociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request AssociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request AssociateDrProtectionGroupRequest) String() string
    func (request AssociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type AssociateDrProtectionGroupResponse
    func (response AssociateDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response AssociateDrProtectionGroupResponse) String() string
type BlockVolumeAttachmentDetails
    func (m BlockVolumeAttachmentDetails) String() string
    func (m BlockVolumeAttachmentDetails) ValidateEnumValue() (bool, error)
type BlockVolumeMountDetails
    func (m BlockVolumeMountDetails) String() string
    func (m BlockVolumeMountDetails) ValidateEnumValue() (bool, error)
type CancelDrPlanExecutionDetails
    func (m CancelDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
    func (m CancelDrPlanExecutionDetails) String() string
    func (m CancelDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type CancelDrPlanExecutionRequest
    func (request CancelDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelDrPlanExecutionRequest) String() string
    func (request CancelDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type CancelDrPlanExecutionResponse
    func (response CancelDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response CancelDrPlanExecutionResponse) String() string
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeDrProtectionGroupCompartmentDetails
    func (m ChangeDrProtectionGroupCompartmentDetails) String() string
    func (m ChangeDrProtectionGroupCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeDrProtectionGroupCompartmentRequest
    func (request ChangeDrProtectionGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeDrProtectionGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeDrProtectionGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeDrProtectionGroupCompartmentRequest) String() string
    func (request ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeDrProtectionGroupCompartmentResponse
    func (response ChangeDrProtectionGroupCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeDrProtectionGroupCompartmentResponse) String() string
type ComputeInstanceMovableFileSystemOperation
    func (m ComputeInstanceMovableFileSystemOperation) String() string
    func (m ComputeInstanceMovableFileSystemOperation) ValidateEnumValue() (bool, error)
type ComputeInstanceMovableVnicMapping
    func (m ComputeInstanceMovableVnicMapping) String() string
    func (m ComputeInstanceMovableVnicMapping) ValidateEnumValue() (bool, error)
type ComputeInstanceMovableVnicMappingDetails
    func (m ComputeInstanceMovableVnicMappingDetails) String() string
    func (m ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue() (bool, error)
type ComputeInstanceNonMovableBlockVolumeOperation
    func (m ComputeInstanceNonMovableBlockVolumeOperation) String() string
    func (m ComputeInstanceNonMovableBlockVolumeOperation) ValidateEnumValue() (bool, error)
type ComputeInstanceNonMovableFileSystemOperation
    func (m ComputeInstanceNonMovableFileSystemOperation) String() string
    func (m ComputeInstanceNonMovableFileSystemOperation) ValidateEnumValue() (bool, error)
type ComputeInstanceVnicMapping
    func (m ComputeInstanceVnicMapping) String() string
    func (m ComputeInstanceVnicMapping) ValidateEnumValue() (bool, error)
type ComputeInstanceVnicMappingDetails
    func (m ComputeInstanceVnicMappingDetails) String() string
    func (m ComputeInstanceVnicMappingDetails) ValidateEnumValue() (bool, error)
type CreateBlockVolumeAttachmentDetails
    func (m CreateBlockVolumeAttachmentDetails) String() string
    func (m CreateBlockVolumeAttachmentDetails) ValidateEnumValue() (bool, error)
type CreateBlockVolumeMountDetails
    func (m CreateBlockVolumeMountDetails) String() string
    func (m CreateBlockVolumeMountDetails) ValidateEnumValue() (bool, error)
type CreateComputeInstanceMovableFileSystemOperationDetails
    func (m CreateComputeInstanceMovableFileSystemOperationDetails) String() string
    func (m CreateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue() (bool, error)
type CreateComputeInstanceNonMovableBlockVolumeOperationDetails
    func (m CreateComputeInstanceNonMovableBlockVolumeOperationDetails) String() string
    func (m CreateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue() (bool, error)
type CreateComputeInstanceNonMovableFileSystemOperationDetails
    func (m CreateComputeInstanceNonMovableFileSystemOperationDetails) String() string
    func (m CreateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue() (bool, error)
type CreateDrPlanDetails
    func (m CreateDrPlanDetails) String() string
    func (m CreateDrPlanDetails) ValidateEnumValue() (bool, error)
type CreateDrPlanExecutionDetails
    func (m CreateDrPlanExecutionDetails) String() string
    func (m *CreateDrPlanExecutionDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type CreateDrPlanExecutionRequest
    func (request CreateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDrPlanExecutionRequest) String() string
    func (request CreateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type CreateDrPlanExecutionResponse
    func (response CreateDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response CreateDrPlanExecutionResponse) String() string
type CreateDrPlanRequest
    func (request CreateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDrPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDrPlanRequest) String() string
    func (request CreateDrPlanRequest) ValidateEnumValue() (bool, error)
type CreateDrPlanResponse
    func (response CreateDrPlanResponse) HTTPResponse() *http.Response
    func (response CreateDrPlanResponse) String() string
type CreateDrProtectionGroupDetails
    func (m CreateDrProtectionGroupDetails) String() string
    func (m *CreateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
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 CreateDrProtectionGroupMemberFileSystemDetails
    func (m CreateDrProtectionGroupMemberFileSystemDetails) GetMemberId() *string
    func (m CreateDrProtectionGroupMemberFileSystemDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateDrProtectionGroupMemberFileSystemDetails) String() string
    func (m CreateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue() (bool, error)
type CreateDrProtectionGroupMemberLoadBalancerDetails
    func (m CreateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId() *string
    func (m CreateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateDrProtectionGroupMemberLoadBalancerDetails) String() string
    func (m CreateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue() (bool, error)
type CreateDrProtectionGroupMemberNetworkLoadBalancerDetails
    func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId() *string
    func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) String() string
    func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)
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, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDrProtectionGroupRequest) String() string
    func (request CreateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type CreateDrProtectionGroupResponse
    func (response CreateDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response CreateDrProtectionGroupResponse) String() string
type CreateFileSystemMountDetails
    func (m CreateFileSystemMountDetails) String() string
    func (m CreateFileSystemMountDetails) ValidateEnumValue() (bool, error)
type CreateFileSystemUnmountDetails
    func (m CreateFileSystemUnmountDetails) String() string
    func (m CreateFileSystemUnmountDetails) ValidateEnumValue() (bool, error)
type CreateObjectStorageLogLocationDetails
    func (m CreateObjectStorageLogLocationDetails) String() string
    func (m CreateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)
type DeleteDrPlanExecutionRequest
    func (request DeleteDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDrPlanExecutionRequest) String() string
    func (request DeleteDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type DeleteDrPlanExecutionResponse
    func (response DeleteDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response DeleteDrPlanExecutionResponse) String() string
type DeleteDrPlanRequest
    func (request DeleteDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDrPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDrPlanRequest) String() string
    func (request DeleteDrPlanRequest) ValidateEnumValue() (bool, error)
type DeleteDrPlanResponse
    func (response DeleteDrPlanResponse) HTTPResponse() *http.Response
    func (response DeleteDrPlanResponse) String() string
type DeleteDrProtectionGroupRequest
    func (request DeleteDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDrProtectionGroupRequest) String() string
    func (request DeleteDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type DeleteDrProtectionGroupResponse
    func (response DeleteDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response DeleteDrProtectionGroupResponse) String() string
type DisassociateDrProtectionGroupDefaultDetails
    func (m DisassociateDrProtectionGroupDefaultDetails) MarshalJSON() (buff []byte, e error)
    func (m DisassociateDrProtectionGroupDefaultDetails) String() string
    func (m DisassociateDrProtectionGroupDefaultDetails) ValidateEnumValue() (bool, error)
type DisassociateDrProtectionGroupDetails
type DisassociateDrProtectionGroupDetailsTypeEnum
    func GetDisassociateDrProtectionGroupDetailsTypeEnumValues() []DisassociateDrProtectionGroupDetailsTypeEnum
    func GetMappingDisassociateDrProtectionGroupDetailsTypeEnum(val string) (DisassociateDrProtectionGroupDetailsTypeEnum, bool)
type DisassociateDrProtectionGroupRequest
    func (request DisassociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DisassociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DisassociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request DisassociateDrProtectionGroupRequest) String() string
    func (request DisassociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type DisassociateDrProtectionGroupResponse
    func (response DisassociateDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response DisassociateDrProtectionGroupResponse) String() string
type DisasterRecoveryClient
    func NewDisasterRecoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DisasterRecoveryClient, err error)
    func NewDisasterRecoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DisasterRecoveryClient, err error)
    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
    func (m DrPlan) String() string
    func (m DrPlan) ValidateEnumValue() (bool, error)
type DrPlanCollection
    func (m DrPlanCollection) String() string
    func (m DrPlanCollection) ValidateEnumValue() (bool, error)
type DrPlanExecution
    func (m DrPlanExecution) String() string
    func (m *DrPlanExecution) UnmarshalJSON(data []byte) (e error)
    func (m DrPlanExecution) ValidateEnumValue() (bool, error)
type DrPlanExecutionCollection
    func (m DrPlanExecutionCollection) String() string
    func (m DrPlanExecutionCollection) ValidateEnumValue() (bool, error)
type DrPlanExecutionControlDetails
type DrPlanExecutionControlDetailsActionTypeEnum
    func GetDrPlanExecutionControlDetailsActionTypeEnumValues() []DrPlanExecutionControlDetailsActionTypeEnum
    func GetMappingDrPlanExecutionControlDetailsActionTypeEnum(val string) (DrPlanExecutionControlDetailsActionTypeEnum, bool)
type DrPlanExecutionLifecycleStateEnum
    func GetDrPlanExecutionLifecycleStateEnumValues() []DrPlanExecutionLifecycleStateEnum
    func GetMappingDrPlanExecutionLifecycleStateEnum(val string) (DrPlanExecutionLifecycleStateEnum, bool)
type DrPlanExecutionOptionDetails
type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
    func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionDetailsPlanExecutionTypeEnum
    func GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionDetailsPlanExecutionTypeEnum, bool)
type DrPlanExecutionOptions
type DrPlanExecutionOptionsPlanExecutionTypeEnum
    func GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionsPlanExecutionTypeEnum
    func GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionsPlanExecutionTypeEnum, bool)
type DrPlanExecutionSummary
    func (m DrPlanExecutionSummary) String() string
    func (m DrPlanExecutionSummary) ValidateEnumValue() (bool, error)
type DrPlanExecutionTypeEnum
    func GetDrPlanExecutionTypeEnumValues() []DrPlanExecutionTypeEnum
    func GetMappingDrPlanExecutionTypeEnum(val string) (DrPlanExecutionTypeEnum, bool)
type DrPlanGroup
    func (m DrPlanGroup) String() string
    func (m DrPlanGroup) ValidateEnumValue() (bool, error)
type DrPlanGroupExecution
    func (m DrPlanGroupExecution) String() string
    func (m DrPlanGroupExecution) ValidateEnumValue() (bool, error)
type DrPlanGroupExecutionStatusEnum
    func GetDrPlanGroupExecutionStatusEnumValues() []DrPlanGroupExecutionStatusEnum
    func GetMappingDrPlanGroupExecutionStatusEnum(val string) (DrPlanGroupExecutionStatusEnum, bool)
type DrPlanGroupTypeEnum
    func GetDrPlanGroupTypeEnumValues() []DrPlanGroupTypeEnum
    func GetMappingDrPlanGroupTypeEnum(val string) (DrPlanGroupTypeEnum, bool)
type DrPlanLifecycleStateEnum
    func GetDrPlanLifecycleStateEnumValues() []DrPlanLifecycleStateEnum
    func GetMappingDrPlanLifecycleStateEnum(val string) (DrPlanLifecycleStateEnum, bool)
type DrPlanStep
    func (m DrPlanStep) String() string
    func (m *DrPlanStep) UnmarshalJSON(data []byte) (e error)
    func (m DrPlanStep) ValidateEnumValue() (bool, error)
type DrPlanStepErrorModeEnum
    func GetDrPlanStepErrorModeEnumValues() []DrPlanStepErrorModeEnum
    func GetMappingDrPlanStepErrorModeEnum(val string) (DrPlanStepErrorModeEnum, bool)
type DrPlanStepExecution
    func (m DrPlanStepExecution) String() string
    func (m DrPlanStepExecution) ValidateEnumValue() (bool, error)
type DrPlanStepExecutionStatusEnum
    func GetDrPlanStepExecutionStatusEnumValues() []DrPlanStepExecutionStatusEnum
    func GetMappingDrPlanStepExecutionStatusEnum(val string) (DrPlanStepExecutionStatusEnum, bool)
type DrPlanStepTypeEnum
    func GetDrPlanStepTypeEnumValues() []DrPlanStepTypeEnum
    func GetMappingDrPlanStepTypeEnum(val string) (DrPlanStepTypeEnum, bool)
type DrPlanSummary
    func (m DrPlanSummary) String() string
    func (m DrPlanSummary) ValidateEnumValue() (bool, error)
type DrPlanTypeEnum
    func GetDrPlanTypeEnumValues() []DrPlanTypeEnum
    func GetMappingDrPlanTypeEnum(val string) (DrPlanTypeEnum, bool)
type DrPlanUserDefinedStep
type DrPlanUserDefinedStepStepTypeEnum
    func GetDrPlanUserDefinedStepStepTypeEnumValues() []DrPlanUserDefinedStepStepTypeEnum
    func GetMappingDrPlanUserDefinedStepStepTypeEnum(val string) (DrPlanUserDefinedStepStepTypeEnum, bool)
type DrProtectionGroup
    func (m DrProtectionGroup) String() string
    func (m *DrProtectionGroup) UnmarshalJSON(data []byte) (e error)
    func (m DrProtectionGroup) ValidateEnumValue() (bool, error)
type DrProtectionGroupCollection
    func (m DrProtectionGroupCollection) String() string
    func (m DrProtectionGroupCollection) ValidateEnumValue() (bool, error)
type DrProtectionGroupLifecycleStateEnum
    func GetDrProtectionGroupLifecycleStateEnumValues() []DrProtectionGroupLifecycleStateEnum
    func GetMappingDrProtectionGroupLifecycleStateEnum(val string) (DrProtectionGroupLifecycleStateEnum, bool)
type DrProtectionGroupLifecycleSubStateEnum
    func GetDrProtectionGroupLifecycleSubStateEnumValues() []DrProtectionGroupLifecycleSubStateEnum
    func GetMappingDrProtectionGroupLifecycleSubStateEnum(val string) (DrProtectionGroupLifecycleSubStateEnum, bool)
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
    func (m DrProtectionGroupMemberDatabase) GetMemberId() *string
    func (m DrProtectionGroupMemberDatabase) MarshalJSON() (buff []byte, e error)
    func (m DrProtectionGroupMemberDatabase) String() string
    func (m DrProtectionGroupMemberDatabase) ValidateEnumValue() (bool, error)
type DrProtectionGroupMemberFileSystem
    func (m DrProtectionGroupMemberFileSystem) GetMemberId() *string
    func (m DrProtectionGroupMemberFileSystem) MarshalJSON() (buff []byte, e error)
    func (m DrProtectionGroupMemberFileSystem) String() string
    func (m DrProtectionGroupMemberFileSystem) ValidateEnumValue() (bool, error)
type DrProtectionGroupMemberLoadBalancer
    func (m DrProtectionGroupMemberLoadBalancer) GetMemberId() *string
    func (m DrProtectionGroupMemberLoadBalancer) MarshalJSON() (buff []byte, e error)
    func (m DrProtectionGroupMemberLoadBalancer) String() string
    func (m DrProtectionGroupMemberLoadBalancer) ValidateEnumValue() (bool, error)
type DrProtectionGroupMemberNetworkLoadBalancer
    func (m DrProtectionGroupMemberNetworkLoadBalancer) GetMemberId() *string
    func (m DrProtectionGroupMemberNetworkLoadBalancer) MarshalJSON() (buff []byte, e error)
    func (m DrProtectionGroupMemberNetworkLoadBalancer) String() string
    func (m DrProtectionGroupMemberNetworkLoadBalancer) ValidateEnumValue() (bool, error)
type DrProtectionGroupMemberTypeEnum
    func GetDrProtectionGroupMemberTypeEnumValues() []DrProtectionGroupMemberTypeEnum
    func GetMappingDrProtectionGroupMemberTypeEnum(val string) (DrProtectionGroupMemberTypeEnum, bool)
type DrProtectionGroupMemberVolumeGroup
    func (m DrProtectionGroupMemberVolumeGroup) GetMemberId() *string
    func (m DrProtectionGroupMemberVolumeGroup) MarshalJSON() (buff []byte, e error)
    func (m DrProtectionGroupMemberVolumeGroup) String() string
    func (m DrProtectionGroupMemberVolumeGroup) ValidateEnumValue() (bool, error)
type DrProtectionGroupRoleEnum
    func GetDrProtectionGroupRoleEnumValues() []DrProtectionGroupRoleEnum
    func GetMappingDrProtectionGroupRoleEnum(val string) (DrProtectionGroupRoleEnum, bool)
type DrProtectionGroupSummary
    func (m DrProtectionGroupSummary) String() string
    func (m DrProtectionGroupSummary) ValidateEnumValue() (bool, error)
type FailoverExecutionOptionDetails
    func (m FailoverExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m FailoverExecutionOptionDetails) String() string
    func (m FailoverExecutionOptionDetails) ValidateEnumValue() (bool, error)
type FailoverExecutionOptions
    func (m FailoverExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m FailoverExecutionOptions) String() string
    func (m FailoverExecutionOptions) ValidateEnumValue() (bool, error)
type FailoverPrecheckExecutionOptionDetails
    func (m FailoverPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m FailoverPrecheckExecutionOptionDetails) String() string
    func (m FailoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
type FailoverPrecheckExecutionOptions
    func (m FailoverPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m FailoverPrecheckExecutionOptions) String() string
    func (m FailoverPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
type FileSystemExportMapping
    func (m FileSystemExportMapping) String() string
    func (m FileSystemExportMapping) ValidateEnumValue() (bool, error)
type FileSystemExportMappingDetails
    func (m FileSystemExportMappingDetails) String() string
    func (m FileSystemExportMappingDetails) ValidateEnumValue() (bool, error)
type FileSystemMountDetails
    func (m FileSystemMountDetails) String() string
    func (m FileSystemMountDetails) ValidateEnumValue() (bool, error)
type FileSystemUnmountDetails
    func (m FileSystemUnmountDetails) String() string
    func (m FileSystemUnmountDetails) ValidateEnumValue() (bool, error)
type GetDrPlanExecutionRequest
    func (request GetDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDrPlanExecutionRequest) String() string
    func (request GetDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type GetDrPlanExecutionResponse
    func (response GetDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response GetDrPlanExecutionResponse) String() string
type GetDrPlanRequest
    func (request GetDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDrPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDrPlanRequest) String() string
    func (request GetDrPlanRequest) ValidateEnumValue() (bool, error)
type GetDrPlanResponse
    func (response GetDrPlanResponse) HTTPResponse() *http.Response
    func (response GetDrPlanResponse) String() string
type GetDrProtectionGroupRequest
    func (request GetDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDrProtectionGroupRequest) String() string
    func (request GetDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type GetDrProtectionGroupResponse
    func (response GetDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response GetDrProtectionGroupResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type IgnoreDrPlanExecutionDetails
    func (m IgnoreDrPlanExecutionDetails) String() string
    func (m IgnoreDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type IgnoreDrPlanExecutionRequest
    func (request IgnoreDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request IgnoreDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request IgnoreDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request IgnoreDrPlanExecutionRequest) String() string
    func (request IgnoreDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type IgnoreDrPlanExecutionResponse
    func (response IgnoreDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response IgnoreDrPlanExecutionResponse) String() string
type InvokeFunctionPrecheckStep
    func (m InvokeFunctionPrecheckStep) MarshalJSON() (buff []byte, e error)
    func (m InvokeFunctionPrecheckStep) String() string
    func (m InvokeFunctionPrecheckStep) ValidateEnumValue() (bool, error)
type InvokeFunctionStep
    func (m InvokeFunctionStep) MarshalJSON() (buff []byte, e error)
    func (m InvokeFunctionStep) String() string
    func (m InvokeFunctionStep) ValidateEnumValue() (bool, error)
type ListDrPlanExecutionsDrPlanExecutionTypeEnum
    func GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues() []ListDrPlanExecutionsDrPlanExecutionTypeEnum
    func GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum(val string) (ListDrPlanExecutionsDrPlanExecutionTypeEnum, bool)
type ListDrPlanExecutionsLifecycleStateEnum
    func GetListDrPlanExecutionsLifecycleStateEnumValues() []ListDrPlanExecutionsLifecycleStateEnum
    func GetMappingListDrPlanExecutionsLifecycleStateEnum(val string) (ListDrPlanExecutionsLifecycleStateEnum, bool)
type ListDrPlanExecutionsRequest
    func (request ListDrPlanExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDrPlanExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDrPlanExecutionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDrPlanExecutionsRequest) String() string
    func (request ListDrPlanExecutionsRequest) ValidateEnumValue() (bool, error)
type ListDrPlanExecutionsResponse
    func (response ListDrPlanExecutionsResponse) HTTPResponse() *http.Response
    func (response ListDrPlanExecutionsResponse) String() string
type ListDrPlanExecutionsSortByEnum
    func GetListDrPlanExecutionsSortByEnumValues() []ListDrPlanExecutionsSortByEnum
    func GetMappingListDrPlanExecutionsSortByEnum(val string) (ListDrPlanExecutionsSortByEnum, bool)
type ListDrPlanExecutionsSortOrderEnum
    func GetListDrPlanExecutionsSortOrderEnumValues() []ListDrPlanExecutionsSortOrderEnum
    func GetMappingListDrPlanExecutionsSortOrderEnum(val string) (ListDrPlanExecutionsSortOrderEnum, bool)
type ListDrPlansDrPlanTypeEnum
    func GetListDrPlansDrPlanTypeEnumValues() []ListDrPlansDrPlanTypeEnum
    func GetMappingListDrPlansDrPlanTypeEnum(val string) (ListDrPlansDrPlanTypeEnum, bool)
type ListDrPlansLifecycleStateEnum
    func GetListDrPlansLifecycleStateEnumValues() []ListDrPlansLifecycleStateEnum
    func GetMappingListDrPlansLifecycleStateEnum(val string) (ListDrPlansLifecycleStateEnum, bool)
type ListDrPlansRequest
    func (request ListDrPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDrPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDrPlansRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDrPlansRequest) String() string
    func (request ListDrPlansRequest) ValidateEnumValue() (bool, error)
type ListDrPlansResponse
    func (response ListDrPlansResponse) HTTPResponse() *http.Response
    func (response ListDrPlansResponse) String() string
type ListDrPlansSortByEnum
    func GetListDrPlansSortByEnumValues() []ListDrPlansSortByEnum
    func GetMappingListDrPlansSortByEnum(val string) (ListDrPlansSortByEnum, bool)
type ListDrPlansSortOrderEnum
    func GetListDrPlansSortOrderEnumValues() []ListDrPlansSortOrderEnum
    func GetMappingListDrPlansSortOrderEnum(val string) (ListDrPlansSortOrderEnum, bool)
type ListDrProtectionGroupsLifecycleStateEnum
    func GetListDrProtectionGroupsLifecycleStateEnumValues() []ListDrProtectionGroupsLifecycleStateEnum
    func GetMappingListDrProtectionGroupsLifecycleStateEnum(val string) (ListDrProtectionGroupsLifecycleStateEnum, bool)
type ListDrProtectionGroupsLifecycleSubStateEnum
    func GetListDrProtectionGroupsLifecycleSubStateEnumValues() []ListDrProtectionGroupsLifecycleSubStateEnum
    func GetMappingListDrProtectionGroupsLifecycleSubStateEnum(val string) (ListDrProtectionGroupsLifecycleSubStateEnum, bool)
type ListDrProtectionGroupsRequest
    func (request ListDrProtectionGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDrProtectionGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDrProtectionGroupsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDrProtectionGroupsRequest) String() string
    func (request ListDrProtectionGroupsRequest) ValidateEnumValue() (bool, error)
type ListDrProtectionGroupsResponse
    func (response ListDrProtectionGroupsResponse) HTTPResponse() *http.Response
    func (response ListDrProtectionGroupsResponse) String() string
type ListDrProtectionGroupsRoleEnum
    func GetListDrProtectionGroupsRoleEnumValues() []ListDrProtectionGroupsRoleEnum
    func GetMappingListDrProtectionGroupsRoleEnum(val string) (ListDrProtectionGroupsRoleEnum, bool)
type ListDrProtectionGroupsSortByEnum
    func GetListDrProtectionGroupsSortByEnumValues() []ListDrProtectionGroupsSortByEnum
    func GetMappingListDrProtectionGroupsSortByEnum(val string) (ListDrProtectionGroupsSortByEnum, bool)
type ListDrProtectionGroupsSortOrderEnum
    func GetListDrProtectionGroupsSortOrderEnumValues() []ListDrProtectionGroupsSortOrderEnum
    func GetMappingListDrProtectionGroupsSortOrderEnum(val string) (ListDrProtectionGroupsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type LoadBalancerBackendSetMapping
    func (m LoadBalancerBackendSetMapping) String() string
    func (m LoadBalancerBackendSetMapping) ValidateEnumValue() (bool, error)
type LoadBalancerBackendSetMappingDetails
    func (m LoadBalancerBackendSetMappingDetails) String() string
    func (m LoadBalancerBackendSetMappingDetails) ValidateEnumValue() (bool, error)
type LocalScriptPrecheckStep
    func (m LocalScriptPrecheckStep) MarshalJSON() (buff []byte, e error)
    func (m LocalScriptPrecheckStep) String() string
    func (m LocalScriptPrecheckStep) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerBackendSetMapping
    func (m NetworkLoadBalancerBackendSetMapping) String() string
    func (m NetworkLoadBalancerBackendSetMapping) ValidateEnumValue() (bool, error)
type NetworkLoadBalancerBackendSetMappingDetails
    func (m NetworkLoadBalancerBackendSetMappingDetails) String() string
    func (m NetworkLoadBalancerBackendSetMappingDetails) ValidateEnumValue() (bool, error)
type ObjectStorageLogLocation
    func (m ObjectStorageLogLocation) String() string
    func (m ObjectStorageLogLocation) ValidateEnumValue() (bool, error)
type ObjectStorageScriptLocation
    func (m ObjectStorageScriptLocation) String() string
    func (m ObjectStorageScriptLocation) ValidateEnumValue() (bool, error)
type ObjectStoreScriptPrecheckStep
    func (m ObjectStoreScriptPrecheckStep) MarshalJSON() (buff []byte, e error)
    func (m ObjectStoreScriptPrecheckStep) String() string
    func (m ObjectStoreScriptPrecheckStep) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PauseDrPlanExecutionDetails
    func (m PauseDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
    func (m PauseDrPlanExecutionDetails) String() string
    func (m PauseDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type PauseDrPlanExecutionRequest
    func (request PauseDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PauseDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PauseDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request PauseDrPlanExecutionRequest) String() string
    func (request PauseDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type PauseDrPlanExecutionResponse
    func (response PauseDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response PauseDrPlanExecutionResponse) String() string
type ResumeDrPlanExecutionDetails
    func (m ResumeDrPlanExecutionDetails) MarshalJSON() (buff []byte, e error)
    func (m ResumeDrPlanExecutionDetails) String() string
    func (m ResumeDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type ResumeDrPlanExecutionRequest
    func (request ResumeDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ResumeDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ResumeDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request ResumeDrPlanExecutionRequest) String() string
    func (request ResumeDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type ResumeDrPlanExecutionResponse
    func (response ResumeDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response ResumeDrPlanExecutionResponse) String() string
type RetryDrPlanExecutionDetails
    func (m RetryDrPlanExecutionDetails) String() string
    func (m RetryDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type RetryDrPlanExecutionRequest
    func (request RetryDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RetryDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RetryDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request RetryDrPlanExecutionRequest) String() string
    func (request RetryDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type RetryDrPlanExecutionResponse
    func (response RetryDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response RetryDrPlanExecutionResponse) String() string
type RunLocalScriptUserDefinedStep
    func (m RunLocalScriptUserDefinedStep) MarshalJSON() (buff []byte, e error)
    func (m RunLocalScriptUserDefinedStep) String() string
    func (m RunLocalScriptUserDefinedStep) ValidateEnumValue() (bool, error)
type RunObjectStoreScriptUserDefinedStep
    func (m RunObjectStoreScriptUserDefinedStep) MarshalJSON() (buff []byte, e error)
    func (m RunObjectStoreScriptUserDefinedStep) String() string
    func (m RunObjectStoreScriptUserDefinedStep) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StartDrillExecutionOptionDetails
    func (m StartDrillExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m StartDrillExecutionOptionDetails) String() string
    func (m StartDrillExecutionOptionDetails) ValidateEnumValue() (bool, error)
type StartDrillExecutionOptions
    func (m StartDrillExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m StartDrillExecutionOptions) String() string
    func (m StartDrillExecutionOptions) ValidateEnumValue() (bool, error)
type StartDrillPrecheckExecutionOptionDetails
    func (m StartDrillPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m StartDrillPrecheckExecutionOptionDetails) String() string
    func (m StartDrillPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
type StartDrillPrecheckExecutionOptions
    func (m StartDrillPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m StartDrillPrecheckExecutionOptions) String() string
    func (m StartDrillPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
type StopDrillExecutionOptionDetails
    func (m StopDrillExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m StopDrillExecutionOptionDetails) String() string
    func (m StopDrillExecutionOptionDetails) ValidateEnumValue() (bool, error)
type StopDrillExecutionOptions
    func (m StopDrillExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m StopDrillExecutionOptions) String() string
    func (m StopDrillExecutionOptions) ValidateEnumValue() (bool, error)
type StopDrillPrecheckExecutionOptionDetails
    func (m StopDrillPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m StopDrillPrecheckExecutionOptionDetails) String() string
    func (m StopDrillPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
type StopDrillPrecheckExecutionOptions
    func (m StopDrillPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m StopDrillPrecheckExecutionOptions) String() string
    func (m StopDrillPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
type SwitchoverExecutionOptionDetails
    func (m SwitchoverExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m SwitchoverExecutionOptionDetails) String() string
    func (m SwitchoverExecutionOptionDetails) ValidateEnumValue() (bool, error)
type SwitchoverExecutionOptions
    func (m SwitchoverExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m SwitchoverExecutionOptions) String() string
    func (m SwitchoverExecutionOptions) ValidateEnumValue() (bool, error)
type SwitchoverPrecheckExecutionOptionDetails
    func (m SwitchoverPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m SwitchoverPrecheckExecutionOptionDetails) String() string
    func (m SwitchoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)
type SwitchoverPrecheckExecutionOptions
    func (m SwitchoverPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)
    func (m SwitchoverPrecheckExecutionOptions) String() string
    func (m SwitchoverPrecheckExecutionOptions) ValidateEnumValue() (bool, error)
type UpdateBlockVolumeAttachmentDetails
    func (m UpdateBlockVolumeAttachmentDetails) String() string
    func (m UpdateBlockVolumeAttachmentDetails) ValidateEnumValue() (bool, error)
type UpdateBlockVolumeMountDetails
    func (m UpdateBlockVolumeMountDetails) String() string
    func (m UpdateBlockVolumeMountDetails) ValidateEnumValue() (bool, error)
type UpdateComputeInstanceMovableFileSystemOperationDetails
    func (m UpdateComputeInstanceMovableFileSystemOperationDetails) String() string
    func (m UpdateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue() (bool, error)
type UpdateComputeInstanceNonMovableBlockVolumeOperationDetails
    func (m UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) String() string
    func (m UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue() (bool, error)
type UpdateComputeInstanceNonMovableFileSystemOperationDetails
    func (m UpdateComputeInstanceNonMovableFileSystemOperationDetails) String() string
    func (m UpdateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue() (bool, error)
type UpdateDrPlanDetails
    func (m UpdateDrPlanDetails) String() string
    func (m UpdateDrPlanDetails) ValidateEnumValue() (bool, error)
type UpdateDrPlanExecutionDetails
    func (m UpdateDrPlanExecutionDetails) String() string
    func (m UpdateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)
type UpdateDrPlanExecutionRequest
    func (request UpdateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDrPlanExecutionRequest) String() string
    func (request UpdateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)
type UpdateDrPlanExecutionResponse
    func (response UpdateDrPlanExecutionResponse) HTTPResponse() *http.Response
    func (response UpdateDrPlanExecutionResponse) String() string
type UpdateDrPlanGroupDetails
    func (m UpdateDrPlanGroupDetails) String() string
    func (m UpdateDrPlanGroupDetails) ValidateEnumValue() (bool, error)
type UpdateDrPlanRequest
    func (request UpdateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDrPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDrPlanRequest) String() string
    func (request UpdateDrPlanRequest) ValidateEnumValue() (bool, error)
type UpdateDrPlanResponse
    func (response UpdateDrPlanResponse) HTTPResponse() *http.Response
    func (response UpdateDrPlanResponse) String() string
type UpdateDrPlanStepDetails
    func (m UpdateDrPlanStepDetails) String() string
    func (m *UpdateDrPlanStepDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateDrPlanStepDetails) ValidateEnumValue() (bool, error)
type UpdateDrPlanUserDefinedStepDetails
type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
    func GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum(val string) (UpdateDrPlanUserDefinedStepDetailsStepTypeEnum, bool)
    func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues() []UpdateDrPlanUserDefinedStepDetailsStepTypeEnum
type UpdateDrProtectionGroupDetails
    func (m UpdateDrProtectionGroupDetails) String() string
    func (m *UpdateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)
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 UpdateDrProtectionGroupMemberFileSystemDetails
    func (m UpdateDrProtectionGroupMemberFileSystemDetails) GetMemberId() *string
    func (m UpdateDrProtectionGroupMemberFileSystemDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateDrProtectionGroupMemberFileSystemDetails) String() string
    func (m UpdateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue() (bool, error)
type UpdateDrProtectionGroupMemberLoadBalancerDetails
    func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId() *string
    func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) String() string
    func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue() (bool, error)
type UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails
    func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId() *string
    func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) String() string
    func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error)
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, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDrProtectionGroupRequest) String() string
    func (request UpdateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)
type UpdateDrProtectionGroupResponse
    func (response UpdateDrProtectionGroupResponse) HTTPResponse() *http.Response
    func (response UpdateDrProtectionGroupResponse) String() string
type UpdateDrProtectionGroupRoleDetails
    func (m UpdateDrProtectionGroupRoleDetails) String() string
    func (m UpdateDrProtectionGroupRoleDetails) ValidateEnumValue() (bool, error)
type UpdateDrProtectionGroupRoleRequest
    func (request UpdateDrProtectionGroupRoleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDrProtectionGroupRoleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDrProtectionGroupRoleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDrProtectionGroupRoleRequest) String() string
    func (request UpdateDrProtectionGroupRoleRequest) ValidateEnumValue() (bool, error)
type UpdateDrProtectionGroupRoleResponse
    func (response UpdateDrProtectionGroupRoleResponse) HTTPResponse() *http.Response
    func (response UpdateDrProtectionGroupRoleResponse) String() string
type UpdateFileSystemMountDetails
    func (m UpdateFileSystemMountDetails) String() string
    func (m UpdateFileSystemMountDetails) ValidateEnumValue() (bool, error)
type UpdateFileSystemUnmountDetails
    func (m UpdateFileSystemUnmountDetails) String() string
    func (m UpdateFileSystemUnmountDetails) ValidateEnumValue() (bool, error)
type UpdateInvokeFunctionPrecheckStepDetails
    func (m UpdateInvokeFunctionPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateInvokeFunctionPrecheckStepDetails) String() string
    func (m UpdateInvokeFunctionPrecheckStepDetails) ValidateEnumValue() (bool, error)
type UpdateInvokeFunctionUserDefinedStepDetails
    func (m UpdateInvokeFunctionUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateInvokeFunctionUserDefinedStepDetails) String() string
    func (m UpdateInvokeFunctionUserDefinedStepDetails) ValidateEnumValue() (bool, error)
type UpdateLocalScriptPrecheckStepDetails
    func (m UpdateLocalScriptPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateLocalScriptPrecheckStepDetails) String() string
    func (m UpdateLocalScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)
type UpdateObjectStorageLogLocationDetails
    func (m UpdateObjectStorageLogLocationDetails) String() string
    func (m UpdateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)
type UpdateObjectStorageScriptLocationDetails
    func (m UpdateObjectStorageScriptLocationDetails) String() string
    func (m UpdateObjectStorageScriptLocationDetails) ValidateEnumValue() (bool, error)
type UpdateObjectStoreScriptPrecheckStepDetails
    func (m UpdateObjectStoreScriptPrecheckStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateObjectStoreScriptPrecheckStepDetails) String() string
    func (m UpdateObjectStoreScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)
type UpdateRunLocalScriptUserDefinedStepDetails
    func (m UpdateRunLocalScriptUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateRunLocalScriptUserDefinedStepDetails) String() string
    func (m UpdateRunLocalScriptUserDefinedStepDetails) ValidateEnumValue() (bool, error)
type UpdateRunObjectStoreScriptUserDefinedStepDetails
    func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) String() string
    func (m UpdateRunObjectStoreScriptUserDefinedStepDetails) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go associate_dr_protection_group_details.go associate_dr_protection_group_request_response.go block_volume_attachment_details.go block_volume_mount_details.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_file_system_operation.go compute_instance_movable_vnic_mapping.go compute_instance_movable_vnic_mapping_details.go compute_instance_non_movable_block_volume_operation.go compute_instance_non_movable_file_system_operation.go compute_instance_vnic_mapping.go compute_instance_vnic_mapping_details.go create_block_volume_attachment_details.go create_block_volume_mount_details.go create_compute_instance_movable_file_system_operation_details.go create_compute_instance_non_movable_block_volume_operation_details.go create_compute_instance_non_movable_file_system_operation_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_file_system_details.go create_dr_protection_group_member_load_balancer_details.go create_dr_protection_group_member_network_load_balancer_details.go create_dr_protection_group_member_volume_group_details.go create_dr_protection_group_request_response.go create_file_system_mount_details.go create_file_system_unmount_details.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_lifecycle_sub_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_file_system.go dr_protection_group_member_load_balancer.go dr_protection_group_member_network_load_balancer.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 file_system_export_mapping.go file_system_export_mapping_details.go file_system_mount_details.go file_system_unmount_details.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 load_balancer_backend_set_mapping.go load_balancer_backend_set_mapping_details.go local_script_precheck_step.go network_load_balancer_backend_set_mapping.go network_load_balancer_backend_set_mapping_details.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 start_drill_execution_option_details.go start_drill_execution_options.go start_drill_precheck_execution_option_details.go start_drill_precheck_execution_options.go stop_drill_execution_option_details.go stop_drill_execution_options.go stop_drill_precheck_execution_option_details.go stop_drill_precheck_execution_options.go switchover_execution_option_details.go switchover_execution_options.go switchover_precheck_execution_option_details.go switchover_precheck_execution_options.go update_block_volume_attachment_details.go update_block_volume_mount_details.go update_compute_instance_movable_file_system_operation_details.go update_compute_instance_non_movable_block_volume_operation_details.go update_compute_instance_non_movable_file_system_operation_details.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_file_system_details.go update_dr_protection_group_member_load_balancer_details.go update_dr_protection_group_member_network_load_balancer_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_file_system_mount_details.go update_file_system_unmount_details.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

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 GetDrProtectionGroupLifecycleSubStateEnumStringValues

func GetDrProtectionGroupLifecycleSubStateEnumStringValues() []string

GetDrProtectionGroupLifecycleSubStateEnumStringValues Enumerates the set of values in String for DrProtectionGroupLifecycleSubStateEnum

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 GetListDrProtectionGroupsLifecycleSubStateEnumStringValues

func GetListDrProtectionGroupsLifecycleSubStateEnumStringValues() []string

GetListDrProtectionGroupsLifecycleSubStateEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsLifecycleSubStateEnum

func GetListDrProtectionGroupsRoleEnumStringValues

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

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

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

AssociateDrProtectionGroupDetails The details for associating a DR protection group with a peer DR protection group.

type AssociateDrProtectionGroupDetails struct {

    // The role of the DR protection group.
    // Example: `STANDBY`
    Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"`

    // The OCID of the peer DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerId *string `mandatory:"false" json:"peerId"`

    // The region of the peer DR protection group.
    // Example: `us-ashburn-1`
    PeerRegion *string `mandatory:"false" json:"peerRegion"`
}

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

AssociateDrProtectionGroupRequest wrapper for the AssociateDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/AssociateDrProtectionGroup.go.html to see an example of how to use 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..uniqueID`
    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
}

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

AssociateDrProtectionGroupResponse wrapper for the AssociateDrProtectionGroup operation

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"`
}

func (AssociateDrProtectionGroupResponse) HTTPResponse

func (response AssociateDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AssociateDrProtectionGroupResponse) String

func (response AssociateDrProtectionGroupResponse) String() string

type BlockVolumeAttachmentDetails

BlockVolumeAttachmentDetails The details for attaching or detaching a block volume.

type BlockVolumeAttachmentDetails struct {

    // The OCID of the reference compute instance from which to obtain the attachment details for the volume.
    // This reference compute instance is from the peer DR protection group.
    // Example: `ocid1.instance.oc1..uniqueID`
    VolumeAttachmentReferenceInstanceId *string `mandatory:"true" json:"volumeAttachmentReferenceInstanceId"`
}

func (BlockVolumeAttachmentDetails) String

func (m BlockVolumeAttachmentDetails) String() string

func (BlockVolumeAttachmentDetails) ValidateEnumValue

func (m BlockVolumeAttachmentDetails) 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 BlockVolumeMountDetails

BlockVolumeMountDetails The details for mounting or unmounting the file system on a block volume.

type BlockVolumeMountDetails struct {

    // The physical mount point used for mounting and unmounting the file system on a block volume.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`
}

func (BlockVolumeMountDetails) String

func (m BlockVolumeMountDetails) String() string

func (BlockVolumeMountDetails) ValidateEnumValue

func (m BlockVolumeMountDetails) 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 CancelDrPlanExecutionDetails

CancelDrPlanExecutionDetails The details for cancelling a DR plan execution.

type CancelDrPlanExecutionDetails struct {
}

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

CancelDrPlanExecutionRequest wrapper for the CancelDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/CancelDrPlanExecution.go.html to see an example of how to use CancelDrPlanExecutionRequest.

type CancelDrPlanExecutionRequest struct {

    // Details for canceling the DR plan execution.
    CancelDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

CancelDrPlanExecutionResponse wrapper for the CancelDrPlanExecution operation

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"`
}

func (CancelDrPlanExecutionResponse) HTTPResponse

func (response CancelDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelDrPlanExecutionResponse) String

func (response CancelDrPlanExecutionResponse) String() string

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

type CancelWorkRequestRequest struct {

    // The ID (OCID) of the asynchronous request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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
}

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

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"`
}

func (CancelWorkRequestResponse) HTTPResponse

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeDrProtectionGroupCompartmentDetails

ChangeDrProtectionGroupCompartmentDetails The details for moving a DR protection group to another compartment.

type ChangeDrProtectionGroupCompartmentDetails struct {

    // The OCID of the compartment to which the DR protection group should be moved.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

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

ChangeDrProtectionGroupCompartmentRequest wrapper for the ChangeDrProtectionGroupCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ChangeDrProtectionGroupCompartment.go.html to see an example of how to use ChangeDrProtectionGroupCompartmentRequest.

type ChangeDrProtectionGroupCompartmentRequest struct {

    // Details for changing the DR protection group compartment.
    ChangeDrProtectionGroupCompartmentDetails `contributesTo:"body"`

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

ChangeDrProtectionGroupCompartmentResponse wrapper for the ChangeDrProtectionGroupCompartment operation

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"`
}

func (ChangeDrProtectionGroupCompartmentResponse) HTTPResponse

func (response ChangeDrProtectionGroupCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeDrProtectionGroupCompartmentResponse) String

func (response ChangeDrProtectionGroupCompartmentResponse) String() string

type ComputeInstanceMovableFileSystemOperation

ComputeInstanceMovableFileSystemOperation The details of operations performed on a file system.

type ComputeInstanceMovableFileSystemOperation struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    MountDetails *FileSystemMountDetails `mandatory:"true" json:"mountDetails"`

    UnmountDetails *FileSystemUnmountDetails `mandatory:"true" json:"unmountDetails"`
}

func (ComputeInstanceMovableFileSystemOperation) String

func (m ComputeInstanceMovableFileSystemOperation) String() string

func (ComputeInstanceMovableFileSystemOperation) ValidateEnumValue

func (m ComputeInstanceMovableFileSystemOperation) 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 ComputeInstanceMovableVnicMapping

ComputeInstanceMovableVnicMapping Source VNIC to destination subnet mapping for a movable compute instance.

type ComputeInstanceMovableVnicMapping struct {

    // The OCID of the source VNIC.
    // Example: `ocid1.vnic.oc1..uniqueID`
    SourceVnicId *string `mandatory:"true" json:"sourceVnicId"`

    // The OCID of the destination subnet to which the source VNIC should connect.
    // Example: `ocid1.subnet.oc1..uniqueID`
    DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"`

    // The private IP address to be assigned as the VNIC's primary IP address in the destination subnet.
    // This must be a valid IP address in the destination subnet and the IP address must be available.
    // Example: `10.0.3.3`
    DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"`

    // The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.
    // This label is the hostname portion of the private IP's fully qualified domain name (FQDN)
    // (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com').
    // Example: `myhost1`
    DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"`

    // A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to
    // the source VNIC.
    // Example: `[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]`
    DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"`
}

func (ComputeInstanceMovableVnicMapping) String

func (m ComputeInstanceMovableVnicMapping) String() string

func (ComputeInstanceMovableVnicMapping) ValidateEnumValue

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

ComputeInstanceMovableVnicMappingDetails Source VNIC to destination subnet mapping for a movable compute instance.

type ComputeInstanceMovableVnicMappingDetails struct {

    // The OCID of the source VNIC.
    // Example: `ocid1.vnic.oc1..uniqueID`
    SourceVnicId *string `mandatory:"true" json:"sourceVnicId"`

    // The OCID of the destination subnet to which the source VNIC should connect.
    // Example: `ocid1.subnet.oc1..uniqueID`
    DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"`

    // The primary private IP address to be assigned to the source VNIC in the destination subnet.
    // This IP address must belong to the destination subnet.
    // Example: `10.0.3.3`
    DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"`

    // The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.
    // This label is the hostname portion of the private IP's fully qualified domain name (FQDN)
    // (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com').
    // Example: `myhost1`
    DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"`

    // A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to
    // the source VNIC.
    // Example: `[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]`
    DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"`
}

func (ComputeInstanceMovableVnicMappingDetails) String

func (m ComputeInstanceMovableVnicMappingDetails) String() string

func (ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue

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 ComputeInstanceNonMovableBlockVolumeOperation

ComputeInstanceNonMovableBlockVolumeOperation The details of operations performed on a block volume.

type ComputeInstanceNonMovableBlockVolumeOperation struct {

    // The OCID of the block volume.
    // Example: `ocid1.volume.oc1..uniqueID`
    BlockVolumeId *string `mandatory:"true" json:"blockVolumeId"`

    AttachmentDetails *BlockVolumeAttachmentDetails `mandatory:"false" json:"attachmentDetails"`

    MountDetails *BlockVolumeMountDetails `mandatory:"false" json:"mountDetails"`
}

func (ComputeInstanceNonMovableBlockVolumeOperation) String

func (m ComputeInstanceNonMovableBlockVolumeOperation) String() string

func (ComputeInstanceNonMovableBlockVolumeOperation) ValidateEnumValue

func (m ComputeInstanceNonMovableBlockVolumeOperation) 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 ComputeInstanceNonMovableFileSystemOperation

ComputeInstanceNonMovableFileSystemOperation The details of operations performed on a file system.

type ComputeInstanceNonMovableFileSystemOperation struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    // The OCID of mount target.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"true" json:"mountTargetId"`
}

func (ComputeInstanceNonMovableFileSystemOperation) String

func (m ComputeInstanceNonMovableFileSystemOperation) String() string

func (ComputeInstanceNonMovableFileSystemOperation) ValidateEnumValue

func (m ComputeInstanceNonMovableFileSystemOperation) 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

ComputeInstanceVnicMapping Deprecated. Source VNIC to destination subnet mapping for a compute instance.

type ComputeInstanceVnicMapping struct {

    // The OCID of the VNIC.
    // Example: `ocid1.vnic.oc1..uniqueID`
    SourceVnicId *string `mandatory:"true" json:"sourceVnicId"`

    // The OCID of the destination subnet to which the source VNIC should connect.
    // Example: `ocid1.subnet.oc1..uniqueID`
    DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"`

    // A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to
    // the source VNIC.
    // Example: `[ ocid1.networksecuritygroup.oc1..uniqueID1, ocid1.networksecuritygroup.oc1..uniqueID2 ]`
    DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"`
}

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

ComputeInstanceVnicMappingDetails Deprecated. Source VNIC to destination subnet mapping for a compute instance.

type ComputeInstanceVnicMappingDetails struct {

    // The OCID of the VNIC.
    // Example: `ocid1.vnic.oc1..uniqueID`
    SourceVnicId *string `mandatory:"true" json:"sourceVnicId"`

    // The OCID of the destination subnet to which this source VNIC should connect.
    // Example: `ocid1.subnet.oc1..uniqueID`
    DestinationSubnetId *string `mandatory:"true" json:"destinationSubnetId"`

    // The primary private IP address to be assigned to the VNIC in the destination region.
    // This address must belong to the destination subnet.
    // Example: `10.0.3.3`
    DestinationPrimaryPrivateIpAddress *string `mandatory:"false" json:"destinationPrimaryPrivateIpAddress"`

    // The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.
    // This label is the hostname portion of the private IP's fully qualified domain name (FQDN)
    // (for example, 'myhost1' in the FQDN 'myhost1.subnet123.vcn1.oraclevcn.com').
    // Example: `myhost1`
    DestinationPrimaryPrivateIpHostnameLabel *string `mandatory:"false" json:"destinationPrimaryPrivateIpHostnameLabel"`

    // A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to
    // the source VNIC.
    // Example: `[ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ]`
    DestinationNsgIdList []string `mandatory:"false" json:"destinationNsgIdList"`
}

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 CreateBlockVolumeAttachmentDetails

CreateBlockVolumeAttachmentDetails The details for creating a block volume attachment.

type CreateBlockVolumeAttachmentDetails struct {

    // The OCID of the reference compute instance from which to obtain the attachment details for the volume.
    // This reference compute instance is from the peer DR protection group.
    // Example: `ocid1.instance.oc1..uniqueID`
    VolumeAttachmentReferenceInstanceId *string `mandatory:"false" json:"volumeAttachmentReferenceInstanceId"`
}

func (CreateBlockVolumeAttachmentDetails) String

func (m CreateBlockVolumeAttachmentDetails) String() string

func (CreateBlockVolumeAttachmentDetails) ValidateEnumValue

func (m CreateBlockVolumeAttachmentDetails) 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 CreateBlockVolumeMountDetails

CreateBlockVolumeMountDetails The details for creating a mount for a file system on a block volume.

type CreateBlockVolumeMountDetails struct {

    // The physical mount point used for mounting the file system on the block volume.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"false" json:"mountPoint"`
}

func (CreateBlockVolumeMountDetails) String

func (m CreateBlockVolumeMountDetails) String() string

func (CreateBlockVolumeMountDetails) ValidateEnumValue

func (m CreateBlockVolumeMountDetails) 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 CreateComputeInstanceMovableFileSystemOperationDetails

CreateComputeInstanceMovableFileSystemOperationDetails The details for creating the operations performed on a file system for movable compute instance.

type CreateComputeInstanceMovableFileSystemOperationDetails struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    MountDetails *CreateFileSystemMountDetails `mandatory:"true" json:"mountDetails"`

    UnmountDetails *CreateFileSystemUnmountDetails `mandatory:"true" json:"unmountDetails"`
}

func (CreateComputeInstanceMovableFileSystemOperationDetails) String

func (m CreateComputeInstanceMovableFileSystemOperationDetails) String() string

func (CreateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue

func (m CreateComputeInstanceMovableFileSystemOperationDetails) 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 CreateComputeInstanceNonMovableBlockVolumeOperationDetails

CreateComputeInstanceNonMovableBlockVolumeOperationDetails The details for creating the operations performed on a block volume.

type CreateComputeInstanceNonMovableBlockVolumeOperationDetails struct {

    // The OCID of the block volume.
    // Example: `ocid1.volume.oc1..uniqueID`
    BlockVolumeId *string `mandatory:"true" json:"blockVolumeId"`

    AttachmentDetails *CreateBlockVolumeAttachmentDetails `mandatory:"false" json:"attachmentDetails"`

    MountDetails *CreateBlockVolumeMountDetails `mandatory:"false" json:"mountDetails"`
}

func (CreateComputeInstanceNonMovableBlockVolumeOperationDetails) String

func (m CreateComputeInstanceNonMovableBlockVolumeOperationDetails) String() string

func (CreateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue

func (m CreateComputeInstanceNonMovableBlockVolumeOperationDetails) 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 CreateComputeInstanceNonMovableFileSystemOperationDetails

CreateComputeInstanceNonMovableFileSystemOperationDetails The details for creating the operations performed on a file system for non-movable compute instance.

type CreateComputeInstanceNonMovableFileSystemOperationDetails struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    // The OCID of the mount target.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"true" json:"mountTargetId"`
}

func (CreateComputeInstanceNonMovableFileSystemOperationDetails) String

func (m CreateComputeInstanceNonMovableFileSystemOperationDetails) String() string

func (CreateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue

func (m CreateComputeInstanceNonMovableFileSystemOperationDetails) 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

CreateDrPlanDetails The details for creating a DR plan.

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..uniqueID`
    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"`
}

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

CreateDrPlanExecutionDetails The details for creating a DR plan execution.

type CreateDrPlanExecutionDetails struct {

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    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"`
}

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

CreateDrPlanExecutionRequest wrapper for the CreateDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/CreateDrPlanExecution.go.html to see an example of how to use CreateDrPlanExecutionRequest.

type CreateDrPlanExecutionRequest struct {

    // Details for creating the 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
}

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

CreateDrPlanExecutionResponse wrapper for the CreateDrPlanExecution operation

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"`
}

func (CreateDrPlanExecutionResponse) HTTPResponse

func (response CreateDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrPlanExecutionResponse) String

func (response CreateDrPlanExecutionResponse) String() string

type CreateDrPlanRequest

CreateDrPlanRequest wrapper for the CreateDrPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/CreateDrPlan.go.html to see an example of how to use 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
}

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

CreateDrPlanResponse wrapper for the CreateDrPlan operation

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"`
}

func (CreateDrPlanResponse) HTTPResponse

func (response CreateDrPlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrPlanResponse) String

func (response CreateDrPlanResponse) String() string

type CreateDrProtectionGroupDetails

CreateDrProtectionGroupDetails The details for creating a DR protection group.

type CreateDrProtectionGroupDetails struct {

    // The OCID of the compartment in which to create the DR protection group.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the DR protection group.
    // Example: `EBS PHX Group`
    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"`
}

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

CreateDrProtectionGroupMemberAutonomousDatabaseDetails Create properties for an Autonomous Database Serverless member.

type CreateDrProtectionGroupMemberAutonomousDatabaseDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

CreateDrProtectionGroupMemberComputeInstanceDetails Deprecated. Create properties for a compute instance member.

type CreateDrProtectionGroupMemberComputeInstanceDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the 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 a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region where the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`
}

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

CreateDrProtectionGroupMemberComputeInstanceMovableDetails Create properties for a movable compute instance member.

type CreateDrProtectionGroupMemberComputeInstanceMovableDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the compute instance should be moved to the same fault domain in the destination region.
    // The compute instance launch will fail if this flag is set to true and capacity is not available in the
    // specified fault domain in the destination region.
    // Example: `false`
    IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"`

    // The OCID of a capacity reservation in the destination region which will be used to launch
    // the compute instance.
    // Example: `ocid1.capacityreservation.oc1..uniqueID`
    DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"`

    // A list of compute instance VNIC mappings.
    VnicMappings []ComputeInstanceMovableVnicMappingDetails `mandatory:"false" json:"vnicMappings"`

    // The OCID of a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region where the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`

    // A list of operations performed on file systems used by the compute instance.
    FileSystemOperations []CreateComputeInstanceMovableFileSystemOperationDetails `mandatory:"false" json:"fileSystemOperations"`
}

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId

func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON

func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String

func (m CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue

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

CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails Create properties for a non-movable compute instance member.

type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating whether the non-movable compute instance should be started and stopped during DR operations.
    // *Prechecks cannot be executed on stopped instances that are configured to be started.*
    IsStartStopEnabled *bool `mandatory:"false" json:"isStartStopEnabled"`

    // A list of operations performed on file systems used by the compute instance.
    FileSystemOperations []CreateComputeInstanceNonMovableFileSystemOperationDetails `mandatory:"false" json:"fileSystemOperations"`

    // A list of operations performed on block volumes used by the compute instance.
    BlockVolumeOperations []CreateComputeInstanceNonMovableBlockVolumeOperationDetails `mandatory:"false" json:"blockVolumeOperations"`
}

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId

func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON

func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String

func (m CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue

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

CreateDrProtectionGroupMemberDatabaseDetails Create properties for a Database (DBCS) member.

type CreateDrProtectionGroupMemberDatabaseDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the vault secret where the database SYSDBA password is stored.
    // Example: `ocid1.vaultsecret.oc1..uniqueID`
    PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"`
}

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

CreateDrProtectionGroupMemberDetails Create properties for a member in a DR protection group.

type CreateDrProtectionGroupMemberDetails interface {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    GetMemberId() *string
}

type CreateDrProtectionGroupMemberFileSystemDetails

CreateDrProtectionGroupMemberFileSystemDetails Create properties for a file system member.

type CreateDrProtectionGroupMemberFileSystemDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The availability domain of the destination mount target.
    // Example: `BBTh:region-AD`
    DestinationAvailabilityDomain *string `mandatory:"false" json:"destinationAvailabilityDomain"`

    // A list of mappings between file system exports in the primary region and mount targets in the standby region.
    ExportMappings []FileSystemExportMappingDetails `mandatory:"false" json:"exportMappings"`
}

func (CreateDrProtectionGroupMemberFileSystemDetails) GetMemberId

func (m CreateDrProtectionGroupMemberFileSystemDetails) GetMemberId() *string

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberFileSystemDetails) MarshalJSON

func (m CreateDrProtectionGroupMemberFileSystemDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberFileSystemDetails) String

func (m CreateDrProtectionGroupMemberFileSystemDetails) String() string

func (CreateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue

func (m CreateDrProtectionGroupMemberFileSystemDetails) 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 CreateDrProtectionGroupMemberLoadBalancerDetails

CreateDrProtectionGroupMemberLoadBalancerDetails Create properties for a load balancer member.

type CreateDrProtectionGroupMemberLoadBalancerDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination load balancer.
    // Example: `ocid1.loadbalancer.oc1..uniqueID`
    DestinationLoadBalancerId *string `mandatory:"false" json:"destinationLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []LoadBalancerBackendSetMappingDetails `mandatory:"false" json:"backendSetMappings"`
}

func (CreateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId

func (m CreateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId() *string

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON

func (m CreateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberLoadBalancerDetails) String

func (m CreateDrProtectionGroupMemberLoadBalancerDetails) String() string

func (CreateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue

func (m CreateDrProtectionGroupMemberLoadBalancerDetails) 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 CreateDrProtectionGroupMemberNetworkLoadBalancerDetails

CreateDrProtectionGroupMemberNetworkLoadBalancerDetails Create properties for a network load balancer member.

type CreateDrProtectionGroupMemberNetworkLoadBalancerDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination network load balancer.
    // Example: `ocid1.networkloadbalancer.oc1..uniqueID`
    DestinationNetworkLoadBalancerId *string `mandatory:"false" json:"destinationNetworkLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []NetworkLoadBalancerBackendSetMappingDetails `mandatory:"false" json:"backendSetMappings"`
}

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId

func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId() *string

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON

func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) String

func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) String() string

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue

func (m CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) 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 CreateDrProtectionGroupMemberVolumeGroupDetails

CreateDrProtectionGroupMemberVolumeGroupDetails Create properties for a volume group member.

type CreateDrProtectionGroupMemberVolumeGroupDetails struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

CreateDrProtectionGroupRequest wrapper for the CreateDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/CreateDrProtectionGroup.go.html to see an example of how to use CreateDrProtectionGroupRequest.

type CreateDrProtectionGroupRequest struct {

    // Details for creating the 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
}

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

CreateDrProtectionGroupResponse wrapper for the CreateDrProtectionGroup operation

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"`
}

func (CreateDrProtectionGroupResponse) HTTPResponse

func (response CreateDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrProtectionGroupResponse) String

func (response CreateDrProtectionGroupResponse) String() string

type CreateFileSystemMountDetails

CreateFileSystemMountDetails The details for creating a file system mount.

type CreateFileSystemMountDetails struct {

    // The OCID of the mount target for this file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"false" json:"mountTargetId"`
}

func (CreateFileSystemMountDetails) String

func (m CreateFileSystemMountDetails) String() string

func (CreateFileSystemMountDetails) ValidateEnumValue

func (m CreateFileSystemMountDetails) 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 CreateFileSystemUnmountDetails

CreateFileSystemUnmountDetails The details for creating a file system unmount.

type CreateFileSystemUnmountDetails struct {

    // The OCID of the mount target.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"false" json:"mountTargetId"`
}

func (CreateFileSystemUnmountDetails) String

func (m CreateFileSystemUnmountDetails) String() string

func (CreateFileSystemUnmountDetails) ValidateEnumValue

func (m CreateFileSystemUnmountDetails) 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 CreateObjectStorageLogLocationDetails

CreateObjectStorageLogLocationDetails The details for creating an object storage log location for a DR protection group.

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"`
}

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

DeleteDrPlanExecutionRequest wrapper for the DeleteDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/DeleteDrPlanExecution.go.html to see an example of how to use DeleteDrPlanExecutionRequest.

type DeleteDrPlanExecutionRequest struct {

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

DeleteDrPlanExecutionResponse wrapper for the DeleteDrPlanExecution operation

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"`
}

func (DeleteDrPlanExecutionResponse) HTTPResponse

func (response DeleteDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrPlanExecutionResponse) String

func (response DeleteDrPlanExecutionResponse) String() string

type DeleteDrPlanRequest

DeleteDrPlanRequest wrapper for the DeleteDrPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/DeleteDrPlan.go.html to see an example of how to use DeleteDrPlanRequest.

type DeleteDrPlanRequest struct {

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    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
}

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

DeleteDrPlanResponse wrapper for the DeleteDrPlan operation

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"`
}

func (DeleteDrPlanResponse) HTTPResponse

func (response DeleteDrPlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrPlanResponse) String

func (response DeleteDrPlanResponse) String() string

type DeleteDrProtectionGroupRequest

DeleteDrProtectionGroupRequest wrapper for the DeleteDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/DeleteDrProtectionGroup.go.html to see an example of how to use DeleteDrProtectionGroupRequest.

type DeleteDrProtectionGroupRequest struct {

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

DeleteDrProtectionGroupResponse wrapper for the DeleteDrProtectionGroup operation

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"`
}

func (DeleteDrProtectionGroupResponse) HTTPResponse

func (response DeleteDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrProtectionGroupResponse) String

func (response DeleteDrProtectionGroupResponse) String() string

type DisassociateDrProtectionGroupDefaultDetails

DisassociateDrProtectionGroupDefaultDetails The default type.

type DisassociateDrProtectionGroupDefaultDetails struct {
}

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

DisassociateDrProtectionGroupDetails The details for disassociating this DR protection group from a peer DR protection group.

type DisassociateDrProtectionGroupDetails interface {
}

type DisassociateDrProtectionGroupDetailsTypeEnum

DisassociateDrProtectionGroupDetailsTypeEnum Enum with underlying type: string

type DisassociateDrProtectionGroupDetailsTypeEnum string

Set of constants representing the allowable values for DisassociateDrProtectionGroupDetailsTypeEnum

const (
    DisassociateDrProtectionGroupDetailsTypeDefault DisassociateDrProtectionGroupDetailsTypeEnum = "DEFAULT"
)

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

DisassociateDrProtectionGroupRequest wrapper for the DisassociateDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/DisassociateDrProtectionGroup.go.html to see an example of how to use DisassociateDrProtectionGroupRequest.

type DisassociateDrProtectionGroupRequest struct {

    // Details for deleting the association between two DR protection groups.
    DisassociateDrProtectionGroupDetails `contributesTo:"body"`

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

DisassociateDrProtectionGroupResponse wrapper for the DisassociateDrProtectionGroup operation

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"`
}

func (DisassociateDrProtectionGroupResponse) HTTPResponse

func (response DisassociateDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DisassociateDrProtectionGroupResponse) String

func (response DisassociateDrProtectionGroupResponse) String() string

type DisasterRecoveryClient

DisasterRecoveryClient a client for DisasterRecovery

type DisasterRecoveryClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

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.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/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 identified by *drPlanExecutionId*.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/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/65.62.0/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/65.62.0/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 Create a DR plan of the specified DR plan type.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/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/65.62.0/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 DR protection group.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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 the 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/65.62.0/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/65.62.0/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 Get 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/65.62.0/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 Get 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/65.62.0/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 Get a list of work request errors for the work request identified by *workRequestId*.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/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 Get a 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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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 the 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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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/65.62.0/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

DrPlan The details of a DR plan.

type DrPlan struct {

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The display name of the 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..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The type of the 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 to which this DR plan belongs.
    // Example: `ocid1.drplan.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"`

    // The OCID of the peer DR protection group associated with this plan's
    // DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"`

    // The region of the peer DR protection group associated with this plan's
    // DR protection group.
    // Example: `us-ashburn-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"`
}

func (DrPlan) String

func (m DrPlan) String() string

func (DrPlan) ValidateEnumValue

func (m DrPlan) 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 DrPlanCollection

DrPlanCollection A list of DR plan summaries.

type DrPlanCollection struct {

    // A list of DR plan summaries.
    Items []DrPlanSummary `mandatory:"true" json:"items"`
}

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

DrPlanExecution The details of a DR plan execution.

type DrPlanExecution struct {

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing this DR plan execution.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the 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..uniqueID`
    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..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"`

    // The OCID of peer DR protection group associated with this plan's
    // DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"`

    // The region of the peer DR protection group associated with this plan's
    // 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 when 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.
    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"`
}

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

DrPlanExecutionCollection A list of DR plan execution summaries.

type DrPlanExecutionCollection struct {

    // A list of DR plan execution summaries.
    Items []DrPlanExecutionSummary `mandatory:"true" json:"items"`
}

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

DrPlanExecutionControlDetails The details for controlling plan execution.

type DrPlanExecutionControlDetails interface {
}

type DrPlanExecutionControlDetailsActionTypeEnum

DrPlanExecutionControlDetailsActionTypeEnum Enum with underlying type: string

type DrPlanExecutionControlDetailsActionTypeEnum string

Set of constants representing the allowable values for DrPlanExecutionControlDetailsActionTypeEnum

const (
    DrPlanExecutionControlDetailsActionTypeCancel DrPlanExecutionControlDetailsActionTypeEnum = "CANCEL"
    DrPlanExecutionControlDetailsActionTypePause  DrPlanExecutionControlDetailsActionTypeEnum = "PAUSE"
    DrPlanExecutionControlDetailsActionTypeResume DrPlanExecutionControlDetailsActionTypeEnum = "RESUME"
)

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

DrPlanExecutionLifecycleStateEnum Enum with underlying type: string

type DrPlanExecutionLifecycleStateEnum string

Set of constants representing the allowable values for DrPlanExecutionLifecycleStateEnum

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"
)

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

DrPlanExecutionOptionDetails The options for a plan execution.

type DrPlanExecutionOptionDetails interface {
}

type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

DrPlanExecutionOptionDetailsPlanExecutionTypeEnum Enum with underlying type: string

type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum string

Set of constants representing the allowable values for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

const (
    DrPlanExecutionOptionDetailsPlanExecutionTypeSwitchover         DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "SWITCHOVER"
    DrPlanExecutionOptionDetailsPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK"
    DrPlanExecutionOptionDetailsPlanExecutionTypeFailover           DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "FAILOVER"
    DrPlanExecutionOptionDetailsPlanExecutionTypeFailoverPrecheck   DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "FAILOVER_PRECHECK"
    DrPlanExecutionOptionDetailsPlanExecutionTypeStartDrill         DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "START_DRILL"
    DrPlanExecutionOptionDetailsPlanExecutionTypeStartDrillPrecheck DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "START_DRILL_PRECHECK"
    DrPlanExecutionOptionDetailsPlanExecutionTypeStopDrill          DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "STOP_DRILL"
    DrPlanExecutionOptionDetailsPlanExecutionTypeStopDrillPrecheck  DrPlanExecutionOptionDetailsPlanExecutionTypeEnum = "STOP_DRILL_PRECHECK"
)

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

DrPlanExecutionOptions The options for a plan execution.

type DrPlanExecutionOptions interface {
}

type DrPlanExecutionOptionsPlanExecutionTypeEnum

DrPlanExecutionOptionsPlanExecutionTypeEnum Enum with underlying type: string

type DrPlanExecutionOptionsPlanExecutionTypeEnum string

Set of constants representing the allowable values for DrPlanExecutionOptionsPlanExecutionTypeEnum

const (
    DrPlanExecutionOptionsPlanExecutionTypeSwitchover         DrPlanExecutionOptionsPlanExecutionTypeEnum = "SWITCHOVER"
    DrPlanExecutionOptionsPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionOptionsPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK"
    DrPlanExecutionOptionsPlanExecutionTypeFailover           DrPlanExecutionOptionsPlanExecutionTypeEnum = "FAILOVER"
    DrPlanExecutionOptionsPlanExecutionTypeFailoverPrecheck   DrPlanExecutionOptionsPlanExecutionTypeEnum = "FAILOVER_PRECHECK"
    DrPlanExecutionOptionsPlanExecutionTypeStartDrillPrecheck DrPlanExecutionOptionsPlanExecutionTypeEnum = "START_DRILL_PRECHECK"
    DrPlanExecutionOptionsPlanExecutionTypeStartDrill         DrPlanExecutionOptionsPlanExecutionTypeEnum = "START_DRILL"
    DrPlanExecutionOptionsPlanExecutionTypeStopDrillPrecheck  DrPlanExecutionOptionsPlanExecutionTypeEnum = "STOP_DRILL_PRECHECK"
    DrPlanExecutionOptionsPlanExecutionTypeStopDrill          DrPlanExecutionOptionsPlanExecutionTypeEnum = "STOP_DRILL"
)

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

DrPlanExecutionSummary The summary of a DR plan execution.

type DrPlanExecutionSummary struct {

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing this plan execution.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the DR plan execution.
    // Example: `Execution - EBS Switchover PHX to IAD`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the DR plan for this DR plan execution.
    // Example: `ocid1.drplan.oc1..uniqueID`
    PlanId *string `mandatory:"true" json:"planId"`

    // The type of the DR plan execution.
    PlanExecutionType DrPlanExecutionTypeEnum `mandatory:"true" json:"planExecutionType"`

    // The OCID of the DR protection group to which this DR plan execution belongs.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"`

    // The OCID of peer DR protection group associated with this DR plan execution's
    // DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"`

    // The region of the peer DR protection group associated with this DR plan execution's
    // 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 when this 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, was 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.
    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"`
}

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

DrPlanExecutionTypeEnum Enum with underlying type: string

type DrPlanExecutionTypeEnum string

Set of constants representing the allowable values for DrPlanExecutionTypeEnum

const (
    DrPlanExecutionTypeSwitchover         DrPlanExecutionTypeEnum = "SWITCHOVER"
    DrPlanExecutionTypeSwitchoverPrecheck DrPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK"
    DrPlanExecutionTypeFailover           DrPlanExecutionTypeEnum = "FAILOVER"
    DrPlanExecutionTypeFailoverPrecheck   DrPlanExecutionTypeEnum = "FAILOVER_PRECHECK"
    DrPlanExecutionTypeStartDrill         DrPlanExecutionTypeEnum = "START_DRILL"
    DrPlanExecutionTypeStartDrillPrecheck DrPlanExecutionTypeEnum = "START_DRILL_PRECHECK"
    DrPlanExecutionTypeStopDrill          DrPlanExecutionTypeEnum = "STOP_DRILL"
    DrPlanExecutionTypeStopDrillPrecheck  DrPlanExecutionTypeEnum = "STOP_DRILL_PRECHECK"
)

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

DrPlanGroup Details of a group in a DR plan.

type DrPlanGroup struct {

    // The unique id of the group. Must not be modified by user.
    // Example: `sgid1.group..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The group type.
    // Example: `BUILT_IN`
    Type DrPlanGroupTypeEnum `mandatory:"true" json:"type"`

    // The display name of the group.
    // Example: `DATABASE_SWITCHOVER`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The list of steps in the group.
    Steps []DrPlanStep `mandatory:"true" json:"steps"`
}

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

DrPlanGroupExecution The details of a group execution in a DR plan execution.

type DrPlanGroupExecution struct {

    // The unique id of the group. Must not be modified by user.
    // Example: `sgid1.group..uniqueID`
    GroupId *string `mandatory:"true" json:"groupId"`

    // The group type.
    // Example: `BUILT_IN`
    Type DrPlanGroupTypeEnum `mandatory:"true" json:"type"`

    // The display name of the group execution.
    // Example: `DATABASE_SWITCHOVER`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The status of the group execution.
    Status DrPlanGroupExecutionStatusEnum `mandatory:"true" json:"status"`

    // A list of step executions in the group.
    StepExecutions []DrPlanStepExecution `mandatory:"true" json:"stepExecutions"`

    // Additional details on the group execution status.
    // Example: `A total of [3] steps failed in the group`
    StatusDetails *string `mandatory:"false" json:"statusDetails"`

    // The time when group execution began. An RFC3339 formatted datetime string.
    // Example: `2019-03-29T09:36:42Z`
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The time when 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"`
}

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

DrPlanGroupExecutionStatusEnum Enum with underlying type: string

type DrPlanGroupExecutionStatusEnum string

Set of constants representing the allowable values for DrPlanGroupExecutionStatusEnum

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"
)

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

DrPlanGroupTypeEnum Enum with underlying type: string

type DrPlanGroupTypeEnum string

Set of constants representing the allowable values for DrPlanGroupTypeEnum

const (
    DrPlanGroupTypeUserDefined     DrPlanGroupTypeEnum = "USER_DEFINED"
    DrPlanGroupTypeBuiltIn         DrPlanGroupTypeEnum = "BUILT_IN"
    DrPlanGroupTypeBuiltInPrecheck DrPlanGroupTypeEnum = "BUILT_IN_PRECHECK"
)

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

DrPlanLifecycleStateEnum Enum with underlying type: string

type DrPlanLifecycleStateEnum string

Set of constants representing the allowable values for DrPlanLifecycleStateEnum

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"
)

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

DrPlanStep Details of a step in a DR plan.

type DrPlanStep struct {

    // The unique id of the step. Must not be modified by the user.
    // Example: `sgid1.step..uniqueID`
    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..uniqueID`
    GroupId *string `mandatory:"true" json:"groupId"`

    // The plan step type.
    Type DrPlanStepTypeEnum `mandatory:"true" json:"type"`

    // The display name of the 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..uniqueID`
    MemberId *string `mandatory:"false" json:"memberId"`

    UserDefinedStep DrPlanUserDefinedStep `mandatory:"false" json:"userDefinedStep"`
}

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

DrPlanStepErrorModeEnum Enum with underlying type: string

type DrPlanStepErrorModeEnum string

Set of constants representing the allowable values for DrPlanStepErrorModeEnum

const (
    DrPlanStepErrorModeStopOnError     DrPlanStepErrorModeEnum = "STOP_ON_ERROR"
    DrPlanStepErrorModeContinueOnError DrPlanStepErrorModeEnum = "CONTINUE_ON_ERROR"
)

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

DrPlanStepExecution The details of a step execution in a DR plan execution.

type DrPlanStepExecution struct {

    // The unique id of the step. Must not be modified by user.
    // Example: `sgid1.step..uniqueID`
    StepId *string `mandatory:"true" json:"stepId"`

    // The 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..uniqueID`
    GroupId *string `mandatory:"true" json:"groupId"`

    // The display name of the step execution.
    // 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 on the step execution status.
    // Example: `This step failed to complete due to a timeout`
    StatusDetails *string `mandatory:"false" json:"statusDetails"`

    // The time when step execution began. An RFC3339 formatted datetime string.
    // Example: `2019-03-29T09:36:42Z`
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The time when 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 the step execution.
    // Example: `35`
    ExecutionDurationInSec *int `mandatory:"false" json:"executionDurationInSec"`
}

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

DrPlanStepExecutionStatusEnum Enum with underlying type: string

type DrPlanStepExecutionStatusEnum string

Set of constants representing the allowable values for DrPlanStepExecutionStatusEnum

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"
)

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

DrPlanStepTypeEnum Enum with underlying type: string

type DrPlanStepTypeEnum string

Set of constants representing the allowable values for DrPlanStepTypeEnum

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"
    DrPlanStepTypeVolumeGroupRestoreStartDrillPrecheck          DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_START_DRILL_PRECHECK"
    DrPlanStepTypeVolumeGroupRemovePrecheck                     DrPlanStepTypeEnum = "VOLUME_GROUP_REMOVE_PRECHECK"
    DrPlanStepTypeVolumeGroupTerminatePrecheck                  DrPlanStepTypeEnum = "VOLUME_GROUP_TERMINATE_PRECHECK"
    DrPlanStepTypeVolumeGroupRestoreStartDrill                  DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_START_DRILL"
    DrPlanStepTypeAutonomousDatabaseCreateClonePrecheck         DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_CREATE_CLONE_PRECHECK"
    DrPlanStepTypeAutonomousDatabaseDeleteClonePrecheck         DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_DELETE_CLONE_PRECHECK"
    DrPlanStepTypeLoadBalancerUpdatePrimaryBackendSetPrecheck   DrPlanStepTypeEnum = "LOAD_BALANCER_UPDATE_PRIMARY_BACKEND_SET_PRECHECK"
    DrPlanStepTypeLoadBalancerUpdateStandbyBackendSetPrecheck   DrPlanStepTypeEnum = "LOAD_BALANCER_UPDATE_STANDBY_BACKEND_SET_PRECHECK"
    DrPlanStepTypeFileSystemSwitchoverPrecheck                  DrPlanStepTypeEnum = "FILE_SYSTEM_SWITCHOVER_PRECHECK"
    DrPlanStepTypeFileSystemFailoverPrecheck                    DrPlanStepTypeEnum = "FILE_SYSTEM_FAILOVER_PRECHECK"
    DrPlanStepTypeFileSystemStartDrillPrecheck                  DrPlanStepTypeEnum = "FILE_SYSTEM_START_DRILL_PRECHECK"
    DrPlanStepTypeFileSystemStopDrillPrecheck                   DrPlanStepTypeEnum = "FILE_SYSTEM_STOP_DRILL_PRECHECK"
    DrPlanStepTypeFileSystemRemovePrecheck                      DrPlanStepTypeEnum = "FILE_SYSTEM_REMOVE_PRECHECK"
    DrPlanStepTypeFileSystemTerminatePrecheck                   DrPlanStepTypeEnum = "FILE_SYSTEM_TERMINATE_PRECHECK"
    DrPlanStepTypeFileSystemMountPrecheck                       DrPlanStepTypeEnum = "FILE_SYSTEM_MOUNT_PRECHECK"
    DrPlanStepTypeFileSystemUnmountPrecheck                     DrPlanStepTypeEnum = "FILE_SYSTEM_UNMOUNT_PRECHECK"
    DrPlanStepTypeComputeInstanceStartPrecheck                  DrPlanStepTypeEnum = "COMPUTE_INSTANCE_START_PRECHECK"
    DrPlanStepTypeComputeInstanceAttachBlockVolumesPrecheck     DrPlanStepTypeEnum = "COMPUTE_INSTANCE_ATTACH_BLOCK_VOLUMES_PRECHECK"
    DrPlanStepTypeComputeInstanceDetachBlockVolumesPrecheck     DrPlanStepTypeEnum = "COMPUTE_INSTANCE_DETACH_BLOCK_VOLUMES_PRECHECK"
    DrPlanStepTypeComputeInstanceMountBlockVolumesPrecheck      DrPlanStepTypeEnum = "COMPUTE_INSTANCE_MOUNT_BLOCK_VOLUMES_PRECHECK"
    DrPlanStepTypeComputeInstanceUnmountBlockVolumesPrecheck    DrPlanStepTypeEnum = "COMPUTE_INSTANCE_UNMOUNT_BLOCK_VOLUMES_PRECHECK"
    DrPlanStepTypeComputeCapacityReservationStartDrillPrecheck  DrPlanStepTypeEnum = "COMPUTE_CAPACITY_RESERVATION_START_DRILL_PRECHECK"
    DrPlanStepTypeComputeCapacityAvailabilityStartDrillPrecheck DrPlanStepTypeEnum = "COMPUTE_CAPACITY_AVAILABILITY_START_DRILL_PRECHECK"
    DrPlanStepTypeAutonomousDatabaseCreateClone                 DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_CREATE_CLONE"
    DrPlanStepTypeAutonomousDatabaseDeleteClone                 DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_DELETE_CLONE"
    DrPlanStepTypeLoadBalancerUpdatePrimaryBackendSet           DrPlanStepTypeEnum = "LOAD_BALANCER_UPDATE_PRIMARY_BACKEND_SET"
    DrPlanStepTypeLoadBalancerUpdateStandbyBackendSet           DrPlanStepTypeEnum = "LOAD_BALANCER_UPDATE_STANDBY_BACKEND_SET"
    DrPlanStepTypeFileSystemSwitchover                          DrPlanStepTypeEnum = "FILE_SYSTEM_SWITCHOVER"
    DrPlanStepTypeFileSystemFailover                            DrPlanStepTypeEnum = "FILE_SYSTEM_FAILOVER"
    DrPlanStepTypeFileSystemRemove                              DrPlanStepTypeEnum = "FILE_SYSTEM_REMOVE"
    DrPlanStepTypeFileSystemReverse                             DrPlanStepTypeEnum = "FILE_SYSTEM_REVERSE"
    DrPlanStepTypeFileSystemTerminate                           DrPlanStepTypeEnum = "FILE_SYSTEM_TERMINATE"
    DrPlanStepTypeFileSystemStartDrill                          DrPlanStepTypeEnum = "FILE_SYSTEM_START_DRILL"
    DrPlanStepTypeFileSystemStopDrill                           DrPlanStepTypeEnum = "FILE_SYSTEM_STOP_DRILL"
    DrPlanStepTypeComputeInstanceStart                          DrPlanStepTypeEnum = "COMPUTE_INSTANCE_START"
    DrPlanStepTypeComputeInstanceAttachBlockVolumes             DrPlanStepTypeEnum = "COMPUTE_INSTANCE_ATTACH_BLOCK_VOLUMES"
    DrPlanStepTypeComputeInstanceDetachBlockVolumes             DrPlanStepTypeEnum = "COMPUTE_INSTANCE_DETACH_BLOCK_VOLUMES"
    DrPlanStepTypeFileSystemMount                               DrPlanStepTypeEnum = "FILE_SYSTEM_MOUNT"
    DrPlanStepTypeFileSystemUnmount                             DrPlanStepTypeEnum = "FILE_SYSTEM_UNMOUNT"
    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"
)

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

DrPlanSummary The summary of a DR plan.

type DrPlanSummary struct {

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing the DR plan.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the DR plan.
    // Example: `EBS Switchover PHX to IAD`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of the DR plan.
    // Example: `SWITCHOVER`
    Type DrPlanTypeEnum `mandatory:"true" json:"type"`

    // The OCID of the DR protection group to which this DR plan belongs.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" json:"drProtectionGroupId"`

    // The OCID of the peer DR protection group associated with this plan's
    // DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerDrProtectionGroupId *string `mandatory:"true" json:"peerDrProtectionGroupId"`

    // The region of the peer DR protection group associated with this plan's
    // DR protection group.
    // Example: `us-ashburn-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.
    // Example: `ACTIVE`
    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"`
}

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

DrPlanTypeEnum Enum with underlying type: string

type DrPlanTypeEnum string

Set of constants representing the allowable values for DrPlanTypeEnum

const (
    DrPlanTypeSwitchover DrPlanTypeEnum = "SWITCHOVER"
    DrPlanTypeFailover   DrPlanTypeEnum = "FAILOVER"
    DrPlanTypeStartDrill DrPlanTypeEnum = "START_DRILL"
    DrPlanTypeStopDrill  DrPlanTypeEnum = "STOP_DRILL"
)

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

DrPlanUserDefinedStep The details for a user-defined step in a DR plan.

type DrPlanUserDefinedStep interface {
}

type DrPlanUserDefinedStepStepTypeEnum

DrPlanUserDefinedStepStepTypeEnum Enum with underlying type: string

type DrPlanUserDefinedStepStepTypeEnum string

Set of constants representing the allowable values for DrPlanUserDefinedStepStepTypeEnum

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"
)

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

DrProtectionGroup The details of a DR protection group.

type DrProtectionGroup struct {

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing the DR protection group.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the DR protection group.
    // Example: `EBS PHX Group`
    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 DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerId *string `mandatory:"false" json:"peerId"`

    // The region of the peer 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"`

    // The current sub-state of the DR protection group.
    LifecycleSubState DrProtectionGroupLifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,omitempty"`

    // 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"`
}

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

DrProtectionGroupCollection A list of DR protection group summaries.

type DrProtectionGroupCollection struct {

    // A list of DR protection group summaries.
    Items []DrProtectionGroupSummary `mandatory:"true" json:"items"`
}

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

DrProtectionGroupLifecycleStateEnum Enum with underlying type: string

type DrProtectionGroupLifecycleStateEnum string

Set of constants representing the allowable values for DrProtectionGroupLifecycleStateEnum

const (
    DrProtectionGroupLifecycleStateCreating       DrProtectionGroupLifecycleStateEnum = "CREATING"
    DrProtectionGroupLifecycleStateActive         DrProtectionGroupLifecycleStateEnum = "ACTIVE"
    DrProtectionGroupLifecycleStateUpdating       DrProtectionGroupLifecycleStateEnum = "UPDATING"
    DrProtectionGroupLifecycleStateInactive       DrProtectionGroupLifecycleStateEnum = "INACTIVE"
    DrProtectionGroupLifecycleStateNeedsAttention DrProtectionGroupLifecycleStateEnum = "NEEDS_ATTENTION"
    DrProtectionGroupLifecycleStateDeleting       DrProtectionGroupLifecycleStateEnum = "DELETING"
    DrProtectionGroupLifecycleStateDeleted        DrProtectionGroupLifecycleStateEnum = "DELETED"
    DrProtectionGroupLifecycleStateFailed         DrProtectionGroupLifecycleStateEnum = "FAILED"
)

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 DrProtectionGroupLifecycleSubStateEnum

DrProtectionGroupLifecycleSubStateEnum Enum with underlying type: string

type DrProtectionGroupLifecycleSubStateEnum string

Set of constants representing the allowable values for DrProtectionGroupLifecycleSubStateEnum

const (
    DrProtectionGroupLifecycleSubStateDrDrillInProgress DrProtectionGroupLifecycleSubStateEnum = "DR_DRILL_IN_PROGRESS"
)

func GetDrProtectionGroupLifecycleSubStateEnumValues

func GetDrProtectionGroupLifecycleSubStateEnumValues() []DrProtectionGroupLifecycleSubStateEnum

GetDrProtectionGroupLifecycleSubStateEnumValues Enumerates the set of values for DrProtectionGroupLifecycleSubStateEnum

func GetMappingDrProtectionGroupLifecycleSubStateEnum

func GetMappingDrProtectionGroupLifecycleSubStateEnum(val string) (DrProtectionGroupLifecycleSubStateEnum, bool)

GetMappingDrProtectionGroupLifecycleSubStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DrProtectionGroupMember

DrProtectionGroupMember The properties of a member in a DR protection group.

type DrProtectionGroupMember interface {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    GetMemberId() *string
}

type DrProtectionGroupMemberAutonomousDatabase

DrProtectionGroupMemberAutonomousDatabase The properties for an Autonomous Database Serverless member of a DR protection group.

type DrProtectionGroupMemberAutonomousDatabase struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

DrProtectionGroupMemberComputeInstance Deprecated. Properties for a compute instance member of a DR protection group.

type DrProtectionGroupMemberComputeInstance struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the 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 a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region where the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`
}

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

DrProtectionGroupMemberComputeInstanceMovable Properties for a movable compute instance member of a DR protection group.

type DrProtectionGroupMemberComputeInstanceMovable struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the compute instance should be moved to the same fault domain in the destination region.
    // The compute instance launch will fail if this flag is set to true and capacity is not available in the
    // specified fault domain in the destination region.
    // Example: `false`
    IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"`

    // The OCID of a capacity reservation in the destination region which will be used to launch
    // the compute instance.
    // Example: `ocid1.capacityreservation.oc1..uniqueID`
    DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"`

    // A list of compute instance VNIC mappings.
    VnicMappings []ComputeInstanceMovableVnicMapping `mandatory:"false" json:"vnicMappings"`

    // The OCID of a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region where the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`

    // A list of details of operations performed on file systems.
    FileSystemOperations []ComputeInstanceMovableFileSystemOperation `mandatory:"false" json:"fileSystemOperations"`
}

func (DrProtectionGroupMemberComputeInstanceMovable) GetMemberId

func (m DrProtectionGroupMemberComputeInstanceMovable) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON

func (m DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberComputeInstanceMovable) String

func (m DrProtectionGroupMemberComputeInstanceMovable) String() string

func (DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue

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

DrProtectionGroupMemberComputeInstanceNonMovable Properties for a non-movable compute instance member of a DR protection group.

type DrProtectionGroupMemberComputeInstanceNonMovable struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating whether the non-movable compute instance needs to be started and stopped during DR operations.
    IsStartStopEnabled *bool `mandatory:"false" json:"isStartStopEnabled"`

    // Operations performed on a list of file systems used on the non-movable compute instance.
    FileSystemOperations []ComputeInstanceNonMovableFileSystemOperation `mandatory:"false" json:"fileSystemOperations"`

    // Operations performed on a list of block volumes used on the non-movable compute instance.
    BlockVolumeOperations []ComputeInstanceNonMovableBlockVolumeOperation `mandatory:"false" json:"blockVolumeOperations"`
}

func (DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId

func (m DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON

func (m DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberComputeInstanceNonMovable) String

func (m DrProtectionGroupMemberComputeInstanceNonMovable) String() string

func (DrProtectionGroupMemberComputeInstanceNonMovable) ValidateEnumValue

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

DrProtectionGroupMemberDatabase The properties for a Base Database or Exadata Database member of a DR protection group.

type DrProtectionGroupMemberDatabase struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the vault secret where the database SYSDBA password is stored.
    // This password is used for performing database DR operations.
    // Example: `ocid1.vaultsecret.oc1..uniqueID`
    PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"`
}

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 DrProtectionGroupMemberFileSystem

DrProtectionGroupMemberFileSystem The properties for a file system member of a DR protection group.

type DrProtectionGroupMemberFileSystem struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The availability domain of the destination mount target.
    //
    // Example: `BBTh:region-AD`
    DestinationAvailabilityDomain *string `mandatory:"false" json:"destinationAvailabilityDomain"`

    // A list of mappings between the primary region file system export and destination region mount target.
    ExportMappings []FileSystemExportMapping `mandatory:"false" json:"exportMappings"`
}

func (DrProtectionGroupMemberFileSystem) GetMemberId

func (m DrProtectionGroupMemberFileSystem) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberFileSystem) MarshalJSON

func (m DrProtectionGroupMemberFileSystem) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberFileSystem) String

func (m DrProtectionGroupMemberFileSystem) String() string

func (DrProtectionGroupMemberFileSystem) ValidateEnumValue

func (m DrProtectionGroupMemberFileSystem) 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 DrProtectionGroupMemberLoadBalancer

DrProtectionGroupMemberLoadBalancer The properties for a load balancer member of a DR protection group.

type DrProtectionGroupMemberLoadBalancer struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination load balancer.
    // The backend sets in this destination load balancer are updated during DR.
    // Example: `ocid1.loadbalancer.oc1..uniqueID`
    DestinationLoadBalancerId *string `mandatory:"false" json:"destinationLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []LoadBalancerBackendSetMapping `mandatory:"false" json:"backendSetMappings"`
}

func (DrProtectionGroupMemberLoadBalancer) GetMemberId

func (m DrProtectionGroupMemberLoadBalancer) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberLoadBalancer) MarshalJSON

func (m DrProtectionGroupMemberLoadBalancer) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberLoadBalancer) String

func (m DrProtectionGroupMemberLoadBalancer) String() string

func (DrProtectionGroupMemberLoadBalancer) ValidateEnumValue

func (m DrProtectionGroupMemberLoadBalancer) 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 DrProtectionGroupMemberNetworkLoadBalancer

DrProtectionGroupMemberNetworkLoadBalancer The properties for a network load balancer member of a DR protection group.

type DrProtectionGroupMemberNetworkLoadBalancer struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination network load balancer.
    // The backend sets in this destination network load balancer are updated during DR.
    // Example: `ocid1.networkloadbalancer.oc1..uniqueID`
    DestinationNetworkLoadBalancerId *string `mandatory:"false" json:"destinationNetworkLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []NetworkLoadBalancerBackendSetMapping `mandatory:"false" json:"backendSetMappings"`
}

func (DrProtectionGroupMemberNetworkLoadBalancer) GetMemberId

func (m DrProtectionGroupMemberNetworkLoadBalancer) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberNetworkLoadBalancer) MarshalJSON

func (m DrProtectionGroupMemberNetworkLoadBalancer) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberNetworkLoadBalancer) String

func (m DrProtectionGroupMemberNetworkLoadBalancer) String() string

func (DrProtectionGroupMemberNetworkLoadBalancer) ValidateEnumValue

func (m DrProtectionGroupMemberNetworkLoadBalancer) 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

DrProtectionGroupMemberTypeEnum Enum with underlying type: string

type DrProtectionGroupMemberTypeEnum string

Set of constants representing the allowable values for DrProtectionGroupMemberTypeEnum

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"
    DrProtectionGroupMemberTypeLoadBalancer              DrProtectionGroupMemberTypeEnum = "LOAD_BALANCER"
    DrProtectionGroupMemberTypeNetworkLoadBalancer       DrProtectionGroupMemberTypeEnum = "NETWORK_LOAD_BALANCER"
    DrProtectionGroupMemberTypeFileSystem                DrProtectionGroupMemberTypeEnum = "FILE_SYSTEM"
)

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

DrProtectionGroupMemberVolumeGroup The properties for a volume group member of a DR protection group.

type DrProtectionGroupMemberVolumeGroup struct {

    // The OCID of the member.
    // Example: `ocid1.instance.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

DrProtectionGroupRoleEnum Enum with underlying type: string

type DrProtectionGroupRoleEnum string

Set of constants representing the allowable values for DrProtectionGroupRoleEnum

const (
    DrProtectionGroupRolePrimary      DrProtectionGroupRoleEnum = "PRIMARY"
    DrProtectionGroupRoleStandby      DrProtectionGroupRoleEnum = "STANDBY"
    DrProtectionGroupRoleUnconfigured DrProtectionGroupRoleEnum = "UNCONFIGURED"
)

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

DrProtectionGroupSummary The summary of a DR protection group.

type DrProtectionGroupSummary struct {

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing the DR protection group.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the DR protection group.
    // Example: `EBS PHX Group`
    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 DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    PeerId *string `mandatory:"false" json:"peerId"`

    // The region of the peer 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"`

    // The current sub-state of the DR protection group.
    LifecycleSubState DrProtectionGroupLifecycleSubStateEnum `mandatory:"false" json:"lifecycleSubState,omitempty"`

    // 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"`
}

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

FailoverExecutionOptionDetails Options for failover execution.

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"`
}

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

FailoverExecutionOptions Options for failover execution.

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"`
}

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

FailoverPrecheckExecutionOptionDetails Options for a failover precheck execution.

type FailoverPrecheckExecutionOptionDetails struct {

    // A flag indicating whether warnings should be ignored during the failover precheck.
    // Example: `false`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

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

FailoverPrecheckExecutionOptions Options for failover precheck execution.

type FailoverPrecheckExecutionOptions struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `false`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

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 FileSystemExportMapping

FileSystemExportMapping The mapping between a primary region file system export path and destination region mount target.

type FileSystemExportMapping struct {

    // The OCID of the export path.
    // Example: `ocid1.export.oc1..uniqueID`
    ExportId *string `mandatory:"true" json:"exportId"`

    // The OCID of the destination mount target on which this file system export should be created.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    DestinationMountTargetId *string `mandatory:"true" json:"destinationMountTargetId"`
}

func (FileSystemExportMapping) String

func (m FileSystemExportMapping) String() string

func (FileSystemExportMapping) ValidateEnumValue

func (m FileSystemExportMapping) 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 FileSystemExportMappingDetails

FileSystemExportMappingDetails The mapping between a file system export in the primary region and a mount target in the standby region.

type FileSystemExportMappingDetails struct {

    // The OCID of the export path in the primary region used to mount or unmount the file system.
    // Example: `ocid1.export.oc1..uniqueID`
    ExportId *string `mandatory:"true" json:"exportId"`

    // The OCID of the destination mount target in the destination region which is used to export the file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    DestinationMountTargetId *string `mandatory:"true" json:"destinationMountTargetId"`
}

func (FileSystemExportMappingDetails) String

func (m FileSystemExportMappingDetails) String() string

func (FileSystemExportMappingDetails) ValidateEnumValue

func (m FileSystemExportMappingDetails) 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 FileSystemMountDetails

FileSystemMountDetails Mount details of a file system.

type FileSystemMountDetails struct {

    // The OCID of the mount target for this file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"true" json:"mountTargetId"`
}

func (FileSystemMountDetails) String

func (m FileSystemMountDetails) String() string

func (FileSystemMountDetails) ValidateEnumValue

func (m FileSystemMountDetails) 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 FileSystemUnmountDetails

FileSystemUnmountDetails Unmount details for a file system.

type FileSystemUnmountDetails struct {

    // The OCID of the mount target for this file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"true" json:"mountTargetId"`
}

func (FileSystemUnmountDetails) String

func (m FileSystemUnmountDetails) String() string

func (FileSystemUnmountDetails) ValidateEnumValue

func (m FileSystemUnmountDetails) 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

GetDrPlanExecutionRequest wrapper for the GetDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/GetDrPlanExecution.go.html to see an example of how to use GetDrPlanExecutionRequest.

type GetDrPlanExecutionRequest struct {

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

GetDrPlanExecutionResponse wrapper for the GetDrPlanExecution operation

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"`
}

func (GetDrPlanExecutionResponse) HTTPResponse

func (response GetDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrPlanExecutionResponse) String

func (response GetDrPlanExecutionResponse) String() string

type GetDrPlanRequest

GetDrPlanRequest wrapper for the GetDrPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/GetDrPlan.go.html to see an example of how to use GetDrPlanRequest.

type GetDrPlanRequest struct {

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    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
}

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

GetDrPlanResponse wrapper for the GetDrPlan operation

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"`
}

func (GetDrPlanResponse) HTTPResponse

func (response GetDrPlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrPlanResponse) String

func (response GetDrPlanResponse) String() string

type GetDrProtectionGroupRequest

GetDrProtectionGroupRequest wrapper for the GetDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/GetDrProtectionGroup.go.html to see an example of how to use GetDrProtectionGroupRequest.

type GetDrProtectionGroupRequest struct {

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

GetDrProtectionGroupResponse wrapper for the GetDrProtectionGroup operation

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"`
}

func (GetDrProtectionGroupResponse) HTTPResponse

func (response GetDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrProtectionGroupResponse) String

func (response GetDrProtectionGroupResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The ID (OCID) of the asynchronous request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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
}

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

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"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type IgnoreDrPlanExecutionDetails

IgnoreDrPlanExecutionDetails The details for ignoring a failed group or step.

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..uniqueID`
    GroupId *string `mandatory:"true" json:"groupId"`

    // The unique id of the step to ignore (optional). Only needed when ignoring a step.
    // Example: `sgid1.step..uniqueID`
    StepId *string `mandatory:"false" json:"stepId"`
}

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

IgnoreDrPlanExecutionRequest wrapper for the IgnoreDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/IgnoreDrPlanExecution.go.html to see an example of how to use IgnoreDrPlanExecutionRequest.

type IgnoreDrPlanExecutionRequest struct {

    // Details for ignoring the failed group or step and resuming execution.
    IgnoreDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

IgnoreDrPlanExecutionResponse wrapper for the IgnoreDrPlanExecution operation

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"`
}

func (IgnoreDrPlanExecutionResponse) HTTPResponse

func (response IgnoreDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (IgnoreDrPlanExecutionResponse) String

func (response IgnoreDrPlanExecutionResponse) String() string

type InvokeFunctionPrecheckStep

InvokeFunctionPrecheckStep Invoke Oracle function precheck step details.

type InvokeFunctionPrecheckStep struct {
}

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

InvokeFunctionStep Invoke Oracle function step details.

type InvokeFunctionStep struct {

    // The OCID of function to be invoked.
    // Example: `ocid1.fnfunc.oc1..uniqueID`
    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"`
}

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

ListDrPlanExecutionsDrPlanExecutionTypeEnum Enum with underlying type: string

type ListDrPlanExecutionsDrPlanExecutionTypeEnum string

Set of constants representing the allowable values for ListDrPlanExecutionsDrPlanExecutionTypeEnum

const (
    ListDrPlanExecutionsDrPlanExecutionTypeSwitchover         ListDrPlanExecutionsDrPlanExecutionTypeEnum = "SWITCHOVER"
    ListDrPlanExecutionsDrPlanExecutionTypeSwitchoverPrecheck ListDrPlanExecutionsDrPlanExecutionTypeEnum = "SWITCHOVER_PRECHECK"
    ListDrPlanExecutionsDrPlanExecutionTypeFailover           ListDrPlanExecutionsDrPlanExecutionTypeEnum = "FAILOVER"
    ListDrPlanExecutionsDrPlanExecutionTypeFailoverPrecheck   ListDrPlanExecutionsDrPlanExecutionTypeEnum = "FAILOVER_PRECHECK"
    ListDrPlanExecutionsDrPlanExecutionTypeStartDrill         ListDrPlanExecutionsDrPlanExecutionTypeEnum = "START_DRILL"
    ListDrPlanExecutionsDrPlanExecutionTypeStartDrillPrecheck ListDrPlanExecutionsDrPlanExecutionTypeEnum = "START_DRILL_PRECHECK"
    ListDrPlanExecutionsDrPlanExecutionTypeStopDrill          ListDrPlanExecutionsDrPlanExecutionTypeEnum = "STOP_DRILL"
    ListDrPlanExecutionsDrPlanExecutionTypeStopDrillPrecheck  ListDrPlanExecutionsDrPlanExecutionTypeEnum = "STOP_DRILL_PRECHECK"
)

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

ListDrPlanExecutionsLifecycleStateEnum Enum with underlying type: string

type ListDrPlanExecutionsLifecycleStateEnum string

Set of constants representing the allowable values for ListDrPlanExecutionsLifecycleStateEnum

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"
)

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

ListDrPlanExecutionsRequest wrapper for the ListDrPlanExecutions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListDrPlanExecutions.go.html to see an example of how to use ListDrPlanExecutionsRequest.

type ListDrPlanExecutionsRequest struct {

    // The OCID of the DR protection group. Mandatory query param.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" contributesTo:"query" name:"drProtectionGroupId"`

    // A filter to return only DR plan executions that match the given lifecycle state.
    LifecycleState ListDrPlanExecutionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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 given display name.
    // Example: `MyResourceDisplayName`
    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: `MyResourceDisplayName`
    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
}

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

ListDrPlanExecutionsResponse wrapper for the ListDrPlanExecutions operation

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"`
}

func (ListDrPlanExecutionsResponse) HTTPResponse

func (response ListDrPlanExecutionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrPlanExecutionsResponse) String

func (response ListDrPlanExecutionsResponse) String() string

type ListDrPlanExecutionsSortByEnum

ListDrPlanExecutionsSortByEnum Enum with underlying type: string

type ListDrPlanExecutionsSortByEnum string

Set of constants representing the allowable values for ListDrPlanExecutionsSortByEnum

const (
    ListDrPlanExecutionsSortByTimecreated ListDrPlanExecutionsSortByEnum = "timeCreated"
    ListDrPlanExecutionsSortByDisplayname ListDrPlanExecutionsSortByEnum = "displayName"
)

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

ListDrPlanExecutionsSortOrderEnum Enum with underlying type: string

type ListDrPlanExecutionsSortOrderEnum string

Set of constants representing the allowable values for ListDrPlanExecutionsSortOrderEnum

const (
    ListDrPlanExecutionsSortOrderAsc  ListDrPlanExecutionsSortOrderEnum = "ASC"
    ListDrPlanExecutionsSortOrderDesc ListDrPlanExecutionsSortOrderEnum = "DESC"
)

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

ListDrPlansDrPlanTypeEnum Enum with underlying type: string

type ListDrPlansDrPlanTypeEnum string

Set of constants representing the allowable values for ListDrPlansDrPlanTypeEnum

const (
    ListDrPlansDrPlanTypeSwitchover ListDrPlansDrPlanTypeEnum = "SWITCHOVER"
    ListDrPlansDrPlanTypeFailover   ListDrPlansDrPlanTypeEnum = "FAILOVER"
    ListDrPlansDrPlanTypeStartDrill ListDrPlansDrPlanTypeEnum = "START_DRILL"
    ListDrPlansDrPlanTypeStopDrill  ListDrPlansDrPlanTypeEnum = "STOP_DRILL"
)

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

ListDrPlansLifecycleStateEnum Enum with underlying type: string

type ListDrPlansLifecycleStateEnum string

Set of constants representing the allowable values for ListDrPlansLifecycleStateEnum

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"
)

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

ListDrPlansRequest wrapper for the ListDrPlans operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListDrPlans.go.html to see an example of how to use ListDrPlansRequest.

type ListDrPlansRequest struct {

    // The OCID of the DR protection group. Mandatory query param.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"true" contributesTo:"query" name:"drProtectionGroupId"`

    // A filter to return only DR plans that match the given lifecycle state.
    LifecycleState ListDrPlansLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    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 given display name.
    // Example: `MyResourceDisplayName`
    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: `MyResourceDisplayName`
    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
}

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

ListDrPlansResponse wrapper for the ListDrPlans operation

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"`
}

func (ListDrPlansResponse) HTTPResponse

func (response ListDrPlansResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrPlansResponse) String

func (response ListDrPlansResponse) String() string

type ListDrPlansSortByEnum

ListDrPlansSortByEnum Enum with underlying type: string

type ListDrPlansSortByEnum string

Set of constants representing the allowable values for ListDrPlansSortByEnum

const (
    ListDrPlansSortByTimecreated ListDrPlansSortByEnum = "timeCreated"
    ListDrPlansSortByDisplayname ListDrPlansSortByEnum = "displayName"
)

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

ListDrPlansSortOrderEnum Enum with underlying type: string

type ListDrPlansSortOrderEnum string

Set of constants representing the allowable values for ListDrPlansSortOrderEnum

const (
    ListDrPlansSortOrderAsc  ListDrPlansSortOrderEnum = "ASC"
    ListDrPlansSortOrderDesc ListDrPlansSortOrderEnum = "DESC"
)

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

ListDrProtectionGroupsLifecycleStateEnum Enum with underlying type: string

type ListDrProtectionGroupsLifecycleStateEnum string

Set of constants representing the allowable values for ListDrProtectionGroupsLifecycleStateEnum

const (
    ListDrProtectionGroupsLifecycleStateCreating       ListDrProtectionGroupsLifecycleStateEnum = "CREATING"
    ListDrProtectionGroupsLifecycleStateActive         ListDrProtectionGroupsLifecycleStateEnum = "ACTIVE"
    ListDrProtectionGroupsLifecycleStateUpdating       ListDrProtectionGroupsLifecycleStateEnum = "UPDATING"
    ListDrProtectionGroupsLifecycleStateInactive       ListDrProtectionGroupsLifecycleStateEnum = "INACTIVE"
    ListDrProtectionGroupsLifecycleStateNeedsAttention ListDrProtectionGroupsLifecycleStateEnum = "NEEDS_ATTENTION"
    ListDrProtectionGroupsLifecycleStateDeleting       ListDrProtectionGroupsLifecycleStateEnum = "DELETING"
    ListDrProtectionGroupsLifecycleStateDeleted        ListDrProtectionGroupsLifecycleStateEnum = "DELETED"
    ListDrProtectionGroupsLifecycleStateFailed         ListDrProtectionGroupsLifecycleStateEnum = "FAILED"
)

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 ListDrProtectionGroupsLifecycleSubStateEnum

ListDrProtectionGroupsLifecycleSubStateEnum Enum with underlying type: string

type ListDrProtectionGroupsLifecycleSubStateEnum string

Set of constants representing the allowable values for ListDrProtectionGroupsLifecycleSubStateEnum

const (
    ListDrProtectionGroupsLifecycleSubStateDrDrillInProgress ListDrProtectionGroupsLifecycleSubStateEnum = "DR_DRILL_IN_PROGRESS"
)

func GetListDrProtectionGroupsLifecycleSubStateEnumValues

func GetListDrProtectionGroupsLifecycleSubStateEnumValues() []ListDrProtectionGroupsLifecycleSubStateEnum

GetListDrProtectionGroupsLifecycleSubStateEnumValues Enumerates the set of values for ListDrProtectionGroupsLifecycleSubStateEnum

func GetMappingListDrProtectionGroupsLifecycleSubStateEnum

func GetMappingListDrProtectionGroupsLifecycleSubStateEnum(val string) (ListDrProtectionGroupsLifecycleSubStateEnum, bool)

GetMappingListDrProtectionGroupsLifecycleSubStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrProtectionGroupsRequest

ListDrProtectionGroupsRequest wrapper for the ListDrProtectionGroups operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListDrProtectionGroups.go.html to see an example of how to use ListDrProtectionGroupsRequest.

type ListDrProtectionGroupsRequest struct {

    // The ID (OCID) of the compartment in which to list resources.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only DR protection groups that match the given lifecycle state.
    LifecycleState ListDrProtectionGroupsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The OCID of the DR protection group. Optional query param.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    DrProtectionGroupId *string `mandatory:"false" contributesTo:"query" name:"drProtectionGroupId"`

    // A filter to return only resources that match the given display name.
    // Example: `MyResourceDisplayName`
    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: `MyResourceDisplayName`
    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"`

    // A filter to return only DR protection groups that match the given lifecycle sub-state.
    LifecycleSubState ListDrProtectionGroupsLifecycleSubStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleSubState" 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
}

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

ListDrProtectionGroupsResponse wrapper for the ListDrProtectionGroups operation

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"`
}

func (ListDrProtectionGroupsResponse) HTTPResponse

func (response ListDrProtectionGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrProtectionGroupsResponse) String

func (response ListDrProtectionGroupsResponse) String() string

type ListDrProtectionGroupsRoleEnum

ListDrProtectionGroupsRoleEnum Enum with underlying type: string

type ListDrProtectionGroupsRoleEnum string

Set of constants representing the allowable values for ListDrProtectionGroupsRoleEnum

const (
    ListDrProtectionGroupsRolePrimary      ListDrProtectionGroupsRoleEnum = "PRIMARY"
    ListDrProtectionGroupsRoleStandby      ListDrProtectionGroupsRoleEnum = "STANDBY"
    ListDrProtectionGroupsRoleUnconfigured ListDrProtectionGroupsRoleEnum = "UNCONFIGURED"
)

func GetListDrProtectionGroupsRoleEnumValues

func GetListDrProtectionGroupsRoleEnumValues() []ListDrProtectionGroupsRoleEnum

GetListDrProtectionGroupsRoleEnumValues Enumerates the set of values for ListDrProtectionGroupsRoleEnum

func GetMappingListDrProtectionGroupsRoleEnum

func GetMappingListDrProtectionGroupsRoleEnum(val string) (ListDrProtectionGroupsRoleEnum, bool)

GetMappingListDrProtectionGroupsRoleEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrProtectionGroupsSortByEnum

ListDrProtectionGroupsSortByEnum Enum with underlying type: string

type ListDrProtectionGroupsSortByEnum string

Set of constants representing the allowable values for ListDrProtectionGroupsSortByEnum

const (
    ListDrProtectionGroupsSortByTimecreated ListDrProtectionGroupsSortByEnum = "timeCreated"
    ListDrProtectionGroupsSortByDisplayname ListDrProtectionGroupsSortByEnum = "displayName"
)

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

ListDrProtectionGroupsSortOrderEnum Enum with underlying type: string

type ListDrProtectionGroupsSortOrderEnum string

Set of constants representing the allowable values for ListDrProtectionGroupsSortOrderEnum

const (
    ListDrProtectionGroupsSortOrderAsc  ListDrProtectionGroupsSortOrderEnum = "ASC"
    ListDrProtectionGroupsSortOrderDesc ListDrProtectionGroupsSortOrderEnum = "DESC"
)

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The ID (OCID) of the asynchronous request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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
}

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

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"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

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

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The ID (OCID) of the asynchronous request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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
}

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

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"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

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

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The ID (OCID) of the compartment in which to list resources.
    // Example: `ocid1.compartment.oc1..uniqueID`
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The ID (OCID) of the asynchronous work request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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..uniqueID`
    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
}

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

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"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

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

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

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

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

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"
)

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 LoadBalancerBackendSetMapping

LoadBalancerBackendSetMapping A backend set mapping between source and destination load balancer.

type LoadBalancerBackendSetMapping struct {

    // This flag specifies if this backend set is used for traffic for non-movable compute instances.
    // Backend sets that point to non-movable instances are only enabled or disabled during DR. For non-movable instances this flag should be set to 'true'.
    // Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer.  For movable instances this flag should be set to 'false'.
    // Example: `true`
    IsBackendSetForNonMovable *bool `mandatory:"true" json:"isBackendSetForNonMovable"`

    // The name of the source backend set.
    // Example: `My_Source_Backend_Set`
    SourceBackendSetName *string `mandatory:"true" json:"sourceBackendSetName"`

    // The name of the destination backend set.
    // Example: `My_Destination_Backend_Set`
    DestinationBackendSetName *string `mandatory:"true" json:"destinationBackendSetName"`
}

func (LoadBalancerBackendSetMapping) String

func (m LoadBalancerBackendSetMapping) String() string

func (LoadBalancerBackendSetMapping) ValidateEnumValue

func (m LoadBalancerBackendSetMapping) 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 LoadBalancerBackendSetMappingDetails

LoadBalancerBackendSetMappingDetails Create backend set mapping properties for a load balancer member.

type LoadBalancerBackendSetMappingDetails struct {

    // This flag specifies if this backend set is used for traffic for non-movable compute instances.
    // Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents
    // are not altered. For non-movable instances this flag should be set to 'true'.
    // Backend sets that point to movable instances are emptied and their contents are transferred to the
    // destination region load balancer.  For movable instances this flag should be set to 'false'.
    // Example: `true`
    IsBackendSetForNonMovable *bool `mandatory:"true" json:"isBackendSetForNonMovable"`

    // The name of the source backend set.
    // Example: `Source-BackendSet-1`
    SourceBackendSetName *string `mandatory:"true" json:"sourceBackendSetName"`

    // The name of the destination backend set.
    // Example: `Destination-BackendSet-1`
    DestinationBackendSetName *string `mandatory:"true" json:"destinationBackendSetName"`
}

func (LoadBalancerBackendSetMappingDetails) String

func (m LoadBalancerBackendSetMappingDetails) String() string

func (LoadBalancerBackendSetMappingDetails) ValidateEnumValue

func (m LoadBalancerBackendSetMappingDetails) 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 LocalScriptPrecheckStep

LocalScriptPrecheckStep Run local script precheck step details.

type LocalScriptPrecheckStep struct {
}

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 NetworkLoadBalancerBackendSetMapping

NetworkLoadBalancerBackendSetMapping A backend set mapping between source and destination network load balancer.

type NetworkLoadBalancerBackendSetMapping struct {

    // This flag specifies if this backend set is used for traffic for non-movable compute instances.
    // Backend sets that point to non-movable instances are only enabled or disabled during DR. For non-movable instances this flag should be set to 'true'.
    // Backend sets that point to movable instances are emptied and their contents are transferred to the destination region network load balancer.  For movable instances this flag should be set to 'false'.
    // Example: `true`
    IsBackendSetForNonMovable *bool `mandatory:"true" json:"isBackendSetForNonMovable"`

    // The name of the source backend set.
    // Example: `example_backend_set`
    SourceBackendSetName *string `mandatory:"true" json:"sourceBackendSetName"`

    // The name of the destination backend set.
    // Example: `example_backend_set`
    DestinationBackendSetName *string `mandatory:"true" json:"destinationBackendSetName"`
}

func (NetworkLoadBalancerBackendSetMapping) String

func (m NetworkLoadBalancerBackendSetMapping) String() string

func (NetworkLoadBalancerBackendSetMapping) ValidateEnumValue

func (m NetworkLoadBalancerBackendSetMapping) 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 NetworkLoadBalancerBackendSetMappingDetails

NetworkLoadBalancerBackendSetMappingDetails Create backend set mapping properties for a network load balancer member.

type NetworkLoadBalancerBackendSetMappingDetails struct {

    // This flag specifies if this backend set is used for traffic for non-movable compute instances.
    // Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents
    // are not altered. For non-movable instances this flag should be set to 'true'.
    // Backend sets that point to movable instances are emptied and their contents are transferred to the
    // destination region load balancer.  For movable instances this flag should be set to 'false'.
    // Example: `true`
    IsBackendSetForNonMovable *bool `mandatory:"true" json:"isBackendSetForNonMovable"`

    // The name of the source backend set.
    // Example: `Source-BackendSet-1`
    SourceBackendSetName *string `mandatory:"true" json:"sourceBackendSetName"`

    // The name of the destination backend set.
    // Example: `Destination-BackendSet-1`
    DestinationBackendSetName *string `mandatory:"true" json:"destinationBackendSetName"`
}

func (NetworkLoadBalancerBackendSetMappingDetails) String

func (m NetworkLoadBalancerBackendSetMappingDetails) String() string

func (NetworkLoadBalancerBackendSetMappingDetails) ValidateEnumValue

func (m NetworkLoadBalancerBackendSetMappingDetails) 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

ObjectStorageLogLocation The details of an object storage log location for a DR protection group.

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"`
}

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

ObjectStorageScriptLocation The details of an object storage script location for a user-defined step in a DR plan.

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"`
}

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

ObjectStoreScriptPrecheckStep Run object store script precheck step details.

type ObjectStoreScriptPrecheckStep struct {
}

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

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

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"
)

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

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

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"
)

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

PauseDrPlanExecutionDetails The details for pausing a DR plan execution.

type PauseDrPlanExecutionDetails struct {
}

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

PauseDrPlanExecutionRequest wrapper for the PauseDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/PauseDrPlanExecution.go.html to see an example of how to use PauseDrPlanExecutionRequest.

type PauseDrPlanExecutionRequest struct {

    // Details for pausing the DR plan execution.
    PauseDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

PauseDrPlanExecutionResponse wrapper for the PauseDrPlanExecution operation

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"`
}

func (PauseDrPlanExecutionResponse) HTTPResponse

func (response PauseDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PauseDrPlanExecutionResponse) String

func (response PauseDrPlanExecutionResponse) String() string

type ResumeDrPlanExecutionDetails

ResumeDrPlanExecutionDetails The details for resuming a DR plan execution.

type ResumeDrPlanExecutionDetails struct {
}

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

ResumeDrPlanExecutionRequest wrapper for the ResumeDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/ResumeDrPlanExecution.go.html to see an example of how to use ResumeDrPlanExecutionRequest.

type ResumeDrPlanExecutionRequest struct {

    // Details for resuming the DR plan execution.
    ResumeDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

ResumeDrPlanExecutionResponse wrapper for the ResumeDrPlanExecution operation

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"`
}

func (ResumeDrPlanExecutionResponse) HTTPResponse

func (response ResumeDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResumeDrPlanExecutionResponse) String

func (response ResumeDrPlanExecutionResponse) String() string

type RetryDrPlanExecutionDetails

RetryDrPlanExecutionDetails The details for retrying a failed group or step.

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..uniqueID`
    GroupId *string `mandatory:"true" json:"groupId"`

    // The unique id of the step to retry (optional). Only needed when retrying a step.
    // Example: `sgid1.step..uniqueID`
    StepId *string `mandatory:"false" json:"stepId"`
}

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

RetryDrPlanExecutionRequest wrapper for the RetryDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/RetryDrPlanExecution.go.html to see an example of how to use RetryDrPlanExecutionRequest.

type RetryDrPlanExecutionRequest struct {

    // Details for retrying execution of the failed group or step.
    RetryDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

RetryDrPlanExecutionResponse wrapper for the RetryDrPlanExecution operation

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"`
}

func (RetryDrPlanExecutionResponse) HTTPResponse

func (response RetryDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RetryDrPlanExecutionResponse) String

func (response RetryDrPlanExecutionResponse) String() string

type RunLocalScriptUserDefinedStep

RunLocalScriptUserDefinedStep Run Local Script step details.

type RunLocalScriptUserDefinedStep struct {

    // The OCID of the instance on which this script or command should be executed.
    // **For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the
    // instance is currently present.
    // **For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.
    // Example: `ocid1.instance.oc1..uniqueID`
    RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"`

    // The region in which the instance is present.
    // Example: `us-ashburn-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"`
}

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

RunObjectStoreScriptUserDefinedStep Run Object Store Script step details.

type RunObjectStoreScriptUserDefinedStep struct {

    // The OCID of the instance on which this script or command should be executed.
    // **For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the
    // instance is currently present.
    // **For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.
    // Example: `ocid1.instance.oc1..uniqueID`
    RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"`

    // The region of the instance where this script or command should be executed.
    // Example: `us-ashburn-1`
    RunOnInstanceRegion *string `mandatory:"true" json:"runOnInstanceRegion"`

    ObjectStorageScriptLocation *ObjectStorageScriptLocation `mandatory:"true" json:"objectStorageScriptLocation"`
}

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

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

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 StartDrillExecutionOptionDetails

StartDrillExecutionOptionDetails Options for start drill execution.

type StartDrillExecutionOptionDetails 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"`
}

func (StartDrillExecutionOptionDetails) MarshalJSON

func (m StartDrillExecutionOptionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StartDrillExecutionOptionDetails) String

func (m StartDrillExecutionOptionDetails) String() string

func (StartDrillExecutionOptionDetails) ValidateEnumValue

func (m StartDrillExecutionOptionDetails) 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 StartDrillExecutionOptions

StartDrillExecutionOptions Options for start drill execution.

type StartDrillExecutionOptions 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"`
}

func (StartDrillExecutionOptions) MarshalJSON

func (m StartDrillExecutionOptions) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StartDrillExecutionOptions) String

func (m StartDrillExecutionOptions) String() string

func (StartDrillExecutionOptions) ValidateEnumValue

func (m StartDrillExecutionOptions) 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 StartDrillPrecheckExecutionOptionDetails

StartDrillPrecheckExecutionOptionDetails Options for start drill precheck execution.

type StartDrillPrecheckExecutionOptionDetails struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `true`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

func (StartDrillPrecheckExecutionOptionDetails) MarshalJSON

func (m StartDrillPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StartDrillPrecheckExecutionOptionDetails) String

func (m StartDrillPrecheckExecutionOptionDetails) String() string

func (StartDrillPrecheckExecutionOptionDetails) ValidateEnumValue

func (m StartDrillPrecheckExecutionOptionDetails) 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 StartDrillPrecheckExecutionOptions

StartDrillPrecheckExecutionOptions Options for start drill precheck execution.

type StartDrillPrecheckExecutionOptions struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `false`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

func (StartDrillPrecheckExecutionOptions) MarshalJSON

func (m StartDrillPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StartDrillPrecheckExecutionOptions) String

func (m StartDrillPrecheckExecutionOptions) String() string

func (StartDrillPrecheckExecutionOptions) ValidateEnumValue

func (m StartDrillPrecheckExecutionOptions) 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 StopDrillExecutionOptionDetails

StopDrillExecutionOptionDetails Options for stop drill execution.

type StopDrillExecutionOptionDetails 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"`
}

func (StopDrillExecutionOptionDetails) MarshalJSON

func (m StopDrillExecutionOptionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StopDrillExecutionOptionDetails) String

func (m StopDrillExecutionOptionDetails) String() string

func (StopDrillExecutionOptionDetails) ValidateEnumValue

func (m StopDrillExecutionOptionDetails) 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 StopDrillExecutionOptions

StopDrillExecutionOptions Options for stop drill execution.

type StopDrillExecutionOptions struct {

    // A flag indicating whether a precheck 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"`
}

func (StopDrillExecutionOptions) MarshalJSON

func (m StopDrillExecutionOptions) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StopDrillExecutionOptions) String

func (m StopDrillExecutionOptions) String() string

func (StopDrillExecutionOptions) ValidateEnumValue

func (m StopDrillExecutionOptions) 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 StopDrillPrecheckExecutionOptionDetails

StopDrillPrecheckExecutionOptionDetails Options for stop drill precheck execution.

type StopDrillPrecheckExecutionOptionDetails struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `true`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

func (StopDrillPrecheckExecutionOptionDetails) MarshalJSON

func (m StopDrillPrecheckExecutionOptionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StopDrillPrecheckExecutionOptionDetails) String

func (m StopDrillPrecheckExecutionOptionDetails) String() string

func (StopDrillPrecheckExecutionOptionDetails) ValidateEnumValue

func (m StopDrillPrecheckExecutionOptionDetails) 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 StopDrillPrecheckExecutionOptions

StopDrillPrecheckExecutionOptions Options for stop drill precheck execution.

type StopDrillPrecheckExecutionOptions struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `false`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

func (StopDrillPrecheckExecutionOptions) MarshalJSON

func (m StopDrillPrecheckExecutionOptions) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (StopDrillPrecheckExecutionOptions) String

func (m StopDrillPrecheckExecutionOptions) String() string

func (StopDrillPrecheckExecutionOptions) ValidateEnumValue

func (m StopDrillPrecheckExecutionOptions) 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 SwitchoverExecutionOptionDetails

SwitchoverExecutionOptionDetails Options for switchover execution.

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"`
}

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

SwitchoverExecutionOptions Options for switchover execution.

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"`
}

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

SwitchoverPrecheckExecutionOptionDetails Options for switchover precheck execution.

type SwitchoverPrecheckExecutionOptionDetails struct {

    // A flag indicating whether warnings should be ignored during the switchover precheck.
    // Example: `true`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

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

SwitchoverPrecheckExecutionOptions Options for switchover precheck execution.

type SwitchoverPrecheckExecutionOptions struct {

    // A flag indicating whether warnings should be ignored during the precheck.
    // Example: `true`
    AreWarningsIgnored *bool `mandatory:"false" json:"areWarningsIgnored"`
}

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 UpdateBlockVolumeAttachmentDetails

UpdateBlockVolumeAttachmentDetails The details for attaching or detaching a block volume.

type UpdateBlockVolumeAttachmentDetails struct {

    // The OCID of the reference compute instance from which to obtain the attachment details for the volume.
    // This reference compute instance is from the peer DR protection group.
    // Example: `ocid1.instance.oc1..uniqueID`
    VolumeAttachmentReferenceInstanceId *string `mandatory:"false" json:"volumeAttachmentReferenceInstanceId"`
}

func (UpdateBlockVolumeAttachmentDetails) String

func (m UpdateBlockVolumeAttachmentDetails) String() string

func (UpdateBlockVolumeAttachmentDetails) ValidateEnumValue

func (m UpdateBlockVolumeAttachmentDetails) 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 UpdateBlockVolumeMountDetails

UpdateBlockVolumeMountDetails The details for updating the file system mount on a block volume.

type UpdateBlockVolumeMountDetails struct {

    // The physical mount point used for mounting the file system on a block volume.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"false" json:"mountPoint"`
}

func (UpdateBlockVolumeMountDetails) String

func (m UpdateBlockVolumeMountDetails) String() string

func (UpdateBlockVolumeMountDetails) ValidateEnumValue

func (m UpdateBlockVolumeMountDetails) 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 UpdateComputeInstanceMovableFileSystemOperationDetails

UpdateComputeInstanceMovableFileSystemOperationDetails The details for updating the operations performed on a file systems for movable compute instance.

type UpdateComputeInstanceMovableFileSystemOperationDetails struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    MountDetails *UpdateFileSystemMountDetails `mandatory:"true" json:"mountDetails"`

    UnmountDetails *UpdateFileSystemUnmountDetails `mandatory:"true" json:"unmountDetails"`
}

func (UpdateComputeInstanceMovableFileSystemOperationDetails) String

func (m UpdateComputeInstanceMovableFileSystemOperationDetails) String() string

func (UpdateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue

func (m UpdateComputeInstanceMovableFileSystemOperationDetails) 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 UpdateComputeInstanceNonMovableBlockVolumeOperationDetails

UpdateComputeInstanceNonMovableBlockVolumeOperationDetails The details for updating the operations performed on a block volume.

type UpdateComputeInstanceNonMovableBlockVolumeOperationDetails struct {

    // The OCID of the block volume.
    // Example: `ocid1.volume.oc1..uniqueID`
    BlockVolumeId *string `mandatory:"true" json:"blockVolumeId"`

    AttachmentDetails *UpdateBlockVolumeAttachmentDetails `mandatory:"false" json:"attachmentDetails"`

    MountDetails *UpdateBlockVolumeMountDetails `mandatory:"false" json:"mountDetails"`
}

func (UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) String

func (m UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) String() string

func (UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue

func (m UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) 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 UpdateComputeInstanceNonMovableFileSystemOperationDetails

UpdateComputeInstanceNonMovableFileSystemOperationDetails The details for updating the operations performed on a file systems for non-movable compute instance.

type UpdateComputeInstanceNonMovableFileSystemOperationDetails struct {

    // The export path of the file system.
    // Example: `/fs-export-path`
    ExportPath *string `mandatory:"true" json:"exportPath"`

    // The physical mount point of the file system on a host.
    // Example: `/mnt/yourmountpoint`
    MountPoint *string `mandatory:"true" json:"mountPoint"`

    // The OCID of mount target.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"true" json:"mountTargetId"`
}

func (UpdateComputeInstanceNonMovableFileSystemOperationDetails) String

func (m UpdateComputeInstanceNonMovableFileSystemOperationDetails) String() string

func (UpdateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue

func (m UpdateComputeInstanceNonMovableFileSystemOperationDetails) 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

UpdateDrPlanDetails The details for updating a DR plan.

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 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"`
}

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

UpdateDrPlanExecutionDetails The details for updating a DR plan exection.

type UpdateDrPlanExecutionDetails struct {

    // The display name of the DR protection group to update.
    // Example: `EBS IAD Group`
    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"`
}

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

UpdateDrPlanExecutionRequest wrapper for the UpdateDrPlanExecution operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/UpdateDrPlanExecution.go.html to see an example of how to use UpdateDrPlanExecutionRequest.

type UpdateDrPlanExecutionRequest struct {

    // Details for updating the DR plan execution.
    UpdateDrPlanExecutionDetails `contributesTo:"body"`

    // The OCID of the DR plan execution.
    // Example: `ocid1.drplanexecution.oc1..uniqueID`
    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
}

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

UpdateDrPlanExecutionResponse wrapper for the UpdateDrPlanExecution operation

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"`
}

func (UpdateDrPlanExecutionResponse) HTTPResponse

func (response UpdateDrPlanExecutionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrPlanExecutionResponse) String

func (response UpdateDrPlanExecutionResponse) String() string

type UpdateDrPlanGroupDetails

UpdateDrPlanGroupDetails The details for updating a group in a DR plan.

type UpdateDrPlanGroupDetails struct {

    // The unique id of the group. Must not be modified by user.
    // Example: `sgid1.group..uniqueID`
    Id *string `mandatory:"false" json:"id"`

    // The display name of the group.
    // Example: `My_GROUP_3 - EBS Start`
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The group type.
    // Example: `BUILT_IN`
    Type DrPlanGroupTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The list of steps in this group.
    Steps []UpdateDrPlanStepDetails `mandatory:"false" json:"steps"`
}

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

UpdateDrPlanRequest wrapper for the UpdateDrPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/UpdateDrPlan.go.html to see an example of how to use UpdateDrPlanRequest.

type UpdateDrPlanRequest struct {

    // Details for updating the DR plan.
    UpdateDrPlanDetails `contributesTo:"body"`

    // The OCID of the DR plan.
    // Example: `ocid1.drplan.oc1..uniqueID`
    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
}

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

UpdateDrPlanResponse wrapper for the UpdateDrPlan operation

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"`
}

func (UpdateDrPlanResponse) HTTPResponse

func (response UpdateDrPlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrPlanResponse) String

func (response UpdateDrPlanResponse) String() string

type UpdateDrPlanStepDetails

UpdateDrPlanStepDetails The details for updating a DR plan step.

type UpdateDrPlanStepDetails struct {

    // The unique id of the step.
    // Example: `sgid1.step..uniqueID`
    Id *string `mandatory:"false" json:"id"`

    // The display name of the 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"`
}

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

UpdateDrPlanUserDefinedStepDetails The details for updating a user-defined step in a DR plan.

type UpdateDrPlanUserDefinedStepDetails interface {
}

type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

UpdateDrPlanUserDefinedStepDetailsStepTypeEnum Enum with underlying type: string

type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum string

Set of constants representing the allowable values for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

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"
)

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

UpdateDrProtectionGroupDetails The details for updating a DR protection group.

type UpdateDrProtectionGroupDetails struct {

    // The display name of the DR protection group.
    // Example: `EBS PHX Group`
    DisplayName *string `mandatory:"false" json:"displayName"`

    LogLocation *UpdateObjectStorageLogLocationDetails `mandatory:"false" json:"logLocation"`

    // A list of DR protection group members.  When updating members, this list must contain all members being retained,
    // including added and updated members. The list must not contain deleted 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"`
}

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

UpdateDrProtectionGroupMemberAutonomousDatabaseDetails Update properties for an Autonomous Database Serverless member.

type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

UpdateDrProtectionGroupMemberComputeInstanceDetails Deprecated. Update properties for a compute instance member.

type UpdateDrProtectionGroupMemberComputeInstanceDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the 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 a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region on which the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`
}

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

UpdateDrProtectionGroupMemberComputeInstanceMovableDetails Update properties for a movable compute instance member.

type UpdateDrProtectionGroupMemberComputeInstanceMovableDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating if the compute instance should be moved to the same fault domain in the destination region.
    // The compute instance launch will fail if this flag is set to true and capacity is not available in the
    // specified fault domain in the destination region.
    // Example: `false`
    IsRetainFaultDomain *bool `mandatory:"false" json:"isRetainFaultDomain"`

    // The OCID of a capacity reservation in the destination region which will be used to launch
    // the compute instance.
    // Example: `ocid1.capacityreservation.oc1..uniqueID`
    DestinationCapacityReservationId *string `mandatory:"false" json:"destinationCapacityReservationId"`

    // A list of compute instance VNIC mappings.
    VnicMappings []ComputeInstanceMovableVnicMappingDetails `mandatory:"false" json:"vnicMappings"`

    // The OCID of a compartment in the destination region in which the compute instance
    // should be launched.
    // Example: `ocid1.compartment.oc1..uniqueID`
    DestinationCompartmentId *string `mandatory:"false" json:"destinationCompartmentId"`

    // The OCID of a dedicated VM host in the destination region where the compute instance
    // should be launched.
    // Example: `ocid1.dedicatedvmhost.oc1..uniqueID`
    DestinationDedicatedVmHostId *string `mandatory:"false" json:"destinationDedicatedVmHostId"`

    // A list of operations performed on file systems used by the compute instance.
    FileSystemOperations []UpdateComputeInstanceMovableFileSystemOperationDetails `mandatory:"false" json:"fileSystemOperations"`
}

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId

func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId() *string

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON

func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String

func (m UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String() string

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue

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

UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails Update properties for a non-movable compute instance member.

type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // A flag indicating whether the non-movable compute instance should be started and stopped during DR operations.
    // *Prechecks cannot be executed on stopped instances that are configured to be started.*
    IsStartStopEnabled *bool `mandatory:"false" json:"isStartStopEnabled"`

    // A list of operations performed on file systems used by the compute instance.
    FileSystemOperations []UpdateComputeInstanceNonMovableFileSystemOperationDetails `mandatory:"false" json:"fileSystemOperations"`

    // A list of operations performed on block volumes used by the compute instance.
    BlockVolumeOperations []UpdateComputeInstanceNonMovableBlockVolumeOperationDetails `mandatory:"false" json:"blockVolumeOperations"`
}

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId

func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId() *string

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON

func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String

func (m UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String() string

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue

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

UpdateDrProtectionGroupMemberDatabaseDetails Update properties for a Database (DBCS) member.

type UpdateDrProtectionGroupMemberDatabaseDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the vault secret where the database SYSDBA password is stored.
    // Example: `ocid1.vaultsecret.oc1..uniqueID`
    PasswordVaultSecretId *string `mandatory:"false" json:"passwordVaultSecretId"`
}

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

UpdateDrProtectionGroupMemberDetails Update properties for a member in a DR protection group.

type UpdateDrProtectionGroupMemberDetails interface {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    GetMemberId() *string
}

type UpdateDrProtectionGroupMemberFileSystemDetails

UpdateDrProtectionGroupMemberFileSystemDetails Update properties for a file system member.

type UpdateDrProtectionGroupMemberFileSystemDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The availability domain of the destination mount target.
    // Example: `BBTh:region-AD`
    DestinationAvailabilityDomain *string `mandatory:"false" json:"destinationAvailabilityDomain"`

    // A list of mappings between file system exports in the primary region and mount targets in the standby region.
    ExportMappings []FileSystemExportMappingDetails `mandatory:"false" json:"exportMappings"`
}

func (UpdateDrProtectionGroupMemberFileSystemDetails) GetMemberId

func (m UpdateDrProtectionGroupMemberFileSystemDetails) GetMemberId() *string

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberFileSystemDetails) MarshalJSON

func (m UpdateDrProtectionGroupMemberFileSystemDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberFileSystemDetails) String

func (m UpdateDrProtectionGroupMemberFileSystemDetails) String() string

func (UpdateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupMemberFileSystemDetails) 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 UpdateDrProtectionGroupMemberLoadBalancerDetails

UpdateDrProtectionGroupMemberLoadBalancerDetails Update properties for a load balancer member.

type UpdateDrProtectionGroupMemberLoadBalancerDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination load balancer.
    // Example: `ocid1.loadbalancer.oc1..uniqueID`
    DestinationLoadBalancerId *string `mandatory:"false" json:"destinationLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []LoadBalancerBackendSetMappingDetails `mandatory:"false" json:"backendSetMappings"`
}

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId

func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId() *string

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON

func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) String

func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) String() string

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupMemberLoadBalancerDetails) 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 UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails

UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails Update properties for a network load balancer member.

type UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`

    // The OCID of the destination network load balancer.
    // Example: `ocid1.networkloadbalancer.oc1..uniqueID`
    DestinationNetworkLoadBalancerId *string `mandatory:"false" json:"destinationNetworkLoadBalancerId"`

    // A list of backend set mappings that are used to transfer or update backends during DR.
    BackendSetMappings []NetworkLoadBalancerBackendSetMappingDetails `mandatory:"false" json:"backendSetMappings"`
}

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId

func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId() *string

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON

func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) String

func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) String() string

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) 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 UpdateDrProtectionGroupMemberVolumeGroupDetails

UpdateDrProtectionGroupMemberVolumeGroupDetails Update properties for a volume group member.

type UpdateDrProtectionGroupMemberVolumeGroupDetails struct {

    // The OCID of the member.
    // Example: `ocid1.database.oc1..uniqueID`
    MemberId *string `mandatory:"true" json:"memberId"`
}

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

UpdateDrProtectionGroupRequest wrapper for the UpdateDrProtectionGroup operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/UpdateDrProtectionGroup.go.html to see an example of how to use UpdateDrProtectionGroupRequest.

type UpdateDrProtectionGroupRequest struct {

    // Details for updating the the DR protection group.
    UpdateDrProtectionGroupDetails `contributesTo:"body"`

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

UpdateDrProtectionGroupResponse wrapper for the UpdateDrProtectionGroup operation

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"`
}

func (UpdateDrProtectionGroupResponse) HTTPResponse

func (response UpdateDrProtectionGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrProtectionGroupResponse) String

func (response UpdateDrProtectionGroupResponse) String() string

type UpdateDrProtectionGroupRoleDetails

UpdateDrProtectionGroupRoleDetails The details for updating the role of a DR protection group.

type UpdateDrProtectionGroupRoleDetails struct {

    // The new role of the DR protection group.
    Role DrProtectionGroupRoleEnum `mandatory:"true" json:"role"`
}

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

UpdateDrProtectionGroupRoleRequest wrapper for the UpdateDrProtectionGroupRole operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/disasterrecovery/UpdateDrProtectionGroupRole.go.html to see an example of how to use UpdateDrProtectionGroupRoleRequest.

type UpdateDrProtectionGroupRoleRequest struct {

    // The role details for the DR protection group to be updated.
    UpdateDrProtectionGroupRoleDetails `contributesTo:"body"`

    // The OCID of the DR protection group.
    // Example: `ocid1.drprotectiongroup.oc1..uniqueID`
    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
}

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

UpdateDrProtectionGroupRoleResponse wrapper for the UpdateDrProtectionGroupRole operation

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"`
}

func (UpdateDrProtectionGroupRoleResponse) HTTPResponse

func (response UpdateDrProtectionGroupRoleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrProtectionGroupRoleResponse) String

func (response UpdateDrProtectionGroupRoleResponse) String() string

type UpdateFileSystemMountDetails

UpdateFileSystemMountDetails The details for updating the mount properties of a file system.

type UpdateFileSystemMountDetails struct {

    // The OCID of the mount target for this file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"false" json:"mountTargetId"`
}

func (UpdateFileSystemMountDetails) String

func (m UpdateFileSystemMountDetails) String() string

func (UpdateFileSystemMountDetails) ValidateEnumValue

func (m UpdateFileSystemMountDetails) 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 UpdateFileSystemUnmountDetails

UpdateFileSystemUnmountDetails The details for updating the unmount properties of a file system.

type UpdateFileSystemUnmountDetails struct {

    // The OCID of the mount target for this file system.
    // Example: `ocid1.mounttarget.oc1..uniqueID`
    MountTargetId *string `mandatory:"false" json:"mountTargetId"`
}

func (UpdateFileSystemUnmountDetails) String

func (m UpdateFileSystemUnmountDetails) String() string

func (UpdateFileSystemUnmountDetails) ValidateEnumValue

func (m UpdateFileSystemUnmountDetails) 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 UpdateInvokeFunctionPrecheckStepDetails

UpdateInvokeFunctionPrecheckStepDetails The details for updating Invoke Oracle function precheck step.

type UpdateInvokeFunctionPrecheckStepDetails struct {
}

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

UpdateInvokeFunctionUserDefinedStepDetails The details for updating an Invoke Oracle Function step.

type UpdateInvokeFunctionUserDefinedStepDetails struct {

    // The OCID of function to be invoked.
    // Example: `ocid1.fnfunc.oc1..uniqueID`
    FunctionId *string `mandatory:"true" json:"functionId"`

    // The request body for the function.
    // Example: `{ "FnParam1", "FnParam2" }`
    RequestBody *string `mandatory:"false" json:"requestBody"`
}

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

UpdateLocalScriptPrecheckStepDetails The details for updating Run local script precheck step.

type UpdateLocalScriptPrecheckStepDetails struct {
}

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

UpdateObjectStorageLogLocationDetails The details for updating an object storage log location for a DR protection group.

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"`
}

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

UpdateObjectStorageScriptLocationDetails The details for updating an object storage script location for a user-defined step in a DR plan.

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"`
}

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

UpdateObjectStoreScriptPrecheckStepDetails The details for updating Run object store script precheck step.

type UpdateObjectStoreScriptPrecheckStepDetails struct {
}

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

UpdateRunLocalScriptUserDefinedStepDetails The details for updating a Run Local Script step.

type UpdateRunLocalScriptUserDefinedStepDetails struct {

    // The OCID of the instance on which this script or command should be executed.
    // **For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the
    // instance is currently present.
    // **For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.
    // Example: `ocid1.instance.oc1..uniqueID`
    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"`
}

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

UpdateRunObjectStoreScriptUserDefinedStepDetails The details for updating a Run Object Store Script step.

type UpdateRunObjectStoreScriptUserDefinedStepDetails struct {

    // The OCID of the instance on which this script or command should be executed.
    // **For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the
    // instance is currently present.
    // **For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.
    // Example: `ocid1.instance.oc1..uniqueID`
    RunOnInstanceId *string `mandatory:"true" json:"runOnInstanceId"`

    ObjectStorageScriptLocation *UpdateObjectStorageScriptLocationDetails `mandatory:"true" json:"objectStorageScriptLocation"`
}

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

WorkRequest Information on a work request.

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 OCID of the work request.
    // Example: `ocid1.drworkrequest.oc1..uniqueID`
    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..uniqueID`
    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"`
}

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

WorkRequestError An error associcated with a work request.

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"`
}

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

WorkRequestErrorCollection The results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // A list of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

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

WorkRequestLogEntry A log message related to the execution of a work request.

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"`
}

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

WorkRequestLogEntryCollection The results of a workRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // A list of workRequestLogEntries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

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

WorkRequestResource A resource created or operated on by a work request.

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..uniqueID`
    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"`
}

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

WorkRequestSummary The summary of a work request.

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 OCID of the work request.
    // Example: `ocid1.workrequest.oc1..uniqueID`
    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..uniqueID`
    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"`
}

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

WorkRequestSummaryCollection The results of a workRequestSummary search. Contains both WorkRequestSummary items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // A list of work request summaries.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

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