CreateVcnDetails¶
-
class
oci.vn_monitoring.models.
CreateVcnDetails
(**kwargs)¶ Bases:
object
CreateVcnDetails model.
Methods
__init__
(**kwargs)Initializes a new CreateVcnDetails object with values from keyword arguments. Attributes
byoipv6_cidr_details
Gets the byoipv6_cidr_details of this CreateVcnDetails. cidr_block
Gets the cidr_block of this CreateVcnDetails. cidr_blocks
Gets the cidr_blocks of this CreateVcnDetails. compartment_id
[Required] Gets the compartment_id of this CreateVcnDetails. defined_tags
Gets the defined_tags of this CreateVcnDetails. display_name
Gets the display_name of this CreateVcnDetails. dns_label
Gets the dns_label of this CreateVcnDetails. freeform_tags
Gets the freeform_tags of this CreateVcnDetails. ipv6_private_cidr_blocks
Gets the ipv6_private_cidr_blocks of this CreateVcnDetails. is_ipv6_enabled
Gets the is_ipv6_enabled of this CreateVcnDetails. is_oracle_gua_allocation_enabled
Gets the is_oracle_gua_allocation_enabled of this CreateVcnDetails. -
__init__
(**kwargs)¶ Initializes a new CreateVcnDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - cidr_block (str) – The value to assign to the cidr_block property of this CreateVcnDetails.
- cidr_blocks (list[str]) – The value to assign to the cidr_blocks property of this CreateVcnDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateVcnDetails.
- ipv6_private_cidr_blocks (list[str]) – The value to assign to the ipv6_private_cidr_blocks property of this CreateVcnDetails.
- is_oracle_gua_allocation_enabled (bool) – The value to assign to the is_oracle_gua_allocation_enabled property of this CreateVcnDetails.
- byoipv6_cidr_details (list[oci.vn_monitoring.models.Byoipv6CidrDetails]) – The value to assign to the byoipv6_cidr_details property of this CreateVcnDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVcnDetails.
- display_name (str) – The value to assign to the display_name property of this CreateVcnDetails.
- dns_label (str) – The value to assign to the dns_label property of this CreateVcnDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVcnDetails.
- is_ipv6_enabled (bool) – The value to assign to the is_ipv6_enabled property of this CreateVcnDetails.
-
byoipv6_cidr_details
¶ Gets the byoipv6_cidr_details of this CreateVcnDetails. The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges.
Returns: The byoipv6_cidr_details of this CreateVcnDetails. Return type: list[oci.vn_monitoring.models.Byoipv6CidrDetails]
-
cidr_block
¶ Gets the cidr_block of this CreateVcnDetails. Deprecated. Do not set this value. Use cidrBlocks instead. Example: 10.0.0.0/16
Returns: The cidr_block of this CreateVcnDetails. Return type: str
-
cidr_blocks
¶ Gets the cidr_blocks of this CreateVcnDetails. 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 cidrBlock. Use this parameter instead.
Returns: The cidr_blocks of this CreateVcnDetails. Return type: list[str]
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateVcnDetails. The OCID of the compartment to contain the VCN.
Returns: The compartment_id of this CreateVcnDetails. Return type: str
Gets the defined_tags of this CreateVcnDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateVcnDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateVcnDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateVcnDetails. Return type: str
-
dns_label
¶ Gets the dns_label of this CreateVcnDetails. 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, 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.
Example: vcn1
Returns: The dns_label of this CreateVcnDetails. Return type: str
Gets the freeform_tags of this CreateVcnDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateVcnDetails. Return type: dict(str, str)
-
ipv6_private_cidr_blocks
¶ Gets the ipv6_private_cidr_blocks of this CreateVcnDetails. The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following criteria: - The CIDR blocks must be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a vcn.
Important: Do not specify a value for ipv6CidrBlock. Use this parameter instead.
Returns: The ipv6_private_cidr_blocks of this CreateVcnDetails. Return type: list[str]
-
is_ipv6_enabled
¶ Gets the is_ipv6_enabled of this CreateVcnDetails. Whether IPv6 is enabled for the VCN. Default is 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 false. For important details about IPv6 addressing in a VCN, see IPv6 Addresses.
Example: true
Returns: The is_ipv6_enabled of this CreateVcnDetails. Return type: bool
-
is_oracle_gua_allocation_enabled
¶ Gets the is_oracle_gua_allocation_enabled of this CreateVcnDetails. Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56 size for an IPv6 enabled VCN.
Returns: The is_oracle_gua_allocation_enabled of this CreateVcnDetails. Return type: bool
-