Fleet

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

Bases: object

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 Fleet.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a Fleet.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a Fleet.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a Fleet.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a Fleet.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a Fleet.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Fleet.
approximate_application_count [Required] Gets the approximate_application_count of this Fleet.
approximate_installation_count [Required] Gets the approximate_installation_count of this Fleet.
approximate_java_server_count [Required] Gets the approximate_java_server_count of this Fleet.
approximate_jre_count [Required] Gets the approximate_jre_count of this Fleet.
approximate_managed_instance_count [Required] Gets the approximate_managed_instance_count of this Fleet.
compartment_id [Required] Gets the compartment_id of this Fleet.
defined_tags Gets the defined_tags of this Fleet.
description [Required] Gets the description of this Fleet.
display_name [Required] Gets the display_name of this Fleet.
freeform_tags Gets the freeform_tags of this Fleet.
id [Required] Gets the id of this Fleet.
inventory_log Gets the inventory_log of this Fleet.
is_advanced_features_enabled Gets the is_advanced_features_enabled of this Fleet.
is_export_setting_enabled Gets the is_export_setting_enabled of this Fleet.
lifecycle_state [Required] Gets the lifecycle_state of this Fleet.
operation_log Gets the operation_log of this Fleet.
system_tags Gets the system_tags of this Fleet.
time_created [Required] Gets the time_created of this Fleet.

Methods

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

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

__init__(**kwargs)

Initializes a new Fleet 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 Fleet.
  • display_name (str) – The value to assign to the display_name property of this Fleet.
  • description (str) – The value to assign to the description property of this Fleet.
  • compartment_id (str) – The value to assign to the compartment_id property of this Fleet.
  • approximate_jre_count (int) – The value to assign to the approximate_jre_count property of this Fleet.
  • approximate_installation_count (int) – The value to assign to the approximate_installation_count property of this Fleet.
  • approximate_application_count (int) – The value to assign to the approximate_application_count property of this Fleet.
  • approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this Fleet.
  • approximate_java_server_count (int) – The value to assign to the approximate_java_server_count property of this Fleet.
  • inventory_log (oci.jms.models.CustomLog) – The value to assign to the inventory_log property of this Fleet.
  • operation_log (oci.jms.models.CustomLog) – The value to assign to the operation_log property of this Fleet.
  • is_advanced_features_enabled (bool) – The value to assign to the is_advanced_features_enabled property of this Fleet.
  • is_export_setting_enabled (bool) – The value to assign to the is_export_setting_enabled property of this Fleet.
  • time_created (datetime) – The value to assign to the time_created property of this Fleet.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this 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’.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Fleet.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Fleet.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Fleet.
approximate_application_count

[Required] Gets the approximate_application_count of this Fleet. 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 Fleet.
Return type:int
approximate_installation_count

[Required] Gets the approximate_installation_count of this Fleet. 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 Fleet.
Return type:int
approximate_java_server_count

[Required] Gets the approximate_java_server_count of this Fleet. 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 Fleet.
Return type:int
approximate_jre_count

[Required] Gets the approximate_jre_count of this Fleet. 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 Fleet.
Return type:int
approximate_managed_instance_count

[Required] Gets the approximate_managed_instance_count of this Fleet. 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 Fleet.
Return type:int
compartment_id

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

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

Gets the defined_tags of this Fleet. 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 Fleet.
Return type:dict(str, dict(str, object))
description

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

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

[Required] Gets the display_name of this Fleet. The name of the Fleet.

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

Gets the freeform_tags of this Fleet. 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 Fleet.
Return type:dict(str, str)
id

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

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

Gets the inventory_log of this Fleet.

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

Gets the is_advanced_features_enabled of this Fleet. Whether or not advanced features are enabled in this Fleet. Deprecated, use /fleets/{fleetId}/advanceFeatureConfiguration API instead.

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

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

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

[Required] Gets the lifecycle_state of this Fleet. 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 Fleet.
Return type:str
operation_log

Gets the operation_log of this Fleet.

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

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

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

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