@azure/arm-hardwaresecuritymodules 2.0.0-alpha.20240118.1 → 2.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 (174) hide show
  1. package/CHANGELOG.md +82 -1
  2. package/LICENSE +1 -1
  3. package/README.md +14 -14
  4. package/dist/index.js +2215 -425
  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/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +46 -0
  11. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +39 -0
  23. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +1 -0
  24. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +53 -0
  27. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +39 -0
  31. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +1 -0
  32. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +39 -0
  35. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +1 -0
  36. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +54 -0
  39. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +1 -0
  40. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +53 -0
  43. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +1 -0
  44. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +47 -0
  47. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +23 -13
  49. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +13 -5
  51. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +23 -13
  53. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +18 -9
  55. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +1 -1
  56. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +16 -7
  57. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +1 -1
  58. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +13 -5
  59. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
  60. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +18 -9
  61. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/operationsListSample.js +16 -7
  63. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  64. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +55 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +1 -0
  68. package/dist-esm/src/azureHSMResourceProvider.d.ts +22 -0
  69. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +1 -0
  70. package/dist-esm/src/{azureDedicatedHSMResourceProvider.js → azureHSMResourceProvider.js} +10 -37
  71. package/dist-esm/src/azureHSMResourceProvider.js.map +1 -0
  72. package/dist-esm/src/index.d.ts +1 -1
  73. package/dist-esm/src/index.d.ts.map +1 -1
  74. package/dist-esm/src/index.js +1 -1
  75. package/dist-esm/src/index.js.map +1 -1
  76. package/dist-esm/src/lroImpl.d.ts +6 -11
  77. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  78. package/dist-esm/src/lroImpl.js +12 -20
  79. package/dist-esm/src/lroImpl.js.map +1 -1
  80. package/dist-esm/src/models/index.d.ts +538 -8
  81. package/dist-esm/src/models/index.d.ts.map +1 -1
  82. package/dist-esm/src/models/index.js +72 -0
  83. package/dist-esm/src/models/index.js.map +1 -1
  84. package/dist-esm/src/models/mappers.d.ts +28 -2
  85. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  86. package/dist-esm/src/models/mappers.js +692 -7
  87. package/dist-esm/src/models/mappers.js.map +1 -1
  88. package/dist-esm/src/models/parameters.d.ts +27 -5
  89. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  90. package/dist-esm/src/models/parameters.js +161 -29
  91. package/dist-esm/src/models/parameters.js.map +1 -1
  92. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +55 -0
  93. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  94. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +193 -0
  95. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  96. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +21 -0
  97. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  98. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +54 -0
  99. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  100. package/dist-esm/src/operations/cloudHsmClusters.d.ts +114 -0
  101. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +1 -0
  102. package/dist-esm/src/operations/cloudHsmClusters.js +580 -0
  103. package/dist-esm/src/operations/cloudHsmClusters.js.map +1 -0
  104. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +6 -6
  105. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +1 -1
  106. package/dist-esm/src/operations/dedicatedHsmOperations.js +51 -39
  107. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +1 -1
  108. package/dist-esm/src/operations/index.d.ts +4 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -1
  110. package/dist-esm/src/operations/index.js +4 -0
  111. package/dist-esm/src/operations/index.js.map +1 -1
  112. package/dist-esm/src/operations/operations.d.ts +2 -2
  113. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  114. package/dist-esm/src/operations/operations.js +1 -1
  115. package/dist-esm/src/operations/operations.js.map +1 -1
  116. package/dist-esm/src/operations/privateEndpointConnections.d.ts +43 -0
  117. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  118. package/dist-esm/src/operations/privateEndpointConnections.js +155 -0
  119. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +47 -0
  121. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +13 -0
  125. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +77 -0
  129. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +4 -4
  133. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +4 -0
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +15 -0
  139. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  142. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +4 -0
  143. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +1 -0
  144. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +73 -0
  145. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +1 -0
  146. package/package.json +15 -12
  147. package/review/arm-hardwaresecuritymodules.api.md +426 -19
  148. package/src/{azureDedicatedHSMResourceProvider.ts → azureHSMResourceProvider.ts} +35 -46
  149. package/src/index.ts +1 -1
  150. package/src/lroImpl.ts +31 -23
  151. package/src/models/index.ts +599 -8
  152. package/src/models/mappers.ts +751 -7
  153. package/src/models/parameters.ts +187 -30
  154. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +263 -0
  155. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +74 -0
  156. package/src/operations/cloudHsmClusters.ts +750 -0
  157. package/src/operations/dedicatedHsmOperations.ts +69 -59
  158. package/src/operations/index.ts +4 -0
  159. package/src/operations/operations.ts +4 -4
  160. package/src/operations/privateEndpointConnections.ts +208 -0
  161. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +83 -0
  162. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +28 -0
  163. package/src/operationsInterfaces/cloudHsmClusters.ts +142 -0
  164. package/src/operationsInterfaces/dedicatedHsmOperations.ts +6 -6
  165. package/src/operationsInterfaces/index.ts +4 -0
  166. package/src/operationsInterfaces/privateEndpointConnections.ts +31 -0
  167. package/types/arm-hardwaresecuritymodules.d.ts +773 -34
  168. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts +0 -22
  169. package/dist-esm/src/azureDedicatedHSMResourceProvider.d.ts.map +0 -1
  170. package/dist-esm/src/azureDedicatedHSMResourceProvider.js.map +0 -1
  171. package/dist-esm/test/sampleTest.d.ts +0 -2
  172. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  173. package/dist-esm/test/sampleTest.js +0 -38
  174. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -0,0 +1,580 @@
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 { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing CloudHsmClusters operations. */
17
+ export class CloudHsmClustersImpl {
18
+ /**
19
+ * Initialize a new instance of the class CloudHsmClusters class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription
27
+ * and within the specified resource group.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param options The options parameters.
30
+ */
31
+ listByResourceGroup(resourceGroupName, options) {
32
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
+ }
46
+ };
47
+ }
48
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
+ let result;
51
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
+ if (!continuationToken) {
53
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield yield __await(page);
58
+ }
59
+ while (continuationToken) {
60
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield yield __await(page);
65
+ }
66
+ });
67
+ }
68
+ listByResourceGroupPagingAll(resourceGroupName, options) {
69
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
+ var _a, e_1, _b, _c;
71
+ try {
72
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
+ _c = _f.value;
74
+ _d = false;
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
90
+ * @param options The options parameters.
91
+ */
92
+ listBySubscription(options) {
93
+ const iter = this.listBySubscriptionPagingAll(options);
94
+ return {
95
+ next() {
96
+ return iter.next();
97
+ },
98
+ [Symbol.asyncIterator]() {
99
+ return this;
100
+ },
101
+ byPage: (settings) => {
102
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
+ throw new Error("maxPageSize is not supported by this operation.");
104
+ }
105
+ return this.listBySubscriptionPagingPage(options, settings);
106
+ }
107
+ };
108
+ }
109
+ listBySubscriptionPagingPage(options, settings) {
110
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
111
+ let result;
112
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
+ if (!continuationToken) {
114
+ result = yield __await(this._listBySubscription(options));
115
+ let page = result.value || [];
116
+ continuationToken = result.nextLink;
117
+ setContinuationToken(page, continuationToken);
118
+ yield yield __await(page);
119
+ }
120
+ while (continuationToken) {
121
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
122
+ continuationToken = result.nextLink;
123
+ let page = result.value || [];
124
+ setContinuationToken(page, continuationToken);
125
+ yield yield __await(page);
126
+ }
127
+ });
128
+ }
129
+ listBySubscriptionPagingAll(options) {
130
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
131
+ var _a, e_2, _b, _c;
132
+ try {
133
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
+ _c = _f.value;
135
+ _d = false;
136
+ const page = _c;
137
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
+ }
139
+ }
140
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
+ finally {
142
+ try {
143
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
+ }
145
+ finally { if (e_2) throw e_2.error; }
146
+ }
147
+ });
148
+ }
149
+ /**
150
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
151
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
153
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
154
+ * @param location The geo-location where the resource lives
155
+ * @param options The options parameters.
156
+ */
157
+ beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options) {
158
+ return __awaiter(this, void 0, void 0, function* () {
159
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
160
+ return this.client.sendOperationRequest(args, spec);
161
+ });
162
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
163
+ var _a;
164
+ let currentRawResponse = undefined;
165
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
166
+ const callback = (rawResponse, flatResponse) => {
167
+ currentRawResponse = rawResponse;
168
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
169
+ };
170
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
171
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
172
+ return {
173
+ flatResponse,
174
+ rawResponse: {
175
+ statusCode: currentRawResponse.status,
176
+ body: currentRawResponse.parsedBody,
177
+ headers: currentRawResponse.headers.toJSON()
178
+ }
179
+ };
180
+ });
181
+ const lro = createLroSpec({
182
+ sendOperationFn,
183
+ args: { resourceGroupName, cloudHsmClusterName, location, options },
184
+ spec: createOrUpdateOperationSpec
185
+ });
186
+ const poller = yield createHttpPoller(lro, {
187
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
188
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
189
+ resourceLocationConfig: "original-uri"
190
+ });
191
+ yield poller.poll();
192
+ return poller;
193
+ });
194
+ }
195
+ /**
196
+ * Create or Update a Cloud HSM Cluster in the specified subscription.
197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
199
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
200
+ * @param location The geo-location where the resource lives
201
+ * @param options The options parameters.
202
+ */
203
+ beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
206
+ return poller.pollUntilDone();
207
+ });
208
+ }
209
+ /**
210
+ * Update a Cloud HSM Cluster in the specified subscription.
211
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
213
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
214
+ * @param options The options parameters.
215
+ */
216
+ beginUpdate(resourceGroupName, cloudHsmClusterName, options) {
217
+ return __awaiter(this, void 0, void 0, function* () {
218
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
219
+ return this.client.sendOperationRequest(args, spec);
220
+ });
221
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
222
+ var _a;
223
+ let currentRawResponse = undefined;
224
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
225
+ const callback = (rawResponse, flatResponse) => {
226
+ currentRawResponse = rawResponse;
227
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
228
+ };
229
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
230
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
231
+ return {
232
+ flatResponse,
233
+ rawResponse: {
234
+ statusCode: currentRawResponse.status,
235
+ body: currentRawResponse.parsedBody,
236
+ headers: currentRawResponse.headers.toJSON()
237
+ }
238
+ };
239
+ });
240
+ const lro = createLroSpec({
241
+ sendOperationFn,
242
+ args: { resourceGroupName, cloudHsmClusterName, options },
243
+ spec: updateOperationSpec
244
+ });
245
+ const poller = yield createHttpPoller(lro, {
246
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
247
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
248
+ resourceLocationConfig: "location"
249
+ });
250
+ yield poller.poll();
251
+ return poller;
252
+ });
253
+ }
254
+ /**
255
+ * Update a Cloud HSM Cluster in the specified subscription.
256
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
257
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
258
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
259
+ * @param options The options parameters.
260
+ */
261
+ beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
262
+ return __awaiter(this, void 0, void 0, function* () {
263
+ const poller = yield this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
264
+ return poller.pollUntilDone();
265
+ });
266
+ }
267
+ /**
268
+ * Gets the specified Cloud HSM Cluster
269
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
270
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
271
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
272
+ * @param options The options parameters.
273
+ */
274
+ get(resourceGroupName, cloudHsmClusterName, options) {
275
+ return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, getOperationSpec);
276
+ }
277
+ /**
278
+ * Deletes the specified Cloud HSM Cluster
279
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
281
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
282
+ * @param options The options parameters.
283
+ */
284
+ beginDelete(resourceGroupName, cloudHsmClusterName, options) {
285
+ return __awaiter(this, void 0, void 0, function* () {
286
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
287
+ return this.client.sendOperationRequest(args, spec);
288
+ });
289
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
290
+ var _a;
291
+ let currentRawResponse = undefined;
292
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
293
+ const callback = (rawResponse, flatResponse) => {
294
+ currentRawResponse = rawResponse;
295
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
296
+ };
297
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
298
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
299
+ return {
300
+ flatResponse,
301
+ rawResponse: {
302
+ statusCode: currentRawResponse.status,
303
+ body: currentRawResponse.parsedBody,
304
+ headers: currentRawResponse.headers.toJSON()
305
+ }
306
+ };
307
+ });
308
+ const lro = createLroSpec({
309
+ sendOperationFn,
310
+ args: { resourceGroupName, cloudHsmClusterName, options },
311
+ spec: deleteOperationSpec
312
+ });
313
+ const poller = yield createHttpPoller(lro, {
314
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
315
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
316
+ resourceLocationConfig: "location"
317
+ });
318
+ yield poller.poll();
319
+ return poller;
320
+ });
321
+ }
322
+ /**
323
+ * Deletes the specified Cloud HSM Cluster
324
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
325
+ * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
326
+ * Cloud HSM Cluster names must be between 3 and 24 characters in length.
327
+ * @param options The options parameters.
328
+ */
329
+ beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ const poller = yield this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
332
+ return poller.pollUntilDone();
333
+ });
334
+ }
335
+ /**
336
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription
337
+ * and within the specified resource group.
338
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
339
+ * @param options The options parameters.
340
+ */
341
+ _listByResourceGroup(resourceGroupName, options) {
342
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
343
+ }
344
+ /**
345
+ * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
346
+ * @param options The options parameters.
347
+ */
348
+ _listBySubscription(options) {
349
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
350
+ }
351
+ /**
352
+ * ListByResourceGroupNext
353
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
354
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
355
+ * @param options The options parameters.
356
+ */
357
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
358
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
359
+ }
360
+ /**
361
+ * ListBySubscriptionNext
362
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
363
+ * @param options The options parameters.
364
+ */
365
+ _listBySubscriptionNext(nextLink, options) {
366
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
367
+ }
368
+ }
369
+ // Operation Specifications
370
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
371
+ const createOrUpdateOperationSpec = {
372
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
373
+ httpMethod: "PUT",
374
+ responses: {
375
+ 200: {
376
+ bodyMapper: Mappers.CloudHsmCluster
377
+ },
378
+ 201: {
379
+ bodyMapper: Mappers.CloudHsmCluster
380
+ },
381
+ 202: {
382
+ bodyMapper: Mappers.CloudHsmCluster
383
+ },
384
+ 204: {
385
+ bodyMapper: Mappers.CloudHsmCluster
386
+ },
387
+ default: {
388
+ bodyMapper: Mappers.CloudHsmClusterError
389
+ }
390
+ },
391
+ requestBody: {
392
+ parameterPath: {
393
+ tags: ["options", "tags"],
394
+ location: ["location"],
395
+ sku: ["options", "sku"],
396
+ identity: ["options", "identity"],
397
+ provisioningState: ["options", "provisioningState"],
398
+ autoGeneratedDomainNameLabelScope: [
399
+ "options",
400
+ "autoGeneratedDomainNameLabelScope"
401
+ ],
402
+ securityDomain: ["options", "securityDomain"],
403
+ hsms: ["options", "hsms"],
404
+ publicNetworkAccess: ["options", "publicNetworkAccess"],
405
+ privateEndpointConnections: ["options", "privateEndpointConnections"],
406
+ restoreProperties: ["options", "restoreProperties"],
407
+ backupProperties: ["options", "backupProperties"]
408
+ },
409
+ mapper: Object.assign(Object.assign({}, Mappers.CloudHsmCluster), { required: true })
410
+ },
411
+ queryParameters: [Parameters.apiVersion],
412
+ urlParameters: [
413
+ Parameters.$host,
414
+ Parameters.subscriptionId,
415
+ Parameters.resourceGroupName,
416
+ Parameters.cloudHsmClusterName
417
+ ],
418
+ headerParameters: [Parameters.contentType, Parameters.accept],
419
+ mediaType: "json",
420
+ serializer
421
+ };
422
+ const updateOperationSpec = {
423
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
424
+ httpMethod: "PATCH",
425
+ responses: {
426
+ 200: {
427
+ bodyMapper: Mappers.CloudHsmCluster
428
+ },
429
+ 201: {
430
+ bodyMapper: Mappers.CloudHsmCluster
431
+ },
432
+ 202: {
433
+ bodyMapper: Mappers.CloudHsmCluster
434
+ },
435
+ 204: {
436
+ bodyMapper: Mappers.CloudHsmCluster
437
+ },
438
+ default: {
439
+ bodyMapper: Mappers.CloudHsmClusterError
440
+ }
441
+ },
442
+ requestBody: {
443
+ parameterPath: {
444
+ tags: ["options", "tags"],
445
+ sku: ["options", "sku"],
446
+ identity: ["options", "identity"],
447
+ backupProperties: ["options", "backupProperties"]
448
+ },
449
+ mapper: Object.assign(Object.assign({}, Mappers.CloudHsmClusterPatchParameters), { required: true })
450
+ },
451
+ queryParameters: [Parameters.apiVersion],
452
+ urlParameters: [
453
+ Parameters.$host,
454
+ Parameters.subscriptionId,
455
+ Parameters.resourceGroupName,
456
+ Parameters.cloudHsmClusterName
457
+ ],
458
+ headerParameters: [Parameters.contentType, Parameters.accept],
459
+ mediaType: "json",
460
+ serializer
461
+ };
462
+ const getOperationSpec = {
463
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
464
+ httpMethod: "GET",
465
+ responses: {
466
+ 200: {
467
+ bodyMapper: Mappers.CloudHsmCluster
468
+ },
469
+ default: {
470
+ bodyMapper: Mappers.CloudHsmClusterError
471
+ }
472
+ },
473
+ queryParameters: [Parameters.apiVersion],
474
+ urlParameters: [
475
+ Parameters.$host,
476
+ Parameters.subscriptionId,
477
+ Parameters.resourceGroupName,
478
+ Parameters.cloudHsmClusterName
479
+ ],
480
+ headerParameters: [Parameters.accept],
481
+ serializer
482
+ };
483
+ const deleteOperationSpec = {
484
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
485
+ httpMethod: "DELETE",
486
+ responses: {
487
+ 200: {},
488
+ 201: {},
489
+ 202: {},
490
+ 204: {},
491
+ default: {
492
+ bodyMapper: Mappers.CloudHsmClusterError
493
+ }
494
+ },
495
+ queryParameters: [Parameters.apiVersion],
496
+ urlParameters: [
497
+ Parameters.$host,
498
+ Parameters.subscriptionId,
499
+ Parameters.resourceGroupName,
500
+ Parameters.cloudHsmClusterName
501
+ ],
502
+ headerParameters: [Parameters.accept],
503
+ serializer
504
+ };
505
+ const listByResourceGroupOperationSpec = {
506
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
507
+ httpMethod: "GET",
508
+ responses: {
509
+ 200: {
510
+ bodyMapper: Mappers.CloudHsmClusterListResult
511
+ },
512
+ default: {
513
+ bodyMapper: Mappers.CloudHsmClusterError
514
+ }
515
+ },
516
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
517
+ urlParameters: [
518
+ Parameters.$host,
519
+ Parameters.subscriptionId,
520
+ Parameters.resourceGroupName
521
+ ],
522
+ headerParameters: [Parameters.accept],
523
+ serializer
524
+ };
525
+ const listBySubscriptionOperationSpec = {
526
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
527
+ httpMethod: "GET",
528
+ responses: {
529
+ 200: {
530
+ bodyMapper: Mappers.CloudHsmClusterListResult
531
+ },
532
+ default: {
533
+ bodyMapper: Mappers.CloudHsmClusterError
534
+ }
535
+ },
536
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
537
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
538
+ headerParameters: [Parameters.accept],
539
+ serializer
540
+ };
541
+ const listByResourceGroupNextOperationSpec = {
542
+ path: "{nextLink}",
543
+ httpMethod: "GET",
544
+ responses: {
545
+ 200: {
546
+ bodyMapper: Mappers.CloudHsmClusterListResult
547
+ },
548
+ default: {
549
+ bodyMapper: Mappers.CloudHsmClusterError
550
+ }
551
+ },
552
+ urlParameters: [
553
+ Parameters.$host,
554
+ Parameters.subscriptionId,
555
+ Parameters.resourceGroupName,
556
+ Parameters.nextLink
557
+ ],
558
+ headerParameters: [Parameters.accept],
559
+ serializer
560
+ };
561
+ const listBySubscriptionNextOperationSpec = {
562
+ path: "{nextLink}",
563
+ httpMethod: "GET",
564
+ responses: {
565
+ 200: {
566
+ bodyMapper: Mappers.CloudHsmClusterListResult
567
+ },
568
+ default: {
569
+ bodyMapper: Mappers.CloudHsmClusterError
570
+ }
571
+ },
572
+ urlParameters: [
573
+ Parameters.$host,
574
+ Parameters.subscriptionId,
575
+ Parameters.nextLink
576
+ ],
577
+ headerParameters: [Parameters.accept],
578
+ serializer
579
+ };
580
+ //# sourceMappingURL=cloudHsmClusters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudHsmClusters.js","sourceRoot":"","sources":["../../../src/operations/cloudHsmClusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAoB3C,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,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,QAAu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AAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,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,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,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"}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { DedicatedHsmOperations } from "../operationsInterfaces";
3
- import { AzureDedicatedHSMResourceProvider } from "../azureDedicatedHSMResourceProvider";
4
- import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { AzureHSMResourceProvider } from "../azureHSMResourceProvider";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
5
  import { DedicatedHsm, DedicatedHsmListByResourceGroupOptionalParams, DedicatedHsmListBySubscriptionOptionalParams, OutboundEnvironmentEndpoint, DedicatedHsmListOutboundNetworkDependenciesEndpointsOptionalParams, DedicatedHsmCreateOrUpdateOptionalParams, DedicatedHsmCreateOrUpdateResponse, DedicatedHsmUpdateOptionalParams, DedicatedHsmUpdateResponse, DedicatedHsmDeleteOptionalParams, DedicatedHsmGetOptionalParams, DedicatedHsmGetResponse } from "../models";
6
6
  /** Class containing DedicatedHsmOperations operations. */
7
7
  export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperations {
@@ -10,7 +10,7 @@ export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperation
10
10
  * Initialize a new instance of the class DedicatedHsmOperations class.
11
11
  * @param client Reference to the service client
12
12
  */
13
- constructor(client: AzureDedicatedHSMResourceProvider);
13
+ constructor(client: AzureHSMResourceProvider);
14
14
  /**
15
15
  * The List operation gets information about the dedicated hsms associated with the subscription and
16
16
  * within the specified resource group.
@@ -44,7 +44,7 @@ export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperation
44
44
  * @param parameters Parameters to create or update the dedicated hsm
45
45
  * @param options The options parameters.
46
46
  */
47
- beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
47
+ beginCreateOrUpdate(resourceGroupName: string, name: string, parameters: DedicatedHsm, options?: DedicatedHsmCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DedicatedHsmCreateOrUpdateResponse>, DedicatedHsmCreateOrUpdateResponse>>;
48
48
  /**
49
49
  * Create or Update a dedicated HSM in the specified subscription.
50
50
  * @param resourceGroupName The name of the Resource Group to which the resource belongs.
@@ -59,7 +59,7 @@ export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperation
59
59
  * @param name Name of the dedicated HSM
60
60
  * @param options The options parameters.
61
61
  */
62
- beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
62
+ beginUpdate(resourceGroupName: string, name: string, options?: DedicatedHsmUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DedicatedHsmUpdateResponse>, DedicatedHsmUpdateResponse>>;
63
63
  /**
64
64
  * Update a dedicated HSM in the specified subscription.
65
65
  * @param resourceGroupName The name of the Resource Group to which the server belongs.
@@ -73,7 +73,7 @@ export declare class DedicatedHsmOperationsImpl implements DedicatedHsmOperation
73
73
  * @param name The name of the dedicated HSM to delete
74
74
  * @param options The options parameters.
75
75
  */
76
- beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
76
+ beginDelete(resourceGroupName: string, name: string, options?: DedicatedHsmDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
77
77
  /**
78
78
  * Deletes the specified Azure Dedicated HSM.
79
79
  * @param resourceGroupName The name of the Resource Group to which the dedicated HSM belongs.
@@ -1 +1 @@
1
- {"version":3,"file":"dedicatedHsmOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/dedicatedHsmOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,YAAY,EAEZ,6CAA6C,EAG7C,4CAA4C,EAE5C,2BAA2B,EAE3B,kEAAkE,EAElE,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,uBAAuB,EAIxB,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAA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