ResourceSelection¶
-
class
oci.fleet_apps_management.models.ResourceSelection(**kwargs)¶ Bases:
objectResource Selection Type
Attributes
RESOURCE_SELECTION_TYPE_DYNAMICA constant which can be used with the resource_selection_type property of a ResourceSelection. RESOURCE_SELECTION_TYPE_MANUALA constant which can be used with the resource_selection_type property of a ResourceSelection. resource_selection_type[Required] Gets the resource_selection_type of this ResourceSelection. Methods
__init__(**kwargs)Initializes a new ResourceSelection 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'¶ A constant which can be used with the resource_selection_type property of a ResourceSelection. This constant has a value of “DYNAMIC”
-
RESOURCE_SELECTION_TYPE_MANUAL= 'MANUAL'¶ A constant which can be used with the resource_selection_type property of a ResourceSelection. This constant has a value of “MANUAL”
-
__init__(**kwargs)¶ Initializes a new ResourceSelection 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: resource_selection_type (str) – The value to assign to the resource_selection_type property of this ResourceSelection. 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’.
-
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
-