@azure/arm-confidentialledger 1.0.0

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 +1487 -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/checkNameAvailabilitySample.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +33 -0
  11. package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
  12. package/dist-esm/samples-dev/ledgerCreateSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/ledgerCreateSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/ledgerCreateSample.js +51 -0
  15. package/dist-esm/samples-dev/ledgerCreateSample.js.map +1 -0
  16. package/dist-esm/samples-dev/ledgerDeleteSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/ledgerDeleteSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/ledgerDeleteSample.js +31 -0
  19. package/dist-esm/samples-dev/ledgerDeleteSample.js.map +1 -0
  20. package/dist-esm/samples-dev/ledgerGetSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/ledgerGetSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/ledgerGetSample.js +31 -0
  23. package/dist-esm/samples-dev/ledgerGetSample.js.map +1 -0
  24. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +44 -0
  27. package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +43 -0
  31. package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/ledgerUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/ledgerUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/ledgerUpdateSample.js +54 -0
  35. package/dist-esm/samples-dev/ledgerUpdateSample.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 +43 -0
  39. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  40. package/dist-esm/src/confidentialLedgerClient.d.ts +28 -0
  41. package/dist-esm/src/confidentialLedgerClient.d.ts.map +1 -0
  42. package/dist-esm/src/confidentialLedgerClient.js +130 -0
  43. package/dist-esm/src/confidentialLedgerClient.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 +379 -0
  53. package/dist-esm/src/models/index.d.ts.map +1 -0
  54. package/dist-esm/src/models/index.js +47 -0
  55. package/dist-esm/src/models/index.js.map +1 -0
  56. package/dist-esm/src/models/mappers.d.ts +19 -0
  57. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  58. package/dist-esm/src/models/mappers.js +501 -0
  59. package/dist-esm/src/models/mappers.js.map +1 -0
  60. package/dist-esm/src/models/parameters.d.ts +13 -0
  61. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  62. package/dist-esm/src/models/parameters.js +118 -0
  63. package/dist-esm/src/models/parameters.js.map +1 -0
  64. package/dist-esm/src/operations/index.d.ts +3 -0
  65. package/dist-esm/src/operations/index.d.ts.map +1 -0
  66. package/dist-esm/src/operations/index.js +10 -0
  67. package/dist-esm/src/operations/index.js.map +1 -0
  68. package/dist-esm/src/operations/ledger.d.ts +107 -0
  69. package/dist-esm/src/operations/ledger.d.ts.map +1 -0
  70. package/dist-esm/src/operations/ledger.js +507 -0
  71. package/dist-esm/src/operations/ledger.js.map +1 -0
  72. package/dist-esm/src/operations/operations.d.ts +32 -0
  73. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operations.js +120 -0
  75. package/dist-esm/src/operations/operations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  77. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  79. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/ledger.d.ts +71 -0
  81. package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/ledger.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/ledger.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 +38 -0
  91. package/dist-esm/test/sampleTest.js.map +1 -0
  92. package/package.json +122 -0
  93. package/review/arm-confidentialledger.api.md +333 -0
  94. package/rollup.config.js +122 -0
  95. package/src/confidentialLedgerClient.ts +181 -0
  96. package/src/index.ts +12 -0
  97. package/src/lroImpl.ts +34 -0
  98. package/src/models/index.ts +442 -0
  99. package/src/models/mappers.ts +524 -0
  100. package/src/models/parameters.ts +137 -0
  101. package/src/operations/index.ts +10 -0
  102. package/src/operations/ledger.ts +674 -0
  103. package/src/operations/operations.ts +137 -0
  104. package/src/operationsInterfaces/index.ts +10 -0
  105. package/src/operationsInterfaces/ledger.ts +132 -0
  106. package/src/operationsInterfaces/operations.ts +25 -0
  107. package/tsconfig.json +33 -0
  108. package/types/arm-confidentialledger.d.ts +534 -0
  109. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,107 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Ledger } from "../operationsInterfaces";
3
+ import { ConfidentialLedgerClient } from "../confidentialLedgerClient";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { ConfidentialLedger, LedgerListByResourceGroupOptionalParams, LedgerListBySubscriptionOptionalParams, LedgerGetOptionalParams, LedgerGetResponse, LedgerDeleteOptionalParams, LedgerCreateOptionalParams, LedgerCreateResponse, LedgerUpdateOptionalParams, LedgerUpdateResponse } from "../models";
6
+ /** Class containing Ledger operations. */
7
+ export declare class LedgerImpl implements Ledger {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Ledger class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: ConfidentialLedgerClient);
14
+ /**
15
+ * Retrieves the properties of all Confidential Ledgers.
16
+ * @param resourceGroupName The name of the resource group.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, options?: LedgerListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
20
+ private listByResourceGroupPagingPage;
21
+ private listByResourceGroupPagingAll;
22
+ /**
23
+ * Retrieves the properties of all Confidential Ledgers.
24
+ * @param options The options parameters.
25
+ */
26
+ listBySubscription(options?: LedgerListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfidentialLedger>;
27
+ private listBySubscriptionPagingPage;
28
+ private listBySubscriptionPagingAll;
29
+ /**
30
+ * Retrieves the properties of a Confidential Ledger.
31
+ * @param resourceGroupName The name of the resource group.
32
+ * @param ledgerName Name of the Confidential Ledger
33
+ * @param options The options parameters.
34
+ */
35
+ get(resourceGroupName: string, ledgerName: string, options?: LedgerGetOptionalParams): Promise<LedgerGetResponse>;
36
+ /**
37
+ * Deletes an existing Confidential Ledger.
38
+ * @param resourceGroupName The name of the resource group.
39
+ * @param ledgerName Name of the Confidential Ledger
40
+ * @param options The options parameters.
41
+ */
42
+ beginDelete(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
43
+ /**
44
+ * Deletes an existing Confidential Ledger.
45
+ * @param resourceGroupName The name of the resource group.
46
+ * @param ledgerName Name of the Confidential Ledger
47
+ * @param options The options parameters.
48
+ */
49
+ beginDeleteAndWait(resourceGroupName: string, ledgerName: string, options?: LedgerDeleteOptionalParams): Promise<void>;
50
+ /**
51
+ * Creates a Confidential Ledger with the specified ledger parameters.
52
+ * @param resourceGroupName The name of the resource group.
53
+ * @param ledgerName Name of the Confidential Ledger
54
+ * @param confidentialLedger Confidential Ledger Create Request Body
55
+ * @param options The options parameters.
56
+ */
57
+ beginCreate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<PollerLike<PollOperationState<LedgerCreateResponse>, LedgerCreateResponse>>;
58
+ /**
59
+ * Creates a Confidential Ledger with the specified ledger parameters.
60
+ * @param resourceGroupName The name of the resource group.
61
+ * @param ledgerName Name of the Confidential Ledger
62
+ * @param confidentialLedger Confidential Ledger Create Request Body
63
+ * @param options The options parameters.
64
+ */
65
+ beginCreateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerCreateOptionalParams): Promise<LedgerCreateResponse>;
66
+ /**
67
+ * Updates properties of Confidential Ledger
68
+ * @param resourceGroupName The name of the resource group.
69
+ * @param ledgerName Name of the Confidential Ledger
70
+ * @param confidentialLedger Confidential Ledger request body for Updating Ledger
71
+ * @param options The options parameters.
72
+ */
73
+ beginUpdate(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<PollerLike<PollOperationState<LedgerUpdateResponse>, LedgerUpdateResponse>>;
74
+ /**
75
+ * Updates properties of Confidential Ledger
76
+ * @param resourceGroupName The name of the resource group.
77
+ * @param ledgerName Name of the Confidential Ledger
78
+ * @param confidentialLedger Confidential Ledger request body for Updating Ledger
79
+ * @param options The options parameters.
80
+ */
81
+ beginUpdateAndWait(resourceGroupName: string, ledgerName: string, confidentialLedger: ConfidentialLedger, options?: LedgerUpdateOptionalParams): Promise<LedgerUpdateResponse>;
82
+ /**
83
+ * Retrieves the properties of all Confidential Ledgers.
84
+ * @param resourceGroupName The name of the resource group.
85
+ * @param options The options parameters.
86
+ */
87
+ private _listByResourceGroup;
88
+ /**
89
+ * Retrieves the properties of all Confidential Ledgers.
90
+ * @param options The options parameters.
91
+ */
92
+ private _listBySubscription;
93
+ /**
94
+ * ListByResourceGroupNext
95
+ * @param resourceGroupName The name of the resource group.
96
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
97
+ * @param options The options parameters.
98
+ */
99
+ private _listByResourceGroupNext;
100
+ /**
101
+ * ListBySubscriptionNext
102
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
103
+ * @param options The options parameters.
104
+ */
105
+ private _listBySubscriptionNext;
106
+ }
107
+ //# sourceMappingURL=ledger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../../src/operations/ledger.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,wBAAwB,EAAE,M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U,EAAE,MAAM,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAC3E;IAsDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAUhC;;;;;;OAMG;IACG,WAAW,CACf,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;IAqDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAUhC;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -0,0 +1,507 @@
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 Ledger operations. */
16
+ export class LedgerImpl {
17
+ /**
18
+ * Initialize a new instance of the class Ledger class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Retrieves the properties of all Confidential Ledgers.
26
+ * @param resourceGroupName The name of the resource group.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName, options) {
30
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
40
+ }
41
+ };
42
+ }
43
+ listByResourceGroupPagingPage(resourceGroupName, options) {
44
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
45
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listByResourceGroupPagingAll(resourceGroupName, options) {
56
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
+ const page = _c.value;
61
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
62
+ }
63
+ }
64
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
+ finally {
66
+ try {
67
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
68
+ }
69
+ finally { if (e_1) throw e_1.error; }
70
+ }
71
+ });
72
+ }
73
+ /**
74
+ * Retrieves the properties of all Confidential Ledgers.
75
+ * @param options The options parameters.
76
+ */
77
+ listBySubscription(options) {
78
+ const iter = this.listBySubscriptionPagingAll(options);
79
+ return {
80
+ next() {
81
+ return iter.next();
82
+ },
83
+ [Symbol.asyncIterator]() {
84
+ return this;
85
+ },
86
+ byPage: () => {
87
+ return this.listBySubscriptionPagingPage(options);
88
+ }
89
+ };
90
+ }
91
+ listBySubscriptionPagingPage(options) {
92
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
93
+ let result = yield __await(this._listBySubscription(options));
94
+ yield yield __await(result.value || []);
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
98
+ continuationToken = result.nextLink;
99
+ yield yield __await(result.value || []);
100
+ }
101
+ });
102
+ }
103
+ listBySubscriptionPagingAll(options) {
104
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
105
+ var e_2, _a;
106
+ try {
107
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
108
+ const page = _c.value;
109
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
110
+ }
111
+ }
112
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
113
+ finally {
114
+ try {
115
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
116
+ }
117
+ finally { if (e_2) throw e_2.error; }
118
+ }
119
+ });
120
+ }
121
+ /**
122
+ * Retrieves the properties of a Confidential Ledger.
123
+ * @param resourceGroupName The name of the resource group.
124
+ * @param ledgerName Name of the Confidential Ledger
125
+ * @param options The options parameters.
126
+ */
127
+ get(resourceGroupName, ledgerName, options) {
128
+ return this.client.sendOperationRequest({ resourceGroupName, ledgerName, options }, getOperationSpec);
129
+ }
130
+ /**
131
+ * Deletes an existing Confidential Ledger.
132
+ * @param resourceGroupName The name of the resource group.
133
+ * @param ledgerName Name of the Confidential Ledger
134
+ * @param options The options parameters.
135
+ */
136
+ beginDelete(resourceGroupName, ledgerName, options) {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
139
+ return this.client.sendOperationRequest(args, spec);
140
+ });
141
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
142
+ var _a;
143
+ let currentRawResponse = undefined;
144
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
145
+ const callback = (rawResponse, flatResponse) => {
146
+ currentRawResponse = rawResponse;
147
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
148
+ };
149
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
150
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
151
+ return {
152
+ flatResponse,
153
+ rawResponse: {
154
+ statusCode: currentRawResponse.status,
155
+ body: currentRawResponse.parsedBody,
156
+ headers: currentRawResponse.headers.toJSON()
157
+ }
158
+ };
159
+ });
160
+ const lro = new LroImpl(sendOperation, { resourceGroupName, ledgerName, options }, deleteOperationSpec);
161
+ const poller = new LroEngine(lro, {
162
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
163
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
164
+ });
165
+ yield poller.poll();
166
+ return poller;
167
+ });
168
+ }
169
+ /**
170
+ * Deletes an existing Confidential Ledger.
171
+ * @param resourceGroupName The name of the resource group.
172
+ * @param ledgerName Name of the Confidential Ledger
173
+ * @param options The options parameters.
174
+ */
175
+ beginDeleteAndWait(resourceGroupName, ledgerName, options) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ const poller = yield this.beginDelete(resourceGroupName, ledgerName, options);
178
+ return poller.pollUntilDone();
179
+ });
180
+ }
181
+ /**
182
+ * Creates a Confidential Ledger with the specified ledger parameters.
183
+ * @param resourceGroupName The name of the resource group.
184
+ * @param ledgerName Name of the Confidential Ledger
185
+ * @param confidentialLedger Confidential Ledger Create Request Body
186
+ * @param options The options parameters.
187
+ */
188
+ beginCreate(resourceGroupName, ledgerName, confidentialLedger, options) {
189
+ return __awaiter(this, void 0, void 0, function* () {
190
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
191
+ return this.client.sendOperationRequest(args, spec);
192
+ });
193
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
194
+ var _a;
195
+ let currentRawResponse = undefined;
196
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
197
+ const callback = (rawResponse, flatResponse) => {
198
+ currentRawResponse = rawResponse;
199
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
200
+ };
201
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
202
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
203
+ return {
204
+ flatResponse,
205
+ rawResponse: {
206
+ statusCode: currentRawResponse.status,
207
+ body: currentRawResponse.parsedBody,
208
+ headers: currentRawResponse.headers.toJSON()
209
+ }
210
+ };
211
+ });
212
+ const lro = new LroImpl(sendOperation, { resourceGroupName, ledgerName, confidentialLedger, options }, createOperationSpec);
213
+ const poller = new LroEngine(lro, {
214
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
215
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
216
+ lroResourceLocationConfig: "azure-async-operation"
217
+ });
218
+ yield poller.poll();
219
+ return poller;
220
+ });
221
+ }
222
+ /**
223
+ * Creates a Confidential Ledger with the specified ledger parameters.
224
+ * @param resourceGroupName The name of the resource group.
225
+ * @param ledgerName Name of the Confidential Ledger
226
+ * @param confidentialLedger Confidential Ledger Create Request Body
227
+ * @param options The options parameters.
228
+ */
229
+ beginCreateAndWait(resourceGroupName, ledgerName, confidentialLedger, options) {
230
+ return __awaiter(this, void 0, void 0, function* () {
231
+ const poller = yield this.beginCreate(resourceGroupName, ledgerName, confidentialLedger, options);
232
+ return poller.pollUntilDone();
233
+ });
234
+ }
235
+ /**
236
+ * Updates properties of Confidential Ledger
237
+ * @param resourceGroupName The name of the resource group.
238
+ * @param ledgerName Name of the Confidential Ledger
239
+ * @param confidentialLedger Confidential Ledger request body for Updating Ledger
240
+ * @param options The options parameters.
241
+ */
242
+ beginUpdate(resourceGroupName, ledgerName, confidentialLedger, options) {
243
+ return __awaiter(this, void 0, void 0, function* () {
244
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
245
+ return this.client.sendOperationRequest(args, spec);
246
+ });
247
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
248
+ var _a;
249
+ let currentRawResponse = undefined;
250
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
251
+ const callback = (rawResponse, flatResponse) => {
252
+ currentRawResponse = rawResponse;
253
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
254
+ };
255
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
256
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
257
+ return {
258
+ flatResponse,
259
+ rawResponse: {
260
+ statusCode: currentRawResponse.status,
261
+ body: currentRawResponse.parsedBody,
262
+ headers: currentRawResponse.headers.toJSON()
263
+ }
264
+ };
265
+ });
266
+ const lro = new LroImpl(sendOperation, { resourceGroupName, ledgerName, confidentialLedger, options }, updateOperationSpec);
267
+ const poller = new LroEngine(lro, {
268
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
269
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
270
+ });
271
+ yield poller.poll();
272
+ return poller;
273
+ });
274
+ }
275
+ /**
276
+ * Updates properties of Confidential Ledger
277
+ * @param resourceGroupName The name of the resource group.
278
+ * @param ledgerName Name of the Confidential Ledger
279
+ * @param confidentialLedger Confidential Ledger request body for Updating Ledger
280
+ * @param options The options parameters.
281
+ */
282
+ beginUpdateAndWait(resourceGroupName, ledgerName, confidentialLedger, options) {
283
+ return __awaiter(this, void 0, void 0, function* () {
284
+ const poller = yield this.beginUpdate(resourceGroupName, ledgerName, confidentialLedger, options);
285
+ return poller.pollUntilDone();
286
+ });
287
+ }
288
+ /**
289
+ * Retrieves the properties of all Confidential Ledgers.
290
+ * @param resourceGroupName The name of the resource group.
291
+ * @param options The options parameters.
292
+ */
293
+ _listByResourceGroup(resourceGroupName, options) {
294
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
295
+ }
296
+ /**
297
+ * Retrieves the properties of all Confidential Ledgers.
298
+ * @param options The options parameters.
299
+ */
300
+ _listBySubscription(options) {
301
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
302
+ }
303
+ /**
304
+ * ListByResourceGroupNext
305
+ * @param resourceGroupName The name of the resource group.
306
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
307
+ * @param options The options parameters.
308
+ */
309
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
310
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
311
+ }
312
+ /**
313
+ * ListBySubscriptionNext
314
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
315
+ * @param options The options parameters.
316
+ */
317
+ _listBySubscriptionNext(nextLink, options) {
318
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
319
+ }
320
+ }
321
+ // Operation Specifications
322
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
323
+ const getOperationSpec = {
324
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}",
325
+ httpMethod: "GET",
326
+ responses: {
327
+ 200: {
328
+ bodyMapper: Mappers.ConfidentialLedger
329
+ },
330
+ default: {
331
+ bodyMapper: Mappers.ErrorResponse
332
+ }
333
+ },
334
+ queryParameters: [Parameters.apiVersion],
335
+ urlParameters: [
336
+ Parameters.$host,
337
+ Parameters.subscriptionId,
338
+ Parameters.resourceGroupName,
339
+ Parameters.ledgerName
340
+ ],
341
+ headerParameters: [Parameters.accept],
342
+ serializer
343
+ };
344
+ const deleteOperationSpec = {
345
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}",
346
+ httpMethod: "DELETE",
347
+ responses: {
348
+ 200: {},
349
+ 201: {},
350
+ 202: {},
351
+ 204: {},
352
+ default: {
353
+ bodyMapper: Mappers.ErrorResponse
354
+ }
355
+ },
356
+ queryParameters: [Parameters.apiVersion],
357
+ urlParameters: [
358
+ Parameters.$host,
359
+ Parameters.subscriptionId,
360
+ Parameters.resourceGroupName,
361
+ Parameters.ledgerName
362
+ ],
363
+ headerParameters: [Parameters.accept],
364
+ serializer
365
+ };
366
+ const createOperationSpec = {
367
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}",
368
+ httpMethod: "PUT",
369
+ responses: {
370
+ 200: {
371
+ bodyMapper: Mappers.ConfidentialLedger
372
+ },
373
+ 201: {
374
+ bodyMapper: Mappers.ConfidentialLedger
375
+ },
376
+ 202: {
377
+ bodyMapper: Mappers.ConfidentialLedger
378
+ },
379
+ 204: {
380
+ bodyMapper: Mappers.ConfidentialLedger
381
+ },
382
+ default: {
383
+ bodyMapper: Mappers.ErrorResponse
384
+ }
385
+ },
386
+ requestBody: Parameters.confidentialLedger,
387
+ queryParameters: [Parameters.apiVersion],
388
+ urlParameters: [
389
+ Parameters.$host,
390
+ Parameters.subscriptionId,
391
+ Parameters.resourceGroupName,
392
+ Parameters.ledgerName
393
+ ],
394
+ headerParameters: [Parameters.accept, Parameters.contentType],
395
+ mediaType: "json",
396
+ serializer
397
+ };
398
+ const updateOperationSpec = {
399
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}",
400
+ httpMethod: "PATCH",
401
+ responses: {
402
+ 200: {
403
+ bodyMapper: Mappers.ConfidentialLedger
404
+ },
405
+ 201: {
406
+ bodyMapper: Mappers.ConfidentialLedger
407
+ },
408
+ 202: {
409
+ bodyMapper: Mappers.ConfidentialLedger
410
+ },
411
+ 204: {
412
+ bodyMapper: Mappers.ConfidentialLedger
413
+ },
414
+ default: {
415
+ bodyMapper: Mappers.ErrorResponse
416
+ }
417
+ },
418
+ requestBody: Parameters.confidentialLedger,
419
+ queryParameters: [Parameters.apiVersion],
420
+ urlParameters: [
421
+ Parameters.$host,
422
+ Parameters.subscriptionId,
423
+ Parameters.resourceGroupName,
424
+ Parameters.ledgerName
425
+ ],
426
+ headerParameters: [Parameters.accept, Parameters.contentType],
427
+ mediaType: "json",
428
+ serializer
429
+ };
430
+ const listByResourceGroupOperationSpec = {
431
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers",
432
+ httpMethod: "GET",
433
+ responses: {
434
+ 200: {
435
+ bodyMapper: Mappers.ConfidentialLedgerList
436
+ },
437
+ default: {
438
+ bodyMapper: Mappers.ErrorResponse
439
+ }
440
+ },
441
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
442
+ urlParameters: [
443
+ Parameters.$host,
444
+ Parameters.subscriptionId,
445
+ Parameters.resourceGroupName
446
+ ],
447
+ headerParameters: [Parameters.accept],
448
+ serializer
449
+ };
450
+ const listBySubscriptionOperationSpec = {
451
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/ledgers/",
452
+ httpMethod: "GET",
453
+ responses: {
454
+ 200: {
455
+ bodyMapper: Mappers.ConfidentialLedgerList
456
+ },
457
+ default: {
458
+ bodyMapper: Mappers.ErrorResponse
459
+ }
460
+ },
461
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
462
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
463
+ headerParameters: [Parameters.accept],
464
+ serializer
465
+ };
466
+ const listByResourceGroupNextOperationSpec = {
467
+ path: "{nextLink}",
468
+ httpMethod: "GET",
469
+ responses: {
470
+ 200: {
471
+ bodyMapper: Mappers.ConfidentialLedgerList
472
+ },
473
+ default: {
474
+ bodyMapper: Mappers.ErrorResponse
475
+ }
476
+ },
477
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
478
+ urlParameters: [
479
+ Parameters.$host,
480
+ Parameters.nextLink,
481
+ Parameters.subscriptionId,
482
+ Parameters.resourceGroupName
483
+ ],
484
+ headerParameters: [Parameters.accept],
485
+ serializer
486
+ };
487
+ const listBySubscriptionNextOperationSpec = {
488
+ path: "{nextLink}",
489
+ httpMethod: "GET",
490
+ responses: {
491
+ 200: {
492
+ bodyMapper: Mappers.ConfidentialLedgerList
493
+ },
494
+ default: {
495
+ bodyMapper: Mappers.ErrorResponse
496
+ }
497
+ },
498
+ queryParameters: [Parameters.apiVersion, Parameters.filter],
499
+ urlParameters: [
500
+ Parameters.$host,
501
+ Parameters.nextLink,
502
+ Parameters.subscriptionId
503
+ ],
504
+ headerParameters: [Parameters.accept],
505
+ serializer
506
+ };
507
+ //# sourceMappingURL=ledger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ledger.js","sourceRoot":"","sources":["../../../src/operations/ledger.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoBrC,4CAA4C;AAC5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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,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,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"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { ConfidentialLedgerClient } from "../confidentialLedgerClient";
4
+ import { ResourceProviderOperationDefinition, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ConfidentialLedgerClient);
13
+ /**
14
+ * Retrieves a list of available API operations
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Retrieves a list of available API operations
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map