GenericFleetDetails

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

Bases: FleetDetails

Fleet credential details.

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 GenericFleetDetails 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 GenericFleetDetails object with values from keyword arguments. The default value of the fleet_type attribute of this class is GENERIC and it should not be changed. 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 GenericFleetDetails. Allowed values for this property are: “GENERIC”, “PRODUCT”, “ENVIRONMENT”, “GROUP”

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