Microsoft.NotificationHubs (stable:2023-09-01)

2025/09/05 • 35 new, 35 deleted methods

NotificationHubs_CheckNotificationHubAvailability (new)
Description Checks the availability of the given notificationHub in a namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
isAvailiable: boolean ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
isAvailiable: boolean ,
location: string ,
tags: object ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Get (new)
Description Gets the notification hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_CreateOrUpdate (new)
Description Creates/Update a NotificationHub in a namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
parameters:
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Update (new)
Description Patch a NotificationHub in a namespace.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
parameters:
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Delete (new)
Description Deletes a notification hub associated with a namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_List (new)
Description Lists the notification hubs associated with a namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_DebugSend (new)
Description Test send a push notification.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
success: integer ,
failure: integer ,
results:
[
{
applicationPlatform: string ,
pnsHandle: string ,
registrationId: string ,
outcome: string ,
}
,
]
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_CreateOrUpdateAuthorizationRule (new)
Description Creates/Updates an authorization rule for a NotificationHub
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_DeleteAuthorizationRule (new)
Description Deletes a notificationHub authorization rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_GetAuthorizationRule (new)
Description Gets an authorization rule for a NotificationHub by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_ListAuthorizationRules (new)
Description Gets the authorization rules for a NotificationHub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_ListKeys (new)
Description Gets the Primary and Secondary ConnectionStrings to the NotificationHub
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_RegenerateKeys (new)
Description Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
policyKey: enum ,
}
,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_GetPnsCredentials (new)
Description Lists the PNS Credentials associated with a notification hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CheckAvailability (new)
Description Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability
{
subscriptionId: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
isAvailiable: boolean ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
isAvailiable: boolean ,
location: string ,
tags: object ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Get (new)
Description Returns the given namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CreateOrUpdate (new)
Description Creates / Updates a Notification Hub namespace. This operation is idempotent.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Update (new)
Description Patches the existing namespace.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Delete (new)
Description Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListAll (new)
Description Lists all the available namespaces within the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces
{
subscriptionId: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_List (new)
Description Lists the available namespaces within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces
{
subscriptionId: string ,
resourceGroupName: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CreateOrUpdateAuthorizationRule (new)
Description Creates an authorization rule for a namespace
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_DeleteAuthorizationRule (new)
Description Deletes a namespace authorization rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_GetAuthorizationRule (new)
Description Gets an authorization rule for a namespace by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListAuthorizationRules (new)
Description Gets the authorization rules for a namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListKeys (new)
Description Gets the Primary and Secondary ConnectionStrings to the namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_RegenerateKeys (new)
Description Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
policyKey: enum ,
}
,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_GetPnsCredentials (new)
Description Lists the PNS credentials associated with a namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/pnsCredentials
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists all available Notification Hubs operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.NotificationHubs/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
properties:
{
serviceSpecification:
{
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
availabilities:
[
{
timeGrain: string ,
blobDuration: string ,
}
,
]
,
metricFilterPattern: string ,
fillGapWithZero: boolean ,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Update (new)
Description Approves or rejects Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Deletes the Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (new)
Description Returns a Private Endpoint Connection with a given name. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_List (new)
Description Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_GetGroupId (new)
Description Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
subResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListGroupIds (new)
Description Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_CheckNotificationHubAvailability (removed)
Description Checks the availability of the given notificationHub in a namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
isAvailiable: boolean ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
isAvailiable: boolean ,
location: string ,
tags: object ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Get (removed)
Description Gets the notification hub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_CreateOrUpdate (removed)
Description Creates/Update a NotificationHub in a namespace.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
parameters:
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Update (removed)
Description Patch a NotificationHub in a namespace.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
parameters:
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_Delete (removed)
Description Deletes a notification hub associated with a namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_List (removed)
Description Lists the notification hubs associated with a namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
registrationTtl: string ,
authorizationRules:
[
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
]
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
dailyMaxActiveDevices: integer ,
}
,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_DebugSend (removed)
Description Test send a push notification.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
success: integer ,
failure: integer ,
results:
[
{
applicationPlatform: string ,
pnsHandle: string ,
registrationId: string ,
outcome: string ,
}
,
]
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_CreateOrUpdateAuthorizationRule (removed)
Description Creates/Updates an authorization rule for a NotificationHub
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_DeleteAuthorizationRule (removed)
Description Deletes a notificationHub authorization rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_GetAuthorizationRule (removed)
Description Gets an authorization rule for a NotificationHub by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_ListAuthorizationRules (removed)
Description Gets the authorization rules for a NotificationHub.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_ListKeys (removed)
Description Gets the Primary and Secondary ConnectionStrings to the NotificationHub
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_RegenerateKeys (removed)
Description Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
policyKey: enum ,
}
,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NotificationHubs_GetPnsCredentials (removed)
Description Lists the PNS Credentials associated with a notification hub.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
notificationHubName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CheckAvailability (removed)
Description Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability
{
subscriptionId: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
isAvailiable: boolean ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
isAvailiable: boolean ,
location: string ,
tags: object ,
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Get (removed)
Description Returns the given namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CreateOrUpdate (removed)
Description Creates / Updates a Notification Hub namespace. This operation is idempotent.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (201)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Update (removed)
Description Patches the existing namespace.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
parameters:
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_Delete (removed)
Description Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListAll (removed)
Description Lists all the available namespaces within the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces
{
subscriptionId: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_List (removed)
Description Lists the available namespaces within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces
{
subscriptionId: string ,
resourceGroupName: string ,
$skipToken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: string ,
size: string ,
family: string ,
capacity: integer ,
}
,
properties:
{
name: string ,
provisioningState: enum ,
status: enum ,
enabled: boolean ,
critical: boolean ,
subscriptionId: string ,
region: string ,
metricId: string ,
createdAt: string ,
updatedAt: string ,
namespaceType: enum ,
replicationRegion: enum ,
zoneRedundancy: enum ,
networkAcls:
{
ipRules:
[
{
ipMask: string ,
rights:
[
string ,
]
,
}
,
]
,
publicNetworkRule:
{
rights:
[
string ,
]
,
}
,
}
,
pnsCredentials:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
serviceBusEndpoint: string ,
privateEndpointConnections:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
scaleUnit: string ,
dataCenter: string ,
publicNetworkAccess: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_CreateOrUpdateAuthorizationRule (removed)
Description Creates an authorization rule for a namespace
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (201)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_DeleteAuthorizationRule (removed)
Description Deletes a namespace authorization rule
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_GetAuthorizationRule (removed)
Description Gets an authorization rule for a namespace by name.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListAuthorizationRules (removed)
Description Gets the authorization rules for a namespace.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
rights:
[
string ,
]
,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
modifiedTime: string ,
createdTime: string ,
claimType: string ,
claimValue: string ,
revision: integer ,
}
,
location: string ,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_ListKeys (removed)
Description Gets the Primary and Secondary ConnectionStrings to the namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_RegenerateKeys (removed)
Description Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
authorizationRuleName: string ,
api-version: string ,
parameters:
{
policyKey: enum ,
}
,
}

⚐ Response (200)

{
primaryConnectionString: string ,
secondaryConnectionString: string ,
primaryKey: string ,
secondaryKey: string ,
keyName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Namespaces_GetPnsCredentials (removed)
Description Lists the PNS credentials associated with a namespace.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/pnsCredentials
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
admCredential:
{
properties:
{
clientId: string ,
clientSecret: string ,
authTokenUrl: string ,
}
,
}
,
apnsCredential:
{
properties:
{
apnsCertificate: string ,
certificateKey: string ,
endpoint: string ,
thumbprint: string ,
keyId: string ,
appName: string ,
appId: string ,
token: string ,
}
,
}
,
baiduCredential:
{
properties:
{
baiduApiKey: string ,
baiduEndPoint: string ,
baiduSecretKey: string ,
}
,
}
,
browserCredential:
{
properties:
{
subject: string ,
vapidPrivateKey: string ,
vapidPublicKey: string ,
}
,
}
,
gcmCredential:
{
properties:
{
gcmEndpoint: string ,
googleApiKey: string ,
}
,
}
,
mpnsCredential:
{
properties:
{
mpnsCertificate: string ,
certificateKey: string ,
thumbprint: string ,
}
,
}
,
wnsCredential:
{
properties:
{
packageSid: string ,
secretKey: string ,
windowsLiveEndpoint: string ,
certificateKey: string ,
wnsCertificate: string ,
}
,
}
,
xiaomiCredential:
{
properties:
{
appSecret: string ,
endpoint: string ,
}
,
}
,
}
,
location: string ,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists all available Notification Hubs operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.NotificationHubs/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
properties:
{
serviceSpecification:
{
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
availabilities:
[
{
timeGrain: string ,
blobDuration: string ,
}
,
]
,
metricFilterPattern: string ,
fillGapWithZero: boolean ,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Update (removed)
Description Approves or rejects Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (removed)
Description Deletes the Private Endpoint Connection. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (removed)
Description Returns a Private Endpoint Connection with a given name. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_List (removed)
Description Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace. This is a public API that can be called directly by Notification Hubs users.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_GetGroupId (removed)
Description Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
subResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListGroupIds (removed)
Description Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called. That's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
namespaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}