CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails¶
-
class
oci.disaster_recovery.models.
CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails
(**kwargs)¶ Bases:
oci.disaster_recovery.models.create_dr_protection_group_member_details.CreateDrProtectionGroupMemberDetails
Create properties for a non-movable compute instance member.
Attributes
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
str(object=’’) -> str MEMBER_TYPE_AUTONOMOUS_DATABASE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
str(object=’’) -> str MEMBER_TYPE_DATABASE
str(object=’’) -> str MEMBER_TYPE_FILE_SYSTEM
str(object=’’) -> str MEMBER_TYPE_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_NETWORK_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_OBJECT_STORAGE_BUCKET
str(object=’’) -> str MEMBER_TYPE_VOLUME_GROUP
str(object=’’) -> str block_volume_operations
Gets the block_volume_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. file_system_operations
Gets the file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. is_start_stop_enabled
Gets the is_start_stop_enabled of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. member_id
[Required] Gets the member_id of this CreateDrProtectionGroupMemberDetails. member_type
[Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails. Methods
__init__
(**kwargs)Initializes a new CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
= 'AUTONOMOUS_CONTAINER_DATABASE'¶
-
MEMBER_TYPE_AUTONOMOUS_DATABASE
= 'AUTONOMOUS_DATABASE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE
= 'COMPUTE_INSTANCE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
= 'COMPUTE_INSTANCE_MOVABLE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
= 'COMPUTE_INSTANCE_NON_MOVABLE'¶
-
MEMBER_TYPE_DATABASE
= 'DATABASE'¶
-
MEMBER_TYPE_FILE_SYSTEM
= 'FILE_SYSTEM'¶
-
MEMBER_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
MEMBER_TYPE_NETWORK_LOAD_BALANCER
= 'NETWORK_LOAD_BALANCER'¶
-
MEMBER_TYPE_OBJECT_STORAGE_BUCKET
= 'OBJECT_STORAGE_BUCKET'¶
-
MEMBER_TYPE_VOLUME_GROUP
= 'VOLUME_GROUP'¶
-
__init__
(**kwargs)¶ Initializes a new CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails object with values from keyword arguments. The default value of the
member_type
attribute of this class isCOMPUTE_INSTANCE_NON_MOVABLE
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - member_id (str) – The value to assign to the member_id property of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.
- member_type (str) – The value to assign to the member_type property of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OBJECT_STORAGE_BUCKET”
- is_start_stop_enabled (bool) – The value to assign to the is_start_stop_enabled property of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.
- file_system_operations (list[oci.disaster_recovery.models.CreateComputeInstanceNonMovableFileSystemOperationDetails]) – The value to assign to the file_system_operations property of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.
- block_volume_operations (list[oci.disaster_recovery.models.CreateComputeInstanceNonMovableBlockVolumeOperationDetails]) – The value to assign to the block_volume_operations property of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.
-
block_volume_operations
¶ Gets the block_volume_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. A list of operations performed on block volumes used by the compute instance.
Returns: The block_volume_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. Return type: list[oci.disaster_recovery.models.CreateComputeInstanceNonMovableBlockVolumeOperationDetails]
-
file_system_operations
¶ Gets the file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. A list of operations performed on file systems used by the compute instance.
Returns: The file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. Return type: list[oci.disaster_recovery.models.CreateComputeInstanceNonMovableFileSystemOperationDetails]
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
is_start_stop_enabled
¶ Gets the is_start_stop_enabled of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. 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.
Returns: The is_start_stop_enabled of this CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails. Return type: bool
-
member_id
¶ [Required] Gets the member_id of this CreateDrProtectionGroupMemberDetails. The OCID of the member.
Example: ocid1.instance.oc1..uniqueID
Returns: The member_id of this CreateDrProtectionGroupMemberDetails. Return type: str
-
member_type
¶ [Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails. The type of the member.
Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OBJECT_STORAGE_BUCKET”
Returns: The member_type of this CreateDrProtectionGroupMemberDetails. Return type: str
-