A Subnet in Oracle Cloud Infrastructure (OCI) is a logical subdivision of a Virtual Cloud Network (VCN). It provides a range of IP addresses that can be assigned to resources such as compute instances. Subnets can be regional or tied to a specific availability domain, and they control network traffic through security lists and route tables.

oci.network_subnet

Fields

TitleIDTypeData TypeDescription
_keycorestring
availability_domaincorestringThe value to assign to the availability_domain property of this Subnet.
cidr_blockcorestringThe value to assign to the cidr_block property of this Subnet.
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this Subnet.
created_atcoretimestampTime when the resource has been created.
dhcp_options_idcorestringThe value to assign to the dhcp_options_id property of this Subnet.
dns_labelcorestringThe value to assign to the dns_label property of this Subnet.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Subnet.
idcorestringThe value to assign to the id property of this Subnet.
ipv6_cidr_blockcorestringThe value to assign to the ipv6_cidr_block property of this Subnet.
ipv6_cidr_blockscorearray<string>The value to assign to the ipv6_cidr_blocks property of this Subnet.
ipv6_virtual_router_ipcorestringThe value to assign to the ipv6_virtual_router_ip property of this Subnet.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this Subnet. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
namecorestringThe name of this resource.
prohibit_internet_ingresscoreboolThe value to assign to the prohibit_internet_ingress property of this Subnet.
prohibit_public_ip_on_vniccoreboolThe value to assign to the prohibit_public_ip_on_vnic property of this Subnet.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
route_table_idcorestringThe value to assign to the route_table_id property of this Subnet.
security_list_idscorearray<string>The value to assign to the security_list_ids property of this Subnet.
subnet_domain_namecorestringThe value to assign to the subnet_domain_name property of this Subnet.
tagscorehstore_csv
time_createdcoretimestampThe value to assign to the time_created property of this Subnet.
updated_atcoretimestampTime when the resource has been updated the last time.
vcn_idcorestringThe value to assign to the vcn_id property of this Subnet.
virtual_router_ipcorestringThe value to assign to the virtual_router_ip property of this Subnet.
virtual_router_maccorestringThe value to assign to the virtual_router_mac property of this Subnet.
zone_idcorestringThe zone this resource resides within.