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_reserved_primary_private_ip_id

Gets the destination_reserved_primary_private_ip_id of this ComputeInstanceMovableVnicMapping.

destination_reserved_public_ip_id

Gets the destination_reserved_public_ip_id 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_reserved_primary_private_ip_id (str) – The value to assign to the destination_reserved_primary_private_ip_id property of this ComputeInstanceMovableVnicMapping.

  • destination_reserved_public_ip_id (str) – The value to assign to the destination_reserved_public_ip_id property of this ComputeInstanceMovableVnicMapping.

  • destination_nsg_id_list (list[str]) – The value to assign to the destination_nsg_id_list property of this ComputeInstanceMovableVnicMapping.

property 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]

property destination_primary_private_ip_address

Gets the destination_primary_private_ip_address of this ComputeInstanceMovableVnicMapping. Deprecated. Use the ‘destinationReservedPrimaryPrivateIpId’ attribute instead of this. 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

property destination_primary_private_ip_hostname_label

Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMapping. Deprecated. Use the ‘destinationReservedPrimaryPrivateIpId’ attribute instead of this. 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

property destination_reserved_primary_private_ip_id

Gets the destination_reserved_primary_private_ip_id of this ComputeInstanceMovableVnicMapping. The OCID of the reserved private IP (IPv4) to be assigned to the compute instance in the destination region. Do not specify this attribute together with destinationPrimaryPrivateIpAddress, destinationPrimaryPrivateIpHostnameLabel, or the FsdrDestinationReservedPrimaryPrivateIpId freeform tag on the source VNIC.

For legacy compatibility, omit this attribute and use either the legacy explicit private-IP fields or the freeform tag, but not both configuration mechanisms for the same source VNIC.

Example: ocid1.privateip.oc1..uniqueID

Returns

The destination_reserved_primary_private_ip_id of this ComputeInstanceMovableVnicMapping.

Return type

str

property destination_reserved_public_ip_id

Gets the destination_reserved_public_ip_id of this ComputeInstanceMovableVnicMapping. The OCID of the reserved public IP address to be assigned to the compute instance in the destination region.

Example: ocid1.publicip.oc1..uniqueID

Returns

The destination_reserved_public_ip_id of this ComputeInstanceMovableVnicMapping.

Return type

str

property 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

property 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