ComputeInstanceMovableVnicMapping

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

Bases: object

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

Methods

__init__(**kwargs) Initializes a new ComputeInstanceMovableVnicMapping object with values from keyword arguments.

Attributes

destination_nsg_id_list Gets the destination_nsg_id_list of this ComputeInstanceMovableVnicMapping.
destination_primary_private_ip_address Gets the destination_primary_private_ip_address of this ComputeInstanceMovableVnicMapping.
destination_primary_private_ip_hostname_label Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMapping.
destination_subnet_id [Required] Gets the destination_subnet_id of this ComputeInstanceMovableVnicMapping.
source_vnic_id [Required] Gets the source_vnic_id of this ComputeInstanceMovableVnicMapping.
__init__(**kwargs)

Initializes a new ComputeInstanceMovableVnicMapping object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source_vnic_id (str) – The value to assign to the source_vnic_id property of this ComputeInstanceMovableVnicMapping.
  • destination_subnet_id (str) – The value to assign to the destination_subnet_id property of this ComputeInstanceMovableVnicMapping.
  • destination_primary_private_ip_address (str) – The value to assign to the destination_primary_private_ip_address property of this ComputeInstanceMovableVnicMapping.
  • destination_primary_private_ip_hostname_label (str) – The value to assign to the destination_primary_private_ip_hostname_label property of this ComputeInstanceMovableVnicMapping.
  • destination_nsg_id_list (list[str]) – The value to assign to the destination_nsg_id_list property of this ComputeInstanceMovableVnicMapping.
destination_nsg_id_list

Gets the destination_nsg_id_list of this ComputeInstanceMovableVnicMapping. 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 ]

Returns:The destination_nsg_id_list of this ComputeInstanceMovableVnicMapping.
Return type:list[str]
destination_primary_private_ip_address

Gets the destination_primary_private_ip_address of this ComputeInstanceMovableVnicMapping. 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

Returns:The destination_primary_private_ip_address of this ComputeInstanceMovableVnicMapping.
Return type:str
destination_primary_private_ip_hostname_label

Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMapping. 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

Returns:The destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMapping.
Return type:str
destination_subnet_id

[Required] Gets the destination_subnet_id of this ComputeInstanceMovableVnicMapping. The OCID of the destination subnet to which the source VNIC should connect.

Example: ocid1.subnet.oc1..uniqueID

Returns:The destination_subnet_id of this ComputeInstanceMovableVnicMapping.
Return type:str
source_vnic_id

[Required] Gets the source_vnic_id of this ComputeInstanceMovableVnicMapping. The OCID of the source VNIC.

Example: ocid1.vnic.oc1..uniqueID

Returns:The source_vnic_id of this ComputeInstanceMovableVnicMapping.
Return type:str