Condividi tramite


ComputeResourceSkuRestrictions Class

Definition

Describes scaling information of a SKU.

public class ComputeResourceSkuRestrictions : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ComputeResourceSkuRestrictions>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ComputeResourceSkuRestrictions>
type ComputeResourceSkuRestrictions = class
    interface IJsonModel<ComputeResourceSkuRestrictions>
    interface IPersistableModel<ComputeResourceSkuRestrictions>
Public Class ComputeResourceSkuRestrictions
Implements IJsonModel(Of ComputeResourceSkuRestrictions), IPersistableModel(Of ComputeResourceSkuRestrictions)
Inheritance
ComputeResourceSkuRestrictions
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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeResourceSkuRestrictions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeResourceSkuRestrictions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourceSkuRestrictions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeResourceSkuRestrictions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeResourceSkuRestrictions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to