你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceSkuRestrictions Class

Definition

Restrictions where the SKU cannot be used

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.ResourceSkuRestrictionsTypeConverter))]
public class ResourceSkuRestrictions : Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.IResourceSkuRestrictions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.ResourceSkuRestrictionsTypeConverter))>]
type ResourceSkuRestrictions = class
    interface IResourceSkuRestrictions
    interface IJsonSerializable
Public Class ResourceSkuRestrictions
Implements IResourceSkuRestrictions
Inheritance
ResourceSkuRestrictions
Attributes
Implements

Constructors

ResourceSkuRestrictions()

Creates an new ResourceSkuRestrictions instance.

Properties

ReasonCode

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

RestrictionInfoLocation

Gets locations where the SKU is restricted

RestrictionInfoZone

Gets list of availability zones where the SKU is restricted.

Type

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

Value

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceSkuRestrictions.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceSkuRestrictions.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.Api20220401.IResourceSkuRestrictions.

FromJsonString(String)

Creates a new instance of ResourceSkuRestrictions, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceSkuRestrictions into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to