ThrottlingRule 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.
The ThrottlingRule.
public class ThrottlingRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ProviderHub.Models.ThrottlingRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ProviderHub.Models.ThrottlingRule>
public class ThrottlingRule
type ThrottlingRule = class
interface IJsonModel<ThrottlingRule>
interface IPersistableModel<ThrottlingRule>
type ThrottlingRule = class
Public Class ThrottlingRule
Implements IJsonModel(Of ThrottlingRule), IPersistableModel(Of ThrottlingRule)
Public Class ThrottlingRule
- Inheritance
-
ThrottlingRule
- Implements
Constructors
ThrottlingRule(String, IEnumerable<ThrottlingMetric>) |
Initializes a new instance of ThrottlingRule. |
Properties
Action |
Gets or sets the action. |
Metrics |
Gets the metrics. |
RequiredFeatures |
Gets the required features. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ThrottlingRule>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ThrottlingRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ThrottlingRule>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ThrottlingRule>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ThrottlingRule>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET