Skip to content

Commit 64cddc5

Browse files
authored
[Hub Generated] Review request for Microsoft.NotificationHubs to add version stable/2023-09-01 (#25060)
* Adds base for updating Microsoft.NotificationHubs from version preview/2023-01-01-preview to version 2023-09-01 * Updates readme * Updates API version in new specs and examples
1 parent 7eaa071 commit 64cddc5

37 files changed

+6167
-2
lines changed

specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/stable/2023-09-01/examples/NHOperationsList.json

Lines changed: 1267 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"authorizationRuleName": "sdk-AuthRules-1788",
5+
"resourceGroupName": "5ktrial",
6+
"api-version": "2023-09-01",
7+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
8+
"location": "West Europe",
9+
"parameters": {
10+
"properties": {
11+
"rights": [
12+
"Listen",
13+
"Send"
14+
]
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"properties": {
22+
"rights": [
23+
"Listen",
24+
"Send"
25+
],
26+
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
27+
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
28+
},
29+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
30+
"name": "NewAuthorizationRule",
31+
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
32+
}
33+
},
34+
"201": {
35+
"body": {
36+
"properties": {
37+
"rights": [
38+
"Listen",
39+
"Send"
40+
],
41+
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
42+
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
43+
},
44+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
45+
"name": "NewAuthorizationRule",
46+
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
47+
}
48+
}
49+
}
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"authorizationRuleName": "RootManageSharedAccessKey",
5+
"resourceGroupName": "5ktrial",
6+
"api-version": "2023-09-01",
7+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"authorizationRuleName": "RootManageSharedAccessKey",
5+
"resourceGroupName": "5ktrial",
6+
"api-version": "2023-09-01",
7+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"rights": [
14+
"Manage",
15+
"Listen",
16+
"Send"
17+
],
18+
"modifiedTime": "2023-04-26T10:19:36.3315279+00:00",
19+
"createdTime": "2023-04-26T10:19:36.3315279+00:00"
20+
},
21+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
22+
"name": "RootManageSharedAccessKey",
23+
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"resourceGroupName": "5ktrial",
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"properties": {
14+
"rights": [
15+
"Manage",
16+
"Listen",
17+
"Send"
18+
],
19+
"modifiedTime": "2023-04-26T06:10:44.0407987+00:00",
20+
"createdTime": "2023-04-26T06:10:44.0407982+00:00"
21+
},
22+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
23+
"name": "RootManageSharedAccessKey",
24+
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
25+
},
26+
{
27+
"properties": {
28+
"rights": [
29+
"Listen",
30+
"Send"
31+
],
32+
"modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
33+
"createdTime": "2023-04-26T10:09:19.9675121+00:00"
34+
},
35+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
36+
"name": "NewAuthorizationRule",
37+
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"authorizationRuleName": "RootManageSharedAccessKey",
5+
"resourceGroupName": "5ktrial",
6+
"api-version": "2023-09-01",
7+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
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"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"authorizationRuleName": "RootManageSharedAccessKey",
5+
"resourceGroupName": "5ktrial",
6+
"api-version": "2023-09-01",
7+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
8+
"parameters": {
9+
"policyKey": "PrimaryKey"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
16+
"secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
17+
"primaryKey": "########################################",
18+
"secondaryKey": "########################################",
19+
"keyName": "RootManageSharedAccessKey"
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-09-01",
4+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
5+
"parameters": {
6+
"name": "sdk-Namespace-2924"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"isAvailiable": true,
13+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
14+
"name": "sdk-Namespace-2924",
15+
"type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"resourceGroupName": "5ktrial",
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
7+
"parameters": {
8+
"sku": {
9+
"name": "Standard",
10+
"tier": "Standard"
11+
},
12+
"location": "South Central US",
13+
"tags": {
14+
"tag1": "value1",
15+
"tag2": "value2"
16+
},
17+
"properties": {
18+
"zoneRedundancy": "Enabled",
19+
"networkAcls": {
20+
"ipRules": [
21+
{
22+
"ipMask": "185.48.100.00/24",
23+
"rights": [
24+
"Manage",
25+
"Send",
26+
"Listen"
27+
]
28+
}
29+
],
30+
"publicNetworkRule": {
31+
"rights": [
32+
"Listen"
33+
]
34+
}
35+
}
36+
}
37+
}
38+
},
39+
"responses": {
40+
"200": {
41+
"body": {
42+
"location": "East US",
43+
"sku": {
44+
"name": "Standard"
45+
},
46+
"properties": {
47+
"name": "nh-sdk-ns",
48+
"provisioningState": "Succeeded",
49+
"status": "Created",
50+
"enabled": true,
51+
"critical": false,
52+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
53+
"createdAt": "2023-04-26T06:10:44.01+00:00",
54+
"updatedAt": "2023-04-26T06:16:17.697+00:00",
55+
"namespaceType": "NotificationHub",
56+
"publicNetworkAccess": "Enabled",
57+
"zoneRedundancy": "Enabled",
58+
"networkAcls": {
59+
"ipRules": [
60+
{
61+
"ipMask": "185.48.100.00/24",
62+
"rights": [
63+
"Manage",
64+
"Send",
65+
"Listen"
66+
]
67+
}
68+
],
69+
"publicNetworkRule": {
70+
"rights": [
71+
"Listen"
72+
]
73+
}
74+
},
75+
"serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
76+
"privateEndpointConnections": []
77+
},
78+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
79+
"name": "nh-sdk-ns",
80+
"type": "Microsoft.NotificationHubs/namespaces",
81+
"tags": {
82+
"tag1": "value1",
83+
"tag2": "value2"
84+
}
85+
}
86+
},
87+
"201": {
88+
"body": {
89+
"location": "East US",
90+
"sku": {
91+
"name": "Standard"
92+
},
93+
"properties": {
94+
"provisioningState": "InProgress",
95+
"publicNetworkAccess": "Enabled",
96+
"zoneRedundancy": "Enabled",
97+
"networkAcls": {
98+
"ipRules": [
99+
{
100+
"ipMask": "185.48.100.00/24",
101+
"rights": [
102+
"Manage",
103+
"Send",
104+
"Listen"
105+
]
106+
}
107+
],
108+
"publicNetworkRule": {
109+
"rights": [
110+
"Listen"
111+
]
112+
}
113+
}
114+
},
115+
"id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
116+
"name": "nh-sdk-ns",
117+
"type": "Microsoft.NotificationHubs/namespaces",
118+
"tags": {
119+
"tag1": "value1",
120+
"tag2": "value2"
121+
}
122+
}
123+
}
124+
}
125+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"namespaceName": "nh-sdk-ns",
4+
"resourceGroupName": "5ktrial",
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}

0 commit comments

Comments
 (0)