NotificationHubsManagementClient icon

NotificationHubsManagementClient

Azure NotificationHub client

COMMUNITYBEARER0 INSTALLS
OpenAPI Specificationv3.0
{
  "swagger": "2.0",
  "schemes": [
    "https"
  ],
  "host": "management.azure.com",
  "info": {
    "description": "Azure NotificationHub client",
    "title": "NotificationHubsManagementClient",
    "version": "2017-04-01",
    "x-apisguru-categories": [
      "cloud"
    ],
    "x-logo": {
      "url": "https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png"
    },
    "x-origin": [
      {
        "format": "swagger",
        "url": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json",
        "version": "2.0"
      }
    ],
    "x-preferred": true,
    "x-providerName": "azure.com",
    "x-serviceName": "notificationhubs",
    "x-tags": [
      "Azure",
      "Microsoft"
    ]
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "securityDefinitions": {
    "azure_auth": {
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
      "description": "Azure Active Directory OAuth2 Flow",
      "flow": "implicit",
      "scopes": {
        "user_impersonation": "impersonate your user account"
      },
      "type": "oauth2"
    }
  },
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "parameters": {
    "ApiVersionParameter": {
      "description": "Client Api Version.",
      "in": "query",
      "name": "api-version",
      "required": true,
      "type": "string"
    },
    "SubscriptionIdParameter": {
      "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
      "in": "path",
      "name": "subscriptionId",
      "required": true,
      "type": "string"
    }
  },
  "paths": {
    "/providers/Microsoft.NotificationHubs/operations": {
      "get": {
        "description": "Lists all of the available NotificationHubs REST API operations.",
        "operationId": "Operations_List",
        "parameters": [
          {
            "$ref": "#/parameters/ApiVersionParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "OK. The request has succeeded.",
            "schema": {
              "$ref": "#/definitions/OperationListResult"
            }
          },
          "default": {
            "description": "NotificationHubs error response describing why the operation failed.",
            "schema": {
              "$ref": "#/definitions/ErrorResponse"
            }
          }
        },
        "tags": [
          "Operations"
        ],
        "x-ms-examples": {
          "OperationsList": {
            "parameters": {
              "api-version": "2017-04-01"
            },
            "responses": {
              "200": {
                "body": {
                  "value": [
                    {
                      "display": {
                        "operation": "Registers the NotificationHubs Provider",
                        "provider": "Microsoft Azure Notification Hub",
                        "resource": "Microsoft Azure Notification Hub"
                      },
                      "name": "Microsoft.NotificationHubs/register/action"
                    },
                    {
                      "display": {
                        "operation": "Unregisters the NotificationHubs Provider",
                        "provider": "Microsoft Azure Notification Hub",
                        "resource": "Microsoft Azure Notification Hub"
                      },
                      "name": "Microsoft.NotificationHubs/unregister/action"
                    },
                    {
                      "display": {
                        "operation": "Operation results for Notification Hubs provider",
                        "provider": "Microsoft Azure Notification Hub",
                        "resource": "Microsoft Azure Notification Hub"
                      },
                      "name": "Microsoft.NotificationHubs/operationResults/read"
                    },
                    {
                      "display": {
                        "operation": "Get namespace availability.",
                        "provider": "Microsoft Azure Notification Hub",
                        "resource": "Microsoft Azure Notification Hub"
                      },
                      "name": "Microsoft.NotificationHubs/CheckNamespaceAvailability/action"
                    },
                    {
                      "display": {
                        "operation": "Create Or Update Namespace ",
                        "provider": "Microsoft Azure Notification Hub",
                        "resource": "Namespace"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/write"
                    },
                    {
                      "display": {
                        "operation": "Get Namespace Resource",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "Namespace"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/read"
                    },
                    {
                      "display": {
                        "operation": "Delete Namespace",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "Namespace"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/Delete"
                    },
                    {
                      "display": {
                        "operation": "Create or Update Namespace Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/write"
                    },
                    {
                      "display": {
                        "operation": "Get Namespace Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/action"
                    },
                    {
                      "display": {
                        "operation": "Get Namespace Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/read"
                    },
                    {
                      "display": {
                        "operation": "Delete Namespace Authorization Rule",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/delete"
                    },
                    {
                      "display": {
                        "operation": "Get Namespace Listkeys",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/listkeys/action"
                    },
                    {
                      "display": {
                        "operation": "Resource Regeneratekeys",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/authorizationRules/regenerateKeys/action"
                    },
                    {
                      "display": {
                        "operation": "CheckNotificationHubAvailability",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/Namespaces/CheckNotificationHubAvailability/action"
                    },
                    {
                      "display": {
                        "operation": "Create or Update notification hub",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/write"
                    },
                    {
                      "display": {
                        "operation": "Get notification hub",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/read"
                    },
                    {
                      "display": {
                        "operation": "Delete notification hub",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/Delete"
                    },
                    {
                      "display": {
                        "operation": "Create or Update NotificationHub Authorization Rule",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub Authorization Rule"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/write"
                    },
                    {
                      "display": {
                        "operation": " Get NotificationHub Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/action"
                    },
                    {
                      "display": {
                        "operation": " Get NotificationHub Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/read"
                    },
                    {
                      "display": {
                        "operation": "Delete NotificationHub Authorization Rules",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/delete"
                    },
                    {
                      "display": {
                        "operation": "List NotificationHub keys",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/listkeys/action"
                    },
                    {
                      "display": {
                        "operation": "Resource Regeneratekeys",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub AuthorizationRules"
                      },
                      "name": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules/regenerateKeys/action"
                    },
                    {
                      "display": {
                        "operation": "Resource Get Notification Hub PNS Credentials",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub PnsCredential"
                      },
                      "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/pnsCredentials/action"
                    },
                    {
                      "display": {
                        "operation": "Send a test push notification",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub resource"
                      },
                      "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/debugSend/action"
                    },
                    {
                      "display": {
                        "operation": "Get NotificationHub metrics",
                        "provider": "Microsoft Azure NotificationHubs",
                        "resource": "NotificationHub metrics"
                      },
                      "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/metricDefinitions/read"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability": {
      "post": {
        "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.",
        "operationId": "Namespaces_CheckAvailability",
        "parameters": [
          {
            "description": "The namespace name.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CheckAvailabilityParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Checks if the Namespace name is a valid available name",
            "schema": {
              "$ref": "#/definitions/CheckAvailabilityResult"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceCheckNameAvailability": {
            "parameters": {
              "api-version": "2017-04-01",
              "parameters": {
                "name": "sdk-Namespace-2924"
              },
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/CheckNamespaceAvailability",
                  "isAvailiable": false,
                  "location": "West Europe",
                  "name": "mytestnamespace",
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces": {
      "get": {
        "description": "Lists all the available namespaces within the subscription irrespective of the resourceGroups.",
        "operationId": "Namespaces_ListAll",
        "parameters": [
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Gets all the Namespaces within the subscription irrespective of the ResourceGroup",
            "schema": {
              "$ref": "#/definitions/NamespaceListResult"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceList": {
            "parameters": {
              "api-version": "2017-04-01",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20",
                      "location": "South Central US",
                      "name": "NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20",
                      "properties": {
                        "createdAt": "2016-08-23T02:40:17.27Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-91f08e47-2b04-4943-b0cd-a5fb02b88f20",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-91f08e47-2b04-4943-b0cd-a5fb02b88f20.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T07:15:30.78Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-41dc63f4-0b08-4029-b3ef-535a131bfa65",
                      "location": "South Central US",
                      "name": "NS-41dc63f4-0b08-4029-b3ef-535a131bfa65",
                      "properties": {
                        "createdAt": "2016-08-23T03:50:38.98Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-41dc63f4-0b08-4029-b3ef-535a131bfa65",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-41dc63f4-0b08-4029-b3ef-535a131bfa65.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T10:42:58.003Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-df52cf51-e831-4bf2-bd92-e9885f68a996",
                      "location": "South Central US",
                      "name": "NS-df52cf51-e831-4bf2-bd92-e9885f68a996",
                      "properties": {
                        "createdAt": "2016-09-16T01:17:54.997Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-df52cf51-e831-4bf2-bd92-e9885f68a996",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-df52cf51-e831-4bf2-bd92-e9885f68a996.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:44:39.737Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sadfsadfsadf/providers/Microsoft.NotificationHubs/namespaces/rrama-ns2",
                      "location": "South Central US",
                      "name": "rrama-ns2",
                      "properties": {
                        "createdAt": "2016-08-23T04:14:00.013Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:rrama-ns2",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://rrama-ns2.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-03T22:53:32.927Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-20e57600-29d0-4035-ac85-74f4c54dcda1",
                      "location": "South Central US",
                      "name": "NS-20e57600-29d0-4035-ac85-74f4c54dcda1",
                      "properties": {
                        "createdAt": "2016-08-23T03:30:49.16Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-20e57600-29d0-4035-ac85-74f4c54dcda1",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-20e57600-29d0-4035-ac85-74f4c54dcda1.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T04:17:58.483Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-3e538a1a-58fb-4315-b2ce-76f5c944114c",
                      "location": "South Central US",
                      "name": "NS-3e538a1a-58fb-4315-b2ce-76f5c944114c",
                      "properties": {
                        "createdAt": "2016-09-16T18:07:30.05Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-3e538a1a-58fb-4315-b2ce-76f5c944114c",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-3e538a1a-58fb-4315-b2ce-76f5c944114c.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T10:42:57.747Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039",
                      "location": "South Central US",
                      "name": "NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039",
                      "properties": {
                        "createdAt": "2016-09-16T01:01:58.73Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-4e1bfdf1-0cff-4e86-ae80-cdcac4873039",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-4e1bfdf1-0cff-4e86-ae80-cdcac4873039.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T03:02:59.8Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03",
                      "location": "South Central US",
                      "name": "NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03",
                      "properties": {
                        "createdAt": "2016-08-23T03:22:45.327Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-6b90b7f3-7aa0-48c9-bc30-b299dcb66c03.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:08:01.207Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-c05e9df3-7737-44ee-a321-15f6e0545b97",
                      "location": "South Central US",
                      "name": "NS-c05e9df3-7737-44ee-a321-15f6e0545b97",
                      "properties": {
                        "createdAt": "2016-08-05T03:29:19.75Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-c05e9df3-7737-44ee-a321-15f6e0545b97",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-c05e9df3-7737-44ee-a321-15f6e0545b97.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T08:10:35.527Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-dcb4152c-231b-4c16-a683-07cc6b38fa46",
                      "location": "South Central US",
                      "name": "NS-dcb4152c-231b-4c16-a683-07cc6b38fa46",
                      "properties": {
                        "createdAt": "2016-08-05T03:34:35.363Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-dcb4152c-231b-4c16-a683-07cc6b38fa46",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-dcb4152c-231b-4c16-a683-07cc6b38fa46.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T05:33:00.957Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-f501f5e6-1f24-439b-8982-9af665156d40",
                      "location": "South Central US",
                      "name": "NS-f501f5e6-1f24-439b-8982-9af665156d40",
                      "properties": {
                        "createdAt": "2016-09-16T01:25:55.707Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-f501f5e6-1f24-439b-8982-9af665156d40",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-f501f5e6-1f24-439b-8982-9af665156d40.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T07:42:59.687Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30",
                      "location": "South Central US",
                      "name": "NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30",
                      "properties": {
                        "createdAt": "2016-08-23T02:32:08.227Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-fe2ed660-2cd6-46f2-a9c3-7e11551a1f30.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:32:57.77Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71",
                      "location": "South Central US",
                      "name": "NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71",
                      "properties": {
                        "createdAt": "2016-09-16T00:54:05.103Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-8a5e3b4e-4e97-4d85-9083-cd33536c9d71",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-8a5e3b4e-4e97-4d85-9083-cd33536c9d71.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T10:43:50.313Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-6520cc09-01ac-40a3-bc09-c5c431116e92",
                      "location": "South Central US",
                      "name": "NS-6520cc09-01ac-40a3-bc09-c5c431116e92",
                      "properties": {
                        "createdAt": "2016-09-16T01:49:59.243Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-6520cc09-01ac-40a3-bc09-c5c431116e92",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-6520cc09-01ac-40a3-bc09-c5c431116e92.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T08:15:36.95Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-bfba6d5c-a425-42d9-85db-0f4da770e29a",
                      "location": "South Central US",
                      "name": "NS-bfba6d5c-a425-42d9-85db-0f4da770e29a",
                      "properties": {
                        "createdAt": "2016-08-05T03:23:32.083Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-bfba6d5c-a425-42d9-85db-0f4da770e29a",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-bfba6d5c-a425-42d9-85db-0f4da770e29a.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T09:02:57.433Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-43b136b4-8716-40b2-97c5-0d77cac0062c",
                      "location": "South Central US",
                      "name": "NS-43b136b4-8716-40b2-97c5-0d77cac0062c",
                      "properties": {
                        "createdAt": "2016-08-23T03:14:50.577Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-43b136b4-8716-40b2-97c5-0d77cac0062c",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-43b136b4-8716-40b2-97c5-0d77cac0062c.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T09:23:01.067Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-7c0443de-5f88-450c-b574-83f60a097dd1",
                      "location": "South Central US",
                      "name": "NS-7c0443de-5f88-450c-b574-83f60a097dd1",
                      "properties": {
                        "createdAt": "2016-08-23T04:07:15.397Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-7c0443de-5f88-450c-b574-83f60a097dd1",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-7c0443de-5f88-450c-b574-83f60a097dd1.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T04:03:03.097Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-62dd7753-a5f9-42fd-a354-ca38a4505d69",
                      "location": "South Central US",
                      "name": "NS-62dd7753-a5f9-42fd-a354-ca38a4505d69",
                      "properties": {
                        "createdAt": "2016-09-16T01:33:50.45Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-62dd7753-a5f9-42fd-a354-ca38a4505d69",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-62dd7753-a5f9-42fd-a354-ca38a4505d69.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T05:35:33.053Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-ae18a18c-97ab-4089-965d-8acbf4794091",
                      "location": "South Central US",
                      "name": "NS-ae18a18c-97ab-4089-965d-8acbf4794091",
                      "properties": {
                        "createdAt": "2016-08-23T02:43:36.517Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-ae18a18c-97ab-4089-965d-8acbf4794091",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-ae18a18c-97ab-4089-965d-8acbf4794091.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T12:40:30.587Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11",
                      "location": "South Central US",
                      "name": "NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11",
                      "properties": {
                        "createdAt": "2016-09-16T00:46:03.773Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-8e3b56c1-0ee8-4e13-ae88-5cadf6e2ce11.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T04:43:54.56Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44",
                      "location": "South Central US",
                      "name": "NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44",
                      "properties": {
                        "createdAt": "2016-08-23T03:59:12.1Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-7ffca4b4-4728-4fb0-b2d0-1e7c016e3a44.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:33:52.23Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-d9337efd-9b27-454c-b2a5-dcfea56920d9",
                      "location": "South Central US",
                      "name": "NS-d9337efd-9b27-454c-b2a5-dcfea56920d9",
                      "properties": {
                        "createdAt": "2016-08-05T03:45:09.27Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-d9337efd-9b27-454c-b2a5-dcfea56920d9",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-d9337efd-9b27-454c-b2a5-dcfea56920d9.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:20:31.863Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a",
                      "location": "South Central US",
                      "name": "NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a",
                      "properties": {
                        "createdAt": "2016-08-23T02:34:36.447Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-ad5ae732-abea-4e62-9de0-c90de0ddec0a",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-ad5ae732-abea-4e62-9de0-c90de0ddec0a.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:15:31.607Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-d447fb03-c7da-40fe-b5eb-14f36888837b",
                      "location": "South Central US",
                      "name": "NS-d447fb03-c7da-40fe-b5eb-14f36888837b",
                      "properties": {
                        "createdAt": "2016-08-05T00:53:46.697Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-d447fb03-c7da-40fe-b5eb-14f36888837b",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-d447fb03-c7da-40fe-b5eb-14f36888837b.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T11:09:41.26Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/RapscallionResources/providers/Microsoft.NotificationHubs/namespaces/ReproSB",
                      "location": "South Central US",
                      "name": "ReproSB",
                      "properties": {
                        "createdAt": "2017-02-27T19:29:34.523Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:reprosb",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://ReproSB.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-27T19:29:58.64Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-4c90097f-19a8-42e7-bb3c-4ac088994719",
                      "location": "South Central US",
                      "name": "NS-4c90097f-19a8-42e7-bb3c-4ac088994719",
                      "properties": {
                        "createdAt": "2016-09-16T17:35:32.61Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-4c90097f-19a8-42e7-bb3c-4ac088994719",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-4c90097f-19a8-42e7-bb3c-4ac088994719.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T09:13:52.27Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/rrama-1-23-17",
                      "location": "South Central US",
                      "name": "rrama-1-23-17",
                      "properties": {
                        "createdAt": "2017-01-23T22:54:40.907Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:rrama-1-23-17",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://rrama-1-23-17.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-04T00:53:28.777Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12",
                      "location": "South Central US",
                      "name": "NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12",
                      "properties": {
                        "createdAt": "2016-09-16T17:43:25.71Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-5191e541-8e4e-4229-9fdc-b89f6c3e7f12",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-5191e541-8e4e-4229-9fdc-b89f6c3e7f12.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T11:05:31.89Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-be903820-3533-46e8-90e4-72c132411848",
                      "location": "South Central US",
                      "name": "NS-be903820-3533-46e8-90e4-72c132411848",
                      "properties": {
                        "createdAt": "2016-08-05T03:24:01.923Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-be903820-3533-46e8-90e4-72c132411848",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-be903820-3533-46e8-90e4-72c132411848.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T10:09:42.513Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/rrama-namespace1",
                      "location": "South Central US",
                      "name": "rrama-namespace1",
                      "properties": {
                        "createdAt": "2016-08-05T00:47:22.963Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:rrama-namespace1",
                        "provisioningState": "Created",
                        "serviceBusEndpoint": "https://rrama-namespace1.servicebus.windows-int.net:443/",
                        "updatedAt": "2016-08-05T00:47:27.297Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9",
                      "location": "South Central US",
                      "name": "NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9",
                      "properties": {
                        "createdAt": "2016-09-16T00:38:02.517Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-a3c38e9b-32a3-4c51-85d7-263150a8dda9",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-a3c38e9b-32a3-4c51-85d7-263150a8dda9.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T05:03:55.96Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6",
                      "location": "South Central US",
                      "name": "NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6",
                      "properties": {
                        "createdAt": "2016-08-23T03:42:40.01Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-70d3fa25-6bbe-4a6b-a381-a52cf0d539e6.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T06:33:02.363Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a",
                      "location": "South Central US",
                      "name": "NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a",
                      "properties": {
                        "createdAt": "2016-08-05T04:28:10.71Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-e6536f77-0d1b-4a6b-8f42-29cc15b2930a",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-e6536f77-0d1b-4a6b-8f42-29cc15b2930a.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T08:43:51.587Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
                      "location": "South Central US",
                      "name": "sdk-Namespace-2924",
                      "properties": {
                        "createdAt": "2017-05-25T22:26:36.76Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:sdk-namespace-2924",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://sdk-Namespace-2924.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-05-25T22:26:59.35Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {
                        "tag1": "value1",
                        "tag2": "value2"
                      },
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/rrama-sb1",
                      "location": "South Central US",
                      "name": "rrama-sb1",
                      "properties": {
                        "createdAt": "2017-05-01T21:47:34.903Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:rrama-sb1",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://rrama-sb1.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-05-02T02:10:03.083Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/RapscallionResources/providers/Microsoft.NotificationHubs/namespaces/WhackWhack",
                      "location": "South Central US",
                      "name": "WhackWhack",
                      "properties": {
                        "createdAt": "2016-10-10T23:39:01.347Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:whackwhack",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://WhackWhack.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-04T00:56:32.687Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c",
                      "location": "South Central US",
                      "name": "NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c",
                      "properties": {
                        "createdAt": "2016-09-16T17:51:27.73Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-66ed32d6-611e-4bb0-8e1a-a6d0fc65427c.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T08:19:43.383Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e",
                      "location": "South Central US",
                      "name": "NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e",
                      "properties": {
                        "createdAt": "2016-08-05T01:14:25.613Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:ns-e0cab401-6df8-465d-8d4a-da9a9e55cf0e",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://NS-e0cab401-6df8-465d-8d4a-da9a9e55cf0e.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-02-11T12:33:01.727Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/bn3-rrama-foo1",
                      "location": "East US 2",
                      "name": "bn3-rrama-foo1",
                      "properties": {
                        "createdAt": "2017-04-28T23:54:26.927Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:bn3-rrama-foo1",
                        "provisioningState": "Created",
                        "serviceBusEndpoint": "https://bn3-rrama-foo1.servicebus.int7.windows-int.net:443/",
                        "updatedAt": "2017-04-28T23:54:26.927Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/bn3-rrama-foo3",
                      "location": "East US 2",
                      "name": "bn3-rrama-foo3",
                      "properties": {
                        "createdAt": "2017-04-29T00:24:09.907Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:bn3-rrama-foo3",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://bn3-rrama-foo3.servicebus.int7.windows-int.net:443/",
                        "updatedAt": "2017-04-29T00:24:33.233Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/bn3-rrama-foo2",
                      "location": "East US 2",
                      "name": "bn3-rrama-foo2",
                      "properties": {
                        "createdAt": "2017-04-28T23:57:40.82Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:bn3-rrama-foo2",
                        "provisioningState": "Created",
                        "serviceBusEndpoint": "https://bn3-rrama-foo2.servicebus.int7.windows-int.net:443/",
                        "updatedAt": "2017-04-28T23:57:40.82Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.NotificationHubs/namespaces/db3-rrama-foo2",
                      "location": "North Europe",
                      "name": "db3-rrama-foo2",
                      "properties": {
                        "createdAt": "2017-04-29T00:10:43.463Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:db3-rrama-foo2",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://db3-rrama-foo2.servicebus.int7.windows-int.net:443/",
                        "updatedAt": "2017-04-29T00:11:09.133Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {},
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces": {
      "get": {
        "description": "Lists the available namespaces within a resourceGroup.",
        "operationId": "Namespaces_List",
        "parameters": [
          {
            "description": "The name of the resource group. If resourceGroupName value is null the method lists all the namespaces within subscription",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Lists all Namespaces with the ResourceGroup",
            "schema": {
              "$ref": "#/definitions/NamespaceListResult"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceListByResourceGroup": {
            "parameters": {
              "api-version": "2017-04-01",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
                      "location": "South Central US",
                      "name": "sdk-Namespace-2924",
                      "properties": {
                        "createdAt": "2017-05-25T22:26:36.76Z",
                        "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:sdk-namespace-2924",
                        "provisioningState": "Succeeded",
                        "serviceBusEndpoint": "https://sdk-Namespace-2924.servicebus.windows-int.net:443/",
                        "updatedAt": "2017-05-25T22:26:59.35Z"
                      },
                      "sku": {
                        "name": "Standard",
                        "tier": "Standard"
                      },
                      "tags": {
                        "tag1": "value1",
                        "tag2": "value2"
                      },
                      "type": "Microsoft.NotificationHubs/Namespaces"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}": {
      "delete": {
        "description": "Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.",
        "externalDocs": {
          "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj856296.aspx"
        },
        "operationId": "Namespaces_Delete",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace is deleted"
          },
          "202": {
            "description": "Namespace delete request has been accepted"
          },
          "204": {
            "description": "Namespace is already Deleted"
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceDelete": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {},
              "202": {},
              "204": {}
            }
          }
        },
        "x-ms-long-running-operation": true
      },
      "get": {
        "description": "Returns the description for the specified namespace.",
        "operationId": "Namespaces_Get",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get Namespace",
            "schema": {
              "$ref": "#/definitions/NamespaceResource"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceGet": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
                  "location": "South Central US",
                  "name": "nh-sdk-ns",
                  "properties": {
                    "createdAt": "2018-05-02T00:44:56.58Z",
                    "critical": false,
                    "dataCenter": "SN1",
                    "enabled": true,
                    "metricId": null,
                    "namespaceType": "NotificationHub",
                    "provisioningState": "Succeeded",
                    "scaleUnit": "SN1-001",
                    "serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
                    "status": "Active",
                    "updatedAt": "2018-05-02T01:02:19.79Z"
                  },
                  "sku": {
                    "name": "Basic"
                  },
                  "tags": {},
                  "type": "Microsoft.NotificationHubs/namespaces"
                }
              }
            }
          }
        }
      },
      "patch": {
        "description": "Patches the existing namespace",
        "operationId": "Namespaces_Patch",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to patch a Namespace Resource.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/NamespacePatchParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace is Updated",
            "schema": {
              "$ref": "#/definitions/NamespaceResource"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceUpdate": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "parameters": {
                "sku": {
                  "name": "Standard",
                  "tier": "Standard"
                },
                "tags": {
                  "tag1": "value1",
                  "tag2": "value2"
                }
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-3285",
                  "location": "South Central US",
                  "name": "sdk-Namespace-3285",
                  "properties": {
                    "createdAt": "2017-05-25T23:07:58.17Z",
                    "provisioningState": "Updating",
                    "serviceBusEndpoint": "https://sdk-Namespace-3285.servicebus.windows-int.net:443/"
                  },
                  "sku": {
                    "name": "Standard",
                    "tier": "Standard"
                  },
                  "tags": {
                    "tag3": "value3",
                    "tag4": "value4"
                  },
                  "type": "Microsoft.NotificationHubs/Namespaces"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Creates/Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.",
        "externalDocs": {
          "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj856303.aspx"
        },
        "operationId": "Namespaces_CreateOrUpdate",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to create a Namespace Resource.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/NamespaceCreateOrUpdateParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace is Create/Update",
            "schema": {
              "$ref": "#/definitions/NamespaceResource"
            }
          },
          "201": {
            "description": "Namespace is Create/Update",
            "schema": {
              "$ref": "#/definitions/NamespaceResource"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceCreate": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "parameters": {
                "location": "South Central US",
                "sku": {
                  "name": "Standard",
                  "tier": "Standard"
                },
                "tags": {
                  "tag1": "value1",
                  "tag2": "value2"
                }
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
                  "location": "South Central US",
                  "name": "sdk-Namespace-2924",
                  "properties": {
                    "createdAt": "2017-05-25T22:26:36.76Z",
                    "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:sdk-namespace-2924",
                    "provisioningState": "Created",
                    "serviceBusEndpoint": "https://sdk-Namespace-2924.servicebus.windows-int.net:443/",
                    "updatedAt": "2017-05-25T22:26:36.76Z"
                  },
                  "sku": {
                    "name": "Standard",
                    "tier": "Standard"
                  },
                  "tags": {
                    "tag1": "value1",
                    "tag2": "value2"
                  },
                  "type": "Microsoft.NotificationHubs/Namespaces"
                }
              },
              "201": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
                  "location": "South Central US",
                  "name": "sdk-Namespace-2924",
                  "properties": {
                    "createdAt": "2017-05-25T22:26:36.76Z",
                    "metricId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40:sdk-namespace-2924",
                    "provisioningState": "Created",
                    "serviceBusEndpoint": "https://sdk-Namespace-2924.servicebus.windows-int.net:443/",
                    "updatedAt": "2017-05-25T22:26:36.76Z"
                  },
                  "sku": {
                    "name": "Standard",
                    "tier": "Standard"
                  },
                  "tags": {
                    "tag1": "value1",
                    "tag2": "value2"
                  },
                  "type": "Microsoft.NotificationHubs/Namespaces"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules": {
      "get": {
        "description": "Gets the authorization rules for a namespace.",
        "operationId": "Namespaces_ListAuthorizationRules",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get the List of AuthorizationRules of a Namespace",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleListAll": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "nextLink": null,
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/AuthorizationRules/RootManageSharedAccessKey",
                      "location": null,
                      "name": "RootManageSharedAccessKey",
                      "properties": {
                        "claimType": "SharedAccessKey",
                        "claimValue": "None",
                        "createdTime": "2018-05-02T18:24:51.0690674Z",
                        "keyName": "RootManageSharedAccessKey",
                        "modifiedTime": "2018-05-02T18:31:28.5201555Z",
                        "primaryKey": "e5FIqldZtpiWCwXfFn/MfofvpaqRpB2NzAlq+kGtoZ8=",
                        "revision": 1,
                        "rights": [
                          "Listen",
                          "Manage",
                          "Send"
                        ],
                        "secondaryKey": "p88zp8l/FSPLQyzOj2t2jMZk1k463SoFcQ13ritYjmI="
                      },
                      "tags": null,
                      "type": "Microsoft.NotificationHubs/Namespaces/AuthorizationRules"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}": {
      "delete": {
        "description": "Deletes a namespace authorization rule",
        "operationId": "Namespaces_DeleteAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Authorization Rule Name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace AuthorizationRule is deleted"
          },
          "204": {
            "description": "Namespace AuthorizationRule is already deleted"
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleDelete": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "RootManageSharedAccessKey",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {},
              "204": {}
            }
          }
        }
      },
      "get": {
        "description": "Gets an authorization rule for a namespace by name.",
        "operationId": "Namespaces_GetAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Authorization rule name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get the Namespace AuthorizationRule",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleGet": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "RootManageSharedAccessKey",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/AuthorizationRules/RootManageSharedAccessKey",
                  "location": "South Central US",
                  "name": "RootManageSharedAccessKey",
                  "properties": {
                    "claimType": "SharedAccessKey",
                    "claimValue": "None",
                    "createdTime": "2018-05-02T18:24:51.0690674Z",
                    "keyName": "RootManageSharedAccessKey",
                    "modifiedTime": "2018-05-02T18:24:51.0690674Z",
                    "primaryKey": "############################################",
                    "rights": [
                      "Listen",
                      "Manage",
                      "Send"
                    ],
                    "secondaryKey": "############################################"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/Namespaces/AuthorizationRules"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Creates an authorization rule for a namespace",
        "operationId": "Namespaces_CreateOrUpdateAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Authorization Rule Name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The shared access authorization rule.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleCreateOrUpdateParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace Authorization Rule is Created/Updated",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleCreate": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "sdk-AuthRules-1788",
              "location": "West Europe",
              "namespaceName": "nh-sdk-ns",
              "parameters": {
                "properties": {
                  "rights": [
                    "Listen",
                    "Send"
                  ]
                }
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/ArunMonocle/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-6914/AuthorizationRules/sdk-AuthRules-1788",
                  "name": "sdk-AuthRules-1788",
                  "properties": {
                    "rights": [
                      "Listen",
                      "Send"
                    ]
                  },
                  "type": "Microsoft.NotificationHubs/Namespaces/AuthorizationRules"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/listKeys": {
      "post": {
        "description": "Gets the Primary and Secondary ConnectionStrings to the namespace ",
        "operationId": "Namespaces_ListKeys",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The connection string of the namespace for the specified authorizationRule.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Gets the Namespace AuthorizationRule's Primary keys and Secondary keys along with the ConnectionStrings",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleListKey": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "RootManageSharedAccessKey",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/AuthorizationRules/RootManageSharedAccessKey",
                      "location": null,
                      "name": "RootManageSharedAccessKey",
                      "properties": {
                        "claimType": "SharedAccessKey",
                        "claimValue": "None",
                        "createdTime": "2018-05-02T18:24:51.0690674Z",
                        "keyName": "RootManageSharedAccessKey",
                        "modifiedTime": "2018-05-02T18:24:51.0690674Z",
                        "primaryKey": "############################################",
                        "rights": [
                          "Listen",
                          "Manage",
                          "Send"
                        ],
                        "secondaryKey": "############################################"
                      },
                      "tags": null,
                      "type": "Microsoft.NotificationHubs/Namespaces/AuthorizationRules"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys": {
      "post": {
        "description": "Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule",
        "operationId": "Namespaces_RegenerateKeys",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The connection string of the namespace for the specified authorizationRule.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to regenerate the Namespace Authorization Rule Key.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PolicykeyResource"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Regenerate the Primary/Secondary Key and returns the Keys and the connection string",
            "schema": {
              "$ref": "#/definitions/ResourceListKeys"
            }
          }
        },
        "tags": [
          "Namespaces"
        ],
        "x-ms-examples": {
          "NameSpaceAuthorizationRuleRegenerateKey": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "RootManageSharedAccessKey",
              "namespaceName": "nh-sdk-ns",
              "parameters": {
                "policyKey": "PrimaryKey"
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "keyName": "RootManageSharedAccessKey",
                  "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
                  "primaryKey": "############################################",
                  "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
                  "secondaryKey": "############################################"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability": {
      "post": {
        "description": "Checks the availability of the given notificationHub in a namespace.",
        "operationId": "NotificationHubs_CheckNotificationHubAvailability",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notificationHub name.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CheckAvailabilityParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Checks if the NotificationHub name is a valid available name",
            "schema": {
              "$ref": "#/definitions/CheckAvailabilityResult"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "notificationHubCheckNameAvailability": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "locp-newns",
              "parameters": {
                "location": "West Europe",
                "name": "sdktest"
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourcegroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/locp-newns/CheckNotificationHubAvailability",
                  "isAvailiable": true,
                  "location": "West Europe",
                  "name": "sdktest",
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/checkNotificationHubAvailability"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs": {
      "get": {
        "description": "Lists the notification hubs associated with a namespace.",
        "operationId": "NotificationHubs_List",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get all NotificationHubs within a Namespace",
            "schema": {
              "$ref": "#/definitions/NotificationHubListResult"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubListByNameSpace": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "nextLink": null,
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/NotificationHubs/nh-sdk-hub",
                      "location": "South Central US",
                      "name": "nh-sdk-hub",
                      "properties": {
                        "authorizationRules": [],
                        "registrationTtl": "10675199.02:48:05.4775807"
                      },
                      "tags": null,
                      "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}": {
      "delete": {
        "description": "Deletes a notification hub associated with a namespace.",
        "operationId": "NotificationHubs_Delete",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Namespace is deleted"
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubDelete": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {}
            }
          }
        }
      },
      "get": {
        "description": "Lists the notification hubs associated with a namespace.",
        "operationId": "NotificationHubs_Get",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get the NotificationHub",
            "schema": {
              "$ref": "#/definitions/NotificationHubResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubGet": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
                  "location": "South Central US",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "authorizationRules": [],
                    "registrationTtl": "10675199.02:48:05.4775807"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                }
              }
            }
          }
        }
      },
      "patch": {
        "description": "Patch a NotificationHub in a namespace.",
        "operationId": "NotificationHubs_Patch",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to patch a NotificationHub Resource.",
            "in": "body",
            "name": "parameters",
            "required": false,
            "schema": {
              "$ref": "#/definitions/NotificationHubPatchParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "NotificationHub is patched",
            "schema": {
              "$ref": "#/definitions/NotificationHubResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubPatch": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "sdk-notificationHubs-8708",
              "parameters": {},
              "resourceGroupName": "sdkresourceGroup",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
                  "location": "South Central US",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "authorizationRules": [],
                    "registrationTtl": "10675199.02:48:05.4775807"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Creates/Update a NotificationHub in a namespace.",
        "operationId": "NotificationHubs_CreateOrUpdate",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to the create/update a NotificationHub Resource.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/NotificationHubCreateOrUpdateParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "NotificationHub is Created/Updated",
            "schema": {
              "$ref": "#/definitions/NotificationHubResource"
            }
          },
          "201": {
            "description": "NotificationHub is Created/Updated",
            "schema": {
              "$ref": "#/definitions/NotificationHubResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubCreate": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "parameters": {
                "location": "eastus",
                "properties": {}
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
                  "location": "eastus",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "authorizationRules": [],
                    "registrationTtl": "10675199.02:48:05.4775807"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                }
              },
              "201": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
                  "location": "eastus",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "authorizationRules": [],
                    "registrationTtl": "10675199.02:48:05.4775807"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules": {
      "get": {
        "description": "Gets the authorization rules for a NotificationHub.",
        "operationId": "NotificationHubs_ListAuthorizationRules",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get all NotificationHub AuthorizationRules",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleListAll": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "value": [
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/NotificationHubs/nh-sdk-hub/AuthorizationRules/DefaultListenSharedAccessSignature",
                      "location": "West Europe",
                      "name": "DefaultListenSharedAccessSignature",
                      "properties": {
                        "claimType": "SharedAccessKey",
                        "claimValue": "None",
                        "createdTime": "2018-05-02T00:45:22.0150024Z",
                        "keyName": "DefaultListenSharedAccessSignature",
                        "modifiedTime": "2018-05-02T00:45:22.0150024Z",
                        "primaryKey": "#################################",
                        "rights": [
                          "Listen"
                        ],
                        "secondaryKey": "#################################"
                      },
                      "tags": null,
                      "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
                    },
                    {
                      "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/NotificationHubs/nh-sdk-hub/AuthorizationRules/DefaultFullSharedAccessSignature",
                      "location": "West Europe",
                      "name": "DefaultFullSharedAccessSignature",
                      "properties": {
                        "claimType": "SharedAccessKey",
                        "claimValue": "None",
                        "createdTime": "2018-05-02T00:45:22.0150024Z",
                        "keyName": "DefaultFullSharedAccessSignature",
                        "modifiedTime": "2018-05-02T00:45:22.0150024Z",
                        "primaryKey": "#################################",
                        "rights": [
                          "Listen",
                          "Manage",
                          "Send"
                        ],
                        "secondaryKey": "#################################"
                      },
                      "tags": null,
                      "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
                    }
                  ]
                }
              }
            }
          }
        },
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}": {
      "delete": {
        "description": "Deletes a notificationHub authorization rule",
        "operationId": "NotificationHubs_DeleteAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Authorization Rule Name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "NotificationHub AuthorizationRule is deleted"
          },
          "204": {
            "description": "NotificationHub AuthorizationRule is already deleted"
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleDelete": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "DefaultListenSharedAccessSignature",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {},
              "204": {}
            }
          }
        }
      },
      "get": {
        "description": "Gets an authorization rule for a NotificationHub by name.",
        "operationId": "NotificationHubs_GetAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "authorization rule name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Get NotificationHub AuthorizationRule",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleGet": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "DefaultListenSharedAccessSignature",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/NotificationHubs/nh-sdk-hub/AuthorizationRules/DefaultListenSharedAccessSignature",
                  "location": "West Europe",
                  "name": "DefaultListenSharedAccessSignature",
                  "properties": {
                    "claimType": "SharedAccessKey",
                    "claimValue": "None",
                    "createdTime": "2018-05-02T00:45:22.0150024Z",
                    "keyName": "DefaultListenSharedAccessSignature",
                    "modifiedTime": "2018-05-02T00:45:22.0150024Z",
                    "primaryKey": "#################################",
                    "rights": [
                      "Listen"
                    ],
                    "secondaryKey": "#################################"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Creates/Updates an authorization rule for a NotificationHub",
        "operationId": "NotificationHubs_CreateOrUpdateAuthorizationRule",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Authorization Rule Name.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The shared access authorization rule.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleCreateOrUpdateParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "NotificationHub AuthorizationRule is Created/Updated",
            "schema": {
              "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleCreate": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "DefaultListenSharedAccessSignature",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "parameters": {
                "properties": {
                  "rights": [
                    "Listen",
                    "Send"
                  ]
                }
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/NotificationHubs/nh-sdk-hub/AuthorizationRules/DefaultListenSharedAccessSignature",
                  "location": "West Europe",
                  "name": "DefaultListenSharedAccessSignature",
                  "properties": {
                    "claimType": "SharedAccessKey",
                    "claimValue": "None",
                    "createdTime": "2018-05-02T00:45:22.0150024Z",
                    "keyName": "DefaultListenSharedAccessSignature",
                    "modifiedTime": "2018-05-02T00:45:22.0150024Z",
                    "primaryKey": "#################################",
                    "rights": [
                      "Listen"
                    ],
                    "secondaryKey": "#################################"
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/listKeys": {
      "post": {
        "description": "Gets the Primary and Secondary ConnectionStrings to the NotificationHub ",
        "operationId": "NotificationHubs_ListKeys",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The connection string of the NotificationHub for the specified authorizationRule.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Gets the Namespace AuthorizationRule's Primary keys and Secondary keys along with the ConnectionStrings",
            "schema": {
              "$ref": "#/definitions/ResourceListKeys"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleListKey": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "sdk-AuthRules-5800",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "keyName": "sdk-AuthRules-5800",
                  "primaryConnectionString": "Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
                  "primaryKey": "############################################",
                  "secondaryConnectionString": "Endpoint=sb://sdk-namespace-7982.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
                  "secondaryKey": "############################################"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys": {
      "post": {
        "description": "Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule",
        "operationId": "NotificationHubs_RegenerateKeys",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The connection string of the NotificationHub for the specified authorizationRule.",
            "in": "path",
            "name": "authorizationRuleName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Parameters supplied to regenerate the NotificationHub Authorization Rule Key.",
            "in": "body",
            "name": "parameters",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PolicykeyResource"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Regenerate the Primary/Secondary Key and returns the Keys and the connection string",
            "schema": {
              "$ref": "#/definitions/ResourceListKeys"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "NotificationHubAuthorizationRuleRegenrateKey": {
            "parameters": {
              "api-version": "2017-04-01",
              "authorizationRuleName": "DefaultListenSharedAccessSignature",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "parameters": {
                "policyKey": "PrimaryKey"
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "keyName": "DefaultListenSharedAccessSignature",
                  "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=#################################",
                  "primaryKey": "#################################",
                  "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=#################################",
                  "secondaryKey": "#################################"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend": {
      "post": {
        "description": "test send a push notification",
        "operationId": "NotificationHubs_DebugSend",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "description": "Debug send parameters",
            "in": "body",
            "name": "parameters",
            "required": false,
            "schema": {
              "$ref": "#/definitions/DebugSendParameters"
            }
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "201": {
            "description": "push send status",
            "schema": {
              "$ref": "#/definitions/DebugSendResponse"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "debugsend": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "parameters": {
                "data": {
                  "message": "Hello"
                }
              },
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "201": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/sdkresourceGroup/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub",
                  "location": "South Central US",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "failure": 0,
                    "results": null,
                    "success": 1
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs"
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials": {
      "post": {
        "description": "Lists the PNS Credentials associated with a notification hub .",
        "operationId": "NotificationHubs_GetPnsCredentials",
        "parameters": [
          {
            "description": "The name of the resource group.",
            "in": "path",
            "name": "resourceGroupName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The namespace name.",
            "in": "path",
            "name": "namespaceName",
            "required": true,
            "type": "string"
          },
          {
            "description": "The notification hub name.",
            "in": "path",
            "name": "notificationHubName",
            "required": true,
            "type": "string"
          },
          {
            "$ref": "#/parameters/ApiVersionParameter"
          },
          {
            "$ref": "#/parameters/SubscriptionIdParameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Gets all the NotificationHub PNS credentials",
            "schema": {
              "$ref": "#/definitions/PnsCredentialsResource"
            }
          }
        },
        "tags": [
          "NotificationHubs"
        ],
        "x-ms-examples": {
          "notificationHubPnsCredentials": {
            "parameters": {
              "api-version": "2017-04-01",
              "namespaceName": "nh-sdk-ns",
              "notificationHubName": "nh-sdk-hub",
              "resourceGroupName": "5ktrial",
              "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
            },
            "responses": {
              "200": {
                "body": {
                  "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/nh-sdk-hub/pnsCredentials",
                  "location": "West Europe",
                  "name": "nh-sdk-hub",
                  "properties": {
                    "mpnsCredential": {
                      "properties": {
                        "thumbprint": "#################################"
                      }
                    }
                  },
                  "tags": null,
                  "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/pnsCredentials"
                }
              }
            }
          }
        }
      }
    }
  },
  "definitions": {
    "AdmCredential": {
      "description": "Description of a NotificationHub AdmCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/AdmCredentialProperties",
          "description": "Properties of NotificationHub AdmCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "AdmCredentialProperties": {
      "description": "Description of a NotificationHub AdmCredential.",
      "properties": {
        "authTokenUrl": {
          "description": "The URL of the authorization token.",
          "type": "string"
        },
        "clientId": {
          "description": "The client identifier.",
          "type": "string"
        },
        "clientSecret": {
          "description": "The credential secret access key.",
          "type": "string"
        }
      }
    },
    "ApnsCredential": {
      "description": "Description of a NotificationHub ApnsCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/ApnsCredentialProperties",
          "description": "Properties of NotificationHub ApnsCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "ApnsCredentialProperties": {
      "description": "Description of a NotificationHub ApnsCredential.",
      "properties": {
        "apnsCertificate": {
          "description": "The APNS certificate.",
          "type": "string"
        },
        "appId": {
          "description": "The issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account",
          "type": "string"
        },
        "appName": {
          "description": "The name of the application",
          "type": "string"
        },
        "certificateKey": {
          "description": "The certificate key.",
          "type": "string"
        },
        "endpoint": {
          "description": "The endpoint of this credential.",
          "type": "string"
        },
        "keyId": {
          "description": "A 10-character key identifier (kid) key, obtained from your developer account",
          "type": "string"
        },
        "thumbprint": {
          "description": "The APNS certificate Thumbprint",
          "type": "string"
        },
        "token": {
          "description": "Provider Authentication Token, obtained through your developer account",
          "type": "string"
        }
      }
    },
    "BaiduCredential": {
      "description": "Description of a NotificationHub BaiduCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/BaiduCredentialProperties",
          "description": "Properties of NotificationHub BaiduCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "BaiduCredentialProperties": {
      "description": "Description of a NotificationHub BaiduCredential.",
      "properties": {
        "baiduApiKey": {
          "description": "Baidu Api Key.",
          "type": "string"
        },
        "baiduEndPoint": {
          "description": "Baidu Endpoint.",
          "type": "string"
        },
        "baiduSecretKey": {
          "description": "Baidu Secret Key",
          "type": "string"
        }
      }
    },
    "CheckAvailabilityParameters": {
      "description": "Parameters supplied to the Check Name Availability for Namespace and NotificationHubs.",
      "properties": {
        "id": {
          "description": "Resource Id",
          "readOnly": true,
          "type": "string"
        },
        "isAvailiable": {
          "description": "True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false.",
          "type": "boolean"
        },
        "location": {
          "description": "Resource location",
          "type": "string"
        },
        "name": {
          "description": "Resource name",
          "type": "string"
        },
        "sku": {
          "$ref": "#/definitions/Sku",
          "description": "The sku of the created namespace"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags",
          "type": "object"
        },
        "type": {
          "description": "Resource type",
          "readOnly": true,
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "CheckAvailabilityResult": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a CheckAvailability resource.",
      "properties": {
        "isAvailiable": {
          "description": "True if the name is available and can be used to create new Namespace/NotificationHub. Otherwise false.",
          "type": "boolean"
        }
      }
    },
    "DebugSendParameters": {
      "description": "Debug Send payload",
      "type": "object"
    },
    "DebugSendResponse": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a NotificationHub Resource.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/DebugSendResult",
          "description": "Properties of the NotificationHub.",
          "x-ms-client-flatten": true
        }
      }
    },
    "DebugSendResult": {
      "properties": {
        "failure": {
          "description": "send failure",
          "type": "number"
        },
        "results": {
          "description": "actual failure description",
          "type": "object"
        },
        "success": {
          "description": "successful send",
          "type": "number"
        }
      },
      "x-ms-azure-resource": true
    },
    "ErrorResponse": {
      "description": "Error response indicates NotificationHubs service is not able to process the incoming request. The reason is provided in the error message.",
      "properties": {
        "code": {
          "description": "Error code.",
          "type": "string"
        },
        "message": {
          "description": "Error message indicating why the operation failed.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GcmCredential": {
      "description": "Description of a NotificationHub GcmCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/GcmCredentialProperties",
          "description": "Properties of NotificationHub GcmCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "GcmCredentialProperties": {
      "description": "Description of a NotificationHub GcmCredential.",
      "properties": {
        "gcmEndpoint": {
          "description": "The GCM endpoint.",
          "type": "string"
        },
        "googleApiKey": {
          "description": "The Google API key.",
          "type": "string"
        }
      }
    },
    "MpnsCredential": {
      "description": "Description of a NotificationHub MpnsCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/MpnsCredentialProperties",
          "description": "Properties of NotificationHub MpnsCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "MpnsCredentialProperties": {
      "description": "Description of a NotificationHub MpnsCredential.",
      "properties": {
        "certificateKey": {
          "description": "The certificate key for this credential.",
          "type": "string"
        },
        "mpnsCertificate": {
          "description": "The MPNS certificate.",
          "type": "string"
        },
        "thumbprint": {
          "description": "The MPNS certificate Thumbprint",
          "type": "string"
        }
      }
    },
    "NamespaceCreateOrUpdateParameters": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Parameters supplied to the CreateOrUpdate Namespace operation.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/NamespaceProperties",
          "description": "Properties of the Namespace.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "location"
      ]
    },
    "NamespaceListResult": {
      "description": "The response of the List Namespace operation.",
      "properties": {
        "nextLink": {
          "description": "Link to the next set of results. Not empty if Value contains incomplete list of Namespaces",
          "type": "string"
        },
        "value": {
          "description": "Result of the List Namespace operation.",
          "items": {
            "$ref": "#/definitions/NamespaceResource"
          },
          "type": "array"
        }
      }
    },
    "NamespacePatchParameters": {
      "description": "Parameters supplied to the Patch Namespace operation.",
      "properties": {
        "sku": {
          "$ref": "#/definitions/Sku",
          "description": "The sku of the created namespace"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags",
          "type": "object"
        }
      }
    },
    "NamespaceProperties": {
      "description": "Namespace properties.",
      "properties": {
        "createdAt": {
          "description": "The time the namespace was created.",
          "format": "date-time",
          "type": "string"
        },
        "critical": {
          "description": "Whether or not the namespace is set as Critical.",
          "type": "boolean"
        },
        "dataCenter": {
          "description": "Data center for the namespace",
          "type": "string"
        },
        "enabled": {
          "description": "Whether or not the namespace is currently enabled.",
          "type": "boolean"
        },
        "metricId": {
          "description": "Identifier for Azure Insights metrics",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "description": "The name of the namespace.",
          "type": "string"
        },
        "namespaceType": {
          "description": "The namespace type.",
          "enum": [
            "Messaging",
            "NotificationHub"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "NamespaceType"
          }
        },
        "provisioningState": {
          "description": "Provisioning state of the Namespace.",
          "type": "string"
        },
        "region": {
          "description": "Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe",
          "externalDocs": {
            "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx"
          },
          "type": "string"
        },
        "scaleUnit": {
          "description": "ScaleUnit where the namespace gets created",
          "type": "string"
        },
        "serviceBusEndpoint": {
          "description": "Endpoint you can use to perform NotificationHub operations.",
          "externalDocs": {
            "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx"
          },
          "type": "string"
        },
        "status": {
          "description": "Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting",
          "externalDocs": {
            "url": "http://msdn.microsoft.com/en-us/library/windowsazure/jj873988.aspx"
          },
          "type": "string"
        },
        "subscriptionId": {
          "description": "The Id of the Azure subscription associated with the namespace.",
          "type": "string"
        },
        "updatedAt": {
          "description": "The time the namespace was updated.",
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "NamespaceResource": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a Namespace resource.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/NamespaceProperties",
          "description": "Properties of the Namespace.",
          "x-ms-client-flatten": true
        }
      }
    },
    "NotificationHubCreateOrUpdateParameters": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Parameters supplied to the CreateOrUpdate NotificationHub operation.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/NotificationHubProperties",
          "description": "Properties of the NotificationHub.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "properties"
      ]
    },
    "NotificationHubListResult": {
      "description": "The response of the List NotificationHub operation.",
      "properties": {
        "nextLink": {
          "description": "Link to the next set of results. Not empty if Value contains incomplete list of NotificationHub",
          "type": "string"
        },
        "value": {
          "description": "Result of the List NotificationHub operation.",
          "items": {
            "$ref": "#/definitions/NotificationHubResource"
          },
          "type": "array"
        }
      }
    },
    "NotificationHubPatchParameters": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Parameters supplied to the patch NotificationHub operation.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/NotificationHubProperties",
          "description": "Properties of the NotificationHub.",
          "x-ms-client-flatten": true
        }
      }
    },
    "NotificationHubProperties": {
      "description": "NotificationHub properties.",
      "properties": {
        "admCredential": {
          "$ref": "#/definitions/AdmCredential",
          "description": "The AdmCredential of the created NotificationHub"
        },
        "apnsCredential": {
          "$ref": "#/definitions/ApnsCredential",
          "description": "The ApnsCredential of the created NotificationHub"
        },
        "authorizationRules": {
          "description": "The AuthorizationRules of the created NotificationHub",
          "items": {
            "$ref": "#/definitions/SharedAccessAuthorizationRuleProperties"
          },
          "type": "array"
        },
        "baiduCredential": {
          "$ref": "#/definitions/BaiduCredential",
          "description": "The BaiduCredential of the created NotificationHub"
        },
        "gcmCredential": {
          "$ref": "#/definitions/GcmCredential",
          "description": "The GcmCredential of the created NotificationHub"
        },
        "mpnsCredential": {
          "$ref": "#/definitions/MpnsCredential",
          "description": "The MpnsCredential of the created NotificationHub"
        },
        "name": {
          "description": "The NotificationHub name.",
          "type": "string"
        },
        "registrationTtl": {
          "description": "The RegistrationTtl of the created NotificationHub",
          "type": "string"
        },
        "wnsCredential": {
          "$ref": "#/definitions/WnsCredential",
          "description": "The WnsCredential of the created NotificationHub"
        }
      }
    },
    "NotificationHubResource": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a NotificationHub Resource.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/NotificationHubProperties",
          "description": "Properties of the NotificationHub.",
          "x-ms-client-flatten": true
        }
      }
    },
    "Operation": {
      "description": "A NotificationHubs REST API operation",
      "properties": {
        "display": {
          "description": "The object that represents the operation.",
          "properties": {
            "operation": {
              "description": "Operation type: Read, write, delete, etc.",
              "readOnly": true,
              "type": "string"
            },
            "provider": {
              "description": "Service provider: Microsoft.NotificationHubs",
              "readOnly": true,
              "type": "string"
            },
            "resource": {
              "description": "Resource on which the operation is performed: Invoice, etc.",
              "readOnly": true,
              "type": "string"
            }
          }
        },
        "name": {
          "description": "Operation name: {provider}/{resource}/{operation}",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "OperationListResult": {
      "description": "Result of the request to list NotificationHubs operations. It contains a list of operations and a URL link to get the next set of results.",
      "properties": {
        "nextLink": {
          "description": "URL to get the next set of operation list results if there are any.",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "List of NotificationHubs operations supported by the Microsoft.NotificationHubs resource provider.",
          "items": {
            "$ref": "#/definitions/Operation"
          },
          "readOnly": true,
          "type": "array"
        }
      }
    },
    "PnsCredentialsProperties": {
      "description": "Description of a NotificationHub PNS Credentials.",
      "properties": {
        "admCredential": {
          "$ref": "#/definitions/AdmCredential",
          "description": "The AdmCredential of the created NotificationHub"
        },
        "apnsCredential": {
          "$ref": "#/definitions/ApnsCredential",
          "description": "The ApnsCredential of the created NotificationHub"
        },
        "baiduCredential": {
          "$ref": "#/definitions/BaiduCredential",
          "description": "The BaiduCredential of the created NotificationHub"
        },
        "gcmCredential": {
          "$ref": "#/definitions/GcmCredential",
          "description": "The GcmCredential of the created NotificationHub"
        },
        "mpnsCredential": {
          "$ref": "#/definitions/MpnsCredential",
          "description": "The MpnsCredential of the created NotificationHub"
        },
        "wnsCredential": {
          "$ref": "#/definitions/WnsCredential",
          "description": "The WnsCredential of the created NotificationHub"
        }
      }
    },
    "PnsCredentialsResource": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a NotificationHub PNS Credentials.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/PnsCredentialsProperties",
          "description": "NotificationHub PNS Credentials.",
          "x-ms-client-flatten": true
        }
      }
    },
    "PolicykeyResource": {
      "description": "Namespace/NotificationHub Regenerate Keys",
      "properties": {
        "policyKey": {
          "description": "Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.",
          "type": "string"
        }
      }
    },
    "Resource": {
      "properties": {
        "id": {
          "description": "Resource Id",
          "readOnly": true,
          "type": "string"
        },
        "location": {
          "description": "Resource location",
          "type": "string"
        },
        "name": {
          "description": "Resource name",
          "readOnly": true,
          "type": "string"
        },
        "sku": {
          "$ref": "#/definitions/Sku",
          "description": "The sku of the created namespace"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags",
          "type": "object"
        },
        "type": {
          "description": "Resource type",
          "readOnly": true,
          "type": "string"
        }
      },
      "x-ms-azure-resource": true
    },
    "ResourceListKeys": {
      "description": "Namespace/NotificationHub Connection String",
      "properties": {
        "keyName": {
          "description": "KeyName of the created AuthorizationRule",
          "type": "string"
        },
        "primaryConnectionString": {
          "description": "PrimaryConnectionString of the AuthorizationRule.",
          "type": "string"
        },
        "primaryKey": {
          "description": "PrimaryKey of the created AuthorizationRule.",
          "type": "string"
        },
        "secondaryConnectionString": {
          "description": "SecondaryConnectionString of the created AuthorizationRule",
          "type": "string"
        },
        "secondaryKey": {
          "description": "SecondaryKey of the created AuthorizationRule",
          "type": "string"
        }
      }
    },
    "SharedAccessAuthorizationRuleCreateOrUpdateParameters": {
      "description": "Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/SharedAccessAuthorizationRuleProperties",
          "description": "Properties of the Namespace AuthorizationRules."
        }
      },
      "required": [
        "properties"
      ]
    },
    "SharedAccessAuthorizationRuleListResult": {
      "description": "The response of the List Namespace operation.",
      "properties": {
        "nextLink": {
          "description": "Link to the next set of results. Not empty if Value contains incomplete list of AuthorizationRules",
          "type": "string"
        },
        "value": {
          "description": "Result of the List AuthorizationRules operation.",
          "items": {
            "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
          },
          "type": "array"
        }
      }
    },
    "SharedAccessAuthorizationRuleProperties": {
      "description": "SharedAccessAuthorizationRule properties.",
      "properties": {
        "claimType": {
          "description": "A string that describes the claim type",
          "readOnly": true,
          "type": "string"
        },
        "claimValue": {
          "description": "A string that describes the claim value",
          "readOnly": true,
          "type": "string"
        },
        "createdTime": {
          "description": "The created time for this rule",
          "readOnly": true,
          "type": "string"
        },
        "keyName": {
          "description": "A string that describes the authorization rule.",
          "readOnly": true,
          "type": "string"
        },
        "modifiedTime": {
          "description": "The last modified time for this rule",
          "readOnly": true,
          "type": "string"
        },
        "primaryKey": {
          "description": "A base64-encoded 256-bit primary key for signing and validating the SAS token.",
          "readOnly": true,
          "type": "string"
        },
        "revision": {
          "description": "The revision number for the rule",
          "readOnly": true,
          "type": "integer"
        },
        "rights": {
          "description": "The rights associated with the rule.",
          "items": {
            "enum": [
              "Manage",
              "Send",
              "Listen"
            ],
            "type": "string",
            "x-ms-enum": {
              "modelAsString": false,
              "name": "AccessRights"
            }
          },
          "type": "array"
        },
        "secondaryKey": {
          "description": "A base64-encoded 256-bit primary key for signing and validating the SAS token.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "SharedAccessAuthorizationRuleResource": {
      "allOf": [
        {
          "$ref": "#/definitions/Resource"
        }
      ],
      "description": "Description of a Namespace AuthorizationRules.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/SharedAccessAuthorizationRuleProperties",
          "description": "Properties of the Namespace AuthorizationRule.",
          "x-ms-client-flatten": true
        }
      }
    },
    "Sku": {
      "description": "The Sku description for a namespace",
      "properties": {
        "capacity": {
          "description": "The capacity of the resource",
          "type": "integer"
        },
        "family": {
          "description": "The Sku Family",
          "type": "string"
        },
        "name": {
          "description": "Name of the notification hub sku",
          "enum": [
            "Free",
            "Basic",
            "Standard"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "SkuName"
          }
        },
        "size": {
          "description": "The Sku size",
          "type": "string"
        },
        "tier": {
          "description": "The tier of particular sku",
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "SubResource": {
      "properties": {
        "id": {
          "description": "Resource Id",
          "type": "string"
        }
      },
      "x-ms-azure-resource": true
    },
    "WnsCredential": {
      "description": "Description of a NotificationHub WnsCredential.",
      "properties": {
        "properties": {
          "$ref": "#/definitions/WnsCredentialProperties",
          "description": "Properties of NotificationHub WnsCredential.",
          "x-ms-client-flatten": true
        }
      }
    },
    "WnsCredentialProperties": {
      "description": "Description of a NotificationHub WnsCredential.",
      "properties": {
        "packageSid": {
          "description": "The package ID for this credential.",
          "type": "string"
        },
        "secretKey": {
          "description": "The secret key.",
          "type": "string"
        },
        "windowsLiveEndpoint": {
          "description": "The Windows Live endpoint.",
          "type": "string"
        }
      }
    }
  }
}