ResourceType

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

Bases: object

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

__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:
  • name (str) -- The value to assign to the name property of this ResourceType.
  • fields (list[QueryableFieldDescription]) -- The value to assign to the fields property of this ResourceType.
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[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