FleetSummary

class oci.jms.models.FleetSummary(**kwargs)

Bases: object

The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a FleetSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a FleetSummary.
approximate_application_count [Required] Gets the approximate_application_count of this FleetSummary.
approximate_installation_count [Required] Gets the approximate_installation_count of this FleetSummary.
approximate_java_server_count [Required] Gets the approximate_java_server_count of this FleetSummary.
approximate_jre_count [Required] Gets the approximate_jre_count of this FleetSummary.
approximate_managed_instance_count [Required] Gets the approximate_managed_instance_count of this FleetSummary.
compartment_id [Required] Gets the compartment_id of this FleetSummary.
defined_tags Gets the defined_tags of this FleetSummary.
description [Required] Gets the description of this FleetSummary.
display_name [Required] Gets the display_name of this FleetSummary.
freeform_tags Gets the freeform_tags of this FleetSummary.
id [Required] Gets the id of this FleetSummary.
inventory_log Gets the inventory_log of this FleetSummary.
is_advanced_features_enabled Gets the is_advanced_features_enabled of this FleetSummary.
is_export_setting_enabled Gets the is_export_setting_enabled of this FleetSummary.
lifecycle_state [Required] Gets the lifecycle_state of this FleetSummary.
operation_log Gets the operation_log of this FleetSummary.
system_tags Gets the system_tags of this FleetSummary.
time_created [Required] Gets the time_created of this FleetSummary.

Methods

__init__(**kwargs) Initializes a new FleetSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new FleetSummary 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 FleetSummary.
  • display_name (str) – The value to assign to the display_name property of this FleetSummary.
  • description (str) – The value to assign to the description property of this FleetSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this FleetSummary.
  • approximate_jre_count (int) – The value to assign to the approximate_jre_count property of this FleetSummary.
  • approximate_installation_count (int) – The value to assign to the approximate_installation_count property of this FleetSummary.
  • approximate_application_count (int) – The value to assign to the approximate_application_count property of this FleetSummary.
  • approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this FleetSummary.
  • approximate_java_server_count (int) – The value to assign to the approximate_java_server_count property of this FleetSummary.
  • inventory_log (oci.jms.models.CustomLog) – The value to assign to the inventory_log property of this FleetSummary.
  • operation_log (oci.jms.models.CustomLog) – The value to assign to the operation_log property of this FleetSummary.
  • is_advanced_features_enabled (bool) – The value to assign to the is_advanced_features_enabled property of this FleetSummary.
  • is_export_setting_enabled (bool) – The value to assign to the is_export_setting_enabled property of this FleetSummary.
  • time_created (datetime) – The value to assign to the time_created property of this FleetSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this FleetSummary. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FleetSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FleetSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FleetSummary.
approximate_application_count

[Required] Gets the approximate_application_count of this FleetSummary. The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag.

Returns:The approximate_application_count of this FleetSummary.
Return type:int
approximate_installation_count

[Required] Gets the approximate_installation_count of this FleetSummary. The approximate count of all unique Java Installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag.

Returns:The approximate_installation_count of this FleetSummary.
Return type:int
approximate_java_server_count

[Required] Gets the approximate_java_server_count of this FleetSummary. The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag.

Returns:The approximate_java_server_count of this FleetSummary.
Return type:int
approximate_jre_count

[Required] Gets the approximate_jre_count of this FleetSummary. The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag.

Returns:The approximate_jre_count of this FleetSummary.
Return type:int
approximate_managed_instance_count

[Required] Gets the approximate_managed_instance_count of this FleetSummary. The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn’t taken into account when computing the resource ETag.

Returns:The approximate_managed_instance_count of this FleetSummary.
Return type:int
compartment_id

[Required] Gets the compartment_id of this FleetSummary. The OCID of the compartment of the Fleet.

Returns:The compartment_id of this FleetSummary.
Return type:str
defined_tags

Gets the defined_tags of this FleetSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}. (See Understanding Free-form Tags).

Returns:The defined_tags of this FleetSummary.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this FleetSummary. The Fleet’s description.

Returns:The description of this FleetSummary.
Return type:str
display_name

[Required] Gets the display_name of this FleetSummary. The name of the Fleet. The displayName must be unique for Fleets in the same compartment.

Returns:The display_name of this FleetSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this FleetSummary. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}. (See Managing Tags and Tag Namespaces.)

Returns:The freeform_tags of this FleetSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this FleetSummary. The OCID of the Fleet.

Returns:The id of this FleetSummary.
Return type:str
inventory_log

Gets the inventory_log of this FleetSummary.

Returns:The inventory_log of this FleetSummary.
Return type:oci.jms.models.CustomLog
is_advanced_features_enabled

Gets the is_advanced_features_enabled of this FleetSummary. Whether or not advanced features are enabled in this Fleet. This flag is true if any one of the advanced features is turned on.

Returns:The is_advanced_features_enabled of this FleetSummary.
Return type:bool
is_export_setting_enabled

Gets the is_export_setting_enabled of this FleetSummary. Whether or not export setting is enabled in this Fleet.

Returns:The is_export_setting_enabled of this FleetSummary.
Return type:bool
lifecycle_state

[Required] Gets the lifecycle_state of this FleetSummary. The lifecycle state of the Fleet.

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

Returns:The lifecycle_state of this FleetSummary.
Return type:str
operation_log

Gets the operation_log of this FleetSummary.

Returns:The operation_log of this FleetSummary.
Return type:oci.jms.models.CustomLog
system_tags

Gets the system_tags of this FleetSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this FleetSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this FleetSummary. The creation date and time of the Fleet (formatted according to RFC3339).

Returns:The time_created of this FleetSummary.
Return type:datetime