UpdateDrProtectionGroupMemberComputeInstanceDetails¶
-
class
oci.disaster_recovery.models.
UpdateDrProtectionGroupMemberComputeInstanceDetails
(**kwargs)¶ Bases:
oci.disaster_recovery.models.update_dr_protection_group_member_details.UpdateDrProtectionGroupMemberDetails
Deprecated. Update properties for a 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 destination_compartment_id
Gets the destination_compartment_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. destination_dedicated_vm_host_id
Gets the destination_dedicated_vm_host_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. is_movable
Gets the is_movable of this UpdateDrProtectionGroupMemberComputeInstanceDetails. member_id
[Required] Gets the member_id of this UpdateDrProtectionGroupMemberDetails. member_type
[Required] Gets the member_type of this UpdateDrProtectionGroupMemberDetails. vnic_mapping
Gets the vnic_mapping of this UpdateDrProtectionGroupMemberComputeInstanceDetails. Methods
__init__
(**kwargs)Initializes a new UpdateDrProtectionGroupMemberComputeInstanceDetails 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 UpdateDrProtectionGroupMemberComputeInstanceDetails object with values from keyword arguments. The default value of the
member_type
attribute of this class isCOMPUTE_INSTANCE
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 UpdateDrProtectionGroupMemberComputeInstanceDetails.
- member_type (str) – The value to assign to the member_type property of this UpdateDrProtectionGroupMemberComputeInstanceDetails. 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_movable (bool) – The value to assign to the is_movable property of this UpdateDrProtectionGroupMemberComputeInstanceDetails.
- vnic_mapping (list[oci.disaster_recovery.models.ComputeInstanceVnicMappingDetails]) – The value to assign to the vnic_mapping property of this UpdateDrProtectionGroupMemberComputeInstanceDetails.
- destination_compartment_id (str) – The value to assign to the destination_compartment_id property of this UpdateDrProtectionGroupMemberComputeInstanceDetails.
- destination_dedicated_vm_host_id (str) – The value to assign to the destination_dedicated_vm_host_id property of this UpdateDrProtectionGroupMemberComputeInstanceDetails.
-
destination_compartment_id
¶ Gets the destination_compartment_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. The OCID of a compartment in the destination region in which the compute instance should be launched.
Example: ocid1.compartment.oc1..uniqueID
Returns: The destination_compartment_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. Return type: str
-
destination_dedicated_vm_host_id
¶ Gets the destination_dedicated_vm_host_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. The OCID of a dedicated VM host in the destination region on which the compute instance should be launched.
Example: ocid1.dedicatedvmhost.oc1..uniqueID
Returns: The destination_dedicated_vm_host_id of this UpdateDrProtectionGroupMemberComputeInstanceDetails. Return type: str
-
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_movable
¶ Gets the is_movable of this UpdateDrProtectionGroupMemberComputeInstanceDetails. A flag indicating if the compute instance should be moved during DR operations.
Example: false
Returns: The is_movable of this UpdateDrProtectionGroupMemberComputeInstanceDetails. Return type: bool
-
member_id
¶ [Required] Gets the member_id of this UpdateDrProtectionGroupMemberDetails. The OCID of the member.
Example: ocid1.database.oc1..uniqueID
Returns: The member_id of this UpdateDrProtectionGroupMemberDetails. Return type: str
-
member_type
¶ [Required] Gets the member_type of this UpdateDrProtectionGroupMemberDetails. 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 UpdateDrProtectionGroupMemberDetails. Return type: str
-
vnic_mapping
¶ Gets the vnic_mapping of this UpdateDrProtectionGroupMemberComputeInstanceDetails. A list of compute instance VNIC mappings.
Returns: The vnic_mapping of this UpdateDrProtectionGroupMemberComputeInstanceDetails. Return type: list[oci.disaster_recovery.models.ComputeInstanceVnicMappingDetails]
-