Share via


ServiceBusAccessKeys Class

Definition

Namespace/ServiceBus Connection String.

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

Properties

AliasPrimaryConnectionString

Primary connection string of the alias if GEO DR is enabled.

AliasSecondaryConnectionString

Secondary connection string of the alias if GEO DR is enabled.

KeyName

A string that describes the authorization rule.

PrimaryConnectionString

Primary connection string of the created namespace authorization rule.

PrimaryKey

A base64-encoded 256-bit primary key for signing and validating the SAS token.

SecondaryConnectionString

Secondary connection string of the created namespace authorization rule.

SecondaryKey

A base64-encoded 256-bit primary key for signing and validating the SAS token.

Explicit Interface Implementations

IJsonModel<ServiceBusAccessKeys>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceBusAccessKeys>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceBusAccessKeys>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceBusAccessKeys>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceBusAccessKeys>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to