OciVcn¶
- class oci.multicloud.models.OciVcn(**kwargs)¶
Bases:
objectOracle Cloud Infrastructure VCN basic information object. It is optional and planned to used for future for network anchor
Methods:
__init__(**kwargs)Initializes a new OciVcn object with values from keyword arguments.
Attributes:
Gets the backup_cidr_blocks of this OciVcn.
Gets the cidr_blocks of this OciVcn.
Gets the dns_label of this OciVcn.
Gets the vcn_id of this OciVcn.
Gets the vcn_name of this OciVcn.
- __init__(**kwargs)¶
Initializes a new OciVcn object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
vcn_id (str) – The value to assign to the vcn_id property of this OciVcn.
vcn_name (str) – The value to assign to the vcn_name property of this OciVcn.
cidr_blocks (list[str]) – The value to assign to the cidr_blocks property of this OciVcn.
backup_cidr_blocks (list[str]) – The value to assign to the backup_cidr_blocks property of this OciVcn.
dns_label (str) – The value to assign to the dns_label property of this OciVcn.
- property backup_cidr_blocks¶
Gets the backup_cidr_blocks of this OciVcn. Oracle Cloud Infrastructure backup cidr block. CSP can set this property It’s optional only if disconnect anchor is allowed. IPv4 CIDR blocks for the VCN that meet the following criteria Type: [string (length: 1–32), …] The CIDR blocks must be valid. They must not overlap with each other or with the on-premises network CIDR block.
- Returns
The backup_cidr_blocks of this OciVcn.
- Return type
list[str]
- property cidr_blocks¶
Gets the cidr_blocks of this OciVcn. Oracle Cloud Infrastructure primary cidr block. CSP can set this property It’s optional only if disconnect anchor is allowed IPv4 CIDR blocks for the VCN that meet the following criteria Type: [string (length: 1–32), …] The CIDR blocks must be valid. They must not overlap with each other or with the on-premises network CIDR block.
- Returns
The cidr_blocks of this OciVcn.
- Return type
list[str]
- property dns_label¶
Gets the dns_label of this OciVcn. Oracle Cloud Infrastructure DNS label. This is optional if DNS config is provided.
- Returns
The dns_label of this OciVcn.
- Return type
str
- property vcn_id¶
Gets the vcn_id of this OciVcn. Oracle Cloud Infrastructure VCN OCID. CSP can not set this property.
- Returns
The vcn_id of this OciVcn.
- Return type
str
- property vcn_name¶
Gets the vcn_name of this OciVcn. Name of the VCN associated to the Network Anchor.
- Returns
The vcn_name of this OciVcn.
- Return type
str