ArmNotificationHubsModelFactory.NotificationHubAdmCredential Method

Definition

public static Azure.ResourceManager.NotificationHubs.Models.NotificationHubAdmCredential NotificationHubAdmCredential(string clientId = default, string clientSecret = default, Uri authTokenUri = default);
static member NotificationHubAdmCredential : string * string * Uri -> Azure.ResourceManager.NotificationHubs.Models.NotificationHubAdmCredential
Public Shared Function NotificationHubAdmCredential (Optional clientId As String = Nothing, Optional clientSecret As String = Nothing, Optional authTokenUri As Uri = Nothing) As NotificationHubAdmCredential

Parameters

clientId
String

Gets or sets the client identifier.

clientSecret
String

Gets or sets the credential secret access key.

authTokenUri
Uri

Gets or sets the URL of the authorization token.

Returns

A new NotificationHubAdmCredential instance for mocking.

Exceptions

clientId, clientSecret or authTokenUri is null.

Applies to