FleetDetails

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

Bases: object

Fleet Type

Attributes

FLEET_TYPE_ENVIRONMENT A constant which can be used with the fleet_type property of a FleetDetails.
FLEET_TYPE_GENERIC A constant which can be used with the fleet_type property of a FleetDetails.
FLEET_TYPE_GROUP A constant which can be used with the fleet_type property of a FleetDetails.
FLEET_TYPE_PRODUCT A constant which can be used with the fleet_type property of a FleetDetails.
fleet_type Gets the fleet_type of this FleetDetails.

Methods

__init__(**kwargs) Initializes a new FleetDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
FLEET_TYPE_ENVIRONMENT = 'ENVIRONMENT'

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

FLEET_TYPE_GENERIC = 'GENERIC'

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

FLEET_TYPE_GROUP = 'GROUP'

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

FLEET_TYPE_PRODUCT = 'PRODUCT'

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

__init__(**kwargs)

Initializes a new FleetDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:fleet_type (str) – The value to assign to the fleet_type property of this FleetDetails. Allowed values for this property are: “GENERIC”, “PRODUCT”, “ENVIRONMENT”, “GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
fleet_type

Gets the fleet_type of this FleetDetails. 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: “GENERIC”, “PRODUCT”, “ENVIRONMENT”, “GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The fleet_type of this FleetDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.