Show / Hide Table of Contents

Class ComputeInstanceVnicMapping

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

Inheritance
object
ComputeInstanceVnicMapping
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 ComputeInstanceVnicMapping

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..uniqueID1, ocid1.networksecuritygroup.oc1..uniqueID2 ]

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 VNIC.
Example: ocid1.vnic.oc1..uniqueID

Remarks

Required

In this article
Back to top