@azure/arm-confidentialledger 1.2.1-alpha.20230320.1 → 1.3.0-alpha.20230410.2

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 (94) hide show
  1. package/CHANGELOG.md +33 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +839 -90
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +1 -1
  8. package/dist-esm/samples-dev/ledgerCreateSample.js +1 -1
  9. package/dist-esm/samples-dev/ledgerDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/ledgerGetSample.js +1 -1
  11. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +1 -1
  12. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +1 -1
  13. package/dist-esm/samples-dev/ledgerUpdateSample.js +1 -1
  14. package/dist-esm/samples-dev/managedCcfCreateSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/managedCcfCreateSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/managedCcfCreateSample.js +58 -0
  17. package/dist-esm/samples-dev/managedCcfCreateSample.js.map +1 -0
  18. package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/managedCcfDeleteSample.js +40 -0
  21. package/dist-esm/samples-dev/managedCcfDeleteSample.js.map +1 -0
  22. package/dist-esm/samples-dev/managedCcfGetSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/managedCcfGetSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/managedCcfGetSample.js +40 -0
  25. package/dist-esm/samples-dev/managedCcfGetSample.js.map +1 -0
  26. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js +53 -0
  29. package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js.map +1 -0
  30. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts +2 -0
  31. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts.map +1 -0
  32. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js +51 -0
  33. package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js.map +1 -0
  34. package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/managedCcfUpdateSample.js +50 -0
  37. package/dist-esm/samples-dev/managedCcfUpdateSample.js.map +1 -0
  38. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  39. package/dist-esm/src/confidentialLedgerClient.d.ts +3 -3
  40. package/dist-esm/src/confidentialLedgerClient.d.ts.map +1 -1
  41. package/dist-esm/src/confidentialLedgerClient.js +5 -5
  42. package/dist-esm/src/confidentialLedgerClient.js.map +1 -1
  43. package/dist-esm/src/lroImpl.d.ts +6 -11
  44. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  45. package/dist-esm/src/lroImpl.js +12 -20
  46. package/dist-esm/src/lroImpl.js.map +1 -1
  47. package/dist-esm/src/models/index.d.ts +176 -13
  48. package/dist-esm/src/models/index.d.ts.map +1 -1
  49. package/dist-esm/src/models/index.js +22 -0
  50. package/dist-esm/src/models/index.js.map +1 -1
  51. package/dist-esm/src/models/mappers.d.ts +7 -1
  52. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  53. package/dist-esm/src/models/mappers.js +188 -16
  54. package/dist-esm/src/models/mappers.js.map +1 -1
  55. package/dist-esm/src/models/parameters.d.ts +2 -0
  56. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  57. package/dist-esm/src/models/parameters.js +23 -3
  58. package/dist-esm/src/models/parameters.js.map +1 -1
  59. package/dist-esm/src/operations/index.d.ts +1 -0
  60. package/dist-esm/src/operations/index.d.ts.map +1 -1
  61. package/dist-esm/src/operations/index.js +1 -0
  62. package/dist-esm/src/operations/index.js.map +1 -1
  63. package/dist-esm/src/operations/ledger.d.ts +14 -14
  64. package/dist-esm/src/operations/ledger.d.ts.map +1 -1
  65. package/dist-esm/src/operations/ledger.js +37 -25
  66. package/dist-esm/src/operations/ledger.js.map +1 -1
  67. package/dist-esm/src/operations/managedCCFOperations.d.ts +107 -0
  68. package/dist-esm/src/operations/managedCCFOperations.d.ts.map +1 -0
  69. package/dist-esm/src/operations/managedCCFOperations.js +532 -0
  70. package/dist-esm/src/operations/managedCCFOperations.js.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  73. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  75. package/dist-esm/src/operationsInterfaces/ledger.d.ts +12 -12
  76. package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +1 -1
  77. package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts +71 -0
  78. package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
  79. package/dist-esm/src/operationsInterfaces/managedCCFOperations.js +9 -0
  80. package/dist-esm/src/operationsInterfaces/managedCCFOperations.js.map +1 -0
  81. package/package.json +5 -5
  82. package/review/arm-confidentialledger.api.md +151 -11
  83. package/src/confidentialLedgerClient.ts +15 -6
  84. package/src/lroImpl.ts +31 -23
  85. package/src/models/index.ts +202 -14
  86. package/src/models/mappers.ts +202 -17
  87. package/src/models/parameters.ts +26 -3
  88. package/src/operations/index.ts +1 -0
  89. package/src/operations/ledger.ts +50 -40
  90. package/src/operations/managedCCFOperations.ts +696 -0
  91. package/src/operationsInterfaces/index.ts +1 -0
  92. package/src/operationsInterfaces/ledger.ts +12 -12
  93. package/src/operationsInterfaces/managedCCFOperations.ts +132 -0
  94. package/types/arm-confidentialledger.d.ts +284 -29
@@ -0,0 +1,532 @@
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 ManagedCCFOperations operations. */
17
+ export class ManagedCCFOperationsImpl {
18
+ /**
19
+ * Initialize a new instance of the class ManagedCCFOperations class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Retrieves the properties of all Managed CCF apps.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
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: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
44
+ }
45
+ };
46
+ }
47
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
48
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ setContinuationToken(page, continuationToken);
56
+ yield yield __await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield yield __await(page);
64
+ }
65
+ });
66
+ }
67
+ listByResourceGroupPagingAll(resourceGroupName, options) {
68
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
69
+ var e_1, _a;
70
+ try {
71
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
72
+ const page = _c.value;
73
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
+ }
75
+ }
76
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
+ finally {
78
+ try {
79
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
80
+ }
81
+ finally { if (e_1) throw e_1.error; }
82
+ }
83
+ });
84
+ }
85
+ /**
86
+ * Retrieves the properties of all Managed CCF.
87
+ * @param options The options parameters.
88
+ */
89
+ listBySubscription(options) {
90
+ const iter = this.listBySubscriptionPagingAll(options);
91
+ return {
92
+ next() {
93
+ return iter.next();
94
+ },
95
+ [Symbol.asyncIterator]() {
96
+ return this;
97
+ },
98
+ byPage: (settings) => {
99
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
100
+ throw new Error("maxPageSize is not supported by this operation.");
101
+ }
102
+ return this.listBySubscriptionPagingPage(options, settings);
103
+ }
104
+ };
105
+ }
106
+ listBySubscriptionPagingPage(options, settings) {
107
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
108
+ let result;
109
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
+ if (!continuationToken) {
111
+ result = yield __await(this._listBySubscription(options));
112
+ let page = result.value || [];
113
+ continuationToken = result.nextLink;
114
+ setContinuationToken(page, continuationToken);
115
+ yield yield __await(page);
116
+ }
117
+ while (continuationToken) {
118
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
119
+ continuationToken = result.nextLink;
120
+ let page = result.value || [];
121
+ setContinuationToken(page, continuationToken);
122
+ yield yield __await(page);
123
+ }
124
+ });
125
+ }
126
+ listBySubscriptionPagingAll(options) {
127
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
128
+ var e_2, _a;
129
+ try {
130
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
131
+ const page = _c.value;
132
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
133
+ }
134
+ }
135
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
136
+ finally {
137
+ try {
138
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
139
+ }
140
+ finally { if (e_2) throw e_2.error; }
141
+ }
142
+ });
143
+ }
144
+ /**
145
+ * Retrieves the properties of a Managed CCF app.
146
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
147
+ * @param appName Name of the Managed CCF
148
+ * @param options The options parameters.
149
+ */
150
+ get(resourceGroupName, appName, options) {
151
+ return this.client.sendOperationRequest({ resourceGroupName, appName, options }, getOperationSpec);
152
+ }
153
+ /**
154
+ * Deletes an existing Managed CCF.
155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
156
+ * @param appName Name of the Managed CCF
157
+ * @param options The options parameters.
158
+ */
159
+ beginDelete(resourceGroupName, appName, options) {
160
+ return __awaiter(this, void 0, void 0, function* () {
161
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
162
+ return this.client.sendOperationRequest(args, spec);
163
+ });
164
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
165
+ var _a;
166
+ let currentRawResponse = undefined;
167
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
168
+ const callback = (rawResponse, flatResponse) => {
169
+ currentRawResponse = rawResponse;
170
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
171
+ };
172
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
173
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
174
+ return {
175
+ flatResponse,
176
+ rawResponse: {
177
+ statusCode: currentRawResponse.status,
178
+ body: currentRawResponse.parsedBody,
179
+ headers: currentRawResponse.headers.toJSON()
180
+ }
181
+ };
182
+ });
183
+ const lro = createLroSpec({
184
+ sendOperationFn,
185
+ args: { resourceGroupName, appName, options },
186
+ spec: deleteOperationSpec
187
+ });
188
+ const poller = yield createHttpPoller(lro, {
189
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
190
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
191
+ });
192
+ yield poller.poll();
193
+ return poller;
194
+ });
195
+ }
196
+ /**
197
+ * Deletes an existing Managed CCF.
198
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
199
+ * @param appName Name of the Managed CCF
200
+ * @param options The options parameters.
201
+ */
202
+ beginDeleteAndWait(resourceGroupName, appName, options) {
203
+ return __awaiter(this, void 0, void 0, function* () {
204
+ const poller = yield this.beginDelete(resourceGroupName, appName, options);
205
+ return poller.pollUntilDone();
206
+ });
207
+ }
208
+ /**
209
+ * Creates a Managed CCF with the specified Managed CCF parameters.
210
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
211
+ * @param appName Name of the Managed CCF
212
+ * @param managedCCF Managed CCF Create Request Body
213
+ * @param options The options parameters.
214
+ */
215
+ beginCreate(resourceGroupName, appName, managedCCF, options) {
216
+ return __awaiter(this, void 0, void 0, function* () {
217
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
218
+ return this.client.sendOperationRequest(args, spec);
219
+ });
220
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
221
+ var _a;
222
+ let currentRawResponse = undefined;
223
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
224
+ const callback = (rawResponse, flatResponse) => {
225
+ currentRawResponse = rawResponse;
226
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
227
+ };
228
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
229
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
230
+ return {
231
+ flatResponse,
232
+ rawResponse: {
233
+ statusCode: currentRawResponse.status,
234
+ body: currentRawResponse.parsedBody,
235
+ headers: currentRawResponse.headers.toJSON()
236
+ }
237
+ };
238
+ });
239
+ const lro = createLroSpec({
240
+ sendOperationFn,
241
+ args: { resourceGroupName, appName, managedCCF, options },
242
+ spec: createOperationSpec
243
+ });
244
+ const poller = yield createHttpPoller(lro, {
245
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
246
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
247
+ resourceLocationConfig: "azure-async-operation"
248
+ });
249
+ yield poller.poll();
250
+ return poller;
251
+ });
252
+ }
253
+ /**
254
+ * Creates a Managed CCF with the specified Managed CCF parameters.
255
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
256
+ * @param appName Name of the Managed CCF
257
+ * @param managedCCF Managed CCF Create Request Body
258
+ * @param options The options parameters.
259
+ */
260
+ beginCreateAndWait(resourceGroupName, appName, managedCCF, options) {
261
+ return __awaiter(this, void 0, void 0, function* () {
262
+ const poller = yield this.beginCreate(resourceGroupName, appName, managedCCF, options);
263
+ return poller.pollUntilDone();
264
+ });
265
+ }
266
+ /**
267
+ * Updates properties of Managed CCF
268
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
269
+ * @param appName Name of the Managed CCF
270
+ * @param managedCCF Request body for Updating Managed CCF App
271
+ * @param options The options parameters.
272
+ */
273
+ beginUpdate(resourceGroupName, appName, managedCCF, options) {
274
+ return __awaiter(this, void 0, void 0, function* () {
275
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
276
+ return this.client.sendOperationRequest(args, spec);
277
+ });
278
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
279
+ var _a;
280
+ let currentRawResponse = undefined;
281
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
282
+ const callback = (rawResponse, flatResponse) => {
283
+ currentRawResponse = rawResponse;
284
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
285
+ };
286
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
287
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
288
+ return {
289
+ flatResponse,
290
+ rawResponse: {
291
+ statusCode: currentRawResponse.status,
292
+ body: currentRawResponse.parsedBody,
293
+ headers: currentRawResponse.headers.toJSON()
294
+ }
295
+ };
296
+ });
297
+ const lro = createLroSpec({
298
+ sendOperationFn,
299
+ args: { resourceGroupName, appName, managedCCF, options },
300
+ spec: updateOperationSpec
301
+ });
302
+ const poller = yield createHttpPoller(lro, {
303
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
304
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
305
+ });
306
+ yield poller.poll();
307
+ return poller;
308
+ });
309
+ }
310
+ /**
311
+ * Updates properties of Managed CCF
312
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
313
+ * @param appName Name of the Managed CCF
314
+ * @param managedCCF Request body for Updating Managed CCF App
315
+ * @param options The options parameters.
316
+ */
317
+ beginUpdateAndWait(resourceGroupName, appName, managedCCF, options) {
318
+ return __awaiter(this, void 0, void 0, function* () {
319
+ const poller = yield this.beginUpdate(resourceGroupName, appName, managedCCF, options);
320
+ return poller.pollUntilDone();
321
+ });
322
+ }
323
+ /**
324
+ * Retrieves the properties of all Managed CCF apps.
325
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
326
+ * @param options The options parameters.
327
+ */
328
+ _listByResourceGroup(resourceGroupName, options) {
329
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
330
+ }
331
+ /**
332
+ * Retrieves the properties of all Managed CCF.
333
+ * @param options The options parameters.
334
+ */
335
+ _listBySubscription(options) {
336
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
337
+ }
338
+ /**
339
+ * ListByResourceGroupNext
340
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
341
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
342
+ * @param options The options parameters.
343
+ */
344
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
345
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
346
+ }
347
+ /**
348
+ * ListBySubscriptionNext
349
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
350
+ * @param options The options parameters.
351
+ */
352
+ _listBySubscriptionNext(nextLink, options) {
353
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
354
+ }
355
+ }
356
+ // Operation Specifications
357
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
358
+ const getOperationSpec = {
359
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}",
360
+ httpMethod: "GET",
361
+ responses: {
362
+ 200: {
363
+ bodyMapper: Mappers.ManagedCCF
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.appName
375
+ ],
376
+ headerParameters: [Parameters.accept],
377
+ serializer
378
+ };
379
+ const deleteOperationSpec = {
380
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}",
381
+ httpMethod: "DELETE",
382
+ responses: {
383
+ 200: {},
384
+ 201: {},
385
+ 202: {},
386
+ 204: {},
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.appName
397
+ ],
398
+ headerParameters: [Parameters.accept],
399
+ serializer
400
+ };
401
+ const createOperationSpec = {
402
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}",
403
+ httpMethod: "PUT",
404
+ responses: {
405
+ 200: {
406
+ bodyMapper: Mappers.ManagedCCF
407
+ },
408
+ 201: {
409
+ bodyMapper: Mappers.ManagedCCF
410
+ },
411
+ 202: {
412
+ bodyMapper: Mappers.ManagedCCF
413
+ },
414
+ 204: {
415
+ bodyMapper: Mappers.ManagedCCF
416
+ },
417
+ default: {
418
+ bodyMapper: Mappers.ErrorResponse
419
+ }
420
+ },
421
+ requestBody: Parameters.managedCCF,
422
+ queryParameters: [Parameters.apiVersion],
423
+ urlParameters: [
424
+ Parameters.$host,
425
+ Parameters.subscriptionId,
426
+ Parameters.resourceGroupName,
427
+ Parameters.appName
428
+ ],
429
+ headerParameters: [Parameters.accept, Parameters.contentType],
430
+ mediaType: "json",
431
+ serializer
432
+ };
433
+ const updateOperationSpec = {
434
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}",
435
+ httpMethod: "PATCH",
436
+ responses: {
437
+ 200: {},
438
+ 201: {},
439
+ 202: {},
440
+ 204: {},
441
+ default: {
442
+ bodyMapper: Mappers.ErrorResponse
443
+ }
444
+ },
445
+ requestBody: Parameters.managedCCF,
446
+ queryParameters: [Parameters.apiVersion],
447
+ urlParameters: [
448
+ Parameters.$host,
449
+ Parameters.subscriptionId,
450
+ Parameters.resourceGroupName,
451
+ Parameters.appName
452
+ ],
453
+ headerParameters: [Parameters.accept, Parameters.contentType],
454
+ mediaType: "json",
455
+ serializer
456
+ };
457
+ const listByResourceGroupOperationSpec = {
458
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs",
459
+ httpMethod: "GET",
460
+ responses: {
461
+ 200: {
462
+ bodyMapper: Mappers.ManagedCCFList
463
+ },
464
+ default: {
465
+ bodyMapper: Mappers.ErrorResponse
466
+ }
467
+ },
468
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
469
+ urlParameters: [
470
+ Parameters.$host,
471
+ Parameters.subscriptionId,
472
+ Parameters.resourceGroupName
473
+ ],
474
+ headerParameters: [Parameters.accept],
475
+ serializer
476
+ };
477
+ const listBySubscriptionOperationSpec = {
478
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/managedCCFs/",
479
+ httpMethod: "GET",
480
+ responses: {
481
+ 200: {
482
+ bodyMapper: Mappers.ManagedCCFList
483
+ },
484
+ default: {
485
+ bodyMapper: Mappers.ErrorResponse
486
+ }
487
+ },
488
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
489
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
490
+ headerParameters: [Parameters.accept],
491
+ serializer
492
+ };
493
+ const listByResourceGroupNextOperationSpec = {
494
+ path: "{nextLink}",
495
+ httpMethod: "GET",
496
+ responses: {
497
+ 200: {
498
+ bodyMapper: Mappers.ManagedCCFList
499
+ },
500
+ default: {
501
+ bodyMapper: Mappers.ErrorResponse
502
+ }
503
+ },
504
+ urlParameters: [
505
+ Parameters.$host,
506
+ Parameters.nextLink,
507
+ Parameters.subscriptionId,
508
+ Parameters.resourceGroupName
509
+ ],
510
+ headerParameters: [Parameters.accept],
511
+ serializer
512
+ };
513
+ const listBySubscriptionNextOperationSpec = {
514
+ path: "{nextLink}",
515
+ httpMethod: "GET",
516
+ responses: {
517
+ 200: {
518
+ bodyMapper: Mappers.ManagedCCFList
519
+ },
520
+ default: {
521
+ bodyMapper: Mappers.ErrorResponse
522
+ }
523
+ },
524
+ urlParameters: [
525
+ Parameters.$host,
526
+ Parameters.nextLink,
527
+ Parameters.subscriptionId
528
+ ],
529
+ headerParameters: [Parameters.accept],
530
+ serializer
531
+ };
532
+ //# sourceMappingURL=managedCCFOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managedCCFOperations.js","sourceRoot":"","sources":["../../../src/operations/managedCCFOperations.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;AAmB3C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,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,QAAuB,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,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./operations";
2
2
  export * from "./ledger";
3
+ export * from "./managedCCFOperations";
3
4
  //# 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,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC"}
@@ -7,4 +7,5 @@
7
7
  */
8
8
  export * from "./operations";
9
9
  export * from "./ledger";
10
+ export * from "./managedCCFOperations";
10
11
  //# 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,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { ConfidentialLedger, LedgerListByResourceGroupOptionalParams, LedgerListBySubscriptionOptionalParams, LedgerGetOptionalParams, LedgerGetResponse, LedgerDeleteOptionalParams, LedgerCreateOptionalParams, LedgerCreateResponse, LedgerUpdateOptionalParams, LedgerUpdateResponse } from "../models";
4
4
  /** Interface representing a Ledger. */
5
5
  export interface Ledger {
6
6
  /**
7
7
  * Retrieves the properties of all Confidential Ledgers.
8
- * @param resourceGroupName The name of the resource group.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
9
  * @param options The options parameters.
10
10
  */
11
11
  listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
@@ -16,36 +16,36 @@ export interface Ledger {
16
16
  listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
17
17
  /**
18
18
  * Retrieves the properties of a Confidential Ledger.
19
- * @param resourceGroupName The name of the resource group.
19
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
20
20
  * @param ledgerName Name of the Confidential Ledger
21
21
  * @param options The options parameters.
22
22
  */
23
23
  get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
24
24
  /**
25
25
  * Deletes an existing Confidential Ledger.
26
- * @param resourceGroupName The name of the resource group.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
27
  * @param ledgerName Name of the Confidential Ledger
28
28
  * @param options The options parameters.
29
29
  */
30
- beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
30
+ beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
31
31
  /**
32
32
  * Deletes an existing Confidential Ledger.
33
- * @param resourceGroupName The name of the resource group.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
34
  * @param ledgerName Name of the Confidential Ledger
35
35
  * @param options The options parameters.
36
36
  */
37
37
  beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
38
38
  /**
39
39
  * Creates a Confidential Ledger with the specified ledger parameters.
40
- * @param resourceGroupName The name of the resource group.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
41
  * @param ledgerName Name of the Confidential Ledger
42
42
  * @param confidentialLedger Confidential Ledger Create Request Body
43
43
  * @param options The options parameters.
44
44
  */
45
- beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<PollerLike<PollOperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
45
+ beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
46
46
  /**
47
47
  * Creates a Confidential Ledger with the specified ledger parameters.
48
- * @param resourceGroupName The name of the resource group.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
49
  * @param ledgerName Name of the Confidential Ledger
50
50
  * @param confidentialLedger Confidential Ledger Create Request Body
51
51
  * @param options The options parameters.
@@ -53,15 +53,15 @@ export interface Ledger {
53
53
  beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
54
54
  /**
55
55
  * Updates properties of Confidential Ledger
56
- * @param resourceGroupName The name of the resource group.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
57
  * @param ledgerName Name of the Confidential Ledger
58
58
  * @param confidentialLedger Confidential Ledger request body for Updating Ledger
59
59
  * @param options The options parameters.
60
60
  */
61
- beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<PollerLike<PollOperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
61
+ beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
62
62
  /**
63
63
  * Updates properties of Confidential Ledger
64
- * @param resourceGroupName The name of the resource group.
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
65
  * @param ledgerName Name of the Confidential Ledger
66
66
  * @param confidentialLedger Confidential Ledger request body for Updating Ledger
67
67
  * @param options The options parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ledger.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,kBAAkB,EAClB,uCAAuC,EACvC,sCAAsC,EACtC,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,E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,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAC3E,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClC"}
1
+ {"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ledger.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,kBAAkB,EAClB,uCAAuC,EACvC,sCAAsC,EACtC,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAGnB,uCAAuC;AACvC,MAAM,WAAW,MAAM;IACrB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,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