Share via


AvsResourceSkuRestrictions Class

Definition

The restrictions of the SKU.

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

Properties

ReasonCode

the reason for restriction.

RestrictionInfo

The information about the restriction where the SKU cannot be used.

Type

the type of restrictions.

Values

The value of restrictions. If the restriction type is set to ___location. This would be different locations where the SKU is restricted.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvsResourceSkuRestrictions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AvsResourceSkuRestrictions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvsResourceSkuRestrictions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvsResourceSkuRestrictions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvsResourceSkuRestrictions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to