@azure/arm-notificationhubs 2.1.1-alpha.20240312.1 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +170 -9
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +3826 -1755
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js +14 -6
  9. package/dist-esm/samples-dev/namespacesCheckAvailabilitySample.js.map +1 -1
  10. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js +15 -7
  11. package/dist-esm/samples-dev/namespacesCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
  12. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +25 -10
  13. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js +13 -5
  15. package/dist-esm/samples-dev/namespacesDeleteAuthorizationRuleSample.js.map +1 -1
  16. package/dist-esm/samples-dev/namespacesDeleteSample.js +14 -6
  17. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +1 -1
  18. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js +13 -5
  19. package/dist-esm/samples-dev/namespacesGetAuthorizationRuleSample.js.map +1 -1
  20. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js +39 -0
  23. package/dist-esm/samples-dev/namespacesGetPnsCredentialsSample.js.map +1 -0
  24. package/dist-esm/samples-dev/namespacesGetSample.js +15 -7
  25. package/dist-esm/samples-dev/namespacesGetSample.js.map +1 -1
  26. package/dist-esm/samples-dev/namespacesListAllSample.js +14 -6
  27. package/dist-esm/samples-dev/namespacesListAllSample.js.map +1 -1
  28. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js +13 -5
  29. package/dist-esm/samples-dev/namespacesListAuthorizationRulesSample.js.map +1 -1
  30. package/dist-esm/samples-dev/namespacesListKeysSample.js +15 -7
  31. package/dist-esm/samples-dev/namespacesListKeysSample.js.map +1 -1
  32. package/dist-esm/samples-dev/namespacesListSample.js +15 -7
  33. package/dist-esm/samples-dev/namespacesListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js +14 -6
  35. package/dist-esm/samples-dev/namespacesRegenerateKeysSample.js.map +1 -1
  36. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/namespacesUpdateSample.js +51 -0
  39. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js +15 -7
  41. package/dist-esm/samples-dev/notificationHubsCheckNotificationHubAvailabilitySample.js.map +1 -1
  42. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js +16 -8
  43. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateAuthorizationRuleSample.js.map +1 -1
  44. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js +15 -9
  45. package/dist-esm/samples-dev/notificationHubsCreateOrUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js +16 -10
  47. package/dist-esm/samples-dev/notificationHubsDebugSendSample.js.map +1 -1
  48. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js +13 -5
  49. package/dist-esm/samples-dev/notificationHubsDeleteAuthorizationRuleSample.js.map +1 -1
  50. package/dist-esm/samples-dev/notificationHubsDeleteSample.js +13 -5
  51. package/dist-esm/samples-dev/notificationHubsDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js +13 -5
  53. package/dist-esm/samples-dev/notificationHubsGetAuthorizationRuleSample.js.map +1 -1
  54. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js +15 -7
  55. package/dist-esm/samples-dev/notificationHubsGetPnsCredentialsSample.js.map +1 -1
  56. package/dist-esm/samples-dev/notificationHubsGetSample.js +15 -7
  57. package/dist-esm/samples-dev/notificationHubsGetSample.js.map +1 -1
  58. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js +13 -5
  59. package/dist-esm/samples-dev/notificationHubsListAuthorizationRulesSample.js.map +1 -1
  60. package/dist-esm/samples-dev/notificationHubsListKeysSample.js +13 -5
  61. package/dist-esm/samples-dev/notificationHubsListKeysSample.js.map +1 -1
  62. package/dist-esm/samples-dev/notificationHubsListSample.js +13 -5
  63. package/dist-esm/samples-dev/notificationHubsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js +14 -6
  65. package/dist-esm/samples-dev/notificationHubsRegenerateKeysSample.js.map +1 -1
  66. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts +2 -0
  67. package/dist-esm/samples-dev/notificationHubsUpdateSample.d.ts.map +1 -0
  68. package/dist-esm/samples-dev/notificationHubsUpdateSample.js +47 -0
  69. package/dist-esm/samples-dev/notificationHubsUpdateSample.js.map +1 -0
  70. package/dist-esm/samples-dev/operationsListSample.js +13 -5
  71. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  72. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +42 -0
  75. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  76. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js +42 -0
  79. package/dist-esm/samples-dev/privateEndpointConnectionsGetGroupIdSample.js.map +1 -0
  80. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +42 -0
  83. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  84. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js +57 -0
  87. package/dist-esm/samples-dev/privateEndpointConnectionsListGroupIdsSample.js.map +1 -0
  88. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +57 -0
  91. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -0
  92. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +48 -0
  95. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -0
  96. package/dist-esm/src/lroImpl.d.ts +6 -11
  97. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  98. package/dist-esm/src/lroImpl.js +12 -20
  99. package/dist-esm/src/lroImpl.js.map +1 -1
  100. package/dist-esm/src/models/index.d.ts +1377 -455
  101. package/dist-esm/src/models/index.d.ts.map +1 -1
  102. package/dist-esm/src/models/index.js +136 -0
  103. package/dist-esm/src/models/index.js.map +1 -1
  104. package/dist-esm/src/models/mappers.d.ts +44 -17
  105. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  106. package/dist-esm/src/models/mappers.js +1972 -738
  107. package/dist-esm/src/models/mappers.js.map +1 -1
  108. package/dist-esm/src/models/parameters.d.ts +10 -6
  109. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  110. package/dist-esm/src/models/parameters.js +140 -80
  111. package/dist-esm/src/models/parameters.js.map +1 -1
  112. package/dist-esm/src/notificationHubsManagementClient.d.ts +6 -6
  113. package/dist-esm/src/notificationHubsManagementClient.d.ts.map +1 -1
  114. package/dist-esm/src/notificationHubsManagementClient.js +13 -13
  115. package/dist-esm/src/notificationHubsManagementClient.js.map +1 -1
  116. package/dist-esm/src/operations/index.d.ts +3 -2
  117. package/dist-esm/src/operations/index.d.ts.map +1 -1
  118. package/dist-esm/src/operations/index.js +3 -2
  119. package/dist-esm/src/operations/index.js.map +1 -1
  120. package/dist-esm/src/operations/namespaces.d.ts +82 -81
  121. package/dist-esm/src/operations/namespaces.d.ts.map +1 -1
  122. package/dist-esm/src/operations/namespaces.js +323 -224
  123. package/dist-esm/src/operations/namespaces.js.map +1 -1
  124. package/dist-esm/src/operations/notificationHubs.d.ts +73 -74
  125. package/dist-esm/src/operations/notificationHubs.d.ts.map +1 -1
  126. package/dist-esm/src/operations/notificationHubs.js +249 -185
  127. package/dist-esm/src/operations/notificationHubs.js.map +1 -1
  128. package/dist-esm/src/operations/operations.d.ts +2 -2
  129. package/dist-esm/src/operations/operations.js +11 -12
  130. package/dist-esm/src/operations/operations.js.map +1 -1
  131. package/dist-esm/src/operations/privateEndpointConnections.d.ts +114 -0
  132. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  133. package/dist-esm/src/operations/privateEndpointConnections.js +466 -0
  134. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -2
  136. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.js +3 -2
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +61 -58
  140. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -1
  141. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts +62 -63
  142. package/dist-esm/src/operationsInterfaces/notificationHubs.d.ts.map +1 -1
  143. package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
  144. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +84 -0
  145. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  148. package/dist-esm/src/pagingHelper.d.ts +4 -4
  149. package/dist-esm/src/pagingHelper.js +4 -4
  150. package/dist-esm/test/notificationhubs_examples.js +16 -4
  151. package/dist-esm/test/notificationhubs_examples.js.map +1 -1
  152. package/package.json +14 -13
  153. package/review/arm-notificationhubs.api.md +548 -121
  154. package/src/lroImpl.ts +31 -23
  155. package/src/models/index.ts +1458 -467
  156. package/src/models/mappers.ts +2054 -789
  157. package/src/models/parameters.ts +152 -87
  158. package/src/notificationHubsManagementClient.ts +30 -26
  159. package/src/operations/index.ts +3 -2
  160. package/src/operations/namespaces.ts +444 -341
  161. package/src/operations/notificationHubs.ts +326 -275
  162. package/src/operations/operations.ts +18 -19
  163. package/src/operations/privateEndpointConnections.ts +629 -0
  164. package/src/operationsInterfaces/index.ts +3 -2
  165. package/src/operationsInterfaces/namespaces.ts +101 -88
  166. package/src/operationsInterfaces/notificationHubs.ts +88 -89
  167. package/src/operationsInterfaces/operations.ts +2 -2
  168. package/src/operationsInterfaces/privateEndpointConnections.ts +156 -0
  169. package/src/pagingHelper.ts +5 -5
  170. package/types/arm-notificationhubs.d.ts +1615 -549
  171. package/types/tsdoc-metadata.json +1 -1
  172. package/dist-esm/samples-dev/namespacesPatchSample.d.ts +0 -2
  173. package/dist-esm/samples-dev/namespacesPatchSample.d.ts.map +0 -1
  174. package/dist-esm/samples-dev/namespacesPatchSample.js +0 -35
  175. package/dist-esm/samples-dev/namespacesPatchSample.js.map +0 -1
  176. package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts +0 -2
  177. package/dist-esm/samples-dev/notificationHubsPatchSample.d.ts.map +0 -1
  178. package/dist-esm/samples-dev/notificationHubsPatchSample.js +0 -34
  179. package/dist-esm/samples-dev/notificationHubsPatchSample.js.map +0 -1
@@ -0,0 +1,466 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { createHttpPoller, } from "@azure/core-lro";
13
+ import { createLroSpec } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing PrivateEndpointConnections operations. */
16
+ export class PrivateEndpointConnectionsImpl {
17
+ /**
18
+ * Initialize a new instance of the class PrivateEndpointConnections class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
26
+ * This is a public API that can be called directly by Notification Hubs users.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param namespaceName Namespace name
29
+ * @param options The options parameters.
30
+ */
31
+ list(resourceGroupName, namespaceName, options) {
32
+ const iter = this.listPagingAll(resourceGroupName, namespaceName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listPagingPage(resourceGroupName, namespaceName, options, settings);
45
+ },
46
+ };
47
+ }
48
+ listPagingPage(resourceGroupName, namespaceName, options, _settings) {
49
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
50
+ let result;
51
+ result = yield __await(this._list(resourceGroupName, namespaceName, options));
52
+ yield yield __await(result.value || []);
53
+ });
54
+ }
55
+ listPagingAll(resourceGroupName, namespaceName, options) {
56
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
57
+ var _a, e_1, _b, _c;
58
+ try {
59
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
60
+ _c = _f.value;
61
+ _d = false;
62
+ const page = _c;
63
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
64
+ }
65
+ }
66
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
+ finally {
68
+ try {
69
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
70
+ }
71
+ finally { if (e_1) throw e_1.error; }
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * Even though this namespace requires subscription id, resource group and namespace name, it returns a
77
+ * constant payload (for a given namespacE) every time it's called.
78
+ * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
79
+ * received the request.
80
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
81
+ * @param namespaceName Namespace name
82
+ * @param options The options parameters.
83
+ */
84
+ listGroupIds(resourceGroupName, namespaceName, options) {
85
+ const iter = this.listGroupIdsPagingAll(resourceGroupName, namespaceName, options);
86
+ return {
87
+ next() {
88
+ return iter.next();
89
+ },
90
+ [Symbol.asyncIterator]() {
91
+ return this;
92
+ },
93
+ byPage: (settings) => {
94
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
95
+ throw new Error("maxPageSize is not supported by this operation.");
96
+ }
97
+ return this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options, settings);
98
+ },
99
+ };
100
+ }
101
+ listGroupIdsPagingPage(resourceGroupName, namespaceName, options, _settings) {
102
+ return __asyncGenerator(this, arguments, function* listGroupIdsPagingPage_1() {
103
+ let result;
104
+ result = yield __await(this._listGroupIds(resourceGroupName, namespaceName, options));
105
+ yield yield __await(result.value || []);
106
+ });
107
+ }
108
+ listGroupIdsPagingAll(resourceGroupName, namespaceName, options) {
109
+ return __asyncGenerator(this, arguments, function* listGroupIdsPagingAll_1() {
110
+ var _a, e_2, _b, _c;
111
+ try {
112
+ for (var _d = true, _e = __asyncValues(this.listGroupIdsPagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
113
+ _c = _f.value;
114
+ _d = false;
115
+ const page = _c;
116
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
117
+ }
118
+ }
119
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
120
+ finally {
121
+ try {
122
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
123
+ }
124
+ finally { if (e_2) throw e_2.error; }
125
+ }
126
+ });
127
+ }
128
+ /**
129
+ * Approves or rejects Private Endpoint Connection.
130
+ * This is a public API that can be called directly by Notification Hubs users.
131
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
132
+ * @param namespaceName Namespace name
133
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
134
+ * @param parameters Description of the Private Endpoint Connection resource.
135
+ * @param options The options parameters.
136
+ */
137
+ beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
140
+ return this.client.sendOperationRequest(args, spec);
141
+ });
142
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
143
+ var _a;
144
+ let currentRawResponse = undefined;
145
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
146
+ const callback = (rawResponse, flatResponse) => {
147
+ currentRawResponse = rawResponse;
148
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
149
+ };
150
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
151
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
152
+ return {
153
+ flatResponse,
154
+ rawResponse: {
155
+ statusCode: currentRawResponse.status,
156
+ body: currentRawResponse.parsedBody,
157
+ headers: currentRawResponse.headers.toJSON(),
158
+ },
159
+ };
160
+ });
161
+ const lro = createLroSpec({
162
+ sendOperationFn,
163
+ args: {
164
+ resourceGroupName,
165
+ namespaceName,
166
+ privateEndpointConnectionName,
167
+ parameters,
168
+ options,
169
+ },
170
+ spec: updateOperationSpec,
171
+ });
172
+ const poller = yield createHttpPoller(lro, {
173
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
174
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
175
+ resourceLocationConfig: "azure-async-operation",
176
+ });
177
+ yield poller.poll();
178
+ return poller;
179
+ });
180
+ }
181
+ /**
182
+ * Approves or rejects Private Endpoint Connection.
183
+ * This is a public API that can be called directly by Notification Hubs users.
184
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
185
+ * @param namespaceName Namespace name
186
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
187
+ * @param parameters Description of the Private Endpoint Connection resource.
188
+ * @param options The options parameters.
189
+ */
190
+ beginUpdateAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options) {
191
+ return __awaiter(this, void 0, void 0, function* () {
192
+ const poller = yield this.beginUpdate(resourceGroupName, namespaceName, privateEndpointConnectionName, parameters, options);
193
+ return poller.pollUntilDone();
194
+ });
195
+ }
196
+ /**
197
+ * Deletes the Private Endpoint Connection.
198
+ * This is a public API that can be called directly by Notification Hubs users.
199
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
200
+ * @param namespaceName Namespace name
201
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
202
+ * @param options The options parameters.
203
+ */
204
+ beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
205
+ return __awaiter(this, void 0, void 0, function* () {
206
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
207
+ return this.client.sendOperationRequest(args, spec);
208
+ });
209
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
210
+ var _a;
211
+ let currentRawResponse = undefined;
212
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
213
+ const callback = (rawResponse, flatResponse) => {
214
+ currentRawResponse = rawResponse;
215
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
216
+ };
217
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
218
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
219
+ return {
220
+ flatResponse,
221
+ rawResponse: {
222
+ statusCode: currentRawResponse.status,
223
+ body: currentRawResponse.parsedBody,
224
+ headers: currentRawResponse.headers.toJSON(),
225
+ },
226
+ };
227
+ });
228
+ const lro = createLroSpec({
229
+ sendOperationFn,
230
+ args: {
231
+ resourceGroupName,
232
+ namespaceName,
233
+ privateEndpointConnectionName,
234
+ options,
235
+ },
236
+ spec: deleteOperationSpec,
237
+ });
238
+ const poller = yield createHttpPoller(lro, {
239
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
240
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
241
+ resourceLocationConfig: "location",
242
+ });
243
+ yield poller.poll();
244
+ return poller;
245
+ });
246
+ }
247
+ /**
248
+ * Deletes the Private Endpoint Connection.
249
+ * This is a public API that can be called directly by Notification Hubs users.
250
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
251
+ * @param namespaceName Namespace name
252
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
253
+ * @param options The options parameters.
254
+ */
255
+ beginDeleteAndWait(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
256
+ return __awaiter(this, void 0, void 0, function* () {
257
+ const poller = yield this.beginDelete(resourceGroupName, namespaceName, privateEndpointConnectionName, options);
258
+ return poller.pollUntilDone();
259
+ });
260
+ }
261
+ /**
262
+ * Returns a Private Endpoint Connection with a given name.
263
+ * This is a public API that can be called directly by Notification Hubs users.
264
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
265
+ * @param namespaceName Namespace name
266
+ * @param privateEndpointConnectionName Private Endpoint Connection Name
267
+ * @param options The options parameters.
268
+ */
269
+ get(resourceGroupName, namespaceName, privateEndpointConnectionName, options) {
270
+ return this.client.sendOperationRequest({
271
+ resourceGroupName,
272
+ namespaceName,
273
+ privateEndpointConnectionName,
274
+ options,
275
+ }, getOperationSpec);
276
+ }
277
+ /**
278
+ * Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.
279
+ * This is a public API that can be called directly by Notification Hubs users.
280
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
281
+ * @param namespaceName Namespace name
282
+ * @param options The options parameters.
283
+ */
284
+ _list(resourceGroupName, namespaceName, options) {
285
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, options }, listOperationSpec);
286
+ }
287
+ /**
288
+ * Even though this namespace requires subscription id, resource group and namespace name, it returns a
289
+ * constant payload (for a given namespacE) every time it's called.
290
+ * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
291
+ * received the request.
292
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
293
+ * @param namespaceName Namespace name
294
+ * @param subResourceName Name of the Private Link sub-resource. The only supported sub-resource is
295
+ * "namespace"
296
+ * @param options The options parameters.
297
+ */
298
+ getGroupId(resourceGroupName, namespaceName, subResourceName, options) {
299
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, subResourceName, options }, getGroupIdOperationSpec);
300
+ }
301
+ /**
302
+ * Even though this namespace requires subscription id, resource group and namespace name, it returns a
303
+ * constant payload (for a given namespacE) every time it's called.
304
+ * That's why we don't send it to the sibling RP, but process it directly in the scale unit that
305
+ * received the request.
306
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
307
+ * @param namespaceName Namespace name
308
+ * @param options The options parameters.
309
+ */
310
+ _listGroupIds(resourceGroupName, namespaceName, options) {
311
+ return this.client.sendOperationRequest({ resourceGroupName, namespaceName, options }, listGroupIdsOperationSpec);
312
+ }
313
+ }
314
+ // Operation Specifications
315
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
316
+ const updateOperationSpec = {
317
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
318
+ httpMethod: "PUT",
319
+ responses: {
320
+ 200: {
321
+ bodyMapper: Mappers.PrivateEndpointConnectionResource,
322
+ },
323
+ 201: {
324
+ bodyMapper: Mappers.PrivateEndpointConnectionResource,
325
+ },
326
+ 202: {
327
+ bodyMapper: Mappers.PrivateEndpointConnectionResource,
328
+ },
329
+ 204: {
330
+ bodyMapper: Mappers.PrivateEndpointConnectionResource,
331
+ },
332
+ default: {
333
+ bodyMapper: Mappers.ErrorResponse,
334
+ },
335
+ },
336
+ requestBody: Parameters.parameters7,
337
+ queryParameters: [Parameters.apiVersion],
338
+ urlParameters: [
339
+ Parameters.$host,
340
+ Parameters.subscriptionId,
341
+ Parameters.resourceGroupName,
342
+ Parameters.namespaceName,
343
+ Parameters.privateEndpointConnectionName,
344
+ ],
345
+ headerParameters: [Parameters.contentType, Parameters.accept],
346
+ mediaType: "json",
347
+ serializer,
348
+ };
349
+ const deleteOperationSpec = {
350
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
351
+ httpMethod: "DELETE",
352
+ responses: {
353
+ 200: {
354
+ headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,
355
+ },
356
+ 201: {
357
+ headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,
358
+ },
359
+ 202: {
360
+ headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,
361
+ },
362
+ 204: {
363
+ headersMapper: Mappers.PrivateEndpointConnectionsDeleteHeaders,
364
+ },
365
+ default: {
366
+ bodyMapper: Mappers.ErrorResponse,
367
+ },
368
+ },
369
+ queryParameters: [Parameters.apiVersion],
370
+ urlParameters: [
371
+ Parameters.$host,
372
+ Parameters.subscriptionId,
373
+ Parameters.resourceGroupName,
374
+ Parameters.namespaceName,
375
+ Parameters.privateEndpointConnectionName,
376
+ ],
377
+ headerParameters: [Parameters.accept],
378
+ serializer,
379
+ };
380
+ const getOperationSpec = {
381
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
382
+ httpMethod: "GET",
383
+ responses: {
384
+ 200: {
385
+ bodyMapper: Mappers.PrivateEndpointConnectionResource,
386
+ },
387
+ default: {
388
+ bodyMapper: Mappers.ErrorResponse,
389
+ },
390
+ },
391
+ queryParameters: [Parameters.apiVersion],
392
+ urlParameters: [
393
+ Parameters.$host,
394
+ Parameters.subscriptionId,
395
+ Parameters.resourceGroupName,
396
+ Parameters.namespaceName,
397
+ Parameters.privateEndpointConnectionName,
398
+ ],
399
+ headerParameters: [Parameters.accept],
400
+ serializer,
401
+ };
402
+ const listOperationSpec = {
403
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections",
404
+ httpMethod: "GET",
405
+ responses: {
406
+ 200: {
407
+ bodyMapper: Mappers.PrivateEndpointConnectionResourceListResult,
408
+ },
409
+ default: {
410
+ bodyMapper: Mappers.ErrorResponse,
411
+ },
412
+ },
413
+ queryParameters: [Parameters.apiVersion],
414
+ urlParameters: [
415
+ Parameters.$host,
416
+ Parameters.subscriptionId,
417
+ Parameters.resourceGroupName,
418
+ Parameters.namespaceName,
419
+ ],
420
+ headerParameters: [Parameters.accept],
421
+ serializer,
422
+ };
423
+ const getGroupIdOperationSpec = {
424
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}",
425
+ httpMethod: "GET",
426
+ responses: {
427
+ 200: {
428
+ bodyMapper: Mappers.PrivateLinkResource,
429
+ },
430
+ default: {
431
+ bodyMapper: Mappers.ErrorResponse,
432
+ },
433
+ },
434
+ queryParameters: [Parameters.apiVersion],
435
+ urlParameters: [
436
+ Parameters.$host,
437
+ Parameters.subscriptionId,
438
+ Parameters.resourceGroupName,
439
+ Parameters.namespaceName,
440
+ Parameters.subResourceName,
441
+ ],
442
+ headerParameters: [Parameters.accept],
443
+ serializer,
444
+ };
445
+ const listGroupIdsOperationSpec = {
446
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources",
447
+ httpMethod: "GET",
448
+ responses: {
449
+ 200: {
450
+ bodyMapper: Mappers.PrivateLinkResourceListResult,
451
+ },
452
+ default: {
453
+ bodyMapper: Mappers.ErrorResponse,
454
+ },
455
+ },
456
+ queryParameters: [Parameters.apiVersion],
457
+ urlParameters: [
458
+ Parameters.$host,
459
+ Parameters.subscriptionId,
460
+ Parameters.resourceGroupName,
461
+ Parameters.namespaceName,
462
+ ],
463
+ headerParameters: [Parameters.accept],
464
+ serializer,
465
+ };
466
+ //# sourceMappingURL=privateEndpointConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAkB3C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,aAAa,EACb,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,aAAqB,EACrB,OAAsD,EACtD,SAAwB;;YAExB,IAAI,MAA8C,CAAC;YACnD,MAAM,GAAG,cAAM,IAAI,C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AC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EAAE,2KAA2K;IACjL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,yJAAyJ;IAC/J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,4 +1,5 @@
1
- export * from "./operations";
2
- export * from "./namespaces";
3
1
  export * from "./notificationHubs";
2
+ export * from "./namespaces";
3
+ export * from "./operations";
4
+ export * from "./privateEndpointConnections";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC"}
@@ -5,7 +5,8 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./operations";
9
- export * from "./namespaces";
10
8
  export * from "./notificationHubs";
9
+ export * from "./namespaces";
10
+ export * from "./operations";
11
+ export * from "./privateEndpointConnections";
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC"}