AppPlatformSkuRestrictions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type AppPlatformSkuRestrictions = class
interface IJsonModel<AppPlatformSkuRestrictions>
interface IPersistableModel<AppPlatformSkuRestrictions>
Public Class AppPlatformSkuRestrictions
Implements IJsonModel(Of AppPlatformSkuRestrictions), IPersistableModel(Of AppPlatformSkuRestrictions)
- Inheritance
-
System.ObjectAppPlatformSkuRestrictions
- Implements
-
System.ClientModel.Primitives.IJsonModel<AppPlatformSkuRestrictions> System.ClientModel.Primitives.IPersistableModel<AppPlatformSkuRestrictions> System.ClientModel.Primitives.IPersistableModel<T>
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 System.Text.Json.Utf8JsonWriter. |
| IPersistableModel<AppPlatformSkuRestrictions>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided System.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 System.BinaryData. |