共用方式為


CommunicationServiceKeys Class

Definition

A class representing the access keys of a CommunicationService.

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

Properties

PrimaryConnectionString

CommunicationService connection string constructed via the primaryKey.

PrimaryKey

The primary access key.

SecondaryConnectionString

CommunicationService connection string constructed via the secondaryKey.

SecondaryKey

The secondary access key.

Explicit Interface Implementations

IJsonModel<CommunicationServiceKeys>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommunicationServiceKeys>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommunicationServiceKeys>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommunicationServiceKeys>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommunicationServiceKeys>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to