Share via


AbusePenalty Class

Definition

The abuse penalty.

public class AbusePenalty : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.AbusePenalty>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.AbusePenalty>
type AbusePenalty = class
    interface IJsonModel<AbusePenalty>
    interface IPersistableModel<AbusePenalty>
Public Class AbusePenalty
Implements IJsonModel(Of AbusePenalty), IPersistableModel(Of AbusePenalty)
Inheritance
AbusePenalty
Implements

Properties

Action

The action of AbusePenalty.

Expiration

The datetime of expiration of the AbusePenalty.

RateLimitPercentage

The percentage of rate limit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AbusePenalty>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AbusePenalty>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AbusePenalty>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AbusePenalty>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AbusePenalty>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to