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

NamespaceSku Class

Definition

Represents available Sku pricing tiers.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceSkuTypeConverter))]
public class NamespaceSku : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespaceSku
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceSkuTypeConverter))>]
type NamespaceSku = class
    interface INamespaceSku
    interface IJsonSerializable
Public Class NamespaceSku
Implements INamespaceSku
Inheritance
NamespaceSku
Attributes
Implements

Constructors

NamespaceSku()

Creates an new NamespaceSku instance.

Properties

Capacity

Specifies the number of Throughput Units that defines the capacity for the namespace. The property default value is 1 which signifies 1 Throughput Unit = 1MB/s ingress and 2MB/s egress per namespace. Min capacity is 1 and max allowed capacity is 20.

Name

The name of the SKU.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NamespaceSku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NamespaceSku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespaceSku.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NamespaceSku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to