ResourceType

class oci.resource_search.models.ResourceType(**kwargs)

Bases: object

Defines a type of resource that you can find with a search or query.

Methods

__init__(**kwargs) Initializes a new ResourceType object with values from keyword arguments.

Attributes

fields [Required] Gets the fields of this ResourceType.
name [Required] Gets the name of this ResourceType.
__init__(**kwargs)

Initializes a new ResourceType object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
fields

[Required] Gets the fields of this ResourceType. List of all the fields and their value type that are indexed for querying.

Returns:The fields of this ResourceType.
Return type:list[oci.resource_search.models.QueryableFieldDescription]
name

[Required] Gets the name of this ResourceType. The unique name of the resource type, which matches the value returned as part of the ResourceSummary object.

Returns:The name of this ResourceType.
Return type:str