Class CreateVcnDetails
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class CreateVcnDetails
  Properties
Byoipv6CidrDetails
Declaration
[JsonProperty(PropertyName = "byoipv6CidrDetails")]
public List<Byoipv6CidrDetails> Byoipv6CidrDetails { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<Byoipv6CidrDetails> | The list of BYOIPv6 OCIDs and BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 address ranges.  | 
      
CidrBlock
Declaration
[JsonProperty(PropertyName = "cidrBlock")]
public string CidrBlock { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Deprecated. Do not set this value. Use   | 
      
CidrBlocks
Declaration
[JsonProperty(PropertyName = "cidrBlocks")]
public List<string> CidrBlocks { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<string> | The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: 
  | 
      
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | The OCID of the compartment to contain the VCN.  | 
      
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
  | 
      
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.  | 
      
DnsLabel
Declaration
[JsonProperty(PropertyName = "dnsLabel")]
public string DnsLabel { get; set; }
  Property Value
| Type | Description | 
|---|---|
| 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,   | 
      
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Dictionary<string, 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.
  | 
      
Ipv6PrivateCidrBlocks
Declaration
[JsonProperty(PropertyName = "ipv6PrivateCidrBlocks")]
public List<string> Ipv6PrivateCidrBlocks { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<string> | The list of one or more ULA or Private IPv6 prefixes for the VCN that meets the following criteria: 
  | 
      
IsIpv6Enabled
Declaration
[JsonProperty(PropertyName = "isIpv6Enabled")]
public bool? IsIpv6Enabled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool? | Whether IPv6 is enabled for the VCN. Default is   | 
      
IsOracleGuaAllocationEnabled
Declaration
[JsonProperty(PropertyName = "isOracleGuaAllocationEnabled")]
public bool? IsOracleGuaAllocationEnabled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool? | Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56 size for an IPv6 enabled VCN.  | 
      
IsZprOnly
Declaration
[JsonProperty(PropertyName = "isZprOnly")]
public bool? IsZprOnly { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool? | Indicates whether Zpr Only Mode is enforced.  | 
      
SecurityAttributes
Declaration
[JsonProperty(PropertyName = "securityAttributes")]
public Dictionary<string, Dictionary<string, object>> SecurityAttributes { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | Security attributes are labels
for a resource that can be referenced in a Zero Trust Packet Routing
(ZPR) policy to control access to ZPR-supported resources.
  |