ArmCommunicationModelFactory.CommunicationServiceKeys Method

Definition

Initializes a new instance of CommunicationServiceKeys.

public static Azure.ResourceManager.Communication.Models.CommunicationServiceKeys CommunicationServiceKeys (string primaryKey = default, string secondaryKey = default, string primaryConnectionString = default, string secondaryConnectionString = default);
static member CommunicationServiceKeys : string * string * string * string -> Azure.ResourceManager.Communication.Models.CommunicationServiceKeys
Public Shared Function CommunicationServiceKeys (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional primaryConnectionString As String = Nothing, Optional secondaryConnectionString As String = Nothing) As CommunicationServiceKeys

Parameters

primaryKey
String

The primary access key.

secondaryKey
String

The secondary access key.

primaryConnectionString
String

CommunicationService connection string constructed via the primaryKey.

secondaryConnectionString
String

CommunicationService connection string constructed via the secondaryKey.

Returns

A new CommunicationServiceKeys instance for mocking.

Applies to