Share via


CommunicationServiceKeys Class

Definition

A class representing the access keys of a CommunicationService.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.CommunicationServiceKeysTypeConverter))]
public class CommunicationServiceKeys : Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.ICommunicationServiceKeys
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.CommunicationServiceKeysTypeConverter))>]
type CommunicationServiceKeys = class
    interface ICommunicationServiceKeys
    interface IJsonSerializable
Public Class CommunicationServiceKeys
Implements ICommunicationServiceKeys
Inheritance
CommunicationServiceKeys
Attributes
Implements

Constructors

CommunicationServiceKeys()

Creates an new CommunicationServiceKeys instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CommunicationServiceKeys.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CommunicationServiceKeys.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Communication.Models.Api20230601Preview.ICommunicationServiceKeys.

FromJsonString(String)

Creates a new instance of CommunicationServiceKeys, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CommunicationServiceKeys into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to