Sdílet prostřednictvím


AppPlatformSkuRestrictions Class

Definition

Restrictions where the SKU cannot be used.

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

Properties

ReasonCode

Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'.

RestrictionInfo

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

RestrictionsType

Gets the type of restrictions. Possible values include: 'Location', 'Zone'.

Values

Gets 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<AppPlatformSkuRestrictions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppPlatformSkuRestrictions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppPlatformSkuRestrictions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppPlatformSkuRestrictions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppPlatformSkuRestrictions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to