Partager via


ResourceSkuRestrictionInfo Class

Definition

Describes an available Compute SKU Restriction Information.

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

Properties

Locations

Locations where the SKU is restricted.

Zones

List of availability zones where the SKU is restricted.

Explicit Interface Implementations

IJsonModel<ResourceSkuRestrictionInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceSkuRestrictionInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceSkuRestrictionInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceSkuRestrictionInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceSkuRestrictionInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to