Oracle · Schema
CreateVnicDetails
Contains properties for a VNIC. Used when launching an instance or creating a VNIC attachment.
CloudDatabaseEnterpriseInfrastructureSaaSFortune 100
Properties
| Name | Type | Description |
|---|---|---|
| subnetId | string | The OCID of the subnet to create the VNIC in |
| displayName | string | A user-friendly name for the VNIC. Does not have to be unique. |
| assignPublicIp | boolean | Whether the VNIC should be assigned a public IP address. Defaults to whether the subnet is public or private. |
| assignPrivateDnsRecord | boolean | Whether the VNIC should be assigned a DNS record. Defaults to true. |
| privateIp | string | A private IP address of your choice to assign to the VNIC. Must be an available IP address within the subnet CIDR. |
| hostnameLabel | string | The hostname for the VNIC primary private IP. Used for DNS. |
| nsgIds | array | A list of the OCIDs of the network security groups to add the VNIC to |
| skipSourceDestCheck | boolean | Whether the source/destination check is disabled on the VNIC. Defaults to false. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CreateVnicDetails",
"type": "object",
"description": "Contains properties for a VNIC. Used when launching an instance or creating a VNIC attachment.",
"properties": {
"subnetId": {
"type": "string",
"description": "The OCID of the subnet to create the VNIC in"
},
"displayName": {
"type": "string",
"description": "A user-friendly name for the VNIC. Does not have to be unique."
},
"assignPublicIp": {
"type": "boolean",
"description": "Whether the VNIC should be assigned a public IP address. Defaults to whether the subnet is public or private."
},
"assignPrivateDnsRecord": {
"type": "boolean",
"description": "Whether the VNIC should be assigned a DNS record. Defaults to true."
},
"privateIp": {
"type": "string",
"description": "A private IP address of your choice to assign to the VNIC. Must be an available IP address within the subnet CIDR."
},
"hostnameLabel": {
"type": "string",
"description": "The hostname for the VNIC primary private IP. Used for DNS."
},
"nsgIds": {
"type": "array",
"description": "A list of the OCIDs of the network security groups to add the VNIC to"
},
"skipSourceDestCheck": {
"type": "boolean",
"description": "Whether the source/destination check is disabled on the VNIC. Defaults to false."
}
}
}