Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceConfigurationCreateVnicDetails

Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations for more information.

Properties

Optional assignIpv6Ip

assignIpv6Ip: undefined | false | true

Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix ({@code ipv6SubnetCidr}) of your choice to assign the IPv6 address from. If {@code ipv6SubnetCidr} is not provided then an IPv6 prefix is chosen for you.

Optional assignPrivateDnsRecord

assignPrivateDnsRecord: undefined | false | true

Whether the VNIC should be assigned a private DNS record. See the {@code assignPrivateDnsRecord} attribute of CreateVnicDetails for more information.

Optional assignPublicIp

assignPublicIp: undefined | false | true

Whether the VNIC should be assigned a public IP address. See the {@code assignPublicIp} attribute of CreateVnicDetails for more information.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}

Optional displayName

displayName: undefined | string

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

Optional freeformTags

freeformTags: undefined | object

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: {@code {\"Department\": \"Finance\"}}

Optional hostnameLabel

hostnameLabel: undefined | string

The hostname for the VNIC's primary private IP. See the {@code hostnameLabel} attribute of CreateVnicDetails for more information.

Optional 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.

Optional nsgIds

nsgIds: Array<string>

A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see NetworkSecurityGroup.

Optional privateIp

privateIp: undefined | string

A private IP address of your choice to assign to the VNIC. See the {@code privateIp} attribute of CreateVnicDetails for more information.

Optional skipSourceDestCheck

skipSourceDestCheck: undefined | false | true

Whether the source/destination check is disabled on the VNIC. See the {@code skipSourceDestCheck} attribute of CreateVnicDetails for more information.

Optional subnetId

subnetId: undefined | string

The OCID of the subnet to create the VNIC in. See the {@code subnetId} attribute of CreateVnicDetails for more information.

Functions

getDeserializedJsonObj

getJsonObj