共用方式為


EventHubsSku Class

Definition

SKU parameters supplied to the create namespace operation.

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

Constructors

EventHubsSku(EventHubsSkuName)

Initializes a new instance of EventHubsSku.

Properties

Capacity

The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units.

Name

Name of this SKU.

Tier

The billing tier of this particular SKU.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubsSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubsSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubsSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubsSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubsSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to