Skip to content

Commit d92d7a9

Browse files
authored
Azure Notification Hubs Revert Namespace List Keys Change (#16221)
* Revert namespace list keys * Changing results to proper type
1 parent 1c34de2 commit d92d7a9

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/examples/Namespaces/NHNameSpaceAuthorizationRuleListKey.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,11 @@
99
"responses": {
1010
"200": {
1111
"body": {
12-
"value": [
13-
{
14-
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/AuthorizationRules/RootManageSharedAccessKey",
15-
"name": "RootManageSharedAccessKey",
16-
"type": "Microsoft.NotificationHubs/Namespaces/AuthorizationRules",
17-
"location": null,
18-
"tags": null,
19-
"properties": {
20-
"keyName": "RootManageSharedAccessKey",
21-
"primaryKey": "############################################",
22-
"secondaryKey": "############################################",
23-
"claimType": "SharedAccessKey",
24-
"claimValue": "None",
25-
"rights": [
26-
"Listen",
27-
"Manage",
28-
"Send"
29-
],
30-
"createdTime": "2018-05-02T18:24:51.0690674Z",
31-
"modifiedTime": "2018-05-02T18:24:51.0690674Z"
32-
}
33-
}
34-
]
12+
"primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
13+
"secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
14+
"primaryKey": "############################################",
15+
"secondaryKey": "############################################",
16+
"keyName": "RootManageSharedAccessKey"
3517
}
3618
}
3719
}

specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2017-04-01/notificationhubs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@
636636
"200": {
637637
"description": "Gets the Namespace AuthorizationRule's Primary keys and Secondary keys along with the ConnectionStrings",
638638
"schema": {
639-
"$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
639+
"$ref": "#/definitions/ResourceListKeys"
640640
}
641641
}
642642
}

0 commit comments

Comments
 (0)