{ "uuid": "240fc6ff-1dc3-4a28-afbb-db34f7969661", "lastMigration": 19, "name": "NotificationHubsManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "75d4a26a-771f-4069-82eb-3b43400b5091", "documentation": "Lists all of the available NotificationHubs REST API operations.", "method": "get", "endpoint": "providers/Microsoft.NotificationHubs/operations", "responses": [ { "uuid": "c04e8621-4d79-40aa-9d1c-fafefb0526a9", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"display\": {\n \"operation\": \"\",\n \"provider\": \"\",\n \"resource\": \"\"\n },\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK. The request has succeeded.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ead06af2-a3b6-4a2b-9c80-a3d664e610c1", "body": "{\n \"code\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "NotificationHubs error response describing why the operation failed.", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "40ac4ee4-2024-4ffe-8d32-dcb70271f22e", "documentation": "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.", "method": "post", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.NotificationHubs/checkNamespaceAvailability", "responses": [ { "uuid": "cf751f37-1a6d-4327-9acf-b1060ddaf1ec", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Checks if the Namespace name is a valid available name", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4d32e8b2-8fc9-4d87-af4b-156b60a71dd1", "documentation": "Lists all the available namespaces within the subscription irrespective of the resourceGroups.", "method": "get", "endpoint": "subscriptions/:subscriptionId/providers/Microsoft.NotificationHubs/namespaces", "responses": [ { "uuid": "4f36336b-8864-498c-b0d5-ae2803ee3b2a", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Gets all the Namespaces within the subscription irrespective of the ResourceGroup", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "e67b1b08-7a39-4e1b-80c0-708fca9d4791", "documentation": "Lists the available namespaces within a resourceGroup.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces", "responses": [ { "uuid": "a863896d-c410-4a02-885a-a1e6f30f938d", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Lists all Namespaces with the ResourceGroup", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "51e1a79a-b02c-4052-b972-fcd99d7c772d", "documentation": "Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName", "responses": [ { "uuid": "2e80c39b-4f0d-4b48-ad4b-ae1242ae2962", "body": "", "latency": 0, "statusCode": 200, "label": "Namespace is deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "d2bf51b6-a920-4ac2-af7a-5b1e6db1f5c2", "body": "", "latency": 0, "statusCode": 202, "label": "Namespace delete request has been accepted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "a4e1c3fa-d70d-4dfb-af59-8f43ec0ae29f", "body": "", "latency": 0, "statusCode": 204, "label": "Namespace is already Deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5d9c9673-9889-417a-bca9-6249c3e44e1f", "documentation": "Returns the description for the specified namespace.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName", "responses": [ { "uuid": "d6d2f046-7afe-4373-8c96-65100e8ccf69", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Get Namespace", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "3e2a7c42-00bc-4eb3-8298-35bf007e652f", "documentation": "Patches the existing namespace", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName", "responses": [ { "uuid": "17f2897e-55a0-4cb4-a0fa-8bb698694f6a", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Namespace is Updated", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "0ad36771-35e2-46f5-8d33-80c0313bdd22", "documentation": "Creates/Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName", "responses": [ { "uuid": "602507fc-aed1-4144-9cc3-46a4b858b1c6", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Namespace is Create/Update", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "563e92ae-bc8f-4430-81b4-e322c132aa87", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Namespace is Create/Update", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "a09914cc-6b10-40f7-9ea7-965b4a6fd432", "documentation": "Gets the authorization rules for a namespace.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules", "responses": [ { "uuid": "b526da79-bc40-4865-be6f-473dbfabccc4", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Get the List of AuthorizationRules of a Namespace", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9d63d7ad-9edb-4976-b618-891c25771eb2", "documentation": "Deletes a namespace authorization rule", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "b94e74fc-da8c-4e13-ba77-47ed2a647900", "body": "", "latency": 0, "statusCode": 200, "label": "Namespace AuthorizationRule is deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "ce9058e7-200d-429e-95bd-90469a2d06eb", "body": "", "latency": 0, "statusCode": 204, "label": "Namespace AuthorizationRule is already deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "bd3bfe88-eaf7-421a-bd92-f2268535e7ba", "documentation": "Gets an authorization rule for a namespace by name.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "a0efcbd5-4be7-4769-8829-32dd0629ab1e", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Get the Namespace AuthorizationRule", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "07909c99-98b2-4d74-8089-449dafa21542", "documentation": "Creates an authorization rule for a namespace", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "c5ffcf6f-2792-4973-b6b3-5ceb09161002", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Namespace Authorization Rule is Created/Updated", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "78264243-b468-4a83-b482-8bef855ce9aa", "documentation": "Gets the Primary and Secondary ConnectionStrings to the namespace ", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules/:authorizationRuleName/listKeys", "responses": [ { "uuid": "3d6569f2-c55e-4e22-88dd-7e32c3ddd833", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Gets the Namespace AuthorizationRule's Primary keys and Secondary keys along with the ConnectionStrings", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "33fa8c5c-93d0-4776-8d76-6b6a3ef88f97", "documentation": "Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/AuthorizationRules/:authorizationRuleName/regenerateKeys", "responses": [ { "uuid": "180e9509-fc75-428a-a26c-b83ae4d5e17d", "body": "{\n \"keyName\": \"\",\n \"primaryConnectionString\": \"\",\n \"primaryKey\": \"\",\n \"secondaryConnectionString\": \"\",\n \"secondaryKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Regenerate the Primary/Secondary Key and returns the Keys and the connection string", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5aa98a39-199b-4301-8774-dd43fa4ed324", "documentation": "Checks the availability of the given notificationHub in a namespace.", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/checkNotificationHubAvailability", "responses": [ { "uuid": "1ec1f10b-e2a7-41fd-85af-34422e71bb8c", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Checks if the NotificationHub name is a valid available name", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "3f22a4da-745a-4239-9f6c-3d396db573fc", "documentation": "Lists the notification hubs associated with a namespace.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs", "responses": [ { "uuid": "b147c87f-2614-4cf8-a70a-d8f0ebbf238c", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Get all NotificationHubs within a Namespace", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "8740d531-1597-40c8-bb40-ccb06089b583", "documentation": "Deletes a notification hub associated with a namespace.", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName", "responses": [ { "uuid": "53e07923-68a7-46ca-9239-4f2d44371614", "body": "", "latency": 0, "statusCode": 200, "label": "Namespace is deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5bde943f-b856-4b4f-9e02-c80ea1f1f722", "documentation": "Lists the notification hubs associated with a namespace.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName", "responses": [ { "uuid": "ddf8bf60-faa2-4ec1-8906-b5370391b087", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Get the NotificationHub", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "e2a62251-f55c-46ee-8f43-2035401cc780", "documentation": "Patch a NotificationHub in a namespace.", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName", "responses": [ { "uuid": "8e2baf05-9ccd-40b2-b0e9-bf22c9f7d4de", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "NotificationHub is patched", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "59159fc5-66e3-4c83-af05-a9d1b154d611", "documentation": "Creates/Update a NotificationHub in a namespace.", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName", "responses": [ { "uuid": "501b935b-b7a9-4885-a337-a9d4278984d5", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "NotificationHub is Created/Updated", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "6a05ea84-db61-4d19-aec3-00430c79b308", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "NotificationHub is Created/Updated", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "22f7581e-f382-4f40-8427-0c3ff169e502", "documentation": "Gets the authorization rules for a NotificationHub.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules", "responses": [ { "uuid": "92f837f0-29df-4259-8da0-e6f20e55094e", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Get all NotificationHub AuthorizationRules", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ebce791f-05ca-4696-a91a-0b6486a401b1", "documentation": "Deletes a notificationHub authorization rule", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "5ac52215-d49c-48cf-b6dd-16b92a89b7ea", "body": "", "latency": 0, "statusCode": 200, "label": "NotificationHub AuthorizationRule is deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "bc2e3dc9-e65b-49ee-936d-d99824fd783e", "body": "", "latency": 0, "statusCode": 204, "label": "NotificationHub AuthorizationRule is already deleted", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "979ce85f-65e4-41c0-b741-cd8a061dde2c", "documentation": "Gets an authorization rule for a NotificationHub by name.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "957c35a9-9da7-4688-aea6-50327f53f145", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Get NotificationHub AuthorizationRule", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "30d67fe2-d6c1-44c2-a37e-09e1f90198a4", "documentation": "Creates/Updates an authorization rule for a NotificationHub", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules/:authorizationRuleName", "responses": [ { "uuid": "a94d9016-901c-496c-814d-c8fc72437169", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "NotificationHub AuthorizationRule is Created/Updated", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "75fa342d-7d3b-45b9-88b9-6d7d7389f334", "documentation": "Gets the Primary and Secondary ConnectionStrings to the NotificationHub ", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules/:authorizationRuleName/listKeys", "responses": [ { "uuid": "03bb7760-07d7-4381-8226-76f7d0f9313b", "body": "{\n \"keyName\": \"\",\n \"primaryConnectionString\": \"\",\n \"primaryKey\": \"\",\n \"secondaryConnectionString\": \"\",\n \"secondaryKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Gets the Namespace AuthorizationRule's Primary keys and Secondary keys along with the ConnectionStrings", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "629e1bb2-499d-4859-9e12-5a33f3a2d726", "documentation": "Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/AuthorizationRules/:authorizationRuleName/regenerateKeys", "responses": [ { "uuid": "0b4cdab5-7797-4588-ba19-2c95c863c839", "body": "{\n \"keyName\": \"\",\n \"primaryConnectionString\": \"\",\n \"primaryKey\": \"\",\n \"secondaryConnectionString\": \"\",\n \"secondaryKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Regenerate the Primary/Secondary Key and returns the Keys and the connection string", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "2e25701f-7813-4ef8-8a16-bd9f0a12c4b3", "documentation": "test send a push notification", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/debugsend", "responses": [ { "uuid": "8c74a0ca-e706-4ed7-862f-8424f4243ecc", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "push send status", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ca161fd7-d10f-47a4-a621-60ac6003e95d", "documentation": "Lists the PNS Credentials associated with a notification hub .", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.NotificationHubs/namespaces/:namespaceName/notificationHubs/:notificationHubName/pnsCredentials", "responses": [ { "uuid": "1ddd6b3a-c160-49a8-88f0-d0463c647f4e", "body": "{\n \"id\": \"\",\n \"location\": \"\",\n \"name\": \"\",\n \"sku\": {\n \"capacity\": {{faker 'random.number'}},\n \"family\": \"\",\n \"name\": \"{{oneOf (array 'Free' 'Basic' 'Standard')}}\",\n \"size\": \"\",\n \"tier\": \"\"\n },\n \"tags\": {},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Gets all the NotificationHub PNS credentials", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }