InventoryResourceSummary

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

Bases: object

InventoryResource Search Summary.

Methods:

__init__(**kwargs)

Initializes a new InventoryResourceSummary object with values from keyword arguments.

Attributes:

availability_domain

Gets the availability_domain of this InventoryResourceSummary.

compartment_id

[Required] Gets the compartment_id of this InventoryResourceSummary.

defined_tags

[Required] Gets the defined_tags of this InventoryResourceSummary.

display_name

[Required] Gets the display_name of this InventoryResourceSummary.

freeform_tags

[Required] Gets the freeform_tags of this InventoryResourceSummary.

id

[Required] Gets the id of this InventoryResourceSummary.

lifecycle_details

Gets the lifecycle_details of this InventoryResourceSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this InventoryResourceSummary.

resource_compartment_id

Gets the resource_compartment_id of this InventoryResourceSummary.

resource_region

Gets the resource_region of this InventoryResourceSummary.

system_tags

Gets the system_tags of this InventoryResourceSummary.

type

[Required] Gets the type of this InventoryResourceSummary.

__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
  • id (str) – The value to assign to the id property of this InventoryResourceSummary.

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

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

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

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

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

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

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

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

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InventoryResourceSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InventoryResourceSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this InventoryResourceSummary.

property availability_domain

Gets the availability_domain of this InventoryResourceSummary. Availability Domain of the resource.

Returns

The availability_domain of this InventoryResourceSummary.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this InventoryResourceSummary. OCID of the compartment to which the resource belongs to.

Returns

The compartment_id of this InventoryResourceSummary.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this InventoryResourceSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this InventoryResourceSummary.

Return type

dict(str, dict(str, object))

property display_name

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

Example: My new resource

Returns

The display_name of this InventoryResourceSummary.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this InventoryResourceSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this InventoryResourceSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this InventoryResourceSummary. The OCID of the resource.

Returns

The id of this InventoryResourceSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this InventoryResourceSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this InventoryResourceSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this InventoryResourceSummary. The current state of the Resource.

Returns

The lifecycle_state of this InventoryResourceSummary.

Return type

str

property resource_compartment_id

Gets the resource_compartment_id of this InventoryResourceSummary. Compartment Id of the resource.

Returns

The resource_compartment_id of this InventoryResourceSummary.

Return type

str

property resource_region

Gets the resource_region of this InventoryResourceSummary. The region the resource belongs to.

Returns

The resource_region of this InventoryResourceSummary.

Return type

str

property system_tags

Gets the system_tags of this InventoryResourceSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this InventoryResourceSummary.

Return type

dict(str, dict(str, object))

property type

[Required] Gets the type of this InventoryResourceSummary. Type of the Resource.

Returns

The type of this InventoryResourceSummary.

Return type

str