Show / Hide Table of Contents

Class ComputeInstanceMovableVnicMappingDetails

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

Inheritance
object
ComputeInstanceMovableVnicMappingDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.dll
Syntax
public class ComputeInstanceMovableVnicMappingDetails

Properties

DestinationNsgIdList

Declaration
[JsonProperty(PropertyName = "destinationNsgIdList")]
public List<string> DestinationNsgIdList { get; set; }
Property Value
Type Description
List<string>

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 ]

DestinationPrimaryPrivateIpAddress

Declaration
[JsonProperty(PropertyName = "destinationPrimaryPrivateIpAddress")]
public string DestinationPrimaryPrivateIpAddress { get; set; }
Property Value
Type Description
string

Deprecated. Use the 'destinationReservedPrimaryPrivateIpId' attribute instead of this. 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

DestinationPrimaryPrivateIpHostnameLabel

Declaration
[JsonProperty(PropertyName = "destinationPrimaryPrivateIpHostnameLabel")]
public string DestinationPrimaryPrivateIpHostnameLabel { get; set; }
Property Value
Type Description
string

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

DestinationReservedPrimaryPrivateIpId

Declaration
[JsonProperty(PropertyName = "destinationReservedPrimaryPrivateIpId")]
public string DestinationReservedPrimaryPrivateIpId { get; set; }
Property Value
Type Description
string

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

DestinationReservedPublicIpId

Declaration
[JsonProperty(PropertyName = "destinationReservedPublicIpId")]
public string DestinationReservedPublicIpId { get; set; }
Property Value
Type Description
string

The OCID of the reserved public IP address to be assigned to the compute instance in the destination region.
Example: ocid1.publicip.oc1..uniqueID

DestinationSubnetId

Declaration
[Required(ErrorMessage = "DestinationSubnetId is required.")]
[JsonProperty(PropertyName = "destinationSubnetId")]
public string DestinationSubnetId { get; set; }
Property Value
Type Description
string

The OCID of the destination subnet to which the source VNIC should connect.

Example: ocid1.subnet.oc1..uniqueID

Remarks

Required

SourceVnicId

Declaration
[Required(ErrorMessage = "SourceVnicId is required.")]
[JsonProperty(PropertyName = "sourceVnicId")]
public string SourceVnicId { get; set; }
Property Value
Type Description
string

The OCID of the source VNIC.
Example: ocid1.vnic.oc1..uniqueID

Remarks

Required

In this article
Back to top