Fleet

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

Bases: object

A fleet is a collection or grouping of resources based on criteria.

Attributes

FLEET_TYPE_ENVIRONMENT A constant which can be used with the fleet_type property of a Fleet.
FLEET_TYPE_GENERIC A constant which can be used with the fleet_type property of a Fleet.
FLEET_TYPE_GROUP A constant which can be used with the fleet_type property of a Fleet.
FLEET_TYPE_PRODUCT A constant which can be used with the fleet_type property of a Fleet.
GROUP_TYPE_ENVIRONMENT A constant which can be used with the group_type property of a Fleet.
GROUP_TYPE_PRODUCT A constant which can be used with the group_type property of a Fleet.
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_INACTIVE 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.
RESOURCE_SELECTION_TYPE_DYNAMIC A constant which can be used with the resource_selection_type property of a Fleet.
RESOURCE_SELECTION_TYPE_MANUAL A constant which can be used with the resource_selection_type property of a Fleet.
application_type Gets the application_type of this Fleet.
compartment_id [Required] Gets the compartment_id of this Fleet.
credentials Gets the credentials of this Fleet.
defined_tags [Required] Gets the defined_tags of this Fleet.
description Gets the description of this Fleet.
display_name [Required] Gets the display_name of this Fleet.
environment_type Gets the environment_type of this Fleet.
fleet_type [Required] Gets the fleet_type of this Fleet.
freeform_tags [Required] Gets the freeform_tags of this Fleet.
group_type Gets the group_type of this Fleet.
id [Required] Gets the id of this Fleet.
is_target_auto_confirm Gets the is_target_auto_confirm of this Fleet.
lifecycle_details Gets the lifecycle_details of this Fleet.
lifecycle_state [Required] Gets the lifecycle_state of this Fleet.
notification_preferences Gets the notification_preferences of this Fleet.
products Gets the products of this Fleet.
properties Gets the properties of this Fleet.
resource_region Gets the resource_region of this Fleet.
resource_selection_type Gets the resource_selection_type of this Fleet.
resources Gets the resources of this Fleet.
rule_selection_criteria Gets the rule_selection_criteria of this Fleet.
system_tags Gets the system_tags of this Fleet.
time_created [Required] Gets the time_created of this Fleet.
time_updated Gets the time_updated of this Fleet.

Methods

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

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

FLEET_TYPE_GENERIC = 'GENERIC'

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

FLEET_TYPE_GROUP = 'GROUP'

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

FLEET_TYPE_PRODUCT = 'PRODUCT'

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

GROUP_TYPE_ENVIRONMENT = 'ENVIRONMENT'

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

GROUP_TYPE_PRODUCT = 'PRODUCT'

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

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_INACTIVE = 'INACTIVE'

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

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”

RESOURCE_SELECTION_TYPE_DYNAMIC = 'DYNAMIC'

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

RESOURCE_SELECTION_TYPE_MANUAL = 'MANUAL'

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

__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.
  • compartment_id (str) – The value to assign to the compartment_id property of this Fleet.
  • resource_region (str) – The value to assign to the resource_region 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.
  • time_created (datetime) – The value to assign to the time_created property of this Fleet.
  • time_updated (datetime) – The value to assign to the time_updated property of this Fleet.
  • fleet_type (str) – The value to assign to the fleet_type property of this Fleet. Allowed values for this property are: “PRODUCT”, “ENVIRONMENT”, “GENERIC”, “GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • products (list[str]) – The value to assign to the products property of this Fleet.
  • application_type (str) – The value to assign to the application_type property of this Fleet.
  • environment_type (str) – The value to assign to the environment_type property of this Fleet.
  • group_type (str) – The value to assign to the group_type property of this Fleet. Allowed values for this property are: “ENVIRONMENT”, “PRODUCT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_selection_type (str) – The value to assign to the resource_selection_type property of this Fleet. Allowed values for this property are: “DYNAMIC”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • rule_selection_criteria (oci.fleet_apps_management.models.SelectionCriteria) – The value to assign to the rule_selection_criteria property of this Fleet.
  • notification_preferences (oci.fleet_apps_management.models.NotificationPreferences) – The value to assign to the notification_preferences property of this Fleet.
  • resources (list[oci.fleet_apps_management.models.AssociatedFleetResourceDetails]) – The value to assign to the resources property of this Fleet.
  • properties (list[oci.fleet_apps_management.models.AssociatedFleetPropertyDetails]) – The value to assign to the properties property of this Fleet.
  • credentials (list[oci.fleet_apps_management.models.AssociatedFleetCredentialDetails]) – The value to assign to the credentials property of this Fleet.
  • is_target_auto_confirm (bool) – The value to assign to the is_target_auto_confirm 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”, “INACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “UPDATING”, “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 Fleet.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Fleet.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Fleet.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Fleet.
application_type

Gets the application_type of this Fleet. Product stack associated with the Fleet. Applicable for ENVIRONMENT fleet types.

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

[Required] Gets the compartment_id of this Fleet. Tenancy OCID

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

Gets the credentials of this Fleet. Credentials associated with the Fleet.

Returns:The credentials of this Fleet.
Return type:list[oci.fleet_apps_management.models.AssociatedFleetCredentialDetails]
defined_tags

[Required] 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”}}

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

Gets the description of this Fleet. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

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

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

Gets the environment_type of this Fleet. Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.

Returns:The environment_type of this Fleet.
Return type:str
fleet_type

[Required] Gets the fleet_type of this Fleet. Type of the Fleet. PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes

Allowed values for this property are: “PRODUCT”, “ENVIRONMENT”, “GENERIC”, “GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

[Required] 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”}

Returns:The freeform_tags of this Fleet.
Return type:dict(str, str)
group_type

Gets the group_type of this Fleet. Group Type associated with Group Fleet. Applicable for GROUP fleet types.

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

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

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

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

Gets the is_target_auto_confirm of this Fleet. A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.

Returns:The is_target_auto_confirm of this Fleet.
Return type:bool
lifecycle_details

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

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

Allowed values for this property are: “ACTIVE”, “INACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, “UPDATING”, “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 Fleet.
Return type:str
notification_preferences

Gets the notification_preferences of this Fleet.

Returns:The notification_preferences of this Fleet.
Return type:oci.fleet_apps_management.models.NotificationPreferences
products

Gets the products of this Fleet. Products associated with the Fleet.

Returns:The products of this Fleet.
Return type:list[str]
properties

Gets the properties of this Fleet. Properties associated with the Fleet.

Returns:The properties of this Fleet.
Return type:list[oci.fleet_apps_management.models.AssociatedFleetPropertyDetails]
resource_region

Gets the resource_region of this Fleet. Associated region

Returns:The resource_region of this Fleet.
Return type:str
resource_selection_type

Gets the resource_selection_type of this Fleet. Type of resource selection in a Fleet. Select resources manually or select resources based on rules.

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

Returns:The resource_selection_type of this Fleet.
Return type:str
resources

Gets the resources of this Fleet. Resources associated with the Fleet if resourceSelectionType is MANUAL.

Returns:The resources of this Fleet.
Return type:list[oci.fleet_apps_management.models.AssociatedFleetResourceDetails]
rule_selection_criteria

Gets the rule_selection_criteria of this Fleet.

Returns:The rule_selection_criteria of this Fleet.
Return type:oci.fleet_apps_management.models.SelectionCriteria
system_tags

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

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

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

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

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