FleetResourceSummary

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

Bases: object

Summary of the FleetResource.

Attributes

COMPLIANCE_STATE_COMPLIANT A constant which can be used with the compliance_state property of a FleetResourceSummary.
COMPLIANCE_STATE_NON_COMPLIANT A constant which can be used with the compliance_state property of a FleetResourceSummary.
COMPLIANCE_STATE_UNKNOWN A constant which can be used with the compliance_state property of a FleetResourceSummary.
COMPLIANCE_STATE_WARNING A constant which can be used with the compliance_state property of a FleetResourceSummary.
application_type Gets the application_type of this FleetResourceSummary.
compartment Gets the compartment of this FleetResourceSummary.
compartment_id [Required] Gets the compartment_id of this FleetResourceSummary.
compliance_state Gets the compliance_state of this FleetResourceSummary.
display_name [Required] Gets the display_name of this FleetResourceSummary.
environment_type Gets the environment_type of this FleetResourceSummary.
id [Required] Gets the id of this FleetResourceSummary.
lifecycle_details Gets the lifecycle_details of this FleetResourceSummary.
lifecycle_state [Required] Gets the lifecycle_state of this FleetResourceSummary.
product Gets the product of this FleetResourceSummary.
product_count Gets the product_count of this FleetResourceSummary.
resource_id [Required] Gets the resource_id of this FleetResourceSummary.
resource_region Gets the resource_region of this FleetResourceSummary.
resource_type [Required] Gets the resource_type of this FleetResourceSummary.
system_tags Gets the system_tags of this FleetResourceSummary.
target_count Gets the target_count of this FleetResourceSummary.
tenancy_id [Required] Gets the tenancy_id of this FleetResourceSummary.
tenancy_name Gets the tenancy_name of this FleetResourceSummary.
time_created [Required] Gets the time_created of this FleetResourceSummary.
time_updated Gets the time_updated of this FleetResourceSummary.

Methods

__init__(**kwargs) Initializes a new FleetResourceSummary object with values from keyword arguments.
COMPLIANCE_STATE_COMPLIANT = 'COMPLIANT'

A constant which can be used with the compliance_state property of a FleetResourceSummary. This constant has a value of “COMPLIANT”

COMPLIANCE_STATE_NON_COMPLIANT = 'NON_COMPLIANT'

A constant which can be used with the compliance_state property of a FleetResourceSummary. This constant has a value of “NON_COMPLIANT”

COMPLIANCE_STATE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the compliance_state property of a FleetResourceSummary. This constant has a value of “UNKNOWN”

COMPLIANCE_STATE_WARNING = 'WARNING'

A constant which can be used with the compliance_state property of a FleetResourceSummary. This constant has a value of “WARNING”

__init__(**kwargs)

Initializes a new FleetResourceSummary 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 FleetResourceSummary.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this FleetResourceSummary.
  • resource_region (str) – The value to assign to the resource_region property of this FleetResourceSummary.
  • time_created (datetime) – The value to assign to the time_created property of this FleetResourceSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this FleetResourceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this FleetResourceSummary.
  • display_name (str) – The value to assign to the display_name property of this FleetResourceSummary.
  • resource_id (str) – The value to assign to the resource_id property of this FleetResourceSummary.
  • compliance_state (str) – The value to assign to the compliance_state property of this FleetResourceSummary. Allowed values for this property are: “UNKNOWN”, “COMPLIANT”, “NON_COMPLIANT”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • tenancy_name (str) – The value to assign to the tenancy_name property of this FleetResourceSummary.
  • compartment (str) – The value to assign to the compartment property of this FleetResourceSummary.
  • resource_type (str) – The value to assign to the resource_type property of this FleetResourceSummary.
  • product_count (int) – The value to assign to the product_count property of this FleetResourceSummary.
  • target_count (int) – The value to assign to the target_count property of this FleetResourceSummary.
  • product (str) – The value to assign to the product property of this FleetResourceSummary.
  • application_type (str) – The value to assign to the application_type property of this FleetResourceSummary.
  • environment_type (str) – The value to assign to the environment_type property of this FleetResourceSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this FleetResourceSummary.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this FleetResourceSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetResourceSummary.
application_type

Gets the application_type of this FleetResourceSummary. Application Type associated with the resource when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.

Returns:The application_type of this FleetResourceSummary.
Return type:str
compartment

Gets the compartment of this FleetResourceSummary. Resource Compartment name.

Returns:The compartment of this FleetResourceSummary.
Return type:str
compartment_id

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

Returns:The compartment_id of this FleetResourceSummary.
Return type:str
compliance_state

Gets the compliance_state of this FleetResourceSummary. Compliance State of the Resource.

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

Returns:The compliance_state of this FleetResourceSummary.
Return type:str
display_name

[Required] Gets the display_name of this FleetResourceSummary. 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 FleetResourceSummary.
Return type:str
environment_type

Gets the environment_type of this FleetResourceSummary. Environment Type associated with the Fleet when the resource type is fleet. Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet.

Returns:The environment_type of this FleetResourceSummary.
Return type:str
id

[Required] Gets the id of this FleetResourceSummary. The unique id of the resource.

Returns:The id of this FleetResourceSummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this FleetResourceSummary. 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 FleetResourceSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this FleetResourceSummary. The current state of the FleetResource.

Returns:The lifecycle_state of this FleetResourceSummary.
Return type:str
product

Gets the product of this FleetResourceSummary. Product associated with the resource when the resource type is fleet. Will only be returned for PRODUCT fleets that are part of a GROUP Fleet.

Returns:The product of this FleetResourceSummary.
Return type:str
product_count

Gets the product_count of this FleetResourceSummary. Count of products within the resource.

Returns:The product_count of this FleetResourceSummary.
Return type:int
resource_id

[Required] Gets the resource_id of this FleetResourceSummary. The OCID of the resource.

Returns:The resource_id of this FleetResourceSummary.
Return type:str
resource_region

Gets the resource_region of this FleetResourceSummary. Associated region

Returns:The resource_region of this FleetResourceSummary.
Return type:str
resource_type

[Required] Gets the resource_type of this FleetResourceSummary. Type of the Resource.

Returns:The resource_type of this FleetResourceSummary.
Return type:str
system_tags

Gets the system_tags of this FleetResourceSummary. 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 FleetResourceSummary.
Return type:dict(str, dict(str, object))
target_count

Gets the target_count of this FleetResourceSummary. Count of targets within the resource.

Returns:The target_count of this FleetResourceSummary.
Return type:int
tenancy_id

[Required] Gets the tenancy_id of this FleetResourceSummary. OCID of the tenancy to which the resource belongs to.

Returns:The tenancy_id of this FleetResourceSummary.
Return type:str
tenancy_name

Gets the tenancy_name of this FleetResourceSummary. Resource Tenancy Name.

Returns:The tenancy_name of this FleetResourceSummary.
Return type:str
time_created

[Required] Gets the time_created of this FleetResourceSummary. The time this resource was created. An RFC3339 formatted datetime string.

Returns:The time_created of this FleetResourceSummary.
Return type:datetime
time_updated

Gets the time_updated of this FleetResourceSummary. The time this resource was last updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this FleetResourceSummary.
Return type:datetime