ManualResourceSelection

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

Bases: oci.fleet_apps_management.models.resource_selection.ResourceSelection

Manual Resource Selection Type

Attributes

RESOURCE_SELECTION_TYPE_DYNAMIC str(object=’’) -> str
RESOURCE_SELECTION_TYPE_MANUAL str(object=’’) -> str
resource_selection_type [Required] Gets the resource_selection_type of this ResourceSelection.

Methods

__init__(**kwargs) Initializes a new ManualResourceSelection 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.
RESOURCE_SELECTION_TYPE_DYNAMIC = 'DYNAMIC'
RESOURCE_SELECTION_TYPE_MANUAL = 'MANUAL'
__init__(**kwargs)

Initializes a new ManualResourceSelection object with values from keyword arguments. The default value of the resource_selection_type attribute of this class is MANUAL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:resource_selection_type (str) – The value to assign to the resource_selection_type property of this ManualResourceSelection. Allowed values for this property are: “DYNAMIC”, “MANUAL”
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.

resource_selection_type

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