Compartilhar via


ArmNotificationHubsModelFactory.NotificationHubResourceKeys Method

Definition

Initializes a new instance of NotificationHubResourceKeys.

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

Parameters

primaryConnectionString
String

Gets or sets primaryConnectionString of the AuthorizationRule.

secondaryConnectionString
String

Gets or sets secondaryConnectionString of the created AuthorizationRule

primaryKey
String

Gets or sets primaryKey of the created AuthorizationRule.

secondaryKey
String

Gets or sets secondaryKey of the created AuthorizationRule.

keyName
String

Gets or sets keyName of the created AuthorizationRule.

Returns

A new NotificationHubResourceKeys instance for mocking.

Applies to