disasterrecovery

package
v65.63.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues

func GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues() []string

GetDisassociateDrProtectionGroupDetailsTypeEnumStringValues Enumerates the set of values in String for DisassociateDrProtectionGroupDetailsTypeEnum

func GetDrPlanExecutionControlDetailsActionTypeEnumStringValues

func GetDrPlanExecutionControlDetailsActionTypeEnumStringValues() []string

GetDrPlanExecutionControlDetailsActionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionControlDetailsActionTypeEnum

func GetDrPlanExecutionLifecycleStateEnumStringValues

func GetDrPlanExecutionLifecycleStateEnumStringValues() []string

GetDrPlanExecutionLifecycleStateEnumStringValues Enumerates the set of values in String for DrPlanExecutionLifecycleStateEnum

func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues

func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues() []string

GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

func GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues

func GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues() []string

GetDrPlanExecutionOptionsPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionOptionsPlanExecutionTypeEnum

func GetDrPlanExecutionTypeEnumStringValues

func GetDrPlanExecutionTypeEnumStringValues() []string

GetDrPlanExecutionTypeEnumStringValues Enumerates the set of values in String for DrPlanExecutionTypeEnum

func GetDrPlanGroupExecutionStatusEnumStringValues

func GetDrPlanGroupExecutionStatusEnumStringValues() []string

GetDrPlanGroupExecutionStatusEnumStringValues Enumerates the set of values in String for DrPlanGroupExecutionStatusEnum

func GetDrPlanGroupTypeEnumStringValues

func GetDrPlanGroupTypeEnumStringValues() []string

GetDrPlanGroupTypeEnumStringValues Enumerates the set of values in String for DrPlanGroupTypeEnum

func GetDrPlanLifecycleStateEnumStringValues

func GetDrPlanLifecycleStateEnumStringValues() []string

GetDrPlanLifecycleStateEnumStringValues Enumerates the set of values in String for DrPlanLifecycleStateEnum

func GetDrPlanStepErrorModeEnumStringValues

func GetDrPlanStepErrorModeEnumStringValues() []string

GetDrPlanStepErrorModeEnumStringValues Enumerates the set of values in String for DrPlanStepErrorModeEnum

func GetDrPlanStepExecutionStatusEnumStringValues

func GetDrPlanStepExecutionStatusEnumStringValues() []string

GetDrPlanStepExecutionStatusEnumStringValues Enumerates the set of values in String for DrPlanStepExecutionStatusEnum

func GetDrPlanStepTypeEnumStringValues

func GetDrPlanStepTypeEnumStringValues() []string

GetDrPlanStepTypeEnumStringValues Enumerates the set of values in String for DrPlanStepTypeEnum

func GetDrPlanTypeEnumStringValues

func GetDrPlanTypeEnumStringValues() []string

GetDrPlanTypeEnumStringValues Enumerates the set of values in String for DrPlanTypeEnum

func GetDrPlanUserDefinedStepStepTypeEnumStringValues

func GetDrPlanUserDefinedStepStepTypeEnumStringValues() []string

GetDrPlanUserDefinedStepStepTypeEnumStringValues Enumerates the set of values in String for DrPlanUserDefinedStepStepTypeEnum

func GetDrProtectionGroupLifecycleStateEnumStringValues

func GetDrProtectionGroupLifecycleStateEnumStringValues() []string

GetDrProtectionGroupLifecycleStateEnumStringValues Enumerates the set of values in String for DrProtectionGroupLifecycleStateEnum

func GetDrProtectionGroupLifecycleSubStateEnumStringValues added in v65.52.0

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 added in v65.52.0

func GetListDrProtectionGroupsLifecycleSubStateEnumStringValues() []string

GetListDrProtectionGroupsLifecycleSubStateEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsLifecycleSubStateEnum

func GetListDrProtectionGroupsRoleEnumStringValues added in v65.44.0

func GetListDrProtectionGroupsRoleEnumStringValues() []string

GetListDrProtectionGroupsRoleEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsRoleEnum

func GetListDrProtectionGroupsSortByEnumStringValues

func GetListDrProtectionGroupsSortByEnumStringValues() []string

GetListDrProtectionGroupsSortByEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsSortByEnum

func GetListDrProtectionGroupsSortOrderEnumStringValues

func GetListDrProtectionGroupsSortOrderEnumStringValues() []string

GetListDrProtectionGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListDrProtectionGroupsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues

func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues() []string

GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumStringValues Enumerates the set of values in String for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type AssociateDrProtectionGroupDetails

type AssociateDrProtectionGroupDetails struct {

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

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

func (AssociateDrProtectionGroupDetails) String

func (AssociateDrProtectionGroupDetails) ValidateEnumValue

func (m AssociateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssociateDrProtectionGroupRequest

type AssociateDrProtectionGroupRequest struct {

	// Details for creating an association between two DR protection groups.
	AssociateDrProtectionGroupDetails `contributesTo:"body"`

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

AssociateDrProtectionGroupRequest wrapper for the AssociateDrProtectionGroup operation

See also

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

func (AssociateDrProtectionGroupRequest) BinaryRequestBody

func (request AssociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AssociateDrProtectionGroupRequest) HTTPRequest

func (request AssociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AssociateDrProtectionGroupRequest) RetryPolicy

func (request AssociateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AssociateDrProtectionGroupRequest) String

func (request AssociateDrProtectionGroupRequest) String() string

func (AssociateDrProtectionGroupRequest) ValidateEnumValue

func (request AssociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssociateDrProtectionGroupResponse

type AssociateDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

AssociateDrProtectionGroupResponse wrapper for the AssociateDrProtectionGroup operation

func (AssociateDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AssociateDrProtectionGroupResponse) String

func (response AssociateDrProtectionGroupResponse) String() string

type BlockVolumeAttachmentDetails added in v65.52.0

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

BlockVolumeAttachmentDetails The details for attaching or detaching a block volume.

func (BlockVolumeAttachmentDetails) String added in v65.52.0

func (BlockVolumeAttachmentDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (BlockVolumeMountDetails) String added in v65.52.0

func (m BlockVolumeMountDetails) String() string

func (BlockVolumeMountDetails) ValidateEnumValue added in v65.52.0

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

type CancelDrPlanExecutionDetails struct {
}

CancelDrPlanExecutionDetails The details for cancelling a DR plan execution.

func (CancelDrPlanExecutionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CancelDrPlanExecutionDetails) String

func (CancelDrPlanExecutionDetails) ValidateEnumValue

func (m CancelDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelDrPlanExecutionRequest

type CancelDrPlanExecutionRequest struct {

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

CancelDrPlanExecutionRequest wrapper for the CancelDrPlanExecution operation

See also

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

func (CancelDrPlanExecutionRequest) BinaryRequestBody

func (request CancelDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelDrPlanExecutionRequest) HTTPRequest

func (request CancelDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelDrPlanExecutionRequest) RetryPolicy

func (request CancelDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelDrPlanExecutionRequest) String

func (request CancelDrPlanExecutionRequest) String() string

func (CancelDrPlanExecutionRequest) ValidateEnumValue

func (request CancelDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelDrPlanExecutionResponse

type CancelDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelDrPlanExecutionResponse wrapper for the CancelDrPlanExecution operation

func (CancelDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelDrPlanExecutionResponse) String

func (response CancelDrPlanExecutionResponse) String() string

type CancelWorkRequestRequest

type CancelWorkRequestRequest struct {

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

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

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

func (CancelWorkRequestRequest) BinaryRequestBody

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse

type CancelWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeDrProtectionGroupCompartmentDetails

type ChangeDrProtectionGroupCompartmentDetails struct {

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

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

func (ChangeDrProtectionGroupCompartmentDetails) String

func (ChangeDrProtectionGroupCompartmentDetails) ValidateEnumValue

func (m ChangeDrProtectionGroupCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDrProtectionGroupCompartmentRequest

type ChangeDrProtectionGroupCompartmentRequest struct {

	// Details 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
}

ChangeDrProtectionGroupCompartmentRequest wrapper for the ChangeDrProtectionGroupCompartment operation

See also

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

func (ChangeDrProtectionGroupCompartmentRequest) BinaryRequestBody

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

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeDrProtectionGroupCompartmentRequest) String

func (ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue

func (request ChangeDrProtectionGroupCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDrProtectionGroupCompartmentResponse

type ChangeDrProtectionGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeDrProtectionGroupCompartmentResponse wrapper for the ChangeDrProtectionGroupCompartment operation

func (ChangeDrProtectionGroupCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeDrProtectionGroupCompartmentResponse) String

type ComputeInstanceMovableFileSystemOperation added in v65.52.0

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

ComputeInstanceMovableFileSystemOperation The details of operations performed on a file system.

func (ComputeInstanceMovableFileSystemOperation) String added in v65.52.0

func (ComputeInstanceMovableFileSystemOperation) ValidateEnumValue added in v65.52.0

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 added in v65.44.0

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

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

func (ComputeInstanceMovableVnicMapping) String added in v65.44.0

func (ComputeInstanceMovableVnicMapping) ValidateEnumValue added in v65.44.0

func (m ComputeInstanceMovableVnicMapping) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ComputeInstanceMovableVnicMappingDetails added in v65.44.0

type ComputeInstanceMovableVnicMappingDetails struct {

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

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

func (ComputeInstanceMovableVnicMappingDetails) String added in v65.44.0

func (ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue added in v65.44.0

func (m ComputeInstanceMovableVnicMappingDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ComputeInstanceNonMovableBlockVolumeOperation added in v65.52.0

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

ComputeInstanceNonMovableBlockVolumeOperation The details of operations performed on a block volume.

func (ComputeInstanceNonMovableBlockVolumeOperation) String added in v65.52.0

func (ComputeInstanceNonMovableBlockVolumeOperation) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

ComputeInstanceNonMovableFileSystemOperation The details of operations performed on a file system.

func (ComputeInstanceNonMovableFileSystemOperation) String added in v65.52.0

func (ComputeInstanceNonMovableFileSystemOperation) ValidateEnumValue added in v65.52.0

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

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

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

func (ComputeInstanceVnicMapping) String

func (ComputeInstanceVnicMapping) ValidateEnumValue

func (m ComputeInstanceVnicMapping) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ComputeInstanceVnicMappingDetails

type ComputeInstanceVnicMappingDetails struct {

	// The OCID of the VNIC.
	// Example: `ocid1.vnic.oc1..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"`
}

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

func (ComputeInstanceVnicMappingDetails) 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 added in v65.52.0

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

CreateBlockVolumeAttachmentDetails The details for creating a block volume attachment.

func (CreateBlockVolumeAttachmentDetails) String added in v65.52.0

func (CreateBlockVolumeAttachmentDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (CreateBlockVolumeMountDetails) String added in v65.52.0

func (CreateBlockVolumeMountDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (CreateComputeInstanceMovableFileSystemOperationDetails) String added in v65.52.0

func (CreateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

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

func (CreateComputeInstanceNonMovableBlockVolumeOperationDetails) String added in v65.52.0

func (CreateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

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

func (CreateComputeInstanceNonMovableFileSystemOperationDetails) String added in v65.52.0

func (CreateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrPlanDetails

type CreateDrPlanDetails struct {

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

	// The type of DR plan to be created.
	Type DrPlanTypeEnum `mandatory:"true" json:"type"`

	// The OCID of the DR protection group to which this DR plan belongs.
	// Example: `ocid1.drprotectiongroup.oc1..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"`
}

CreateDrPlanDetails The details for creating a DR plan.

func (CreateDrPlanDetails) String

func (m CreateDrPlanDetails) String() string

func (CreateDrPlanDetails) ValidateEnumValue

func (m CreateDrPlanDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrPlanExecutionDetails

type CreateDrPlanExecutionDetails struct {

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

CreateDrPlanExecutionDetails The details for creating a DR plan execution.

func (CreateDrPlanExecutionDetails) String

func (*CreateDrPlanExecutionDetails) UnmarshalJSON

func (m *CreateDrPlanExecutionDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDrPlanExecutionDetails) ValidateEnumValue

func (m CreateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrPlanExecutionRequest

type CreateDrPlanExecutionRequest struct {

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

CreateDrPlanExecutionRequest wrapper for the CreateDrPlanExecution operation

See also

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

func (CreateDrPlanExecutionRequest) BinaryRequestBody

func (request CreateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrPlanExecutionRequest) HTTPRequest

func (request CreateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrPlanExecutionRequest) RetryPolicy

func (request CreateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrPlanExecutionRequest) String

func (request CreateDrPlanExecutionRequest) String() string

func (CreateDrPlanExecutionRequest) ValidateEnumValue

func (request CreateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrPlanExecutionResponse

type CreateDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrPlanExecution instance
	DrPlanExecution `presentIn:"body"`

	// A URI for the new resource which was created by the request.
	Location *string `presentIn:"header" name:"location"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateDrPlanExecutionResponse wrapper for the CreateDrPlanExecution operation

func (CreateDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDrPlanExecutionResponse) String

func (response CreateDrPlanExecutionResponse) String() string

type CreateDrPlanRequest

type CreateDrPlanRequest struct {

	// Details for creating the new DR plan.
	CreateDrPlanDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateDrPlanRequest wrapper for the CreateDrPlan operation

See also

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

func (CreateDrPlanRequest) BinaryRequestBody

func (request CreateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrPlanRequest) HTTPRequest

func (request CreateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrPlanRequest) RetryPolicy

func (request CreateDrPlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrPlanRequest) String

func (request CreateDrPlanRequest) String() string

func (CreateDrPlanRequest) ValidateEnumValue

func (request CreateDrPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrPlanResponse

type CreateDrPlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrPlan instance
	DrPlan `presentIn:"body"`

	// A URI for the new resource which was created by the request.
	Location *string `presentIn:"header" name:"location"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateDrPlanResponse wrapper for the CreateDrPlan operation

func (CreateDrPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDrPlanResponse) String

func (response CreateDrPlanResponse) String() string

type CreateDrProtectionGroupDetails

type CreateDrProtectionGroupDetails struct {

	// The OCID of the compartment in which to create the DR protection group.
	// Example: `ocid1.compartment.oc1..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"`
}

CreateDrProtectionGroupDetails The details for creating a DR protection group.

func (CreateDrProtectionGroupDetails) String

func (*CreateDrProtectionGroupDetails) UnmarshalJSON

func (m *CreateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDrProtectionGroupDetails) ValidateEnumValue

func (m CreateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberAutonomousDatabaseDetails

type CreateDrProtectionGroupMemberAutonomousDatabaseDetails struct {

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

CreateDrProtectionGroupMemberAutonomousDatabaseDetails Create properties for an Autonomous Database Serverless member.

func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) String

func (CreateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberComputeInstanceDetails

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

CreateDrProtectionGroupMemberComputeInstanceDetails Deprecated. Create properties for a compute instance member.

func (CreateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberComputeInstanceDetails) String

func (CreateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberComputeInstanceMovableDetails added in v65.44.0

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

CreateDrProtectionGroupMemberComputeInstanceMovableDetails Create properties for a movable compute instance member.

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON added in v65.44.0

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) String added in v65.44.0

func (CreateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue added in v65.44.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails added in v65.44.0

type CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

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

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON added in v65.44.0

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String added in v65.44.0

func (CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue added in v65.44.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberDatabaseDetails

type CreateDrProtectionGroupMemberDatabaseDetails struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

CreateDrProtectionGroupMemberDatabaseDetails Create properties for a Database (DBCS) member.

func (CreateDrProtectionGroupMemberDatabaseDetails) GetMemberId

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberDatabaseDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberDatabaseDetails) String

func (CreateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue

func (m CreateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupMemberDetails

type CreateDrProtectionGroupMemberDetails interface {

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

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

type CreateDrProtectionGroupMemberFileSystemDetails added in v65.52.0

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

CreateDrProtectionGroupMemberFileSystemDetails Create properties for a file system member.

func (CreateDrProtectionGroupMemberFileSystemDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberFileSystemDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberFileSystemDetails) String added in v65.52.0

func (CreateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

CreateDrProtectionGroupMemberLoadBalancerDetails Create properties for a load balancer member.

func (CreateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberLoadBalancerDetails) String added in v65.52.0

func (CreateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

CreateDrProtectionGroupMemberNetworkLoadBalancerDetails Create properties for a network load balancer member.

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON added in v65.52.0

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) String added in v65.52.0

func (CreateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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

type CreateDrProtectionGroupMemberVolumeGroupDetails struct {

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

CreateDrProtectionGroupMemberVolumeGroupDetails Create properties for a volume group member.

func (CreateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId

GetMemberId returns MemberId

func (CreateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateDrProtectionGroupMemberVolumeGroupDetails) String

func (CreateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

CreateDrProtectionGroupRequest wrapper for the CreateDrProtectionGroup operation

See also

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

func (CreateDrProtectionGroupRequest) BinaryRequestBody

func (request CreateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrProtectionGroupRequest) HTTPRequest

func (request CreateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrProtectionGroupRequest) RetryPolicy

func (request CreateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrProtectionGroupRequest) String

func (request CreateDrProtectionGroupRequest) String() string

func (CreateDrProtectionGroupRequest) ValidateEnumValue

func (request CreateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateDrProtectionGroupResponse

type CreateDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrProtectionGroup instance
	DrProtectionGroup `presentIn:"body"`

	// A URI for the new resource which was created by the request.
	Location *string `presentIn:"header" name:"location"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateDrProtectionGroupResponse wrapper for the CreateDrProtectionGroup operation

func (CreateDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDrProtectionGroupResponse) String

func (response CreateDrProtectionGroupResponse) String() string

type CreateFileSystemMountDetails added in v65.52.0

type CreateFileSystemMountDetails struct {

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

CreateFileSystemMountDetails The details for creating a file system mount.

func (CreateFileSystemMountDetails) String added in v65.52.0

func (CreateFileSystemMountDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type CreateFileSystemUnmountDetails struct {

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

CreateFileSystemUnmountDetails The details for creating a file system unmount.

func (CreateFileSystemUnmountDetails) String added in v65.52.0

func (CreateFileSystemUnmountDetails) ValidateEnumValue added in v65.52.0

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

type CreateObjectStorageLogLocationDetails struct {

	// The namespace in object storage (Note - this is usually the tenancy name).
	// Example: `myocitenancy`
	Namespace *string `mandatory:"true" json:"namespace"`

	// The bucket name inside the object storage namespace.
	// Example: `operation_logs`
	Bucket *string `mandatory:"true" json:"bucket"`
}

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

func (CreateObjectStorageLogLocationDetails) String

func (CreateObjectStorageLogLocationDetails) ValidateEnumValue

func (m CreateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDrPlanExecutionRequest

type DeleteDrPlanExecutionRequest struct {

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

DeleteDrPlanExecutionRequest wrapper for the DeleteDrPlanExecution operation

See also

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

func (DeleteDrPlanExecutionRequest) BinaryRequestBody

func (request DeleteDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrPlanExecutionRequest) HTTPRequest

func (request DeleteDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrPlanExecutionRequest) RetryPolicy

func (request DeleteDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrPlanExecutionRequest) String

func (request DeleteDrPlanExecutionRequest) String() string

func (DeleteDrPlanExecutionRequest) ValidateEnumValue

func (request DeleteDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDrPlanExecutionResponse

type DeleteDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDrPlanExecutionResponse wrapper for the DeleteDrPlanExecution operation

func (DeleteDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDrPlanExecutionResponse) String

func (response DeleteDrPlanExecutionResponse) String() string

type DeleteDrPlanRequest

type DeleteDrPlanRequest struct {

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

DeleteDrPlanRequest wrapper for the DeleteDrPlan operation

See also

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

func (DeleteDrPlanRequest) BinaryRequestBody

func (request DeleteDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrPlanRequest) HTTPRequest

func (request DeleteDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrPlanRequest) RetryPolicy

func (request DeleteDrPlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrPlanRequest) String

func (request DeleteDrPlanRequest) String() string

func (DeleteDrPlanRequest) ValidateEnumValue

func (request DeleteDrPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDrPlanResponse

type DeleteDrPlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDrPlanResponse wrapper for the DeleteDrPlan operation

func (DeleteDrPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDrPlanResponse) String

func (response DeleteDrPlanResponse) String() string

type DeleteDrProtectionGroupRequest

type DeleteDrProtectionGroupRequest struct {

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

DeleteDrProtectionGroupRequest wrapper for the DeleteDrProtectionGroup operation

See also

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

func (DeleteDrProtectionGroupRequest) BinaryRequestBody

func (request DeleteDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrProtectionGroupRequest) HTTPRequest

func (request DeleteDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrProtectionGroupRequest) RetryPolicy

func (request DeleteDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrProtectionGroupRequest) String

func (request DeleteDrProtectionGroupRequest) String() string

func (DeleteDrProtectionGroupRequest) ValidateEnumValue

func (request DeleteDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteDrProtectionGroupResponse

type DeleteDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDrProtectionGroupResponse wrapper for the DeleteDrProtectionGroup operation

func (DeleteDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDrProtectionGroupResponse) String

func (response DeleteDrProtectionGroupResponse) String() string

type DisassociateDrProtectionGroupDefaultDetails

type DisassociateDrProtectionGroupDefaultDetails struct {
}

DisassociateDrProtectionGroupDefaultDetails The default type.

func (DisassociateDrProtectionGroupDefaultDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (DisassociateDrProtectionGroupDefaultDetails) String

func (DisassociateDrProtectionGroupDefaultDetails) ValidateEnumValue

func (m DisassociateDrProtectionGroupDefaultDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DisassociateDrProtectionGroupDetails

type DisassociateDrProtectionGroupDetails interface {
}

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

type DisassociateDrProtectionGroupDetailsTypeEnum

type DisassociateDrProtectionGroupDetailsTypeEnum string

DisassociateDrProtectionGroupDetailsTypeEnum Enum with underlying type: string

const (
	DisassociateDrProtectionGroupDetailsTypeDefault DisassociateDrProtectionGroupDetailsTypeEnum = "DEFAULT"
)

Set of constants representing the allowable values for DisassociateDrProtectionGroupDetailsTypeEnum

func GetDisassociateDrProtectionGroupDetailsTypeEnumValues

func GetDisassociateDrProtectionGroupDetailsTypeEnumValues() []DisassociateDrProtectionGroupDetailsTypeEnum

GetDisassociateDrProtectionGroupDetailsTypeEnumValues Enumerates the set of values for DisassociateDrProtectionGroupDetailsTypeEnum

func GetMappingDisassociateDrProtectionGroupDetailsTypeEnum

func GetMappingDisassociateDrProtectionGroupDetailsTypeEnum(val string) (DisassociateDrProtectionGroupDetailsTypeEnum, bool)

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

type DisassociateDrProtectionGroupRequest

type DisassociateDrProtectionGroupRequest struct {

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

DisassociateDrProtectionGroupRequest wrapper for the DisassociateDrProtectionGroup operation

See also

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

func (DisassociateDrProtectionGroupRequest) BinaryRequestBody

func (request DisassociateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DisassociateDrProtectionGroupRequest) HTTPRequest

func (request DisassociateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DisassociateDrProtectionGroupRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DisassociateDrProtectionGroupRequest) String

func (DisassociateDrProtectionGroupRequest) ValidateEnumValue

func (request DisassociateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DisassociateDrProtectionGroupResponse

type DisassociateDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DisassociateDrProtectionGroupResponse wrapper for the DisassociateDrProtectionGroup operation

func (DisassociateDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DisassociateDrProtectionGroupResponse) String

type DisasterRecoveryClient

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

DisasterRecoveryClient a client for DisasterRecovery

func NewDisasterRecoveryClientWithConfigurationProvider

func NewDisasterRecoveryClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DisasterRecoveryClient, err error)

NewDisasterRecoveryClientWithConfigurationProvider Creates a new default DisasterRecovery client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewDisasterRecoveryClientWithOboToken

func NewDisasterRecoveryClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DisasterRecoveryClient, err error)

NewDisasterRecoveryClientWithOboToken Creates a new default DisasterRecovery client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (DisasterRecoveryClient) AssociateDrProtectionGroup

func (client DisasterRecoveryClient) AssociateDrProtectionGroup(ctx context.Context, request AssociateDrProtectionGroupRequest) (response AssociateDrProtectionGroupResponse, err error)

AssociateDrProtectionGroup Create an association between the DR protection group identified by *drProtectionGroupId* and another DR protection group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/AssociateDrProtectionGroup.go.html to see an example of how to use AssociateDrProtectionGroup API. A default retry strategy applies to this operation AssociateDrProtectionGroup()

func (DisasterRecoveryClient) CancelDrPlanExecution

func (client DisasterRecoveryClient) CancelDrPlanExecution(ctx context.Context, request CancelDrPlanExecutionRequest) (response CancelDrPlanExecutionResponse, err error)

CancelDrPlanExecution Cancel the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelDrPlanExecution.go.html to see an example of how to use CancelDrPlanExecution API. A default retry strategy applies to this operation CancelDrPlanExecution()

func (DisasterRecoveryClient) CancelWorkRequest

func (client DisasterRecoveryClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancel the work request identified by *workRequestId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (DisasterRecoveryClient) ChangeDrProtectionGroupCompartment

func (client DisasterRecoveryClient) ChangeDrProtectionGroupCompartment(ctx context.Context, request ChangeDrProtectionGroupCompartmentRequest) (response ChangeDrProtectionGroupCompartmentResponse, err error)

ChangeDrProtectionGroupCompartment Move the DR protection group identified by *drProtectionGroupId* to a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ChangeDrProtectionGroupCompartment.go.html to see an example of how to use ChangeDrProtectionGroupCompartment API. A default retry strategy applies to this operation ChangeDrProtectionGroupCompartment()

func (*DisasterRecoveryClient) ConfigurationProvider

func (client *DisasterRecoveryClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DisasterRecoveryClient) CreateDrPlan

func (client DisasterRecoveryClient) CreateDrPlan(ctx context.Context, request CreateDrPlanRequest) (response CreateDrPlanResponse, err error)

CreateDrPlan 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/latest/disasterrecovery/CreateDrPlan.go.html to see an example of how to use CreateDrPlan API. A default retry strategy applies to this operation CreateDrPlan()

func (DisasterRecoveryClient) CreateDrPlanExecution

func (client DisasterRecoveryClient) CreateDrPlanExecution(ctx context.Context, request CreateDrPlanExecutionRequest) (response CreateDrPlanExecutionResponse, err error)

CreateDrPlanExecution Execute a DR plan for a DR protection group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrPlanExecution.go.html to see an example of how to use CreateDrPlanExecution API. A default retry strategy applies to this operation CreateDrPlanExecution()

func (DisasterRecoveryClient) CreateDrProtectionGroup

func (client DisasterRecoveryClient) CreateDrProtectionGroup(ctx context.Context, request CreateDrProtectionGroupRequest) (response CreateDrProtectionGroupResponse, err error)

CreateDrProtectionGroup Create a DR protection group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/CreateDrProtectionGroup.go.html to see an example of how to use CreateDrProtectionGroup API. A default retry strategy applies to this operation CreateDrProtectionGroup()

func (DisasterRecoveryClient) DeleteDrPlan

func (client DisasterRecoveryClient) DeleteDrPlan(ctx context.Context, request DeleteDrPlanRequest) (response DeleteDrPlanResponse, err error)

DeleteDrPlan Delete the DR plan identified by *drPlanId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlan.go.html to see an example of how to use DeleteDrPlan API. A default retry strategy applies to this operation DeleteDrPlan()

func (DisasterRecoveryClient) DeleteDrPlanExecution

func (client DisasterRecoveryClient) DeleteDrPlanExecution(ctx context.Context, request DeleteDrPlanExecutionRequest) (response DeleteDrPlanExecutionResponse, err error)

DeleteDrPlanExecution Delete the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrPlanExecution.go.html to see an example of how to use DeleteDrPlanExecution API. A default retry strategy applies to this operation DeleteDrPlanExecution()

func (DisasterRecoveryClient) DeleteDrProtectionGroup

func (client DisasterRecoveryClient) DeleteDrProtectionGroup(ctx context.Context, request DeleteDrProtectionGroupRequest) (response DeleteDrProtectionGroupResponse, err error)

DeleteDrProtectionGroup Delete the DR protection group identified by *drProtectionGroupId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DeleteDrProtectionGroup.go.html to see an example of how to use DeleteDrProtectionGroup API. A default retry strategy applies to this operation DeleteDrProtectionGroup()

func (DisasterRecoveryClient) DisassociateDrProtectionGroup

func (client DisasterRecoveryClient) DisassociateDrProtectionGroup(ctx context.Context, request DisassociateDrProtectionGroupRequest) (response DisassociateDrProtectionGroupResponse, err error)

DisassociateDrProtectionGroup Delete the association between the DR protection group identified by *drProtectionGroupId*. and its peer DR protection group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/DisassociateDrProtectionGroup.go.html to see an example of how to use DisassociateDrProtectionGroup API. A default retry strategy applies to this operation DisassociateDrProtectionGroup()

func (DisasterRecoveryClient) GetDrPlan

func (client DisasterRecoveryClient) GetDrPlan(ctx context.Context, request GetDrPlanRequest) (response GetDrPlanResponse, err error)

GetDrPlan Get details for the DR plan identified by *drPlanId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlan.go.html to see an example of how to use GetDrPlan API. A default retry strategy applies to this operation GetDrPlan()

func (DisasterRecoveryClient) GetDrPlanExecution

func (client DisasterRecoveryClient) GetDrPlanExecution(ctx context.Context, request GetDrPlanExecutionRequest) (response GetDrPlanExecutionResponse, err error)

GetDrPlanExecution Get details for the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrPlanExecution.go.html to see an example of how to use GetDrPlanExecution API. A default retry strategy applies to this operation GetDrPlanExecution()

func (DisasterRecoveryClient) GetDrProtectionGroup

func (client DisasterRecoveryClient) GetDrProtectionGroup(ctx context.Context, request GetDrProtectionGroupRequest) (response GetDrProtectionGroupResponse, err error)

GetDrProtectionGroup Get the DR protection group identified by *drProtectionGroupId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetDrProtectionGroup.go.html to see an example of how to use GetDrProtectionGroup API. A default retry strategy applies to this operation GetDrProtectionGroup()

func (DisasterRecoveryClient) GetWorkRequest

func (client DisasterRecoveryClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Get the status of the work request identified by *workRequestId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (DisasterRecoveryClient) IgnoreDrPlanExecution

func (client DisasterRecoveryClient) IgnoreDrPlanExecution(ctx context.Context, request IgnoreDrPlanExecutionRequest) (response IgnoreDrPlanExecutionResponse, err error)

IgnoreDrPlanExecution Ignore 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/latest/disasterrecovery/IgnoreDrPlanExecution.go.html to see an example of how to use IgnoreDrPlanExecution API. A default retry strategy applies to this operation IgnoreDrPlanExecution()

func (DisasterRecoveryClient) ListDrPlanExecutions

func (client DisasterRecoveryClient) ListDrPlanExecutions(ctx context.Context, request ListDrPlanExecutionsRequest) (response ListDrPlanExecutionsResponse, err error)

ListDrPlanExecutions Get a summary list of all DR plan executions for a DR protection group.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListDrPlanExecutions.go.html to see an example of how to use ListDrPlanExecutions API. A default retry strategy applies to this operation ListDrPlanExecutions()

func (DisasterRecoveryClient) ListDrPlans

func (client DisasterRecoveryClient) ListDrPlans(ctx context.Context, request ListDrPlansRequest) (response ListDrPlansResponse, err error)

ListDrPlans 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/latest/disasterrecovery/ListDrPlans.go.html to see an example of how to use ListDrPlans API. A default retry strategy applies to this operation ListDrPlans()

func (DisasterRecoveryClient) ListDrProtectionGroups

func (client DisasterRecoveryClient) ListDrProtectionGroups(ctx context.Context, request ListDrProtectionGroupsRequest) (response ListDrProtectionGroupsResponse, err error)

ListDrProtectionGroups 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/latest/disasterrecovery/ListDrProtectionGroups.go.html to see an example of how to use ListDrProtectionGroups API. A default retry strategy applies to this operation ListDrProtectionGroups()

func (DisasterRecoveryClient) ListWorkRequestErrors

func (client DisasterRecoveryClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors 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/latest/disasterrecovery/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (DisasterRecoveryClient) ListWorkRequestLogs

func (client DisasterRecoveryClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs 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/latest/disasterrecovery/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (DisasterRecoveryClient) ListWorkRequests

func (client DisasterRecoveryClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (DisasterRecoveryClient) PauseDrPlanExecution

func (client DisasterRecoveryClient) PauseDrPlanExecution(ctx context.Context, request PauseDrPlanExecutionRequest) (response PauseDrPlanExecutionResponse, err error)

PauseDrPlanExecution Pause the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/PauseDrPlanExecution.go.html to see an example of how to use PauseDrPlanExecution API. A default retry strategy applies to this operation PauseDrPlanExecution()

func (DisasterRecoveryClient) ResumeDrPlanExecution

func (client DisasterRecoveryClient) ResumeDrPlanExecution(ctx context.Context, request ResumeDrPlanExecutionRequest) (response ResumeDrPlanExecutionResponse, err error)

ResumeDrPlanExecution Resume the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/ResumeDrPlanExecution.go.html to see an example of how to use ResumeDrPlanExecution API. A default retry strategy applies to this operation ResumeDrPlanExecution()

func (DisasterRecoveryClient) RetryDrPlanExecution

func (client DisasterRecoveryClient) RetryDrPlanExecution(ctx context.Context, request RetryDrPlanExecutionRequest) (response RetryDrPlanExecutionResponse, err error)

RetryDrPlanExecution Retry 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/latest/disasterrecovery/RetryDrPlanExecution.go.html to see an example of how to use RetryDrPlanExecution API. A default retry strategy applies to this operation RetryDrPlanExecution()

func (*DisasterRecoveryClient) SetRegion

func (client *DisasterRecoveryClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DisasterRecoveryClient) UpdateDrPlan

func (client DisasterRecoveryClient) UpdateDrPlan(ctx context.Context, request UpdateDrPlanRequest) (response UpdateDrPlanResponse, err error)

UpdateDrPlan Update the DR plan identified by *drPlanId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlan.go.html to see an example of how to use UpdateDrPlan API. A default retry strategy applies to this operation UpdateDrPlan()

func (DisasterRecoveryClient) UpdateDrPlanExecution

func (client DisasterRecoveryClient) UpdateDrPlanExecution(ctx context.Context, request UpdateDrPlanExecutionRequest) (response UpdateDrPlanExecutionResponse, err error)

UpdateDrPlanExecution Update the DR plan execution identified by *drPlanExecutionId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrPlanExecution.go.html to see an example of how to use UpdateDrPlanExecution API. A default retry strategy applies to this operation UpdateDrPlanExecution()

func (DisasterRecoveryClient) UpdateDrProtectionGroup

func (client DisasterRecoveryClient) UpdateDrProtectionGroup(ctx context.Context, request UpdateDrProtectionGroupRequest) (response UpdateDrProtectionGroupResponse, err error)

UpdateDrProtectionGroup Update the DR protection group identified by *drProtectionGroupId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroup.go.html to see an example of how to use UpdateDrProtectionGroup API. A default retry strategy applies to this operation UpdateDrProtectionGroup()

func (DisasterRecoveryClient) UpdateDrProtectionGroupRole

func (client DisasterRecoveryClient) UpdateDrProtectionGroupRole(ctx context.Context, request UpdateDrProtectionGroupRoleRequest) (response UpdateDrProtectionGroupRoleResponse, err error)

UpdateDrProtectionGroupRole Update the role of the DR protection group identified by *drProtectionGroupId*.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/disasterrecovery/UpdateDrProtectionGroupRole.go.html to see an example of how to use UpdateDrProtectionGroupRole API. A default retry strategy applies to this operation UpdateDrProtectionGroupRole()

type DrPlan

type DrPlan struct {

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

DrPlan The details of a DR plan.

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

type DrPlanCollection struct {

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

DrPlanCollection A list of DR plan summaries.

func (DrPlanCollection) String

func (m DrPlanCollection) String() string

func (DrPlanCollection) ValidateEnumValue

func (m DrPlanCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanExecution

type DrPlanExecution struct {

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

DrPlanExecution The details of a DR plan execution.

func (DrPlanExecution) String

func (m DrPlanExecution) String() string

func (*DrPlanExecution) UnmarshalJSON

func (m *DrPlanExecution) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DrPlanExecution) ValidateEnumValue

func (m DrPlanExecution) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanExecutionCollection

type DrPlanExecutionCollection struct {

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

DrPlanExecutionCollection A list of DR plan execution summaries.

func (DrPlanExecutionCollection) String

func (m DrPlanExecutionCollection) String() string

func (DrPlanExecutionCollection) ValidateEnumValue

func (m DrPlanExecutionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanExecutionControlDetails

type DrPlanExecutionControlDetails interface {
}

DrPlanExecutionControlDetails The details for controlling plan execution.

type DrPlanExecutionControlDetailsActionTypeEnum

type DrPlanExecutionControlDetailsActionTypeEnum string

DrPlanExecutionControlDetailsActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanExecutionControlDetailsActionTypeEnum

func GetDrPlanExecutionControlDetailsActionTypeEnumValues

func GetDrPlanExecutionControlDetailsActionTypeEnumValues() []DrPlanExecutionControlDetailsActionTypeEnum

GetDrPlanExecutionControlDetailsActionTypeEnumValues Enumerates the set of values for DrPlanExecutionControlDetailsActionTypeEnum

func GetMappingDrPlanExecutionControlDetailsActionTypeEnum

func GetMappingDrPlanExecutionControlDetailsActionTypeEnum(val string) (DrPlanExecutionControlDetailsActionTypeEnum, bool)

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

type DrPlanExecutionLifecycleStateEnum

type DrPlanExecutionLifecycleStateEnum string

DrPlanExecutionLifecycleStateEnum Enum with underlying type: string

const (
	DrPlanExecutionLifecycleStateAccepted   DrPlanExecutionLifecycleStateEnum = "ACCEPTED"
	DrPlanExecutionLifecycleStateInProgress DrPlanExecutionLifecycleStateEnum = "IN_PROGRESS"
	DrPlanExecutionLifecycleStateWaiting    DrPlanExecutionLifecycleStateEnum = "WAITING"
	DrPlanExecutionLifecycleStateCanceling  DrPlanExecutionLifecycleStateEnum = "CANCELING"
	DrPlanExecutionLifecycleStateCanceled   DrPlanExecutionLifecycleStateEnum = "CANCELED"
	DrPlanExecutionLifecycleStateSucceeded  DrPlanExecutionLifecycleStateEnum = "SUCCEEDED"
	DrPlanExecutionLifecycleStateFailed     DrPlanExecutionLifecycleStateEnum = "FAILED"
	DrPlanExecutionLifecycleStateDeleting   DrPlanExecutionLifecycleStateEnum = "DELETING"
	DrPlanExecutionLifecycleStateDeleted    DrPlanExecutionLifecycleStateEnum = "DELETED"
	DrPlanExecutionLifecycleStatePausing    DrPlanExecutionLifecycleStateEnum = "PAUSING"
	DrPlanExecutionLifecycleStatePaused     DrPlanExecutionLifecycleStateEnum = "PAUSED"
	DrPlanExecutionLifecycleStateResuming   DrPlanExecutionLifecycleStateEnum = "RESUMING"
)

Set of constants representing the allowable values for DrPlanExecutionLifecycleStateEnum

func GetDrPlanExecutionLifecycleStateEnumValues

func GetDrPlanExecutionLifecycleStateEnumValues() []DrPlanExecutionLifecycleStateEnum

GetDrPlanExecutionLifecycleStateEnumValues Enumerates the set of values for DrPlanExecutionLifecycleStateEnum

func GetMappingDrPlanExecutionLifecycleStateEnum

func GetMappingDrPlanExecutionLifecycleStateEnum(val string) (DrPlanExecutionLifecycleStateEnum, bool)

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

type DrPlanExecutionOptionDetails

type DrPlanExecutionOptionDetails interface {
}

DrPlanExecutionOptionDetails The options for a plan execution.

type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

type DrPlanExecutionOptionDetailsPlanExecutionTypeEnum string

DrPlanExecutionOptionDetailsPlanExecutionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues

func GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

GetDrPlanExecutionOptionDetailsPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionOptionDetailsPlanExecutionTypeEnum

func GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum

func GetMappingDrPlanExecutionOptionDetailsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionDetailsPlanExecutionTypeEnum, bool)

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

type DrPlanExecutionOptions

type DrPlanExecutionOptions interface {
}

DrPlanExecutionOptions The options for a plan execution.

type DrPlanExecutionOptionsPlanExecutionTypeEnum

type DrPlanExecutionOptionsPlanExecutionTypeEnum string

DrPlanExecutionOptionsPlanExecutionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanExecutionOptionsPlanExecutionTypeEnum

func GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues

func GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues() []DrPlanExecutionOptionsPlanExecutionTypeEnum

GetDrPlanExecutionOptionsPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionOptionsPlanExecutionTypeEnum

func GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum

func GetMappingDrPlanExecutionOptionsPlanExecutionTypeEnum(val string) (DrPlanExecutionOptionsPlanExecutionTypeEnum, bool)

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

type DrPlanExecutionSummary

type DrPlanExecutionSummary struct {

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

DrPlanExecutionSummary The summary of a DR plan execution.

func (DrPlanExecutionSummary) String

func (m DrPlanExecutionSummary) String() string

func (DrPlanExecutionSummary) ValidateEnumValue

func (m DrPlanExecutionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanExecutionTypeEnum

type DrPlanExecutionTypeEnum string

DrPlanExecutionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanExecutionTypeEnum

func GetDrPlanExecutionTypeEnumValues

func GetDrPlanExecutionTypeEnumValues() []DrPlanExecutionTypeEnum

GetDrPlanExecutionTypeEnumValues Enumerates the set of values for DrPlanExecutionTypeEnum

func GetMappingDrPlanExecutionTypeEnum

func GetMappingDrPlanExecutionTypeEnum(val string) (DrPlanExecutionTypeEnum, bool)

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

type DrPlanGroup

type DrPlanGroup struct {

	// The unique id of 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"`
}

DrPlanGroup Details of a group in a DR plan.

func (DrPlanGroup) String

func (m DrPlanGroup) String() string

func (DrPlanGroup) ValidateEnumValue

func (m DrPlanGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanGroupExecution

type DrPlanGroupExecution struct {

	// The unique id of the group. Must not be modified by user.
	// Example: `sgid1.group..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"`
}

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

func (DrPlanGroupExecution) String

func (m DrPlanGroupExecution) String() string

func (DrPlanGroupExecution) ValidateEnumValue

func (m DrPlanGroupExecution) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanGroupExecutionStatusEnum

type DrPlanGroupExecutionStatusEnum string

DrPlanGroupExecutionStatusEnum Enum with underlying type: string

const (
	DrPlanGroupExecutionStatusQueued               DrPlanGroupExecutionStatusEnum = "QUEUED"
	DrPlanGroupExecutionStatusDisabled             DrPlanGroupExecutionStatusEnum = "DISABLED"
	DrPlanGroupExecutionStatusInProgress           DrPlanGroupExecutionStatusEnum = "IN_PROGRESS"
	DrPlanGroupExecutionStatusSucceeded            DrPlanGroupExecutionStatusEnum = "SUCCEEDED"
	DrPlanGroupExecutionStatusSucceededWithWarning DrPlanGroupExecutionStatusEnum = "SUCCEEDED_WITH_WARNING"
	DrPlanGroupExecutionStatusFailed               DrPlanGroupExecutionStatusEnum = "FAILED"
	DrPlanGroupExecutionStatusFailedIgnored        DrPlanGroupExecutionStatusEnum = "FAILED_IGNORED"
	DrPlanGroupExecutionStatusTimedOut             DrPlanGroupExecutionStatusEnum = "TIMED_OUT"
	DrPlanGroupExecutionStatusTimedOutIgnored      DrPlanGroupExecutionStatusEnum = "TIMED_OUT_IGNORED"
	DrPlanGroupExecutionStatusPaused               DrPlanGroupExecutionStatusEnum = "PAUSED"
	DrPlanGroupExecutionStatusCanceled             DrPlanGroupExecutionStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for DrPlanGroupExecutionStatusEnum

func GetDrPlanGroupExecutionStatusEnumValues

func GetDrPlanGroupExecutionStatusEnumValues() []DrPlanGroupExecutionStatusEnum

GetDrPlanGroupExecutionStatusEnumValues Enumerates the set of values for DrPlanGroupExecutionStatusEnum

func GetMappingDrPlanGroupExecutionStatusEnum

func GetMappingDrPlanGroupExecutionStatusEnum(val string) (DrPlanGroupExecutionStatusEnum, bool)

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

type DrPlanGroupTypeEnum

type DrPlanGroupTypeEnum string

DrPlanGroupTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanGroupTypeEnum

func GetDrPlanGroupTypeEnumValues

func GetDrPlanGroupTypeEnumValues() []DrPlanGroupTypeEnum

GetDrPlanGroupTypeEnumValues Enumerates the set of values for DrPlanGroupTypeEnum

func GetMappingDrPlanGroupTypeEnum

func GetMappingDrPlanGroupTypeEnum(val string) (DrPlanGroupTypeEnum, bool)

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

type DrPlanLifecycleStateEnum

type DrPlanLifecycleStateEnum string

DrPlanLifecycleStateEnum Enum with underlying type: string

const (
	DrPlanLifecycleStateCreating       DrPlanLifecycleStateEnum = "CREATING"
	DrPlanLifecycleStateUpdating       DrPlanLifecycleStateEnum = "UPDATING"
	DrPlanLifecycleStateActive         DrPlanLifecycleStateEnum = "ACTIVE"
	DrPlanLifecycleStateInactive       DrPlanLifecycleStateEnum = "INACTIVE"
	DrPlanLifecycleStateDeleting       DrPlanLifecycleStateEnum = "DELETING"
	DrPlanLifecycleStateDeleted        DrPlanLifecycleStateEnum = "DELETED"
	DrPlanLifecycleStateFailed         DrPlanLifecycleStateEnum = "FAILED"
	DrPlanLifecycleStateNeedsAttention DrPlanLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for DrPlanLifecycleStateEnum

func GetDrPlanLifecycleStateEnumValues

func GetDrPlanLifecycleStateEnumValues() []DrPlanLifecycleStateEnum

GetDrPlanLifecycleStateEnumValues Enumerates the set of values for DrPlanLifecycleStateEnum

func GetMappingDrPlanLifecycleStateEnum

func GetMappingDrPlanLifecycleStateEnum(val string) (DrPlanLifecycleStateEnum, bool)

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

type DrPlanStep

type DrPlanStep struct {

	// The unique id of 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"`
}

DrPlanStep Details of a step in a DR plan.

func (DrPlanStep) String

func (m DrPlanStep) String() string

func (*DrPlanStep) UnmarshalJSON

func (m *DrPlanStep) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DrPlanStep) ValidateEnumValue

func (m DrPlanStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanStepErrorModeEnum

type DrPlanStepErrorModeEnum string

DrPlanStepErrorModeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanStepErrorModeEnum

func GetDrPlanStepErrorModeEnumValues

func GetDrPlanStepErrorModeEnumValues() []DrPlanStepErrorModeEnum

GetDrPlanStepErrorModeEnumValues Enumerates the set of values for DrPlanStepErrorModeEnum

func GetMappingDrPlanStepErrorModeEnum

func GetMappingDrPlanStepErrorModeEnum(val string) (DrPlanStepErrorModeEnum, bool)

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

type DrPlanStepExecution

type DrPlanStepExecution struct {

	// The unique id of 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"`
}

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

func (DrPlanStepExecution) String

func (m DrPlanStepExecution) String() string

func (DrPlanStepExecution) ValidateEnumValue

func (m DrPlanStepExecution) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanStepExecutionStatusEnum

type DrPlanStepExecutionStatusEnum string

DrPlanStepExecutionStatusEnum Enum with underlying type: string

const (
	DrPlanStepExecutionStatusQueued          DrPlanStepExecutionStatusEnum = "QUEUED"
	DrPlanStepExecutionStatusDisabled        DrPlanStepExecutionStatusEnum = "DISABLED"
	DrPlanStepExecutionStatusInProgress      DrPlanStepExecutionStatusEnum = "IN_PROGRESS"
	DrPlanStepExecutionStatusSucceeded       DrPlanStepExecutionStatusEnum = "SUCCEEDED"
	DrPlanStepExecutionStatusFailed          DrPlanStepExecutionStatusEnum = "FAILED"
	DrPlanStepExecutionStatusFailedIgnored   DrPlanStepExecutionStatusEnum = "FAILED_IGNORED"
	DrPlanStepExecutionStatusTimedOut        DrPlanStepExecutionStatusEnum = "TIMED_OUT"
	DrPlanStepExecutionStatusTimedOutIgnored DrPlanStepExecutionStatusEnum = "TIMED_OUT_IGNORED"
	DrPlanStepExecutionStatusPaused          DrPlanStepExecutionStatusEnum = "PAUSED"
	DrPlanStepExecutionStatusCanceled        DrPlanStepExecutionStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for DrPlanStepExecutionStatusEnum

func GetDrPlanStepExecutionStatusEnumValues

func GetDrPlanStepExecutionStatusEnumValues() []DrPlanStepExecutionStatusEnum

GetDrPlanStepExecutionStatusEnumValues Enumerates the set of values for DrPlanStepExecutionStatusEnum

func GetMappingDrPlanStepExecutionStatusEnum

func GetMappingDrPlanStepExecutionStatusEnum(val string) (DrPlanStepExecutionStatusEnum, bool)

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

type DrPlanStepTypeEnum

type DrPlanStepTypeEnum string

DrPlanStepTypeEnum Enum with underlying type: string

const (
	DrPlanStepTypeComputeInstanceStopPrecheck                   DrPlanStepTypeEnum = "COMPUTE_INSTANCE_STOP_PRECHECK"
	DrPlanStepTypeComputeInstanceLaunchPrecheck                 DrPlanStepTypeEnum = "COMPUTE_INSTANCE_LAUNCH_PRECHECK"
	DrPlanStepTypeComputeInstanceTerminatePrecheck              DrPlanStepTypeEnum = "COMPUTE_INSTANCE_TERMINATE_PRECHECK"
	DrPlanStepTypeComputeInstanceRemovePrecheck                 DrPlanStepTypeEnum = "COMPUTE_INSTANCE_REMOVE_PRECHECK"
	DrPlanStepTypeVolumeGroupRestoreSwitchoverPrecheck          DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_SWITCHOVER_PRECHECK"
	DrPlanStepTypeVolumeGroupRestoreFailoverPrecheck            DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_FAILOVER_PRECHECK"
	DrPlanStepTypeDatabaseSwitchoverPrecheck                    DrPlanStepTypeEnum = "DATABASE_SWITCHOVER_PRECHECK"
	DrPlanStepTypeDatabaseFailoverPrecheck                      DrPlanStepTypeEnum = "DATABASE_FAILOVER_PRECHECK"
	DrPlanStepTypeAutonomousDatabaseSwitchoverPrecheck          DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_SWITCHOVER_PRECHECK"
	DrPlanStepTypeAutonomousDatabaseFailoverPrecheck            DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_FAILOVER_PRECHECK"
	DrPlanStepTypeUserDefinedPrecheck                           DrPlanStepTypeEnum = "USER_DEFINED_PRECHECK"
	DrPlanStepTypeComputeInstanceLaunch                         DrPlanStepTypeEnum = "COMPUTE_INSTANCE_LAUNCH"
	DrPlanStepTypeComputeInstanceStop                           DrPlanStepTypeEnum = "COMPUTE_INSTANCE_STOP"
	DrPlanStepTypeComputeInstanceTerminate                      DrPlanStepTypeEnum = "COMPUTE_INSTANCE_TERMINATE"
	DrPlanStepTypeComputeInstanceRemove                         DrPlanStepTypeEnum = "COMPUTE_INSTANCE_REMOVE"
	DrPlanStepTypeDatabaseSwitchover                            DrPlanStepTypeEnum = "DATABASE_SWITCHOVER"
	DrPlanStepTypeDatabaseFailover                              DrPlanStepTypeEnum = "DATABASE_FAILOVER"
	DrPlanStepTypeAutonomousDatabaseSwitchover                  DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_SWITCHOVER"
	DrPlanStepTypeAutonomousDatabaseFailover                    DrPlanStepTypeEnum = "AUTONOMOUS_DATABASE_FAILOVER"
	DrPlanStepTypeVolumeGroupRestoreSwitchover                  DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_SWITCHOVER"
	DrPlanStepTypeVolumeGroupRestoreFailover                    DrPlanStepTypeEnum = "VOLUME_GROUP_RESTORE_FAILOVER"
	DrPlanStepTypeVolumeGroupReverse                            DrPlanStepTypeEnum = "VOLUME_GROUP_REVERSE"
	DrPlanStepTypeVolumeGroupDelete                             DrPlanStepTypeEnum = "VOLUME_GROUP_DELETE"
	DrPlanStepTypeVolumeGroupRemove                             DrPlanStepTypeEnum = "VOLUME_GROUP_REMOVE"
	DrPlanStepTypeVolumeGroupTerminate                          DrPlanStepTypeEnum = "VOLUME_GROUP_TERMINATE"
	DrPlanStepTypeUserDefined                                   DrPlanStepTypeEnum = "USER_DEFINED"
	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"
)

Set of constants representing the allowable values for DrPlanStepTypeEnum

func GetDrPlanStepTypeEnumValues

func GetDrPlanStepTypeEnumValues() []DrPlanStepTypeEnum

GetDrPlanStepTypeEnumValues Enumerates the set of values for DrPlanStepTypeEnum

func GetMappingDrPlanStepTypeEnum

func GetMappingDrPlanStepTypeEnum(val string) (DrPlanStepTypeEnum, bool)

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

type DrPlanSummary

type DrPlanSummary struct {

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

DrPlanSummary The summary of a DR plan.

func (DrPlanSummary) String

func (m DrPlanSummary) String() string

func (DrPlanSummary) ValidateEnumValue

func (m DrPlanSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrPlanTypeEnum

type DrPlanTypeEnum string

DrPlanTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrPlanTypeEnum

func GetDrPlanTypeEnumValues

func GetDrPlanTypeEnumValues() []DrPlanTypeEnum

GetDrPlanTypeEnumValues Enumerates the set of values for DrPlanTypeEnum

func GetMappingDrPlanTypeEnum

func GetMappingDrPlanTypeEnum(val string) (DrPlanTypeEnum, bool)

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

type DrPlanUserDefinedStep

type DrPlanUserDefinedStep interface {
}

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

type DrPlanUserDefinedStepStepTypeEnum

type DrPlanUserDefinedStepStepTypeEnum string

DrPlanUserDefinedStepStepTypeEnum Enum with underlying type: string

const (
	DrPlanUserDefinedStepStepTypeRunObjectstoreScriptPrecheck DrPlanUserDefinedStepStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT_PRECHECK"
	DrPlanUserDefinedStepStepTypeRunLocalScriptPrecheck       DrPlanUserDefinedStepStepTypeEnum = "RUN_LOCAL_SCRIPT_PRECHECK"
	DrPlanUserDefinedStepStepTypeInvokeFunctionPrecheck       DrPlanUserDefinedStepStepTypeEnum = "INVOKE_FUNCTION_PRECHECK"
	DrPlanUserDefinedStepStepTypeRunObjectstoreScript         DrPlanUserDefinedStepStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT"
	DrPlanUserDefinedStepStepTypeRunLocalScript               DrPlanUserDefinedStepStepTypeEnum = "RUN_LOCAL_SCRIPT"
	DrPlanUserDefinedStepStepTypeInvokeFunction               DrPlanUserDefinedStepStepTypeEnum = "INVOKE_FUNCTION"
)

Set of constants representing the allowable values for DrPlanUserDefinedStepStepTypeEnum

func GetDrPlanUserDefinedStepStepTypeEnumValues

func GetDrPlanUserDefinedStepStepTypeEnumValues() []DrPlanUserDefinedStepStepTypeEnum

GetDrPlanUserDefinedStepStepTypeEnumValues Enumerates the set of values for DrPlanUserDefinedStepStepTypeEnum

func GetMappingDrPlanUserDefinedStepStepTypeEnum

func GetMappingDrPlanUserDefinedStepStepTypeEnum(val string) (DrPlanUserDefinedStepStepTypeEnum, bool)

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

type DrProtectionGroup

type DrProtectionGroup struct {

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

DrProtectionGroup The details of a DR protection group.

func (DrProtectionGroup) String

func (m DrProtectionGroup) String() string

func (*DrProtectionGroup) UnmarshalJSON

func (m *DrProtectionGroup) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DrProtectionGroup) ValidateEnumValue

func (m DrProtectionGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupCollection

type DrProtectionGroupCollection struct {

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

DrProtectionGroupCollection A list of DR protection group summaries.

func (DrProtectionGroupCollection) String

func (DrProtectionGroupCollection) ValidateEnumValue

func (m DrProtectionGroupCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupLifecycleStateEnum

type DrProtectionGroupLifecycleStateEnum string

DrProtectionGroupLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrProtectionGroupLifecycleStateEnum

func GetDrProtectionGroupLifecycleStateEnumValues

func GetDrProtectionGroupLifecycleStateEnumValues() []DrProtectionGroupLifecycleStateEnum

GetDrProtectionGroupLifecycleStateEnumValues Enumerates the set of values for DrProtectionGroupLifecycleStateEnum

func GetMappingDrProtectionGroupLifecycleStateEnum

func GetMappingDrProtectionGroupLifecycleStateEnum(val string) (DrProtectionGroupLifecycleStateEnum, bool)

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

type DrProtectionGroupLifecycleSubStateEnum added in v65.52.0

type DrProtectionGroupLifecycleSubStateEnum string

DrProtectionGroupLifecycleSubStateEnum Enum with underlying type: string

const (
	DrProtectionGroupLifecycleSubStateDrDrillInProgress DrProtectionGroupLifecycleSubStateEnum = "DR_DRILL_IN_PROGRESS"
)

Set of constants representing the allowable values for DrProtectionGroupLifecycleSubStateEnum

func GetDrProtectionGroupLifecycleSubStateEnumValues added in v65.52.0

func GetDrProtectionGroupLifecycleSubStateEnumValues() []DrProtectionGroupLifecycleSubStateEnum

GetDrProtectionGroupLifecycleSubStateEnumValues Enumerates the set of values for DrProtectionGroupLifecycleSubStateEnum

func GetMappingDrProtectionGroupLifecycleSubStateEnum added in v65.52.0

func GetMappingDrProtectionGroupLifecycleSubStateEnum(val string) (DrProtectionGroupLifecycleSubStateEnum, bool)

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

type DrProtectionGroupMember

type DrProtectionGroupMember interface {

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

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

type DrProtectionGroupMemberAutonomousDatabase

type DrProtectionGroupMemberAutonomousDatabase struct {

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

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

func (DrProtectionGroupMemberAutonomousDatabase) GetMemberId

GetMemberId returns MemberId

func (DrProtectionGroupMemberAutonomousDatabase) MarshalJSON

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberAutonomousDatabase) String

func (DrProtectionGroupMemberAutonomousDatabase) ValidateEnumValue

func (m DrProtectionGroupMemberAutonomousDatabase) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupMemberComputeInstance

type DrProtectionGroupMemberComputeInstance struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

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

func (DrProtectionGroupMemberComputeInstance) GetMemberId

GetMemberId returns MemberId

func (DrProtectionGroupMemberComputeInstance) MarshalJSON

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberComputeInstance) String

func (DrProtectionGroupMemberComputeInstance) ValidateEnumValue

func (m DrProtectionGroupMemberComputeInstance) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupMemberComputeInstanceMovable added in v65.44.0

type DrProtectionGroupMemberComputeInstanceMovable struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

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

func (DrProtectionGroupMemberComputeInstanceMovable) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (DrProtectionGroupMemberComputeInstanceMovable) MarshalJSON added in v65.44.0

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberComputeInstanceMovable) String added in v65.44.0

func (DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue added in v65.44.0

func (m DrProtectionGroupMemberComputeInstanceMovable) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupMemberComputeInstanceNonMovable added in v65.44.0

type DrProtectionGroupMemberComputeInstanceNonMovable struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

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

func (DrProtectionGroupMemberComputeInstanceNonMovable) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (DrProtectionGroupMemberComputeInstanceNonMovable) MarshalJSON added in v65.44.0

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberComputeInstanceNonMovable) String added in v65.44.0

func (DrProtectionGroupMemberComputeInstanceNonMovable) ValidateEnumValue added in v65.44.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupMemberDatabase

type DrProtectionGroupMemberDatabase struct {

	// The OCID of the member.
	// Example: `ocid1.instance.oc1..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"`
}

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

func (DrProtectionGroupMemberDatabase) GetMemberId

func (m DrProtectionGroupMemberDatabase) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberDatabase) MarshalJSON

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberDatabase) String

func (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 added in v65.52.0

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

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

func (DrProtectionGroupMemberFileSystem) GetMemberId added in v65.52.0

func (m DrProtectionGroupMemberFileSystem) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberFileSystem) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberFileSystem) String added in v65.52.0

func (DrProtectionGroupMemberFileSystem) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (DrProtectionGroupMemberLoadBalancer) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (DrProtectionGroupMemberLoadBalancer) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberLoadBalancer) String added in v65.52.0

func (DrProtectionGroupMemberLoadBalancer) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (DrProtectionGroupMemberNetworkLoadBalancer) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (DrProtectionGroupMemberNetworkLoadBalancer) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberNetworkLoadBalancer) String added in v65.52.0

func (DrProtectionGroupMemberNetworkLoadBalancer) ValidateEnumValue added in v65.52.0

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

type DrProtectionGroupMemberTypeEnum string

DrProtectionGroupMemberTypeEnum Enum with underlying type: string

const (
	DrProtectionGroupMemberTypeComputeInstance           DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE"
	DrProtectionGroupMemberTypeComputeInstanceMovable    DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE_MOVABLE"
	DrProtectionGroupMemberTypeComputeInstanceNonMovable DrProtectionGroupMemberTypeEnum = "COMPUTE_INSTANCE_NON_MOVABLE"
	DrProtectionGroupMemberTypeVolumeGroup               DrProtectionGroupMemberTypeEnum = "VOLUME_GROUP"
	DrProtectionGroupMemberTypeDatabase                  DrProtectionGroupMemberTypeEnum = "DATABASE"
	DrProtectionGroupMemberTypeAutonomousDatabase        DrProtectionGroupMemberTypeEnum = "AUTONOMOUS_DATABASE"
	DrProtectionGroupMemberTypeLoadBalancer              DrProtectionGroupMemberTypeEnum = "LOAD_BALANCER"
	DrProtectionGroupMemberTypeNetworkLoadBalancer       DrProtectionGroupMemberTypeEnum = "NETWORK_LOAD_BALANCER"
	DrProtectionGroupMemberTypeFileSystem                DrProtectionGroupMemberTypeEnum = "FILE_SYSTEM"
)

Set of constants representing the allowable values for DrProtectionGroupMemberTypeEnum

func GetDrProtectionGroupMemberTypeEnumValues

func GetDrProtectionGroupMemberTypeEnumValues() []DrProtectionGroupMemberTypeEnum

GetDrProtectionGroupMemberTypeEnumValues Enumerates the set of values for DrProtectionGroupMemberTypeEnum

func GetMappingDrProtectionGroupMemberTypeEnum

func GetMappingDrProtectionGroupMemberTypeEnum(val string) (DrProtectionGroupMemberTypeEnum, bool)

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

type DrProtectionGroupMemberVolumeGroup

type DrProtectionGroupMemberVolumeGroup struct {

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

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

func (DrProtectionGroupMemberVolumeGroup) GetMemberId

func (m DrProtectionGroupMemberVolumeGroup) GetMemberId() *string

GetMemberId returns MemberId

func (DrProtectionGroupMemberVolumeGroup) MarshalJSON

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

MarshalJSON marshals to json representation

func (DrProtectionGroupMemberVolumeGroup) String

func (DrProtectionGroupMemberVolumeGroup) ValidateEnumValue

func (m DrProtectionGroupMemberVolumeGroup) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DrProtectionGroupRoleEnum

type DrProtectionGroupRoleEnum string

DrProtectionGroupRoleEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DrProtectionGroupRoleEnum

func GetDrProtectionGroupRoleEnumValues

func GetDrProtectionGroupRoleEnumValues() []DrProtectionGroupRoleEnum

GetDrProtectionGroupRoleEnumValues Enumerates the set of values for DrProtectionGroupRoleEnum

func GetMappingDrProtectionGroupRoleEnum

func GetMappingDrProtectionGroupRoleEnum(val string) (DrProtectionGroupRoleEnum, bool)

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

type DrProtectionGroupSummary

type DrProtectionGroupSummary struct {

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

DrProtectionGroupSummary The summary of a DR protection group.

func (DrProtectionGroupSummary) String

func (m DrProtectionGroupSummary) String() string

func (DrProtectionGroupSummary) ValidateEnumValue

func (m DrProtectionGroupSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverExecutionOptionDetails

type FailoverExecutionOptionDetails struct {

	// A flag indicating whether prechecks should be executed before the plan execution.
	// Example: `true`
	ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"`

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

FailoverExecutionOptionDetails Options for failover execution.

func (FailoverExecutionOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FailoverExecutionOptionDetails) String

func (FailoverExecutionOptionDetails) ValidateEnumValue

func (m FailoverExecutionOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverExecutionOptions

type FailoverExecutionOptions struct {

	// A flag indicating whether prechecks should be executed before the plan execution.
	// Example: `true`
	ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"`

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

FailoverExecutionOptions Options for failover execution.

func (FailoverExecutionOptions) MarshalJSON

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

MarshalJSON marshals to json representation

func (FailoverExecutionOptions) String

func (m FailoverExecutionOptions) String() string

func (FailoverExecutionOptions) ValidateEnumValue

func (m FailoverExecutionOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverPrecheckExecutionOptionDetails

type FailoverPrecheckExecutionOptionDetails struct {

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

FailoverPrecheckExecutionOptionDetails Options for a failover precheck execution.

func (FailoverPrecheckExecutionOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FailoverPrecheckExecutionOptionDetails) String

func (FailoverPrecheckExecutionOptionDetails) ValidateEnumValue

func (m FailoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FailoverPrecheckExecutionOptions

type FailoverPrecheckExecutionOptions struct {

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

FailoverPrecheckExecutionOptions Options for failover precheck execution.

func (FailoverPrecheckExecutionOptions) MarshalJSON

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

MarshalJSON marshals to json representation

func (FailoverPrecheckExecutionOptions) String

func (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 added in v65.52.0

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

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

func (FileSystemExportMapping) String added in v65.52.0

func (m FileSystemExportMapping) String() string

func (FileSystemExportMapping) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (FileSystemExportMappingDetails) String added in v65.52.0

func (FileSystemExportMappingDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type FileSystemMountDetails struct {

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

FileSystemMountDetails Mount details of a file system.

func (FileSystemMountDetails) String added in v65.52.0

func (m FileSystemMountDetails) String() string

func (FileSystemMountDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type FileSystemUnmountDetails struct {

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

FileSystemUnmountDetails Unmount details for a file system.

func (FileSystemUnmountDetails) String added in v65.52.0

func (m FileSystemUnmountDetails) String() string

func (FileSystemUnmountDetails) ValidateEnumValue added in v65.52.0

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

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
}

GetDrPlanExecutionRequest wrapper for the GetDrPlanExecution operation

See also

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

func (GetDrPlanExecutionRequest) BinaryRequestBody

func (request GetDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrPlanExecutionRequest) HTTPRequest

func (request GetDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrPlanExecutionRequest) RetryPolicy

func (request GetDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrPlanExecutionRequest) String

func (request GetDrPlanExecutionRequest) String() string

func (GetDrPlanExecutionRequest) ValidateEnumValue

func (request GetDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDrPlanExecutionResponse

type GetDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrPlanExecution instance
	DrPlanExecution `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDrPlanExecutionResponse wrapper for the GetDrPlanExecution operation

func (GetDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDrPlanExecutionResponse) String

func (response GetDrPlanExecutionResponse) String() string

type GetDrPlanRequest

type GetDrPlanRequest struct {

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

GetDrPlanRequest wrapper for the GetDrPlan operation

See also

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

func (GetDrPlanRequest) BinaryRequestBody

func (request GetDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrPlanRequest) HTTPRequest

func (request GetDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrPlanRequest) RetryPolicy

func (request GetDrPlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrPlanRequest) String

func (request GetDrPlanRequest) String() string

func (GetDrPlanRequest) ValidateEnumValue

func (request GetDrPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDrPlanResponse

type GetDrPlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrPlan instance
	DrPlan `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDrPlanResponse wrapper for the GetDrPlan operation

func (GetDrPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDrPlanResponse) String

func (response GetDrPlanResponse) String() string

type GetDrProtectionGroupRequest

type GetDrProtectionGroupRequest struct {

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

GetDrProtectionGroupRequest wrapper for the GetDrProtectionGroup operation

See also

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

func (GetDrProtectionGroupRequest) BinaryRequestBody

func (request GetDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrProtectionGroupRequest) HTTPRequest

func (request GetDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrProtectionGroupRequest) RetryPolicy

func (request GetDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrProtectionGroupRequest) String

func (request GetDrProtectionGroupRequest) String() string

func (GetDrProtectionGroupRequest) ValidateEnumValue

func (request GetDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetDrProtectionGroupResponse

type GetDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrProtectionGroup instance
	DrProtectionGroup `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDrProtectionGroupResponse wrapper for the GetDrProtectionGroup operation

func (GetDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDrProtectionGroupResponse) String

func (response GetDrProtectionGroupResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `presentIn:"body"`

	// For optimistic concurrency control. For more information, see ETags for Optimistic Concurrency Control (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#eleven).
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type IgnoreDrPlanExecutionDetails

type IgnoreDrPlanExecutionDetails struct {

	// The unique id of the group to ignore as a whole, or the group containing the step to ignore.
	// Example: `sgid1.group..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"`
}

IgnoreDrPlanExecutionDetails The details for ignoring a failed group or step.

func (IgnoreDrPlanExecutionDetails) String

func (IgnoreDrPlanExecutionDetails) ValidateEnumValue

func (m IgnoreDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type IgnoreDrPlanExecutionRequest

type IgnoreDrPlanExecutionRequest struct {

	// Details 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
}

IgnoreDrPlanExecutionRequest wrapper for the IgnoreDrPlanExecution operation

See also

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

func (IgnoreDrPlanExecutionRequest) BinaryRequestBody

func (request IgnoreDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (IgnoreDrPlanExecutionRequest) HTTPRequest

func (request IgnoreDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (IgnoreDrPlanExecutionRequest) RetryPolicy

func (request IgnoreDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (IgnoreDrPlanExecutionRequest) String

func (request IgnoreDrPlanExecutionRequest) String() string

func (IgnoreDrPlanExecutionRequest) ValidateEnumValue

func (request IgnoreDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type IgnoreDrPlanExecutionResponse

type IgnoreDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

IgnoreDrPlanExecutionResponse wrapper for the IgnoreDrPlanExecution operation

func (IgnoreDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (IgnoreDrPlanExecutionResponse) String

func (response IgnoreDrPlanExecutionResponse) String() string

type InvokeFunctionPrecheckStep

type InvokeFunctionPrecheckStep struct {
}

InvokeFunctionPrecheckStep Invoke Oracle function precheck step details.

func (InvokeFunctionPrecheckStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (InvokeFunctionPrecheckStep) String

func (InvokeFunctionPrecheckStep) ValidateEnumValue

func (m InvokeFunctionPrecheckStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InvokeFunctionStep

type InvokeFunctionStep struct {

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

InvokeFunctionStep Invoke Oracle function step details.

func (InvokeFunctionStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (InvokeFunctionStep) String

func (m InvokeFunctionStep) String() string

func (InvokeFunctionStep) ValidateEnumValue

func (m InvokeFunctionStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDrPlanExecutionsDrPlanExecutionTypeEnum

type ListDrPlanExecutionsDrPlanExecutionTypeEnum string

ListDrPlanExecutionsDrPlanExecutionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlanExecutionsDrPlanExecutionTypeEnum

func GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues

func GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues() []ListDrPlanExecutionsDrPlanExecutionTypeEnum

GetListDrPlanExecutionsDrPlanExecutionTypeEnumValues Enumerates the set of values for ListDrPlanExecutionsDrPlanExecutionTypeEnum

func GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum

func GetMappingListDrPlanExecutionsDrPlanExecutionTypeEnum(val string) (ListDrPlanExecutionsDrPlanExecutionTypeEnum, bool)

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

type ListDrPlanExecutionsLifecycleStateEnum

type ListDrPlanExecutionsLifecycleStateEnum string

ListDrPlanExecutionsLifecycleStateEnum Enum with underlying type: string

const (
	ListDrPlanExecutionsLifecycleStateAccepted   ListDrPlanExecutionsLifecycleStateEnum = "ACCEPTED"
	ListDrPlanExecutionsLifecycleStateInProgress ListDrPlanExecutionsLifecycleStateEnum = "IN_PROGRESS"
	ListDrPlanExecutionsLifecycleStateWaiting    ListDrPlanExecutionsLifecycleStateEnum = "WAITING"
	ListDrPlanExecutionsLifecycleStateCanceling  ListDrPlanExecutionsLifecycleStateEnum = "CANCELING"
	ListDrPlanExecutionsLifecycleStateCanceled   ListDrPlanExecutionsLifecycleStateEnum = "CANCELED"
	ListDrPlanExecutionsLifecycleStateSucceeded  ListDrPlanExecutionsLifecycleStateEnum = "SUCCEEDED"
	ListDrPlanExecutionsLifecycleStateFailed     ListDrPlanExecutionsLifecycleStateEnum = "FAILED"
	ListDrPlanExecutionsLifecycleStateDeleting   ListDrPlanExecutionsLifecycleStateEnum = "DELETING"
	ListDrPlanExecutionsLifecycleStateDeleted    ListDrPlanExecutionsLifecycleStateEnum = "DELETED"
	ListDrPlanExecutionsLifecycleStatePausing    ListDrPlanExecutionsLifecycleStateEnum = "PAUSING"
	ListDrPlanExecutionsLifecycleStatePaused     ListDrPlanExecutionsLifecycleStateEnum = "PAUSED"
	ListDrPlanExecutionsLifecycleStateResuming   ListDrPlanExecutionsLifecycleStateEnum = "RESUMING"
)

Set of constants representing the allowable values for ListDrPlanExecutionsLifecycleStateEnum

func GetListDrPlanExecutionsLifecycleStateEnumValues

func GetListDrPlanExecutionsLifecycleStateEnumValues() []ListDrPlanExecutionsLifecycleStateEnum

GetListDrPlanExecutionsLifecycleStateEnumValues Enumerates the set of values for ListDrPlanExecutionsLifecycleStateEnum

func GetMappingListDrPlanExecutionsLifecycleStateEnum

func GetMappingListDrPlanExecutionsLifecycleStateEnum(val string) (ListDrPlanExecutionsLifecycleStateEnum, bool)

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

type ListDrPlanExecutionsRequest

type ListDrPlanExecutionsRequest struct {

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

ListDrPlanExecutionsRequest wrapper for the ListDrPlanExecutions operation

See also

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

func (ListDrPlanExecutionsRequest) BinaryRequestBody

func (request ListDrPlanExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrPlanExecutionsRequest) HTTPRequest

func (request ListDrPlanExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrPlanExecutionsRequest) RetryPolicy

func (request ListDrPlanExecutionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrPlanExecutionsRequest) String

func (request ListDrPlanExecutionsRequest) String() string

func (ListDrPlanExecutionsRequest) ValidateEnumValue

func (request ListDrPlanExecutionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDrPlanExecutionsResponse

type ListDrPlanExecutionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DrPlanExecutionCollection instances
	DrPlanExecutionCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDrPlanExecutionsResponse wrapper for the ListDrPlanExecutions operation

func (ListDrPlanExecutionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDrPlanExecutionsResponse) String

func (response ListDrPlanExecutionsResponse) String() string

type ListDrPlanExecutionsSortByEnum

type ListDrPlanExecutionsSortByEnum string

ListDrPlanExecutionsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlanExecutionsSortByEnum

func GetListDrPlanExecutionsSortByEnumValues

func GetListDrPlanExecutionsSortByEnumValues() []ListDrPlanExecutionsSortByEnum

GetListDrPlanExecutionsSortByEnumValues Enumerates the set of values for ListDrPlanExecutionsSortByEnum

func GetMappingListDrPlanExecutionsSortByEnum

func GetMappingListDrPlanExecutionsSortByEnum(val string) (ListDrPlanExecutionsSortByEnum, bool)

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

type ListDrPlanExecutionsSortOrderEnum

type ListDrPlanExecutionsSortOrderEnum string

ListDrPlanExecutionsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlanExecutionsSortOrderEnum

func GetListDrPlanExecutionsSortOrderEnumValues

func GetListDrPlanExecutionsSortOrderEnumValues() []ListDrPlanExecutionsSortOrderEnum

GetListDrPlanExecutionsSortOrderEnumValues Enumerates the set of values for ListDrPlanExecutionsSortOrderEnum

func GetMappingListDrPlanExecutionsSortOrderEnum

func GetMappingListDrPlanExecutionsSortOrderEnum(val string) (ListDrPlanExecutionsSortOrderEnum, bool)

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

type ListDrPlansDrPlanTypeEnum

type ListDrPlansDrPlanTypeEnum string

ListDrPlansDrPlanTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlansDrPlanTypeEnum

func GetListDrPlansDrPlanTypeEnumValues

func GetListDrPlansDrPlanTypeEnumValues() []ListDrPlansDrPlanTypeEnum

GetListDrPlansDrPlanTypeEnumValues Enumerates the set of values for ListDrPlansDrPlanTypeEnum

func GetMappingListDrPlansDrPlanTypeEnum

func GetMappingListDrPlansDrPlanTypeEnum(val string) (ListDrPlansDrPlanTypeEnum, bool)

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

type ListDrPlansLifecycleStateEnum

type ListDrPlansLifecycleStateEnum string

ListDrPlansLifecycleStateEnum Enum with underlying type: string

const (
	ListDrPlansLifecycleStateCreating       ListDrPlansLifecycleStateEnum = "CREATING"
	ListDrPlansLifecycleStateUpdating       ListDrPlansLifecycleStateEnum = "UPDATING"
	ListDrPlansLifecycleStateActive         ListDrPlansLifecycleStateEnum = "ACTIVE"
	ListDrPlansLifecycleStateInactive       ListDrPlansLifecycleStateEnum = "INACTIVE"
	ListDrPlansLifecycleStateDeleting       ListDrPlansLifecycleStateEnum = "DELETING"
	ListDrPlansLifecycleStateDeleted        ListDrPlansLifecycleStateEnum = "DELETED"
	ListDrPlansLifecycleStateFailed         ListDrPlansLifecycleStateEnum = "FAILED"
	ListDrPlansLifecycleStateNeedsAttention ListDrPlansLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for ListDrPlansLifecycleStateEnum

func GetListDrPlansLifecycleStateEnumValues

func GetListDrPlansLifecycleStateEnumValues() []ListDrPlansLifecycleStateEnum

GetListDrPlansLifecycleStateEnumValues Enumerates the set of values for ListDrPlansLifecycleStateEnum

func GetMappingListDrPlansLifecycleStateEnum

func GetMappingListDrPlansLifecycleStateEnum(val string) (ListDrPlansLifecycleStateEnum, bool)

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

type ListDrPlansRequest

type ListDrPlansRequest struct {

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

ListDrPlansRequest wrapper for the ListDrPlans operation

See also

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

func (ListDrPlansRequest) BinaryRequestBody

func (request ListDrPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrPlansRequest) HTTPRequest

func (request ListDrPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrPlansRequest) RetryPolicy

func (request ListDrPlansRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrPlansRequest) String

func (request ListDrPlansRequest) String() string

func (ListDrPlansRequest) ValidateEnumValue

func (request ListDrPlansRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDrPlansResponse

type ListDrPlansResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DrPlanCollection instances
	DrPlanCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDrPlansResponse wrapper for the ListDrPlans operation

func (ListDrPlansResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDrPlansResponse) String

func (response ListDrPlansResponse) String() string

type ListDrPlansSortByEnum

type ListDrPlansSortByEnum string

ListDrPlansSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlansSortByEnum

func GetListDrPlansSortByEnumValues

func GetListDrPlansSortByEnumValues() []ListDrPlansSortByEnum

GetListDrPlansSortByEnumValues Enumerates the set of values for ListDrPlansSortByEnum

func GetMappingListDrPlansSortByEnum

func GetMappingListDrPlansSortByEnum(val string) (ListDrPlansSortByEnum, bool)

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

type ListDrPlansSortOrderEnum

type ListDrPlansSortOrderEnum string

ListDrPlansSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrPlansSortOrderEnum

func GetListDrPlansSortOrderEnumValues

func GetListDrPlansSortOrderEnumValues() []ListDrPlansSortOrderEnum

GetListDrPlansSortOrderEnumValues Enumerates the set of values for ListDrPlansSortOrderEnum

func GetMappingListDrPlansSortOrderEnum

func GetMappingListDrPlansSortOrderEnum(val string) (ListDrPlansSortOrderEnum, bool)

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

type ListDrProtectionGroupsLifecycleStateEnum

type ListDrProtectionGroupsLifecycleStateEnum string

ListDrProtectionGroupsLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrProtectionGroupsLifecycleStateEnum

func GetListDrProtectionGroupsLifecycleStateEnumValues

func GetListDrProtectionGroupsLifecycleStateEnumValues() []ListDrProtectionGroupsLifecycleStateEnum

GetListDrProtectionGroupsLifecycleStateEnumValues Enumerates the set of values for ListDrProtectionGroupsLifecycleStateEnum

func GetMappingListDrProtectionGroupsLifecycleStateEnum

func GetMappingListDrProtectionGroupsLifecycleStateEnum(val string) (ListDrProtectionGroupsLifecycleStateEnum, bool)

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

type ListDrProtectionGroupsLifecycleSubStateEnum added in v65.52.0

type ListDrProtectionGroupsLifecycleSubStateEnum string

ListDrProtectionGroupsLifecycleSubStateEnum Enum with underlying type: string

const (
	ListDrProtectionGroupsLifecycleSubStateDrDrillInProgress ListDrProtectionGroupsLifecycleSubStateEnum = "DR_DRILL_IN_PROGRESS"
)

Set of constants representing the allowable values for ListDrProtectionGroupsLifecycleSubStateEnum

func GetListDrProtectionGroupsLifecycleSubStateEnumValues added in v65.52.0

func GetListDrProtectionGroupsLifecycleSubStateEnumValues() []ListDrProtectionGroupsLifecycleSubStateEnum

GetListDrProtectionGroupsLifecycleSubStateEnumValues Enumerates the set of values for ListDrProtectionGroupsLifecycleSubStateEnum

func GetMappingListDrProtectionGroupsLifecycleSubStateEnum added in v65.52.0

func GetMappingListDrProtectionGroupsLifecycleSubStateEnum(val string) (ListDrProtectionGroupsLifecycleSubStateEnum, bool)

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

type ListDrProtectionGroupsRequest

type ListDrProtectionGroupsRequest struct {

	// The ID (OCID) of the compartment in which to list resources.
	// Example: `ocid1.compartment.oc1..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
}

ListDrProtectionGroupsRequest wrapper for the ListDrProtectionGroups operation

See also

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

func (ListDrProtectionGroupsRequest) BinaryRequestBody

func (request ListDrProtectionGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrProtectionGroupsRequest) HTTPRequest

func (request ListDrProtectionGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrProtectionGroupsRequest) RetryPolicy

func (request ListDrProtectionGroupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrProtectionGroupsRequest) String

func (request ListDrProtectionGroupsRequest) String() string

func (ListDrProtectionGroupsRequest) ValidateEnumValue

func (request ListDrProtectionGroupsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListDrProtectionGroupsResponse

type ListDrProtectionGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of DrProtectionGroupCollection instances
	DrProtectionGroupCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListDrProtectionGroupsResponse wrapper for the ListDrProtectionGroups operation

func (ListDrProtectionGroupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDrProtectionGroupsResponse) String

func (response ListDrProtectionGroupsResponse) String() string

type ListDrProtectionGroupsRoleEnum added in v65.44.0

type ListDrProtectionGroupsRoleEnum string

ListDrProtectionGroupsRoleEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrProtectionGroupsRoleEnum

func GetListDrProtectionGroupsRoleEnumValues added in v65.44.0

func GetListDrProtectionGroupsRoleEnumValues() []ListDrProtectionGroupsRoleEnum

GetListDrProtectionGroupsRoleEnumValues Enumerates the set of values for ListDrProtectionGroupsRoleEnum

func GetMappingListDrProtectionGroupsRoleEnum added in v65.44.0

func GetMappingListDrProtectionGroupsRoleEnum(val string) (ListDrProtectionGroupsRoleEnum, bool)

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

type ListDrProtectionGroupsSortByEnum

type ListDrProtectionGroupsSortByEnum string

ListDrProtectionGroupsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrProtectionGroupsSortByEnum

func GetListDrProtectionGroupsSortByEnumValues

func GetListDrProtectionGroupsSortByEnumValues() []ListDrProtectionGroupsSortByEnum

GetListDrProtectionGroupsSortByEnumValues Enumerates the set of values for ListDrProtectionGroupsSortByEnum

func GetMappingListDrProtectionGroupsSortByEnum

func GetMappingListDrProtectionGroupsSortByEnum(val string) (ListDrProtectionGroupsSortByEnum, bool)

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

type ListDrProtectionGroupsSortOrderEnum

type ListDrProtectionGroupsSortOrderEnum string

ListDrProtectionGroupsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListDrProtectionGroupsSortOrderEnum

func GetListDrProtectionGroupsSortOrderEnumValues

func GetListDrProtectionGroupsSortOrderEnumValues() []ListDrProtectionGroupsSortOrderEnum

GetListDrProtectionGroupsSortOrderEnumValues Enumerates the set of values for ListDrProtectionGroupsSortOrderEnum

func GetMappingListDrProtectionGroupsSortOrderEnum

func GetMappingListDrProtectionGroupsSortOrderEnum(val string) (ListDrProtectionGroupsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID (OCID) of the compartment in which to list resources.
	// Example: `ocid1.compartment.oc1..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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestSummaryCollection instances
	WorkRequestSummaryCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
	ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type LoadBalancerBackendSetMapping added in v65.52.0

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

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

func (LoadBalancerBackendSetMapping) String added in v65.52.0

func (LoadBalancerBackendSetMapping) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (LoadBalancerBackendSetMappingDetails) String added in v65.52.0

func (LoadBalancerBackendSetMappingDetails) ValidateEnumValue added in v65.52.0

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

type LocalScriptPrecheckStep struct {
}

LocalScriptPrecheckStep Run local script precheck step details.

func (LocalScriptPrecheckStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (LocalScriptPrecheckStep) String

func (m LocalScriptPrecheckStep) String() string

func (LocalScriptPrecheckStep) ValidateEnumValue

func (m LocalScriptPrecheckStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkLoadBalancerBackendSetMapping added in v65.52.0

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

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

func (NetworkLoadBalancerBackendSetMapping) String added in v65.52.0

func (NetworkLoadBalancerBackendSetMapping) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (NetworkLoadBalancerBackendSetMappingDetails) String added in v65.52.0

func (NetworkLoadBalancerBackendSetMappingDetails) ValidateEnumValue added in v65.52.0

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

type ObjectStorageLogLocation struct {

	// The namespace in object storage (Note - this is usually the tenancy name).
	// Example: `myocitenancy`
	Namespace *string `mandatory:"true" json:"namespace"`

	// The bucket name inside the object storage namespace.
	// Example: `operation_logs`
	Bucket *string `mandatory:"true" json:"bucket"`

	// The object name inside the object storage bucket.
	// Example: `switchover_plan_executions`
	Object *string `mandatory:"false" json:"object"`
}

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

func (ObjectStorageLogLocation) String

func (m ObjectStorageLogLocation) String() string

func (ObjectStorageLogLocation) ValidateEnumValue

func (m ObjectStorageLogLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStorageScriptLocation

type ObjectStorageScriptLocation struct {

	// The namespace in object storage (Note - this is usually the tenancy name).
	// Example: `myocitenancy`
	Namespace *string `mandatory:"true" json:"namespace"`

	// The bucket name inside the object storage namespace.
	// Example: `custom_dr_scripts`
	Bucket *string `mandatory:"true" json:"bucket"`

	// The object name inside the object storage bucket.
	// Example: `validate_app_start.sh`
	Object *string `mandatory:"true" json:"object"`
}

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

func (ObjectStorageScriptLocation) String

func (ObjectStorageScriptLocation) ValidateEnumValue

func (m ObjectStorageScriptLocation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStoreScriptPrecheckStep

type ObjectStoreScriptPrecheckStep struct {
}

ObjectStoreScriptPrecheckStep Run object store script precheck step details.

func (ObjectStoreScriptPrecheckStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (ObjectStoreScriptPrecheckStep) String

func (ObjectStoreScriptPrecheckStep) ValidateEnumValue

func (m ObjectStoreScriptPrecheckStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting        OperationStatusEnum = "WAITING"
	OperationStatusCanceling      OperationStatusEnum = "CANCELING"
	OperationStatusCanceled       OperationStatusEnum = "CANCELED"
	OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
	OperationStatusFailed         OperationStatusEnum = "FAILED"
	OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateDrProtectionGroup       OperationTypeEnum = "CREATE_DR_PROTECTION_GROUP"
	OperationTypeUpdateDrProtectionGroup       OperationTypeEnum = "UPDATE_DR_PROTECTION_GROUP"
	OperationTypeDeleteDrProtectionGroup       OperationTypeEnum = "DELETE_DR_PROTECTION_GROUP"
	OperationTypeMoveDrProtectionGroup         OperationTypeEnum = "MOVE_DR_PROTECTION_GROUP"
	OperationTypeAssociateDrProtectionGroup    OperationTypeEnum = "ASSOCIATE_DR_PROTECTION_GROUP"
	OperationTypeDisassociateDrProtectionGroup OperationTypeEnum = "DISASSOCIATE_DR_PROTECTION_GROUP"
	OperationTypeUpdateRoleDrProtectionGroup   OperationTypeEnum = "UPDATE_ROLE_DR_PROTECTION_GROUP"
	OperationTypeCreateDrPlan                  OperationTypeEnum = "CREATE_DR_PLAN"
	OperationTypeUpdateDrPlan                  OperationTypeEnum = "UPDATE_DR_PLAN"
	OperationTypeDeleteDrPlan                  OperationTypeEnum = "DELETE_DR_PLAN"
	OperationTypeCreateDrPlanExecution         OperationTypeEnum = "CREATE_DR_PLAN_EXECUTION"
	OperationTypeUpdateDrPlanExecution         OperationTypeEnum = "UPDATE_DR_PLAN_EXECUTION"
	OperationTypeDeleteDrPlanExecution         OperationTypeEnum = "DELETE_DR_PLAN_EXECUTION"
	OperationTypeRetryDrPlanExecution          OperationTypeEnum = "RETRY_DR_PLAN_EXECUTION"
	OperationTypeIgnoreDrPlanExecution         OperationTypeEnum = "IGNORE_DR_PLAN_EXECUTION"
	OperationTypeCancelDrPlanExecution         OperationTypeEnum = "CANCEL_DR_PLAN_EXECUTION"
	OperationTypePauseDrPlanExecution          OperationTypeEnum = "PAUSE_DR_PLAN_EXECUTION"
	OperationTypeResumeDrPlanExecution         OperationTypeEnum = "RESUME_DR_PLAN_EXECUTION"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PauseDrPlanExecutionDetails

type PauseDrPlanExecutionDetails struct {
}

PauseDrPlanExecutionDetails The details for pausing a DR plan execution.

func (PauseDrPlanExecutionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (PauseDrPlanExecutionDetails) String

func (PauseDrPlanExecutionDetails) ValidateEnumValue

func (m PauseDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PauseDrPlanExecutionRequest

type PauseDrPlanExecutionRequest struct {

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

PauseDrPlanExecutionRequest wrapper for the PauseDrPlanExecution operation

See also

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

func (PauseDrPlanExecutionRequest) BinaryRequestBody

func (request PauseDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PauseDrPlanExecutionRequest) HTTPRequest

func (request PauseDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PauseDrPlanExecutionRequest) RetryPolicy

func (request PauseDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PauseDrPlanExecutionRequest) String

func (request PauseDrPlanExecutionRequest) String() string

func (PauseDrPlanExecutionRequest) ValidateEnumValue

func (request PauseDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PauseDrPlanExecutionResponse

type PauseDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

PauseDrPlanExecutionResponse wrapper for the PauseDrPlanExecution operation

func (PauseDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PauseDrPlanExecutionResponse) String

func (response PauseDrPlanExecutionResponse) String() string

type ResumeDrPlanExecutionDetails

type ResumeDrPlanExecutionDetails struct {
}

ResumeDrPlanExecutionDetails The details for resuming a DR plan execution.

func (ResumeDrPlanExecutionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (ResumeDrPlanExecutionDetails) String

func (ResumeDrPlanExecutionDetails) ValidateEnumValue

func (m ResumeDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResumeDrPlanExecutionRequest

type ResumeDrPlanExecutionRequest struct {

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

ResumeDrPlanExecutionRequest wrapper for the ResumeDrPlanExecution operation

See also

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

func (ResumeDrPlanExecutionRequest) BinaryRequestBody

func (request ResumeDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResumeDrPlanExecutionRequest) HTTPRequest

func (request ResumeDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResumeDrPlanExecutionRequest) RetryPolicy

func (request ResumeDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResumeDrPlanExecutionRequest) String

func (request ResumeDrPlanExecutionRequest) String() string

func (ResumeDrPlanExecutionRequest) ValidateEnumValue

func (request ResumeDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResumeDrPlanExecutionResponse

type ResumeDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ResumeDrPlanExecutionResponse wrapper for the ResumeDrPlanExecution operation

func (ResumeDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ResumeDrPlanExecutionResponse) String

func (response ResumeDrPlanExecutionResponse) String() string

type RetryDrPlanExecutionDetails

type RetryDrPlanExecutionDetails struct {

	// The unique id of the group to retry as a whole, or the group containing the step being retried.
	// Example: `sgid1.group..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"`
}

RetryDrPlanExecutionDetails The details for retrying a failed group or step.

func (RetryDrPlanExecutionDetails) String

func (RetryDrPlanExecutionDetails) ValidateEnumValue

func (m RetryDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetryDrPlanExecutionRequest

type RetryDrPlanExecutionRequest struct {

	// Details 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
}

RetryDrPlanExecutionRequest wrapper for the RetryDrPlanExecution operation

See also

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

func (RetryDrPlanExecutionRequest) BinaryRequestBody

func (request RetryDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RetryDrPlanExecutionRequest) HTTPRequest

func (request RetryDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RetryDrPlanExecutionRequest) RetryPolicy

func (request RetryDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RetryDrPlanExecutionRequest) String

func (request RetryDrPlanExecutionRequest) String() string

func (RetryDrPlanExecutionRequest) ValidateEnumValue

func (request RetryDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetryDrPlanExecutionResponse

type RetryDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

RetryDrPlanExecutionResponse wrapper for the RetryDrPlanExecution operation

func (RetryDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RetryDrPlanExecutionResponse) String

func (response RetryDrPlanExecutionResponse) String() string

type RunLocalScriptUserDefinedStep

type RunLocalScriptUserDefinedStep struct {

	// The OCID of the instance 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"`
}

RunLocalScriptUserDefinedStep Run Local Script step details.

func (RunLocalScriptUserDefinedStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (RunLocalScriptUserDefinedStep) String

func (RunLocalScriptUserDefinedStep) ValidateEnumValue

func (m RunLocalScriptUserDefinedStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RunObjectStoreScriptUserDefinedStep

type RunObjectStoreScriptUserDefinedStep struct {

	// The OCID of the instance 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"`
}

RunObjectStoreScriptUserDefinedStep Run Object Store Script step details.

func (RunObjectStoreScriptUserDefinedStep) MarshalJSON

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

MarshalJSON marshals to json representation

func (RunObjectStoreScriptUserDefinedStep) String

func (RunObjectStoreScriptUserDefinedStep) ValidateEnumValue

func (m RunObjectStoreScriptUserDefinedStep) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StartDrillExecutionOptionDetails added in v65.52.0

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

StartDrillExecutionOptionDetails Options for start drill execution.

func (StartDrillExecutionOptionDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StartDrillExecutionOptionDetails) String added in v65.52.0

func (StartDrillExecutionOptionDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

StartDrillExecutionOptions Options for start drill execution.

func (StartDrillExecutionOptions) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StartDrillExecutionOptions) String added in v65.52.0

func (StartDrillExecutionOptions) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type StartDrillPrecheckExecutionOptionDetails struct {

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

StartDrillPrecheckExecutionOptionDetails Options for start drill precheck execution.

func (StartDrillPrecheckExecutionOptionDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StartDrillPrecheckExecutionOptionDetails) String added in v65.52.0

func (StartDrillPrecheckExecutionOptionDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type StartDrillPrecheckExecutionOptions struct {

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

StartDrillPrecheckExecutionOptions Options for start drill precheck execution.

func (StartDrillPrecheckExecutionOptions) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StartDrillPrecheckExecutionOptions) String added in v65.52.0

func (StartDrillPrecheckExecutionOptions) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

StopDrillExecutionOptionDetails Options for stop drill execution.

func (StopDrillExecutionOptionDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StopDrillExecutionOptionDetails) String added in v65.52.0

func (StopDrillExecutionOptionDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

StopDrillExecutionOptions Options for stop drill execution.

func (StopDrillExecutionOptions) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StopDrillExecutionOptions) String added in v65.52.0

func (m StopDrillExecutionOptions) String() string

func (StopDrillExecutionOptions) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type StopDrillPrecheckExecutionOptionDetails struct {

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

StopDrillPrecheckExecutionOptionDetails Options for stop drill precheck execution.

func (StopDrillPrecheckExecutionOptionDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StopDrillPrecheckExecutionOptionDetails) String added in v65.52.0

func (StopDrillPrecheckExecutionOptionDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type StopDrillPrecheckExecutionOptions struct {

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

StopDrillPrecheckExecutionOptions Options for stop drill precheck execution.

func (StopDrillPrecheckExecutionOptions) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (StopDrillPrecheckExecutionOptions) String added in v65.52.0

func (StopDrillPrecheckExecutionOptions) ValidateEnumValue added in v65.52.0

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

type SwitchoverExecutionOptionDetails struct {

	// A flag indicating whether prechecks should be executed before the plan execution.
	// Example: `false`
	ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"`

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

SwitchoverExecutionOptionDetails Options for switchover execution.

func (SwitchoverExecutionOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (SwitchoverExecutionOptionDetails) String

func (SwitchoverExecutionOptionDetails) ValidateEnumValue

func (m SwitchoverExecutionOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SwitchoverExecutionOptions

type SwitchoverExecutionOptions struct {

	// A flag indicating whether prechecks should be executed before the plan execution.
	// Example: `false`
	ArePrechecksEnabled *bool `mandatory:"false" json:"arePrechecksEnabled"`

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

SwitchoverExecutionOptions Options for switchover execution.

func (SwitchoverExecutionOptions) MarshalJSON

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

MarshalJSON marshals to json representation

func (SwitchoverExecutionOptions) String

func (SwitchoverExecutionOptions) ValidateEnumValue

func (m SwitchoverExecutionOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SwitchoverPrecheckExecutionOptionDetails

type SwitchoverPrecheckExecutionOptionDetails struct {

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

SwitchoverPrecheckExecutionOptionDetails Options for switchover precheck execution.

func (SwitchoverPrecheckExecutionOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (SwitchoverPrecheckExecutionOptionDetails) String

func (SwitchoverPrecheckExecutionOptionDetails) ValidateEnumValue

func (m SwitchoverPrecheckExecutionOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SwitchoverPrecheckExecutionOptions

type SwitchoverPrecheckExecutionOptions struct {

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

SwitchoverPrecheckExecutionOptions Options for switchover precheck execution.

func (SwitchoverPrecheckExecutionOptions) MarshalJSON

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

MarshalJSON marshals to json representation

func (SwitchoverPrecheckExecutionOptions) String

func (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 added in v65.52.0

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

UpdateBlockVolumeAttachmentDetails The details for attaching or detaching a block volume.

func (UpdateBlockVolumeAttachmentDetails) String added in v65.52.0

func (UpdateBlockVolumeAttachmentDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (UpdateBlockVolumeMountDetails) String added in v65.52.0

func (UpdateBlockVolumeMountDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

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

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

func (UpdateComputeInstanceMovableFileSystemOperationDetails) String added in v65.52.0

func (UpdateComputeInstanceMovableFileSystemOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

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

func (UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) String added in v65.52.0

func (UpdateComputeInstanceNonMovableBlockVolumeOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

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

func (UpdateComputeInstanceNonMovableFileSystemOperationDetails) String added in v65.52.0

func (UpdateComputeInstanceNonMovableFileSystemOperationDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanDetails

type UpdateDrPlanDetails struct {

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

	// An ordered list of groups in a DR plan.
	PlanGroups []UpdateDrPlanGroupDetails `mandatory:"false" json:"planGroups"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDrPlanDetails The details for updating a DR plan.

func (UpdateDrPlanDetails) String

func (m UpdateDrPlanDetails) String() string

func (UpdateDrPlanDetails) ValidateEnumValue

func (m UpdateDrPlanDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanExecutionDetails

type UpdateDrPlanExecutionDetails struct {

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

UpdateDrPlanExecutionDetails The details for updating a DR plan exection.

func (UpdateDrPlanExecutionDetails) String

func (UpdateDrPlanExecutionDetails) ValidateEnumValue

func (m UpdateDrPlanExecutionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanExecutionRequest

type UpdateDrPlanExecutionRequest struct {

	// Details 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
}

UpdateDrPlanExecutionRequest wrapper for the UpdateDrPlanExecution operation

See also

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

func (UpdateDrPlanExecutionRequest) BinaryRequestBody

func (request UpdateDrPlanExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrPlanExecutionRequest) HTTPRequest

func (request UpdateDrPlanExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrPlanExecutionRequest) RetryPolicy

func (request UpdateDrPlanExecutionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrPlanExecutionRequest) String

func (request UpdateDrPlanExecutionRequest) String() string

func (UpdateDrPlanExecutionRequest) ValidateEnumValue

func (request UpdateDrPlanExecutionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanExecutionResponse

type UpdateDrPlanExecutionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDrPlanExecutionResponse wrapper for the UpdateDrPlanExecution operation

func (UpdateDrPlanExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDrPlanExecutionResponse) String

func (response UpdateDrPlanExecutionResponse) String() string

type UpdateDrPlanGroupDetails

type UpdateDrPlanGroupDetails struct {

	// The unique id of 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"`
}

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

func (UpdateDrPlanGroupDetails) String

func (m UpdateDrPlanGroupDetails) String() string

func (UpdateDrPlanGroupDetails) ValidateEnumValue

func (m UpdateDrPlanGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanRequest

type UpdateDrPlanRequest struct {

	// Details 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
}

UpdateDrPlanRequest wrapper for the UpdateDrPlan operation

See also

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

func (UpdateDrPlanRequest) BinaryRequestBody

func (request UpdateDrPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrPlanRequest) HTTPRequest

func (request UpdateDrPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrPlanRequest) RetryPolicy

func (request UpdateDrPlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrPlanRequest) String

func (request UpdateDrPlanRequest) String() string

func (UpdateDrPlanRequest) ValidateEnumValue

func (request UpdateDrPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanResponse

type UpdateDrPlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDrPlanResponse wrapper for the UpdateDrPlan operation

func (UpdateDrPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDrPlanResponse) String

func (response UpdateDrPlanResponse) String() string

type UpdateDrPlanStepDetails

type UpdateDrPlanStepDetails struct {

	// The unique id of 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"`
}

UpdateDrPlanStepDetails The details for updating a DR plan step.

func (UpdateDrPlanStepDetails) String

func (m UpdateDrPlanStepDetails) String() string

func (*UpdateDrPlanStepDetails) UnmarshalJSON

func (m *UpdateDrPlanStepDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDrPlanStepDetails) ValidateEnumValue

func (m UpdateDrPlanStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrPlanUserDefinedStepDetails

type UpdateDrPlanUserDefinedStepDetails interface {
}

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

type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

type UpdateDrPlanUserDefinedStepDetailsStepTypeEnum string

UpdateDrPlanUserDefinedStepDetailsStepTypeEnum Enum with underlying type: string

const (
	UpdateDrPlanUserDefinedStepDetailsStepTypeRunObjectstoreScriptPrecheck UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT_PRECHECK"
	UpdateDrPlanUserDefinedStepDetailsStepTypeRunLocalScriptPrecheck       UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_LOCAL_SCRIPT_PRECHECK"
	UpdateDrPlanUserDefinedStepDetailsStepTypeInvokeFunctionPrecheck       UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "INVOKE_FUNCTION_PRECHECK"
	UpdateDrPlanUserDefinedStepDetailsStepTypeRunObjectstoreScript         UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_OBJECTSTORE_SCRIPT"
	UpdateDrPlanUserDefinedStepDetailsStepTypeRunLocalScript               UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "RUN_LOCAL_SCRIPT"
	UpdateDrPlanUserDefinedStepDetailsStepTypeInvokeFunction               UpdateDrPlanUserDefinedStepDetailsStepTypeEnum = "INVOKE_FUNCTION"
)

Set of constants representing the allowable values for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

func GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum

func GetMappingUpdateDrPlanUserDefinedStepDetailsStepTypeEnum(val string) (UpdateDrPlanUserDefinedStepDetailsStepTypeEnum, bool)

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

func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues

func GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues() []UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

GetUpdateDrPlanUserDefinedStepDetailsStepTypeEnumValues Enumerates the set of values for UpdateDrPlanUserDefinedStepDetailsStepTypeEnum

type UpdateDrProtectionGroupDetails

type UpdateDrProtectionGroupDetails struct {

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

UpdateDrProtectionGroupDetails The details for updating a DR protection group.

func (UpdateDrProtectionGroupDetails) String

func (*UpdateDrProtectionGroupDetails) UnmarshalJSON

func (m *UpdateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDrProtectionGroupDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails

type UpdateDrProtectionGroupMemberAutonomousDatabaseDetails struct {

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

UpdateDrProtectionGroupMemberAutonomousDatabaseDetails Update properties for an Autonomous Database Serverless member.

func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) GetMemberId

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) MarshalJSON

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) String

func (UpdateDrProtectionGroupMemberAutonomousDatabaseDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberComputeInstanceDetails

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

UpdateDrProtectionGroupMemberComputeInstanceDetails Deprecated. Update properties for a compute instance member.

func (UpdateDrProtectionGroupMemberComputeInstanceDetails) GetMemberId

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberComputeInstanceDetails) MarshalJSON

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberComputeInstanceDetails) String

func (UpdateDrProtectionGroupMemberComputeInstanceDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberComputeInstanceMovableDetails added in v65.44.0

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

UpdateDrProtectionGroupMemberComputeInstanceMovableDetails Update properties for a movable compute instance member.

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) MarshalJSON added in v65.44.0

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) String added in v65.44.0

func (UpdateDrProtectionGroupMemberComputeInstanceMovableDetails) ValidateEnumValue added in v65.44.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails added in v65.44.0

type UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails struct {

	// The OCID of the member.
	// Example: `ocid1.database.oc1..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"`
}

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

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) GetMemberId added in v65.44.0

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) MarshalJSON added in v65.44.0

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) String added in v65.44.0

func (UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails) ValidateEnumValue added in v65.44.0

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberDatabaseDetails

type UpdateDrProtectionGroupMemberDatabaseDetails struct {

	// The OCID of the member.
	// Example: `ocid1.database.oc1..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"`
}

UpdateDrProtectionGroupMemberDatabaseDetails Update properties for a Database (DBCS) member.

func (UpdateDrProtectionGroupMemberDatabaseDetails) GetMemberId

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberDatabaseDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberDatabaseDetails) String

func (UpdateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupMemberDatabaseDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupMemberDetails

type UpdateDrProtectionGroupMemberDetails interface {

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

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

type UpdateDrProtectionGroupMemberFileSystemDetails added in v65.52.0

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

UpdateDrProtectionGroupMemberFileSystemDetails Update properties for a file system member.

func (UpdateDrProtectionGroupMemberFileSystemDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberFileSystemDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberFileSystemDetails) String added in v65.52.0

func (UpdateDrProtectionGroupMemberFileSystemDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

UpdateDrProtectionGroupMemberLoadBalancerDetails Update properties for a load balancer member.

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) MarshalJSON added in v65.52.0

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

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) String added in v65.52.0

func (UpdateDrProtectionGroupMemberLoadBalancerDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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 added in v65.52.0

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

UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails Update properties for a network load balancer member.

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) GetMemberId added in v65.52.0

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) MarshalJSON added in v65.52.0

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) String added in v65.52.0

func (UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails) ValidateEnumValue added in v65.52.0

ValidateEnumValue returns an error 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

type UpdateDrProtectionGroupMemberVolumeGroupDetails struct {

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

UpdateDrProtectionGroupMemberVolumeGroupDetails Update properties for a volume group member.

func (UpdateDrProtectionGroupMemberVolumeGroupDetails) GetMemberId

GetMemberId returns MemberId

func (UpdateDrProtectionGroupMemberVolumeGroupDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateDrProtectionGroupMemberVolumeGroupDetails) String

func (UpdateDrProtectionGroupMemberVolumeGroupDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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
}

UpdateDrProtectionGroupRequest wrapper for the UpdateDrProtectionGroup operation

See also

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

func (UpdateDrProtectionGroupRequest) BinaryRequestBody

func (request UpdateDrProtectionGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrProtectionGroupRequest) HTTPRequest

func (request UpdateDrProtectionGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrProtectionGroupRequest) RetryPolicy

func (request UpdateDrProtectionGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrProtectionGroupRequest) String

func (request UpdateDrProtectionGroupRequest) String() string

func (UpdateDrProtectionGroupRequest) ValidateEnumValue

func (request UpdateDrProtectionGroupRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupResponse

type UpdateDrProtectionGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDrProtectionGroupResponse wrapper for the UpdateDrProtectionGroup operation

func (UpdateDrProtectionGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDrProtectionGroupResponse) String

func (response UpdateDrProtectionGroupResponse) String() string

type UpdateDrProtectionGroupRoleDetails

type UpdateDrProtectionGroupRoleDetails struct {

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

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

func (UpdateDrProtectionGroupRoleDetails) String

func (UpdateDrProtectionGroupRoleDetails) ValidateEnumValue

func (m UpdateDrProtectionGroupRoleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupRoleRequest

type UpdateDrProtectionGroupRoleRequest struct {

	// The role details for the DR protection group 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
}

UpdateDrProtectionGroupRoleRequest wrapper for the UpdateDrProtectionGroupRole operation

See also

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

func (UpdateDrProtectionGroupRoleRequest) BinaryRequestBody

func (request UpdateDrProtectionGroupRoleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrProtectionGroupRoleRequest) HTTPRequest

func (request UpdateDrProtectionGroupRoleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrProtectionGroupRoleRequest) RetryPolicy

func (request UpdateDrProtectionGroupRoleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrProtectionGroupRoleRequest) String

func (request UpdateDrProtectionGroupRoleRequest) String() string

func (UpdateDrProtectionGroupRoleRequest) ValidateEnumValue

func (request UpdateDrProtectionGroupRoleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateDrProtectionGroupRoleResponse

type UpdateDrProtectionGroupRoleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier (OCID) for the asynchronous request. You can use this to query status of the asynchronous operation. Use GetWorkRequest with this OCID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDrProtectionGroupRoleResponse wrapper for the UpdateDrProtectionGroupRole operation

func (UpdateDrProtectionGroupRoleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDrProtectionGroupRoleResponse) String

func (response UpdateDrProtectionGroupRoleResponse) String() string

type UpdateFileSystemMountDetails added in v65.52.0

type UpdateFileSystemMountDetails struct {

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

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

func (UpdateFileSystemMountDetails) String added in v65.52.0

func (UpdateFileSystemMountDetails) ValidateEnumValue added in v65.52.0

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 added in v65.52.0

type UpdateFileSystemUnmountDetails struct {

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

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

func (UpdateFileSystemUnmountDetails) String added in v65.52.0

func (UpdateFileSystemUnmountDetails) ValidateEnumValue added in v65.52.0

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

type UpdateInvokeFunctionPrecheckStepDetails struct {
}

UpdateInvokeFunctionPrecheckStepDetails The details for updating Invoke Oracle function precheck step.

func (UpdateInvokeFunctionPrecheckStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateInvokeFunctionPrecheckStepDetails) String

func (UpdateInvokeFunctionPrecheckStepDetails) ValidateEnumValue

func (m UpdateInvokeFunctionPrecheckStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateInvokeFunctionUserDefinedStepDetails

type UpdateInvokeFunctionUserDefinedStepDetails struct {

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

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

UpdateInvokeFunctionUserDefinedStepDetails The details for updating an Invoke Oracle Function step.

func (UpdateInvokeFunctionUserDefinedStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateInvokeFunctionUserDefinedStepDetails) String

func (UpdateInvokeFunctionUserDefinedStepDetails) ValidateEnumValue

func (m UpdateInvokeFunctionUserDefinedStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateLocalScriptPrecheckStepDetails

type UpdateLocalScriptPrecheckStepDetails struct {
}

UpdateLocalScriptPrecheckStepDetails The details for updating Run local script precheck step.

func (UpdateLocalScriptPrecheckStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateLocalScriptPrecheckStepDetails) String

func (UpdateLocalScriptPrecheckStepDetails) ValidateEnumValue

func (m UpdateLocalScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStorageLogLocationDetails

type UpdateObjectStorageLogLocationDetails struct {

	// The namespace in object storage (Note - this is usually the tenancy name).
	// Example: `myocitenancy`
	Namespace *string `mandatory:"true" json:"namespace"`

	// The bucket name inside the object storage namespace.
	// Example: `operation_logs`
	Bucket *string `mandatory:"true" json:"bucket"`
}

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

func (UpdateObjectStorageLogLocationDetails) String

func (UpdateObjectStorageLogLocationDetails) ValidateEnumValue

func (m UpdateObjectStorageLogLocationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStorageScriptLocationDetails

type UpdateObjectStorageScriptLocationDetails struct {

	// The namespace in object storage (Note - this is usually the tenancy name).
	// Example: `myocitenancy`
	Namespace *string `mandatory:"true" json:"namespace"`

	// The bucket name inside the object storage namespace.
	// Example: `custom_dr_scripts`
	Bucket *string `mandatory:"true" json:"bucket"`

	// The object name inside the object storage bucket.
	// Example: `validate_app_start.sh`
	Object *string `mandatory:"true" json:"object"`
}

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

func (UpdateObjectStorageScriptLocationDetails) String

func (UpdateObjectStorageScriptLocationDetails) ValidateEnumValue

func (m UpdateObjectStorageScriptLocationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStoreScriptPrecheckStepDetails

type UpdateObjectStoreScriptPrecheckStepDetails struct {
}

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

func (UpdateObjectStoreScriptPrecheckStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateObjectStoreScriptPrecheckStepDetails) String

func (UpdateObjectStoreScriptPrecheckStepDetails) ValidateEnumValue

func (m UpdateObjectStoreScriptPrecheckStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRunLocalScriptUserDefinedStepDetails

type UpdateRunLocalScriptUserDefinedStepDetails struct {

	// The OCID of the instance 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"`
}

UpdateRunLocalScriptUserDefinedStepDetails The details for updating a Run Local Script step.

func (UpdateRunLocalScriptUserDefinedStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateRunLocalScriptUserDefinedStepDetails) String

func (UpdateRunLocalScriptUserDefinedStepDetails) ValidateEnumValue

func (m UpdateRunLocalScriptUserDefinedStepDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRunObjectStoreScriptUserDefinedStepDetails

type UpdateRunObjectStoreScriptUserDefinedStepDetails struct {

	// The OCID of the instance 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"`
}

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

func (UpdateRunObjectStoreScriptUserDefinedStepDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateRunObjectStoreScriptUserDefinedStepDetails) String

func (UpdateRunObjectStoreScriptUserDefinedStepDetails) ValidateEnumValue

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

type WorkRequest struct {

	// The type of the work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The status of work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

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

WorkRequest Information on a work request.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed here --
	// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
	// Example: `429`
	Code *string `mandatory:"true" json:"code"`

	// A human-readable description of the issue encountered.
	// Example: `TooManyRequests`
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	// Example: `2019-03-29T09:36:42Z`
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error associcated with a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

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

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

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// A human-readable log message.
	// Example: `DR plan execution is in progress`
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string.
	// Example: `2019-03-29T09:36:42Z`
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

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

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

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

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

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	// Example: `DrPlanExecution`
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier (OCID) of the resource the work request affects.
	// Example: `ocid1.drplanexecution.oc1..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"`
}

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummary

type WorkRequestSummary struct {

	// The type of the work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

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

WorkRequestSummary The summary of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

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

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

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL