ComputeInstanceMovableVnicMappingDetails¶
-
class
oci.disaster_recovery.models.
ComputeInstanceMovableVnicMappingDetails
(**kwargs)¶ Bases:
object
Source VNIC to destination subnet mapping for a movable compute instance.
Methods
__init__
(**kwargs)Initializes a new ComputeInstanceMovableVnicMappingDetails object with values from keyword arguments. Attributes
destination_nsg_id_list
Gets the destination_nsg_id_list of this ComputeInstanceMovableVnicMappingDetails. destination_primary_private_ip_address
Gets the destination_primary_private_ip_address of this ComputeInstanceMovableVnicMappingDetails. destination_primary_private_ip_hostname_label
Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMappingDetails. destination_subnet_id
[Required] Gets the destination_subnet_id of this ComputeInstanceMovableVnicMappingDetails. source_vnic_id
[Required] Gets the source_vnic_id of this ComputeInstanceMovableVnicMappingDetails. -
__init__
(**kwargs)¶ Initializes a new ComputeInstanceMovableVnicMappingDetails 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 ComputeInstanceMovableVnicMappingDetails.
- destination_subnet_id (str) – The value to assign to the destination_subnet_id property of this ComputeInstanceMovableVnicMappingDetails.
- destination_primary_private_ip_address (str) – The value to assign to the destination_primary_private_ip_address property of this ComputeInstanceMovableVnicMappingDetails.
- destination_primary_private_ip_hostname_label (str) – The value to assign to the destination_primary_private_ip_hostname_label property of this ComputeInstanceMovableVnicMappingDetails.
- destination_nsg_id_list (list[str]) – The value to assign to the destination_nsg_id_list property of this ComputeInstanceMovableVnicMappingDetails.
-
destination_nsg_id_list
¶ Gets the destination_nsg_id_list of this ComputeInstanceMovableVnicMappingDetails. 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 ComputeInstanceMovableVnicMappingDetails. Return type: list[str]
-
destination_primary_private_ip_address
¶ Gets the destination_primary_private_ip_address of this ComputeInstanceMovableVnicMappingDetails. The primary private IP address to be assigned to the source VNIC in the destination subnet. This IP address must belong to the destination subnet.
Example: 10.0.3.3
Returns: The destination_primary_private_ip_address of this ComputeInstanceMovableVnicMappingDetails. Return type: str
-
destination_primary_private_ip_hostname_label
¶ Gets the destination_primary_private_ip_hostname_label of this ComputeInstanceMovableVnicMappingDetails. 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 ComputeInstanceMovableVnicMappingDetails. Return type: str
-
destination_subnet_id
¶ [Required] Gets the destination_subnet_id of this ComputeInstanceMovableVnicMappingDetails. 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 ComputeInstanceMovableVnicMappingDetails. Return type: str
-
source_vnic_id
¶ [Required] Gets the source_vnic_id of this ComputeInstanceMovableVnicMappingDetails. The OCID of the source VNIC.
Example: ocid1.vnic.oc1..uniqueID
Returns: The source_vnic_id of this ComputeInstanceMovableVnicMappingDetails. Return type: str
-