ComputeInstanceGroupByIdsSelector

class oci.devops.models.ComputeInstanceGroupByIdsSelector(**kwargs)

Bases: oci.devops.models.compute_instance_group_selector.ComputeInstanceGroupSelector

Specifies the Compute instance group environment by listing the OCIDs of the compute instances.

Attributes

SELECTOR_TYPE_INSTANCE_IDS str(object=’’) -> str
SELECTOR_TYPE_INSTANCE_QUERY str(object=’’) -> str
compute_instance_ids [Required] Gets the compute_instance_ids of this ComputeInstanceGroupByIdsSelector.
selector_type [Required] Gets the selector_type of this ComputeInstanceGroupSelector.

Methods

__init__(**kwargs) Initializes a new ComputeInstanceGroupByIdsSelector 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'
SELECTOR_TYPE_INSTANCE_QUERY = 'INSTANCE_QUERY'
__init__(**kwargs)

Initializes a new ComputeInstanceGroupByIdsSelector object with values from keyword arguments. The default value of the selector_type attribute of this class is INSTANCE_IDS and it should not be changed. 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 ComputeInstanceGroupByIdsSelector. Allowed values for this property are: “INSTANCE_IDS”, “INSTANCE_QUERY”
  • compute_instance_ids (list[str]) – The value to assign to the compute_instance_ids property of this ComputeInstanceGroupByIdsSelector.
compute_instance_ids

[Required] Gets the compute_instance_ids of this ComputeInstanceGroupByIdsSelector. Compute instance OCID identifiers that are members of this group.

Returns:The compute_instance_ids of this ComputeInstanceGroupByIdsSelector.
Return type:list[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.

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