UpdateVlanDetails

class oci.core.models.UpdateVlanDetails(**kwargs)

Bases: object

UpdateVlanDetails model.

Methods

__init__(**kwargs) Initializes a new UpdateVlanDetails object with values from keyword arguments.

Attributes

cidr_block Gets the cidr_block of this UpdateVlanDetails.
defined_tags Gets the defined_tags of this UpdateVlanDetails.
display_name Gets the display_name of this UpdateVlanDetails.
freeform_tags Gets the freeform_tags of this UpdateVlanDetails.
nsg_ids Gets the nsg_ids of this UpdateVlanDetails.
route_table_id Gets the route_table_id of this UpdateVlanDetails.
__init__(**kwargs)

Initializes a new UpdateVlanDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVlanDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateVlanDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVlanDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateVlanDetails.
  • route_table_id (str) – The value to assign to the route_table_id property of this UpdateVlanDetails.
  • cidr_block (str) – The value to assign to the cidr_block property of this UpdateVlanDetails.
cidr_block

Gets the cidr_block of this UpdateVlanDetails. The CIDR block of the VLAN. The new CIDR block must meet the following criteria:

  • Must be valid.
  • The CIDR block’s IP range must be completely within one of the VCN’s CIDR block ranges.
  • The old and new CIDR block ranges must use the same network address. Example: 10.0.0.0/25 and 10.0.0.0/24.
  • Must contain all IP addresses in use in the old CIDR range.
  • The new CIDR range’s broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range.

Note: If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress.

Returns:The cidr_block of this UpdateVlanDetails.
Return type:str
defined_tags

Gets the defined_tags of this UpdateVlanDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateVlanDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateVlanDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateVlanDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateVlanDetails. 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.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateVlanDetails.
Return type:dict(str, str)
nsg_ids

Gets the nsg_ids of this UpdateVlanDetails. A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in the VLAN will belong to these NSGs. For more information about NSGs, see NetworkSecurityGroup.

Returns:The nsg_ids of this UpdateVlanDetails.
Return type:list[str]
route_table_id

Gets the route_table_id of this UpdateVlanDetails. The OCID of the route table the VLAN will use.

Returns:The route_table_id of this UpdateVlanDetails.
Return type:str