FleetResource

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

Bases: object

Resource added to a Fleet.

Attributes

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

Methods

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

A constant which can be used with the compliance_state property of a FleetResource. 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 FleetResource. 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 FleetResource. This constant has a value of “UNKNOWN”

COMPLIANCE_STATE_WARNING = 'WARNING'

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

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a FleetResource. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a FleetResource. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a FleetResource. This constant has a value of “FAILED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a FleetResource. This constant has a value of “NEEDS_ATTENTION”

__init__(**kwargs)

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

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

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

Gets the compartment of this FleetResource. Resource Compartment

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

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

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

Gets the compliance_state of this FleetResource. 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 FleetResource.
Return type:str
display_name

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Gets the resource_region of this FleetResource. Associated region

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

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

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

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

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

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

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

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

Gets the tenancy_name of this FleetResource. Resource Tenancy Name

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

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

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

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

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