CreateDrProtectionGroupMemberComputeInstanceMovableDetails

class oci.disaster_recovery.models.CreateDrProtectionGroupMemberComputeInstanceMovableDetails(**kwargs)

Bases: oci.disaster_recovery.models.create_dr_protection_group_member_details.CreateDrProtectionGroupMemberDetails

Create properties for a movable compute instance member.

Attributes

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_VOLUME_GROUP str(object=’’) -> str
destination_capacity_reservation_id Gets the destination_capacity_reservation_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
destination_compartment_id Gets the destination_compartment_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
destination_dedicated_vm_host_id Gets the destination_dedicated_vm_host_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
file_system_operations Gets the file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
is_retain_fault_domain Gets the is_retain_fault_domain of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
member_id [Required] Gets the member_id of this CreateDrProtectionGroupMemberDetails.
member_type [Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails.
vnic_mappings Gets the vnic_mappings of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.

Methods

__init__(**kwargs) Initializes a new CreateDrProtectionGroupMemberComputeInstanceMovableDetails 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_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_VOLUME_GROUP = 'VOLUME_GROUP'
__init__(**kwargs)

Initializes a new CreateDrProtectionGroupMemberComputeInstanceMovableDetails object with values from keyword arguments. The default value of the member_type attribute of this class is COMPUTE_INSTANCE_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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • member_type (str) – The value to assign to the member_type property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”
  • is_retain_fault_domain (bool) – The value to assign to the is_retain_fault_domain property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • destination_capacity_reservation_id (str) – The value to assign to the destination_capacity_reservation_id property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • vnic_mappings (list[oci.disaster_recovery.models.ComputeInstanceMovableVnicMappingDetails]) – The value to assign to the vnic_mappings property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • destination_compartment_id (str) – The value to assign to the destination_compartment_id property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • destination_dedicated_vm_host_id (str) – The value to assign to the destination_dedicated_vm_host_id property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
  • file_system_operations (list[oci.disaster_recovery.models.CreateComputeInstanceMovableFileSystemOperationDetails]) – The value to assign to the file_system_operations property of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
destination_capacity_reservation_id

Gets the destination_capacity_reservation_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. The OCID of a capacity reservation in the destination region which will be used to launch the compute instance.

Example: ocid1.capacityreservation.oc1..uniqueID

Returns:The destination_capacity_reservation_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
Return type:str
destination_compartment_id

Gets the destination_compartment_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. 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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
Return type:str
destination_dedicated_vm_host_id

Gets the destination_dedicated_vm_host_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. The OCID of a dedicated VM host in the destination region where the compute instance should be launched.

Example: ocid1.dedicatedvmhost.oc1..uniqueID

Returns:The destination_dedicated_vm_host_id of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
Return type:str
file_system_operations

Gets the file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. A list of operations performed on file systems used by the compute instance.

Returns:The file_system_operations of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
Return type:list[oci.disaster_recovery.models.CreateComputeInstanceMovableFileSystemOperationDetails]
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_retain_fault_domain

Gets the is_retain_fault_domain of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. 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

Returns:The is_retain_fault_domain of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
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”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”

Returns:The member_type of this CreateDrProtectionGroupMemberDetails.
Return type:str
vnic_mappings

Gets the vnic_mappings of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails. A list of compute instance VNIC mappings.

Returns:The vnic_mappings of this CreateDrProtectionGroupMemberComputeInstanceMovableDetails.
Return type:list[oci.disaster_recovery.models.ComputeInstanceMovableVnicMappingDetails]