OciVcn

class oci.multicloud.models.OciVcn(**kwargs)

Bases: object

Oracle 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

backup_cidr_blocks Gets the backup_cidr_blocks of this OciVcn.
cidr_blocks Gets the cidr_blocks of this OciVcn.
dns_label Gets the dns_label of this OciVcn.
vcn_id Gets the vcn_id 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.
  • 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.
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]
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]
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
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