Virtual Cloud Network

This table represents the Virtual Cloud Network resource from Oracle Cloud Infrastructure.

oci.vcn

Fields

TitleIDTypeData TypeDescription
_keycorestring
byoipv6_cidr_blockscorearray<string>The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
cidr_blockcorestringDeprecated. The first CIDR IP address from cidrBlocks.Example: `172.16.0.0/16`
cidr_blockscorearray<string>The list of IPv4 CIDR blocks the VCN will use.
compartment_idcorestringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN.
default_dhcp_options_idcorestringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options.
default_route_table_idcorestringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table.
default_security_list_idcorestringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list.
dns_labelcorestringA DNS label for the VCN, used in conjunction with the VNIC's hostname andsubnet's DNS label to form a fully qualified domain name (FQDN) for each VNICwithin this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).Must be an alphanumeric string that begins with a letter.The value cannot be changed.The absence of this parameter means the Internet and VCN Resolver willnot work for this VCN.For more information, see[DNS in Your Virtual Cloud Network](/iaas/Content/Network/Concepts/dns.htm).Example: `vcn1`
idcorestringThe VCN's Oracle ID ([OCID](/iaas/Content/General/Concepts/identifiers.htm)).
ipv6_cidr_blockcorestringFor an IPv6-enabled VCN, this is the IPv6 prefix for the VCN's private IP address space.The VCN size is always /56. Oracleprovides the IPv6 prefix to use as the *same* CIDR for the `ipv6PublicCidrBlock`.When creating a subnet, specify the last 8 bits, 00 to FF.See [IPv6 Addresses](/iaas/Content/Network/Concepts/ipv6.htm).Example: `2001:0db8:0123::/56`
ipv6_private_cidr_blockscorearray<string>For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
ipv6_public_cidr_blockcorestringFor an IPv6-enabled VCN, this is the IPv6 prefix for the VCN's public IP address space.The VCN size is always /56. This prefix is always provided by Oracle. If you don't provide acustom prefix for the `ipv6CidrBlock` when creating the VCN, Oracle assigns that value and alsouses it for `ipv6PublicCidrBlock`. Oracle uses addresses from this block for the `publicIpAddress`attribute of an [Ipv6](#/en/iaas/latest/Ipv6/) that has internet access allowed.Example: `2001:0db8:0123::/48`
lifecycle_statecorestringThe VCN's current state.
oci_display_namecorestringA user-friendly name. Does not have to be unique, and it's changeable.Avoid entering confidential information.
tagscorehstore
tenancy_ocidcorestring
time_createdcoretimestampThe date and time the VCN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).Example: `2016-08-25T21:10:29.600Z`
vcn_domain_namecorestringThe VCN's domain name, which consists of the VCN's DNS label, and the`oraclevcn.com` domain.For more information, see[DNS in Your Virtual Cloud Network](/iaas/Content/Network/Concepts/dns.htm).Example: `vcn1.oraclevcn.com`