FleetResourceSummary¶
- class oci.fleet_apps_management.models.FleetResourceSummary(**kwargs)¶
Bases:
objectSummary of the FleetResource.
Attributes:
A constant which can be used with the compliance_state property of a FleetResourceSummary.
A constant which can be used with the compliance_state property of a FleetResourceSummary.
A constant which can be used with the compliance_state property of a FleetResourceSummary.
A constant which can be used with the compliance_state property of a FleetResourceSummary.
Gets the compartment of this FleetResourceSummary.
[Required] Gets the compartment_id of this FleetResourceSummary.
Gets the compliance_state of this FleetResourceSummary.
[Required] Gets the display_name of this FleetResourceSummary.
Gets the environment_type of this FleetResourceSummary.
[Required] Gets the id of this FleetResourceSummary.
Gets the lifecycle_details of this FleetResourceSummary.
[Required] Gets the lifecycle_state of this FleetResourceSummary.
Gets the percent_compliant of this FleetResourceSummary.
Gets the product of this FleetResourceSummary.
Gets the product_count of this FleetResourceSummary.
[Required] Gets the resource_id of this FleetResourceSummary.
Gets the resource_region of this FleetResourceSummary.
[Required] Gets the resource_type of this FleetResourceSummary.
Gets the system_tags of this FleetResourceSummary.
Gets the target_count of this FleetResourceSummary.
[Required] Gets the tenancy_id of this FleetResourceSummary.
Gets the tenancy_name of this FleetResourceSummary.
[Required] Gets the time_created of this FleetResourceSummary.
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’.
percent_compliant (float) – The value to assign to the percent_compliant property of this FleetResourceSummary.
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.
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.
- property compartment¶
Gets the compartment of this FleetResourceSummary. Resource Compartment name.
- Returns
The compartment of this FleetResourceSummary.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property id¶
[Required] Gets the id of this FleetResourceSummary. The unique id of the resource.
- Returns
The id of this FleetResourceSummary.
- Return type
str
- property 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
- property 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
- property percent_compliant¶
Gets the percent_compliant of this FleetResourceSummary. The compliance percentage.
- Returns
The percent_compliant of this FleetResourceSummary.
- Return type
float
- property 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
- property 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
- property 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
- property resource_region¶
Gets the resource_region of this FleetResourceSummary. Associated region
- Returns
The resource_region of this FleetResourceSummary.
- Return type
str
- property resource_type¶
[Required] Gets the resource_type of this FleetResourceSummary. Type of the Resource.
- Returns
The resource_type of this FleetResourceSummary.
- Return type
str
- property 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))
- property 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
- property 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
- property tenancy_name¶
Gets the tenancy_name of this FleetResourceSummary. Resource Tenancy Name.
- Returns
The tenancy_name of this FleetResourceSummary.
- Return type
str
- property 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
- property 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