ComputeInstanceGroupSelector¶
-
class
oci.devops.models.
ComputeInstanceGroupSelector
(**kwargs)¶ Bases:
object
Defines how the instances in a instance group environment is selected.
Attributes
SELECTOR_TYPE_INSTANCE_IDS
A constant which can be used with the selector_type property of a ComputeInstanceGroupSelector. SELECTOR_TYPE_INSTANCE_QUERY
A constant which can be used with the selector_type property of a ComputeInstanceGroupSelector. selector_type
[Required] Gets the selector_type of this ComputeInstanceGroupSelector. Methods
__init__
(**kwargs)Initializes a new ComputeInstanceGroupSelector 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. -
SELECTOR_TYPE_INSTANCE_IDS
= 'INSTANCE_IDS'¶ A constant which can be used with the selector_type property of a ComputeInstanceGroupSelector. This constant has a value of “INSTANCE_IDS”
-
SELECTOR_TYPE_INSTANCE_QUERY
= 'INSTANCE_QUERY'¶ A constant which can be used with the selector_type property of a ComputeInstanceGroupSelector. This constant has a value of “INSTANCE_QUERY”
-
__init__
(**kwargs)¶ Initializes a new ComputeInstanceGroupSelector 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: selector_type (str) – The value to assign to the selector_type property of this ComputeInstanceGroupSelector. Allowed values for this property are: “INSTANCE_IDS”, “INSTANCE_QUERY”, ‘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.
-
selector_type
¶ [Required] Gets the selector_type of this ComputeInstanceGroupSelector. Defines the type of the instance selector for the group.
Allowed values for this property are: “INSTANCE_IDS”, “INSTANCE_QUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The selector_type of this ComputeInstanceGroupSelector. Return type: str
-