@azure/arm-hardwaresecuritymodules 1.0.0-alpha.20220401.3

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 (109) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1542 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +109 -0
  11. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +67 -0
  19. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +75 -0
  23. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +73 -0
  27. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +45 -0
  31. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +53 -0
  35. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/operationsListSample.js +73 -0
  39. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  40. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +20 -0
  41. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +1 -0
  42. package/dist-esm/src/azureDedicatedHSMResourceProvider.js +54 -0
  43. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +1 -0
  44. package/dist-esm/src/index.d.ts +5 -0
  45. package/dist-esm/src/index.d.ts.map +1 -0
  46. package/dist-esm/src/index.js +12 -0
  47. package/dist-esm/src/index.js.map +1 -0
  48. package/dist-esm/src/lroImpl.d.ts +16 -0
  49. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  50. package/dist-esm/src/lroImpl.js +29 -0
  51. package/dist-esm/src/lroImpl.js.map +1 -0
  52. package/dist-esm/src/models/index.d.ts +372 -0
  53. package/dist-esm/src/models/index.d.ts.map +1 -0
  54. package/dist-esm/src/models/index.js +52 -0
  55. package/dist-esm/src/models/index.js.map +1 -0
  56. package/dist-esm/src/models/mappers.d.ts +21 -0
  57. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  58. package/dist-esm/src/models/mappers.js +534 -0
  59. package/dist-esm/src/models/mappers.js.map +1 -0
  60. package/dist-esm/src/models/parameters.d.ts +14 -0
  61. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  62. package/dist-esm/src/models/parameters.js +124 -0
  63. package/dist-esm/src/models/parameters.js.map +1 -0
  64. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +134 -0
  65. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/dedicatedHsmOperations.js +624 -0
  67. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -0
  68. package/dist-esm/src/operations/index.d.ts +3 -0
  69. package/dist-esm/src/operations/index.d.ts.map +1 -0
  70. package/dist-esm/src/operations/index.js +10 -0
  71. package/dist-esm/src/operations/index.js.map +1 -0
  72. package/dist-esm/src/operations/operations.d.ts +26 -0
  73. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operations.js +90 -0
  75. package/dist-esm/src/operations/operations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +78 -0
  77. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  85. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  88. package/dist-esm/test/sampleTest.d.ts +2 -0
  89. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  90. package/dist-esm/test/sampleTest.js +41 -0
  91. package/dist-esm/test/sampleTest.js.map +1 -0
  92. package/package.json +118 -0
  93. package/review/arm-hardwaresecuritymodules.api.md +318 -0
  94. package/rollup.config.js +122 -0
  95. package/src/azureDedicatedHSMResourceProvider.ts +79 -0
  96. package/src/index.ts +12 -0
  97. package/src/lroImpl.ts +34 -0
  98. package/src/models/index.ts +428 -0
  99. package/src/models/mappers.ts +562 -0
  100. package/src/models/parameters.ts +144 -0
  101. package/src/operations/dedicatedHsmOperations.ts +830 -0
  102. package/src/operations/index.ts +10 -0
  103. package/src/operations/operations.ts +98 -0
  104. package/src/operationsInterfaces/dedicatedHsmOperations.ts +149 -0
  105. package/src/operationsInterfaces/index.ts +10 -0
  106. package/src/operationsInterfaces/operations.ts +22 -0
  107. package/tsconfig.json +33 -0
  108. package/types/arm-hardwaresecuritymodules.d.ts +524 -0
  109. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,624 @@
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 { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing DedicatedHsmOperations operations. */
16
+ export class DedicatedHsmOperationsImpl {
17
+ /**
18
+ * Initialize a new instance of the class DedicatedHsmOperations class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * The List operation gets information about the dedicated hsms associated with the subscription and
26
+ * within the specified resource group.
27
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
28
+ * @param options The options parameters.
29
+ */
30
+ listByResourceGroup(resourceGroupName, options) {
31
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: () => {
40
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
41
+ }
42
+ };
43
+ }
44
+ listByResourceGroupPagingPage(resourceGroupName, options) {
45
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
46
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
47
+ yield yield __await(result.value || []);
48
+ let continuationToken = result.nextLink;
49
+ while (continuationToken) {
50
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
51
+ continuationToken = result.nextLink;
52
+ yield yield __await(result.value || []);
53
+ }
54
+ });
55
+ }
56
+ listByResourceGroupPagingAll(resourceGroupName, options) {
57
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
58
+ var e_1, _a;
59
+ try {
60
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
+ const page = _c.value;
62
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
+ }
64
+ }
65
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
+ finally {
67
+ try {
68
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
+ }
70
+ finally { if (e_1) throw e_1.error; }
71
+ }
72
+ });
73
+ }
74
+ /**
75
+ * The List operation gets information about the dedicated HSMs associated with the subscription.
76
+ * @param options The options parameters.
77
+ */
78
+ listBySubscription(options) {
79
+ const iter = this.listBySubscriptionPagingAll(options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: () => {
88
+ return this.listBySubscriptionPagingPage(options);
89
+ }
90
+ };
91
+ }
92
+ listBySubscriptionPagingPage(options) {
93
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
94
+ let result = yield __await(this._listBySubscription(options));
95
+ yield yield __await(result.value || []);
96
+ let continuationToken = result.nextLink;
97
+ while (continuationToken) {
98
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
99
+ continuationToken = result.nextLink;
100
+ yield yield __await(result.value || []);
101
+ }
102
+ });
103
+ }
104
+ listBySubscriptionPagingAll(options) {
105
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
106
+ var e_2, _a;
107
+ try {
108
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
109
+ const page = _c.value;
110
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
111
+ }
112
+ }
113
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
114
+ finally {
115
+ try {
116
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
117
+ }
118
+ finally { if (e_2) throw e_2.error; }
119
+ }
120
+ });
121
+ }
122
+ /**
123
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
124
+ * dedicated hsm resource. The operation returns properties of each egress endpoint.
125
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
126
+ * @param name The name of the dedicated HSM.
127
+ * @param options The options parameters.
128
+ */
129
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options) {
130
+ const iter = this.listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, name, options);
131
+ return {
132
+ next() {
133
+ return iter.next();
134
+ },
135
+ [Symbol.asyncIterator]() {
136
+ return this;
137
+ },
138
+ byPage: () => {
139
+ return this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options);
140
+ }
141
+ };
142
+ }
143
+ listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options) {
144
+ return __asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingPage_1() {
145
+ let result = yield __await(this._listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options));
146
+ yield yield __await(result.value || []);
147
+ let continuationToken = result.nextLink;
148
+ while (continuationToken) {
149
+ result = yield __await(this._listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, name, continuationToken, options));
150
+ continuationToken = result.nextLink;
151
+ yield yield __await(result.value || []);
152
+ }
153
+ });
154
+ }
155
+ listOutboundNetworkDependenciesEndpointsPagingAll(resourceGroupName, name, options) {
156
+ return __asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
157
+ var e_3, _a;
158
+ try {
159
+ for (var _b = __asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, name, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
160
+ const page = _c.value;
161
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
162
+ }
163
+ }
164
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
165
+ finally {
166
+ try {
167
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
168
+ }
169
+ finally { if (e_3) throw e_3.error; }
170
+ }
171
+ });
172
+ }
173
+ /**
174
+ * Create or Update a dedicated HSM in the specified subscription.
175
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
176
+ * @param name Name of the dedicated Hsm
177
+ * @param parameters Parameters to create or update the dedicated hsm
178
+ * @param options The options parameters.
179
+ */
180
+ beginCreateOrUpdate(resourceGroupName, name, parameters, options) {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
183
+ return this.client.sendOperationRequest(args, spec);
184
+ });
185
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
186
+ var _a;
187
+ let currentRawResponse = undefined;
188
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
189
+ const callback = (rawResponse, flatResponse) => {
190
+ currentRawResponse = rawResponse;
191
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
192
+ };
193
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
194
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
195
+ return {
196
+ flatResponse,
197
+ rawResponse: {
198
+ statusCode: currentRawResponse.status,
199
+ body: currentRawResponse.parsedBody,
200
+ headers: currentRawResponse.headers.toJSON()
201
+ }
202
+ };
203
+ });
204
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, parameters, options }, createOrUpdateOperationSpec);
205
+ const poller = new LroEngine(lro, {
206
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
207
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
208
+ });
209
+ yield poller.poll();
210
+ return poller;
211
+ });
212
+ }
213
+ /**
214
+ * Create or Update a dedicated HSM in the specified subscription.
215
+ * @param resourceGroupName The name of the Resource Group to which the resource belongs.
216
+ * @param name Name of the dedicated Hsm
217
+ * @param parameters Parameters to create or update the dedicated hsm
218
+ * @param options The options parameters.
219
+ */
220
+ beginCreateOrUpdateAndWait(resourceGroupName, name, parameters, options) {
221
+ return __awaiter(this, void 0, void 0, function* () {
222
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, parameters, options);
223
+ return poller.pollUntilDone();
224
+ });
225
+ }
226
+ /**
227
+ * Update a dedicated HSM in the specified subscription.
228
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
229
+ * @param name Name of the dedicated HSM
230
+ * @param options The options parameters.
231
+ */
232
+ beginUpdate(resourceGroupName, name, options) {
233
+ return __awaiter(this, void 0, void 0, function* () {
234
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
235
+ return this.client.sendOperationRequest(args, spec);
236
+ });
237
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
238
+ var _a;
239
+ let currentRawResponse = undefined;
240
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
241
+ const callback = (rawResponse, flatResponse) => {
242
+ currentRawResponse = rawResponse;
243
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
244
+ };
245
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
246
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
247
+ return {
248
+ flatResponse,
249
+ rawResponse: {
250
+ statusCode: currentRawResponse.status,
251
+ body: currentRawResponse.parsedBody,
252
+ headers: currentRawResponse.headers.toJSON()
253
+ }
254
+ };
255
+ });
256
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, updateOperationSpec);
257
+ const poller = new LroEngine(lro, {
258
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
259
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
260
+ });
261
+ yield poller.poll();
262
+ return poller;
263
+ });
264
+ }
265
+ /**
266
+ * Update a dedicated HSM in the specified subscription.
267
+ * @param resourceGroupName The name of the Resource Group to which the server belongs.
268
+ * @param name Name of the dedicated HSM
269
+ * @param options The options parameters.
270
+ */
271
+ beginUpdateAndWait(resourceGroupName, name, options) {
272
+ return __awaiter(this, void 0, void 0, function* () {
273
+ const poller = yield this.beginUpdate(resourceGroupName, name, options);
274
+ return poller.pollUntilDone();
275
+ });
276
+ }
277
+ /**
278
+ * Deletes the specified Azure Dedicated HSM.
279
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
280
+ * @param name The name of the dedicated HSM to delete
281
+ * @param options The options parameters.
282
+ */
283
+ beginDelete(resourceGroupName, name, options) {
284
+ return __awaiter(this, void 0, void 0, function* () {
285
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
286
+ return this.client.sendOperationRequest(args, spec);
287
+ });
288
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
289
+ var _a;
290
+ let currentRawResponse = undefined;
291
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
292
+ const callback = (rawResponse, flatResponse) => {
293
+ currentRawResponse = rawResponse;
294
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
295
+ };
296
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
297
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
298
+ return {
299
+ flatResponse,
300
+ rawResponse: {
301
+ statusCode: currentRawResponse.status,
302
+ body: currentRawResponse.parsedBody,
303
+ headers: currentRawResponse.headers.toJSON()
304
+ }
305
+ };
306
+ });
307
+ const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
308
+ const poller = new LroEngine(lro, {
309
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
310
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
311
+ });
312
+ yield poller.poll();
313
+ return poller;
314
+ });
315
+ }
316
+ /**
317
+ * Deletes the specified Azure Dedicated HSM.
318
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
319
+ * @param name The name of the dedicated HSM to delete
320
+ * @param options The options parameters.
321
+ */
322
+ beginDeleteAndWait(resourceGroupName, name, options) {
323
+ return __awaiter(this, void 0, void 0, function* () {
324
+ const poller = yield this.beginDelete(resourceGroupName, name, options);
325
+ return poller.pollUntilDone();
326
+ });
327
+ }
328
+ /**
329
+ * Gets the specified Azure dedicated HSM.
330
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
331
+ * @param name The name of the dedicated HSM.
332
+ * @param options The options parameters.
333
+ */
334
+ get(resourceGroupName, name, options) {
335
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
336
+ }
337
+ /**
338
+ * The List operation gets information about the dedicated hsms associated with the subscription and
339
+ * within the specified resource group.
340
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
341
+ * @param options The options parameters.
342
+ */
343
+ _listByResourceGroup(resourceGroupName, options) {
344
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
345
+ }
346
+ /**
347
+ * The List operation gets information about the dedicated HSMs associated with the subscription.
348
+ * @param options The options parameters.
349
+ */
350
+ _listBySubscription(options) {
351
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
352
+ }
353
+ /**
354
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified
355
+ * dedicated hsm resource. The operation returns properties of each egress endpoint.
356
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
357
+ * @param name The name of the dedicated HSM.
358
+ * @param options The options parameters.
359
+ */
360
+ _listOutboundNetworkDependenciesEndpoints(resourceGroupName, name, options) {
361
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, listOutboundNetworkDependenciesEndpointsOperationSpec);
362
+ }
363
+ /**
364
+ * ListByResourceGroupNext
365
+ * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
366
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
367
+ * @param options The options parameters.
368
+ */
369
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
370
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
371
+ }
372
+ /**
373
+ * ListBySubscriptionNext
374
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
375
+ * @param options The options parameters.
376
+ */
377
+ _listBySubscriptionNext(nextLink, options) {
378
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
379
+ }
380
+ /**
381
+ * ListOutboundNetworkDependenciesEndpointsNext
382
+ * @param resourceGroupName The name of the Resource Group to which the dedicated hsm belongs.
383
+ * @param name The name of the dedicated HSM.
384
+ * @param nextLink The nextLink from the previous successful call to the
385
+ * ListOutboundNetworkDependenciesEndpoints method.
386
+ * @param options The options parameters.
387
+ */
388
+ _listOutboundNetworkDependenciesEndpointsNext(resourceGroupName, name, nextLink, options) {
389
+ return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listOutboundNetworkDependenciesEndpointsNextOperationSpec);
390
+ }
391
+ }
392
+ // Operation Specifications
393
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
394
+ const createOrUpdateOperationSpec = {
395
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
396
+ httpMethod: "PUT",
397
+ responses: {
398
+ 200: {
399
+ bodyMapper: Mappers.DedicatedHsm
400
+ },
401
+ 201: {
402
+ bodyMapper: Mappers.DedicatedHsm
403
+ },
404
+ 202: {
405
+ bodyMapper: Mappers.DedicatedHsm
406
+ },
407
+ 204: {
408
+ bodyMapper: Mappers.DedicatedHsm
409
+ },
410
+ default: {
411
+ bodyMapper: Mappers.DedicatedHsmError
412
+ }
413
+ },
414
+ requestBody: Parameters.parameters,
415
+ queryParameters: [Parameters.apiVersion],
416
+ urlParameters: [
417
+ Parameters.$host,
418
+ Parameters.resourceGroupName,
419
+ Parameters.name,
420
+ Parameters.subscriptionId
421
+ ],
422
+ headerParameters: [Parameters.accept, Parameters.contentType],
423
+ mediaType: "json",
424
+ serializer
425
+ };
426
+ const updateOperationSpec = {
427
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
428
+ httpMethod: "PATCH",
429
+ responses: {
430
+ 200: {
431
+ bodyMapper: Mappers.DedicatedHsm
432
+ },
433
+ 201: {
434
+ bodyMapper: Mappers.DedicatedHsm
435
+ },
436
+ 202: {
437
+ bodyMapper: Mappers.DedicatedHsm
438
+ },
439
+ 204: {
440
+ bodyMapper: Mappers.DedicatedHsm
441
+ },
442
+ default: {
443
+ bodyMapper: Mappers.DedicatedHsmError
444
+ }
445
+ },
446
+ requestBody: {
447
+ parameterPath: { tags: ["options", "tags"] },
448
+ mapper: Object.assign(Object.assign({}, Mappers.DedicatedHsmPatchParameters), { required: true })
449
+ },
450
+ queryParameters: [Parameters.apiVersion],
451
+ urlParameters: [
452
+ Parameters.$host,
453
+ Parameters.resourceGroupName,
454
+ Parameters.name,
455
+ Parameters.subscriptionId
456
+ ],
457
+ headerParameters: [Parameters.accept, Parameters.contentType],
458
+ mediaType: "json",
459
+ serializer
460
+ };
461
+ const deleteOperationSpec = {
462
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
463
+ httpMethod: "DELETE",
464
+ responses: {
465
+ 200: {},
466
+ 201: {},
467
+ 202: {},
468
+ 204: {},
469
+ default: {
470
+ bodyMapper: Mappers.DedicatedHsmError
471
+ }
472
+ },
473
+ queryParameters: [Parameters.apiVersion],
474
+ urlParameters: [
475
+ Parameters.$host,
476
+ Parameters.resourceGroupName,
477
+ Parameters.subscriptionId,
478
+ Parameters.name1
479
+ ],
480
+ headerParameters: [Parameters.accept],
481
+ serializer
482
+ };
483
+ const getOperationSpec = {
484
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}",
485
+ httpMethod: "GET",
486
+ responses: {
487
+ 200: {
488
+ bodyMapper: Mappers.DedicatedHsm
489
+ },
490
+ default: {
491
+ bodyMapper: Mappers.DedicatedHsmError
492
+ }
493
+ },
494
+ queryParameters: [Parameters.apiVersion],
495
+ urlParameters: [
496
+ Parameters.$host,
497
+ Parameters.resourceGroupName,
498
+ Parameters.subscriptionId,
499
+ Parameters.name1
500
+ ],
501
+ headerParameters: [Parameters.accept],
502
+ serializer
503
+ };
504
+ const listByResourceGroupOperationSpec = {
505
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs",
506
+ httpMethod: "GET",
507
+ responses: {
508
+ 200: {
509
+ bodyMapper: Mappers.DedicatedHsmListResult
510
+ },
511
+ default: {
512
+ bodyMapper: Mappers.DedicatedHsmError
513
+ }
514
+ },
515
+ queryParameters: [Parameters.apiVersion, Parameters.top],
516
+ urlParameters: [
517
+ Parameters.$host,
518
+ Parameters.resourceGroupName,
519
+ Parameters.subscriptionId
520
+ ],
521
+ headerParameters: [Parameters.accept],
522
+ serializer
523
+ };
524
+ const listBySubscriptionOperationSpec = {
525
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs",
526
+ httpMethod: "GET",
527
+ responses: {
528
+ 200: {
529
+ bodyMapper: Mappers.DedicatedHsmListResult
530
+ },
531
+ default: {
532
+ bodyMapper: Mappers.DedicatedHsmError
533
+ }
534
+ },
535
+ queryParameters: [Parameters.apiVersion, Parameters.top],
536
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
537
+ headerParameters: [Parameters.accept],
538
+ serializer
539
+ };
540
+ const listOutboundNetworkDependenciesEndpointsOperationSpec = {
541
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}/outboundNetworkDependenciesEndpoints",
542
+ httpMethod: "GET",
543
+ responses: {
544
+ 200: {
545
+ bodyMapper: Mappers.OutboundEnvironmentEndpointCollection
546
+ },
547
+ default: {
548
+ bodyMapper: Mappers.DedicatedHsmError
549
+ }
550
+ },
551
+ queryParameters: [Parameters.apiVersion],
552
+ urlParameters: [
553
+ Parameters.$host,
554
+ Parameters.resourceGroupName,
555
+ Parameters.subscriptionId,
556
+ Parameters.name1
557
+ ],
558
+ headerParameters: [Parameters.accept],
559
+ serializer
560
+ };
561
+ const listByResourceGroupNextOperationSpec = {
562
+ path: "{nextLink}",
563
+ httpMethod: "GET",
564
+ responses: {
565
+ 200: {
566
+ bodyMapper: Mappers.DedicatedHsmListResult
567
+ },
568
+ default: {
569
+ bodyMapper: Mappers.DedicatedHsmError
570
+ }
571
+ },
572
+ queryParameters: [Parameters.apiVersion, Parameters.top],
573
+ urlParameters: [
574
+ Parameters.$host,
575
+ Parameters.resourceGroupName,
576
+ Parameters.subscriptionId,
577
+ Parameters.nextLink
578
+ ],
579
+ headerParameters: [Parameters.accept],
580
+ serializer
581
+ };
582
+ const listBySubscriptionNextOperationSpec = {
583
+ path: "{nextLink}",
584
+ httpMethod: "GET",
585
+ responses: {
586
+ 200: {
587
+ bodyMapper: Mappers.DedicatedHsmListResult
588
+ },
589
+ default: {
590
+ bodyMapper: Mappers.DedicatedHsmError
591
+ }
592
+ },
593
+ queryParameters: [Parameters.apiVersion, Parameters.top],
594
+ urlParameters: [
595
+ Parameters.$host,
596
+ Parameters.subscriptionId,
597
+ Parameters.nextLink
598
+ ],
599
+ headerParameters: [Parameters.accept],
600
+ serializer
601
+ };
602
+ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
603
+ path: "{nextLink}",
604
+ httpMethod: "GET",
605
+ responses: {
606
+ 200: {
607
+ bodyMapper: Mappers.OutboundEnvironmentEndpointCollection
608
+ },
609
+ default: {
610
+ bodyMapper: Mappers.DedicatedHsmError
611
+ }
612
+ },
613
+ queryParameters: [Parameters.apiVersion],
614
+ urlParameters: [
615
+ Parameters.$host,
616
+ Parameters.resourceGroupName,
617
+ Parameters.subscriptionId,
618
+ Parameters.name1,
619
+ Parameters.nextLink
620
+ ],
621
+ headerParameters: [Parameters.accept],
622
+ serializer
623
+ };
624
+ //# sourceMappingURL=dedicatedHsmOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dedicatedHsmOperations.js","sourceRoot":"","sources":["../../../src/operations/dedicatedHsmOperations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,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;IACxD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yDAAyD,GAA6B;IAC1F,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./operations";
2
+ export * from "./dedicatedHsmOperations";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,10 @@
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
+ export * from "./operations";
9
+ export * from "./dedicatedHsmOperations";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC"}