InventoryResourceSummary

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

Bases: object

Lists resources and its properties under a given subnet.

Attributes:

RESOURCE_TYPE_RESOURCE

A constant which can be used with the resource_type property of a InventoryResourceSummary.

compartment_id

Gets the compartment_id of this InventoryResourceSummary.

ip_address_collection

Gets the ip_address_collection of this InventoryResourceSummary.

mac_address

Gets the mac_address of this InventoryResourceSummary.

region

Gets the region of this InventoryResourceSummary.

resource_name

Gets the resource_name of this InventoryResourceSummary.

resource_type

Gets the resource_type of this InventoryResourceSummary.

Methods:

__init__(**kwargs)

Initializes a new InventoryResourceSummary object with values from keyword arguments.

RESOURCE_TYPE_RESOURCE = 'Resource'

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

__init__(**kwargs)

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

Parameters
  • resource_name (str) – The value to assign to the resource_name property of this InventoryResourceSummary.

  • resource_type (str) – The value to assign to the resource_type property of this InventoryResourceSummary. Allowed values for this property are: “Resource”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • mac_address (str) – The value to assign to the mac_address property of this InventoryResourceSummary.

  • ip_address_collection (list[oci.core.models.InventoryIpAddressSummary]) – The value to assign to the ip_address_collection property of this InventoryResourceSummary.

  • region (str) – The value to assign to the region property of this InventoryResourceSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this InventoryResourceSummary.

property compartment_id

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

Returns

The compartment_id of this InventoryResourceSummary.

Return type

str

property ip_address_collection

Gets the ip_address_collection of this InventoryResourceSummary. Lists the ‘IpAddressCollection’ object.

Returns

The ip_address_collection of this InventoryResourceSummary.

Return type

list[oci.core.models.InventoryIpAddressSummary]

property mac_address

Gets the mac_address of this InventoryResourceSummary. Mac Address of IP Resource

Returns

The mac_address of this InventoryResourceSummary.

Return type

str

property region

Gets the region of this InventoryResourceSummary. The region name of the corresponding resource.

Returns

The region of this InventoryResourceSummary.

Return type

str

property resource_name

Gets the resource_name of this InventoryResourceSummary. The name of the resource created.

Returns

The resource_name of this InventoryResourceSummary.

Return type

str

property resource_type

Gets the resource_type of this InventoryResourceSummary. Resource types of the resource.

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

Returns

The resource_type of this InventoryResourceSummary.

Return type

str