Dela via


WebPubSubKeys Class

Definition

A class represents the access keys of the resource.

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

Properties

PrimaryConnectionString

Connection string constructed via the primaryKey.

PrimaryKey

The primary access key.

SecondaryConnectionString

Connection string constructed via the secondaryKey.

SecondaryKey

The secondary access key.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebPubSubKeys>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebPubSubKeys>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebPubSubKeys>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebPubSubKeys>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebPubSubKeys>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to