SearchResourceCounter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a resource's usage and quota.
public class SearchResourceCounter : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SearchResourceCounter>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SearchResourceCounter>
type SearchResourceCounter = class
interface IJsonModel<SearchResourceCounter>
interface IPersistableModel<SearchResourceCounter>
Public Class SearchResourceCounter
Implements IJsonModel(Of SearchResourceCounter), IPersistableModel(Of SearchResourceCounter)
- Inheritance
-
SearchResourceCounter
- Implements
Properties
| Quota |
The resource amount quota. |
| Usage |
The resource usage amount. |
Methods
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
| IJsonModel<SearchResourceCounter>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<SearchResourceCounter>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<SearchResourceCounter>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<SearchResourceCounter>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<SearchResourceCounter>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |