Skip to main content

pns_credentials

Creates, updates, deletes, gets or lists a pns_credentials resource.

Overview

Namepns_credentials
TypeResource
Idazure.notification_hubs.pns_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringDeprecated - only for compatibility.
propertiesobjectCollection of Notification Hub or Notification Hub Namespace PNS credentials.
tagsobjectDeprecated - only for compatibility.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, namespaceName, notificationHubName

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namespaceNamestringNamespace name
notificationHubNamestringNotification Hub name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Success

SELECT
location,
properties,
tags
FROM azure.notification_hubs.pns_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND notificationHubName = '{{ notificationHubName }}' -- required
;