ArmWebPubSubModelFactory.WebPubSubKeys(String, String, String, String) Method

Definition

Initializes a new instance of WebPubSubKeys.

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

Parameters

primaryKey
String

The primary access key.

secondaryKey
String

The secondary access key.

primaryConnectionString
String

Connection string constructed via the primaryKey.

secondaryConnectionString
String

Connection string constructed via the secondaryKey.

Returns

A new WebPubSubKeys instance for mocking.

Applies to