Show / Hide Table of Contents

Class AttachVnicDetails

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

Properties

CreateVnicDetails

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

Required

DisplayName

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

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

InstanceId

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

The OCID of the instance.

Remarks

Required

NicIndex

Declaration
[JsonProperty(PropertyName = "nicIndex")]
public int? NicIndex { get; set; }
Property Value
Type Description
int?

Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).

In this article
Back to top