Delen via


NotificationHubs interface

Interface die een NotificationHubs vertegenwoordigt.

Methoden

checkNotificationHubAvailability(string, string, CheckAvailabilityParameters, NotificationHubsCheckNotificationHubAvailabilityOptionalParams)

Controleert de beschikbaarheid van de opgegeven notificationHub in een naamruimte.

createOrUpdate(string, string, string, NotificationHubCreateOrUpdateParameters, NotificationHubsCreateOrUpdateOptionalParams)

Hiermee maakt/werkt u een NotificationHub bij in een naamruimte.

createOrUpdateAuthorizationRule(string, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, NotificationHubsCreateOrUpdateAuthorizationRuleOptionalParams)

Hiermee maakt/werkt u een autorisatieregel voor een NotificationHub

debugSend(string, string, string, NotificationHubsDebugSendOptionalParams)

een pushmelding verzenden

delete(string, string, string, NotificationHubsDeleteOptionalParams)

Hiermee verwijdert u een Notification Hub die is gekoppeld aan een naamruimte.

deleteAuthorizationRule(string, string, string, string, NotificationHubsDeleteAuthorizationRuleOptionalParams)

Hiermee verwijdert u een notificationHub-autorisatieregel

get(string, string, string, NotificationHubsGetOptionalParams)

Geeft een lijst weer van de Notification Hubs die zijn gekoppeld aan een naamruimte.

getAuthorizationRule(string, string, string, string, NotificationHubsGetAuthorizationRuleOptionalParams)

Hiermee haalt u een autorisatieregel voor een NotificationHub op naam op.

getPnsCredentials(string, string, string, NotificationHubsGetPnsCredentialsOptionalParams)

Geeft een lijst weer van de PNS-referenties die zijn gekoppeld aan een Notification Hub.

list(string, string, NotificationHubsListOptionalParams)

Geeft een lijst weer van de Notification Hubs die zijn gekoppeld aan een naamruimte.

listAuthorizationRules(string, string, string, NotificationHubsListAuthorizationRulesOptionalParams)

Hiermee haalt u de autorisatieregels voor een NotificationHub op.

listKeys(string, string, string, string, NotificationHubsListKeysOptionalParams)

Hiermee haalt u de primaire en secundaire ConnectionStrings op naar NotificationHub

patch(string, string, string, NotificationHubsPatchOptionalParams)

Patch een NotificationHub in een naamruimte.

regenerateKeys(string, string, string, string, PolicykeyResource, NotificationHubsRegenerateKeysOptionalParams)

Genereert de primaire/secundaire sleutels opnieuw naar de NotificationHub-autorisatieregel

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.

Retouren

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.

options
NotificationHubsCreateOrUpdateOptionalParams

De optiesparameters.

Retouren

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.

parameters
SharedAccessAuthorizationRuleCreateOrUpdateParameters

De autorisatieregel voor gedeelde toegang.

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.

options
NotificationHubsDebugSendOptionalParams

De optiesparameters.

Retouren

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.

options
NotificationHubsDeleteOptionalParams

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.

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.

options
NotificationHubsGetOptionalParams

De optiesparameters.

Retouren

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.

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.

Retouren

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.

options
NotificationHubsListOptionalParams

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.

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.

options
NotificationHubsListKeysOptionalParams

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.

options
NotificationHubsPatchOptionalParams

De optiesparameters.

Retouren

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.

options
NotificationHubsRegenerateKeysOptionalParams

De optiesparameters.

Retouren

Promise<ResourceListKeys>