Share via


CognitiveServicesSkuRestrictionInfo Class

Definition

The CognitiveServicesSkuRestrictionInfo.

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

Properties

Locations

Locations where the SKU is restricted.

Zones

List of availability zones where the SKU is restricted.

Explicit Interface Implementations

IJsonModel<CognitiveServicesSkuRestrictionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesSkuRestrictionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesSkuRestrictionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesSkuRestrictionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesSkuRestrictionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to