Share via


EventHubsAccessKeys Class

Definition

Namespace/EventHub Connection String.

public class EventHubsAccessKeys : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>
type EventHubsAccessKeys = class
    interface IJsonModel<EventHubsAccessKeys>
    interface IPersistableModel<EventHubsAccessKeys>
Public Class EventHubsAccessKeys
Implements IJsonModel(Of EventHubsAccessKeys), IPersistableModel(Of EventHubsAccessKeys)
Inheritance
EventHubsAccessKeys
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 AuthorizationRule.

PrimaryConnectionString

Primary connection string of the created namespace AuthorizationRule.

PrimaryKey

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

SecondaryConnectionString

Secondary connection string of the created namespace AuthorizationRule.

SecondaryKey

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubsAccessKeys>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubsAccessKeys>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubsAccessKeys>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubsAccessKeys>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubsAccessKeys>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to