ComputeInstanceVnicMappingDetails

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

Bases: object

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

Methods

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

Attributes

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

Initializes a new ComputeInstanceVnicMappingDetails 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 ComputeInstanceVnicMappingDetails.
  • destination_subnet_id (str) – The value to assign to the destination_subnet_id property of this ComputeInstanceVnicMappingDetails.
  • destination_primary_private_ip_address (str) – The value to assign to the destination_primary_private_ip_address property of this ComputeInstanceVnicMappingDetails.
  • destination_primary_private_ip_hostname_label (str) – The value to assign to the destination_primary_private_ip_hostname_label property of this ComputeInstanceVnicMappingDetails.
  • destination_nsg_id_list (list[str]) – The value to assign to the destination_nsg_id_list property of this ComputeInstanceVnicMappingDetails.
destination_nsg_id_list

Gets the destination_nsg_id_list of this ComputeInstanceVnicMappingDetails. 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 ComputeInstanceVnicMappingDetails.
Return type:list[str]
destination_primary_private_ip_address

Gets the destination_primary_private_ip_address of this ComputeInstanceVnicMappingDetails. The primary private IP address to be assigned to the VNIC in the destination region. This address must belong to the destination subnet.

Example: 10.0.3.3

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

Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceVnicMappingDetails. 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 ComputeInstanceVnicMappingDetails.
Return type:str
destination_subnet_id

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

Example: ocid1.subnet.oc1..uniqueID

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

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

Example: ocid1.vnic.oc1..uniqueID

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