Show / Hide Table of Contents

Class CreateVnicDetails

The properties of the secondary vnics

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

Properties

ApplicationResources

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

The application resource that corresponds to this secondary vnic. Used to map pods to this specific vnic for scheduling

AssignIpv6Ip

Declaration
[JsonProperty(PropertyName = "assignIpv6Ip")]
public bool? AssignIpv6Ip { get; set; }
Property Value
Type Description
bool?

Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet

AssignPublicIp

Declaration
[JsonProperty(PropertyName = "assignPublicIp")]
public bool? AssignPublicIp { get; set; }
Property Value
Type Description
bool?

Whether the VNIC should be assigned a public IP address

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

DisplayName

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

Display name for secondary vnic

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

IpCount

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

The number of ip addresses to attach to secondary vnic

Ipv6AddressIpv6SubnetCidrPairDetails

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

A list of IPv6 prefixes from which the VNIC should be assigned an IPv6 address. You can provide only the prefix and OCI selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.

NsgIds

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

A list of the OCIDs of the network security groups (NSGs) to add the VNIC to

SkipSourceDestCheck

Declaration
[JsonProperty(PropertyName = "skipSourceDestCheck")]
public bool? SkipSourceDestCheck { get; set; }
Property Value
Type Description
bool?

Whether the source/destination check is disabled on the VNIC

SubnetId

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

the ocid of the subnet to create the vnic in

Remarks

Required

In this article
Back to top