ResourceTypeResourceFilter

class oci.resource_scheduler.models.ResourceTypeResourceFilter(**kwargs)

Bases: oci.resource_scheduler.models.resource_filter.ResourceFilter

This is a resource filter for filtering resource based on resource type.

Attributes

ATTRIBUTE_COMPARTMENT_ID str(object=’’) -> str
ATTRIBUTE_DEFINED_TAGS str(object=’’) -> str
ATTRIBUTE_LIFECYCLE_STATE str(object=’’) -> str
ATTRIBUTE_RESOURCE_TYPE str(object=’’) -> str
ATTRIBUTE_TIME_CREATED str(object=’’) -> str
attribute [Required] Gets the attribute of this ResourceFilter.
value Gets the value of this ResourceTypeResourceFilter.

Methods

__init__(**kwargs) Initializes a new ResourceTypeResourceFilter 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.
ATTRIBUTE_COMPARTMENT_ID = 'COMPARTMENT_ID'
ATTRIBUTE_DEFINED_TAGS = 'DEFINED_TAGS'
ATTRIBUTE_LIFECYCLE_STATE = 'LIFECYCLE_STATE'
ATTRIBUTE_RESOURCE_TYPE = 'RESOURCE_TYPE'
ATTRIBUTE_TIME_CREATED = 'TIME_CREATED'
__init__(**kwargs)

Initializes a new ResourceTypeResourceFilter object with values from keyword arguments. The default value of the attribute attribute of this class is RESOURCE_TYPE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • attribute (str) – The value to assign to the attribute property of this ResourceTypeResourceFilter. Allowed values for this property are: “COMPARTMENT_ID”, “RESOURCE_TYPE”, “DEFINED_TAGS”, “TIME_CREATED”, “LIFECYCLE_STATE”
  • value (list[str]) – The value to assign to the value property of this ResourceTypeResourceFilter.
attribute

[Required] Gets the attribute of this ResourceFilter. This is the resource attribute on which the threshold is defined.

Allowed values for this property are: “COMPARTMENT_ID”, “RESOURCE_TYPE”, “DEFINED_TAGS”, “TIME_CREATED”, “LIFECYCLE_STATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The attribute of this ResourceFilter.
Return type: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.

value

Gets the value of this ResourceTypeResourceFilter. This is a collection of resource types.

Returns:The value of this ResourceTypeResourceFilter.
Return type:list[str]