ComputeInstanceGroupByQuerySelector

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

Bases: oci.devops.models.compute_instance_group_selector.ComputeInstanceGroupSelector

Specifies the Compute instance group environment filtered by the RQS query expression.

Attributes

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

Methods

__init__(**kwargs) Initializes a new ComputeInstanceGroupByQuerySelector 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 ComputeInstanceGroupByQuerySelector object with values from keyword arguments. The default value of the selector_type attribute of this class is INSTANCE_QUERY 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 ComputeInstanceGroupByQuerySelector. Allowed values for this property are: “INSTANCE_IDS”, “INSTANCE_QUERY”
  • region (str) – The value to assign to the region property of this ComputeInstanceGroupByQuerySelector.
  • query (str) – The value to assign to the query property of this ComputeInstanceGroupByQuerySelector.
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.

query

[Required] Gets the query of this ComputeInstanceGroupByQuerySelector. Query expression confirming to the OCI Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm

Returns:The query of this ComputeInstanceGroupByQuerySelector.
Return type:str
region

[Required] Gets the region of this ComputeInstanceGroupByQuerySelector. Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm

Returns:The region of this ComputeInstanceGroupByQuerySelector.
Return type:str
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