/** * Core Services API * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), compute instances, and block storage volumes. For more information, see the console documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), [Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and [Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. The required permissions are documented in the [Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; export interface CreateVcnDetails { /** * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. * Example: {@code 10.0.0.0/16} * */ "cidrBlock"?: string; /** * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: * - The CIDR blocks must be valid. * - They must not overlap with each other or with the on-premises network CIDR block. * - The number of CIDR blocks must not exceed the limit of CIDR blocks allowed per VCN. *
**Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter instead.
*
*/
"cidrBlocks"?: Array
**Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter instead.
*
*/
"ipv6PrivateCidrBlocks"?: Array
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
*
*/
"definedTags"?: {
[key: string]: {
[key: string]: any;
};
};
/**
* A user-friendly name. Does not have to be unique, and it's changeable.
* Avoid entering confidential information.
*
*/
"displayName"?: string;
/**
* A DNS label for the VCN, used in conjunction with the VNIC's hostname and
* subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC
* within this subnet (for example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}).
* Not required to be unique, but it's a best practice to set unique DNS labels
* for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter.
* The value cannot be changed.
*
You must set this value if you want instances to be able to use hostnames to
* resolve other instances in the VCN. Otherwise the Internet and VCN Resolver
* will not work.
*
For more information, see
* [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm).
*
Example: {@code vcn1}
*
*/
"dnsLabel"?: 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](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
*
Example: {@code {\"Department\": \"Finance\"}}
*
*/
"freeformTags"?: {
[key: string]: string;
};
/**
* [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels
* for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm)
* (ZPR) policy to control access to ZPR-supported resources.
*
Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}}
*
*/
"securityAttributes"?: {
[key: string]: {
[key: string]: any;
};
};
/**
* Whether IPv6 is enabled for the VCN. Default is {@code false}.
* If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block.
*
You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to {@code false}.
*
For important details about IPv6 addressing in a VCN, see [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
*
Example: {@code true}
*
*/
"isIpv6Enabled"?: boolean;
/**
* Indicates whether ZPR Only mode is enforced.
*
*/
"isZprOnly"?: boolean;
}
export declare namespace CreateVcnDetails {
function getJsonObj(obj: CreateVcnDetails): object;
function getDeserializedJsonObj(obj: CreateVcnDetails): object;
}