共用方式為


ServiceBusSku Class

Definition

SKU of the namespace.

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

Constructors

ServiceBusSku(ServiceBusSkuName)

Initializes a new instance of ServiceBusSku.

Properties

Capacity

Messaging units for your service bus premium namespace. Valid capacities are {1, 2, 4, 8, 16} multiples of your properties.premiumMessagingPartitions setting. For example, If properties.premiumMessagingPartitions is 1 then possible capacity values are 1, 2, 4, 8, and 16. If properties.premiumMessagingPartitions is 4 then possible capacity values are 4, 8, 16, 32 and 64.

Name

Name of this SKU.

Tier

The billing tier of this particular SKU.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceBusSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceBusSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceBusSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceBusSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceBusSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to