Share via


NamespaceSku Class

Definition

Represents available Sku pricing tiers.

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

Constructors

NamespaceSku()

Initializes a new instance of NamespaceSku.

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.

Explicit Interface Implementations

IJsonModel<NamespaceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamespaceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamespaceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamespaceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamespaceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to