DynamicResourceSelection¶
-
class
oci.fleet_apps_management.models.
DynamicResourceSelection
(**kwargs)¶ Bases:
oci.fleet_apps_management.models.resource_selection.ResourceSelection
Dynamic 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. rule_selection_criteria
[Required] Gets the rule_selection_criteria of this DynamicResourceSelection. Methods
__init__
(**kwargs)Initializes a new DynamicResourceSelection 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 DynamicResourceSelection object with values from keyword arguments. The default value of the
resource_selection_type
attribute of this class isDYNAMIC
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 DynamicResourceSelection. Allowed values for this property are: “DYNAMIC”, “MANUAL”
- rule_selection_criteria (oci.fleet_apps_management.models.SelectionCriteria) – The value to assign to the rule_selection_criteria property of this DynamicResourceSelection.
-
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
-
rule_selection_criteria
¶ [Required] Gets the rule_selection_criteria of this DynamicResourceSelection.
Returns: The rule_selection_criteria of this DynamicResourceSelection. Return type: oci.fleet_apps_management.models.SelectionCriteria
-