Fleet

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

Bases: object

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

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_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.

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.

details

Gets the details of this Fleet.

display_name

[Required] Gets the display_name of this Fleet.

environment_type

Gets the environment_type of this Fleet.

freeform_tags

[Required] Gets the freeform_tags 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.

parent_fleet_id

Gets the parent_fleet_id 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

Gets the resource_selection of this Fleet.

resources

Gets the resources 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.

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”

__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.

  • products (list[str]) – The value to assign to the products property of this Fleet.

  • details (oci.fleet_apps_management.models.FleetDetails) – The value to assign to the details property of this Fleet.

  • environment_type (str) – The value to assign to the environment_type property of this Fleet.

  • resource_selection (oci.fleet_apps_management.models.ResourceSelection) – The value to assign to the resource_selection property of this Fleet.

  • notification_preferences (list[oci.fleet_apps_management.models.NotificationPreference]) – 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.

  • parent_fleet_id (str) – The value to assign to the parent_fleet_id 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.

property compartment_id

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

Returns

The compartment_id of this Fleet.

Return type

str

property 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]

property 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))

property 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

property details

Gets the details of this Fleet.

Returns

The details of this Fleet.

Return type

oci.fleet_apps_management.models.FleetDetails

property 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

property 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

property 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)

property id

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

Returns

The id of this Fleet.

Return type

str

property 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

property 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

property 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

property notification_preferences

Gets the notification_preferences of this Fleet. Notification Preferences associated with the Fleet.

Returns

The notification_preferences of this Fleet.

Return type

list[oci.fleet_apps_management.models.NotificationPreference]

property parent_fleet_id

Gets the parent_fleet_id of this Fleet. The OCID of the fleet that would be the parent for this fleet.

Returns

The parent_fleet_id of this Fleet.

Return type

str

property products

Gets the products of this Fleet. Products associated with the Fleet. PlatformConfiguration Ids corresponding to the Products.

Returns

The products of this Fleet.

Return type

list[str]

property 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]

property resource_region

Gets the resource_region of this Fleet. Associated region

Returns

The resource_region of this Fleet.

Return type

str

property resource_selection

Gets the resource_selection of this Fleet.

Returns

The resource_selection of this Fleet.

Return type

oci.fleet_apps_management.models.ResourceSelection

property 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]

property 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))

property 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

property 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