InventorySubnetSummary

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

Bases: object

Lists subnet and its associated resources.

Attributes

RESOURCE_TYPE_SUBNET A constant which can be used with the resource_type property of a InventorySubnetSummary.
compartment_id Gets the compartment_id of this InventorySubnetSummary.
dns_domain_name Gets the dns_domain_name of this InventorySubnetSummary.
inventory_resource_summary Gets the inventory_resource_summary of this InventorySubnetSummary.
inventory_subnet_cidr_collection Gets the inventory_subnet_cidr_collection of this InventorySubnetSummary.
region Gets the region of this InventorySubnetSummary.
resource_type Gets the resource_type of this InventorySubnetSummary.
subnet_id Gets the subnet_id of this InventorySubnetSummary.
subnet_name Gets the subnet_name of this InventorySubnetSummary.

Methods

__init__(**kwargs) Initializes a new InventorySubnetSummary object with values from keyword arguments.
RESOURCE_TYPE_SUBNET = 'Subnet'

A constant which can be used with the resource_type property of a InventorySubnetSummary. This constant has a value of “Subnet”

__init__(**kwargs)

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

Parameters:
  • subnet_id (str) – The value to assign to the subnet_id property of this InventorySubnetSummary.
  • subnet_name (str) – The value to assign to the subnet_name property of this InventorySubnetSummary.
  • resource_type (str) – The value to assign to the resource_type property of this InventorySubnetSummary. Allowed values for this property are: “Subnet”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • inventory_subnet_cidr_collection (list[oci.core.models.InventorySubnetCidrBlockSummary]) – The value to assign to the inventory_subnet_cidr_collection property of this InventorySubnetSummary.
  • dns_domain_name (str) – The value to assign to the dns_domain_name property of this InventorySubnetSummary.
  • region (str) – The value to assign to the region property of this InventorySubnetSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this InventorySubnetSummary.
  • inventory_resource_summary (list[oci.core.models.InventoryResourceSummary]) – The value to assign to the inventory_resource_summary property of this InventorySubnetSummary.
compartment_id

Gets the compartment_id of this InventorySubnetSummary. The OCID of the compartment.

Returns:The compartment_id of this InventorySubnetSummary.
Return type:str
dns_domain_name

Gets the dns_domain_name of this InventorySubnetSummary. DNS domain name of the subnet.

Returns:The dns_domain_name of this InventorySubnetSummary.
Return type:str
inventory_resource_summary

Gets the inventory_resource_summary of this InventorySubnetSummary. Lists the ResourceCollection object.

Returns:The inventory_resource_summary of this InventorySubnetSummary.
Return type:list[oci.core.models.InventoryResourceSummary]
inventory_subnet_cidr_collection

Gets the inventory_subnet_cidr_collection of this InventorySubnetSummary. Lists CIDRs and utilization within the subnet.

Returns:The inventory_subnet_cidr_collection of this InventorySubnetSummary.
Return type:list[oci.core.models.InventorySubnetCidrBlockSummary]
region

Gets the region of this InventorySubnetSummary. Region name of the subnet.

Returns:The region of this InventorySubnetSummary.
Return type:str
resource_type

Gets the resource_type of this InventorySubnetSummary. Resource types of the subnet.

Allowed values for this property are: “Subnet”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The resource_type of this InventorySubnetSummary.
Return type:str
subnet_id

Gets the subnet_id of this InventorySubnetSummary. The OCID of the subnet.

Returns:The subnet_id of this InventorySubnetSummary.
Return type:str
subnet_name

Gets the subnet_name of this InventorySubnetSummary. Name of the subnet within a VCN.

Returns:The subnet_name of this InventorySubnetSummary.
Return type:str