次の方法で共有


ResourceSkuRestrictions Class

Definition

The restrictions of the SKU.

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

Properties

ReasonCode

the reason for restriction.

RestrictionInfo

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

RestrictionsType

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.

Explicit Interface Implementations

IJsonModel<ResourceSkuRestrictions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceSkuRestrictions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceSkuRestrictions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceSkuRestrictions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceSkuRestrictions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to