NotificationHubs interface
Interface die een NotificationHubs vertegenwoordigt.
Methoden
Methodedetails
checkNotificationHubAvailability(string, string, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams)
Controleert de beschikbaarheid van de opgegeven notificationHub in een naamruimte.
function checkNotificationHubAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckAvailabilityParameters, options?: NotificationHubsCheckNotificationHubAvailabilityOptionalParams): Promise<CheckAvailabilityResult>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- parameters
- CheckAvailabilityParameters
De notificationHub-naam.
De optiesparameters.
Retouren
Promise<CheckAvailabilityResult>
createOrUpdate(string, string, string, NotificationHubCreateOrUpdateParameters, NotificationHubsCreateOrUpdateOptionalParams)
Hiermee maakt/werkt u een NotificationHub bij in een naamruimte.
function createOrUpdate(resourceGroupName: string, namespaceName: string, notificationHubName: string, parameters: NotificationHubCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateOptionalParams): Promise<NotificationHubResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
- parameters
- NotificationHubCreateOrUpdateParameters
Parameters die zijn opgegeven voor het maken/bijwerken van een NotificationHub-resource.
De optiesparameters.
Retouren
Promise<NotificationHubResource>
createOrUpdateAuthorizationRule(string, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams)
Hiermee maakt/werkt u een autorisatieregel voor een NotificationHub
function createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: SharedAccessAuthorizationRuleCreateOrUpdateParameters, options?: NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<SharedAccessAuthorizationRuleResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
- authorizationRuleName
-
string
Naam van autorisatieregel.
De autorisatieregel voor gedeelde toegang.
De optiesparameters.
Retouren
debugSend(string, string, string, NotificationHubsDebugSendOptionalParams)
een pushmelding verzenden
function debugSend(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDebugSendOptionalParams): Promise<DebugSendResponse>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
Promise<DebugSendResponse>
delete(string, string, string, NotificationHubsDeleteOptionalParams)
Hiermee verwijdert u een Notification Hub die is gekoppeld aan een naamruimte.
function delete(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
Promise<void>
deleteAuthorizationRule(string, string, string, string, NotificationHubsDeleteAuthorizationRuleOptionalParams)
Hiermee verwijdert u een notificationHub-autorisatieregel
function deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsDeleteAuthorizationRuleOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
- authorizationRuleName
-
string
Naam van autorisatieregel.
De optiesparameters.
Retouren
Promise<void>
get(string, string, string, NotificationHubsGetOptionalParams)
Geeft een lijst weer van de Notification Hubs die zijn gekoppeld aan een naamruimte.
function get(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetOptionalParams): Promise<NotificationHubResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
Promise<NotificationHubResource>
getAuthorizationRule(string, string, string, string, NotificationHubsGetAuthorizationRuleOptionalParams)
Hiermee haalt u een autorisatieregel voor een NotificationHub op naam op.
function getAuthorizationRule(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsGetAuthorizationRuleOptionalParams): Promise<SharedAccessAuthorizationRuleResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naamruimtenaam
- notificationHubName
-
string
De naam van de Notification Hub.
- authorizationRuleName
-
string
naam van autorisatieregel.
De optiesparameters.
Retouren
getPnsCredentials(string, string, string, NotificationHubsGetPnsCredentialsOptionalParams)
Geeft een lijst weer van de PNS-referenties die zijn gekoppeld aan een Notification Hub.
function getPnsCredentials(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsGetPnsCredentialsOptionalParams): Promise<PnsCredentialsResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
Promise<PnsCredentialsResource>
list(string, string, NotificationHubsListOptionalParams)
Geeft een lijst weer van de Notification Hubs die zijn gekoppeld aan een naamruimte.
function list(resourceGroupName: string, namespaceName: string, options?: NotificationHubsListOptionalParams): PagedAsyncIterableIterator<NotificationHubResource, NotificationHubResource[], PageSettings>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
De optiesparameters.
Retouren
listAuthorizationRules(string, string, string, NotificationHubsListAuthorizationRulesOptionalParams)
Hiermee haalt u de autorisatieregels voor een NotificationHub op.
function listAuthorizationRules(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<SharedAccessAuthorizationRuleResource, SharedAccessAuthorizationRuleResource[], PageSettings>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naamruimtenaam
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
listKeys(string, string, string, string, NotificationHubsListKeysOptionalParams)
Hiermee haalt u de primaire en secundaire ConnectionStrings op naar NotificationHub
function listKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, options?: NotificationHubsListKeysOptionalParams): Promise<ResourceListKeys>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
- authorizationRuleName
-
string
De verbindingsreeks van NotificationHub voor de opgegeven authorizationRule.
De optiesparameters.
Retouren
Promise<ResourceListKeys>
patch(string, string, string, NotificationHubsPatchOptionalParams)
Patch een NotificationHub in een naamruimte.
function patch(resourceGroupName: string, namespaceName: string, notificationHubName: string, options?: NotificationHubsPatchOptionalParams): Promise<NotificationHubResource>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
De optiesparameters.
Retouren
Promise<NotificationHubResource>
regenerateKeys(string, string, string, string, PolicykeyResource, NotificationHubsRegenerateKeysOptionalParams)
Genereert de primaire/secundaire sleutels opnieuw naar de NotificationHub-autorisatieregel
function regenerateKeys(resourceGroupName: string, namespaceName: string, notificationHubName: string, authorizationRuleName: string, parameters: PolicykeyResource, options?: NotificationHubsRegenerateKeysOptionalParams): Promise<ResourceListKeys>
Parameters
- resourceGroupName
-
string
De naam van de resourcegroep.
- namespaceName
-
string
De naam van de naamruimte.
- notificationHubName
-
string
De naam van de Notification Hub.
- authorizationRuleName
-
string
De verbindingsreeks van NotificationHub voor de opgegeven authorizationRule.
- parameters
- PolicykeyResource
Parameters die zijn opgegeven om de NotificationHub-autorisatieregelsleutel opnieuw te genereren.
De optiesparameters.
Retouren
Promise<ResourceListKeys>