@azure/arm-confidentialledger 1.3.0-alpha.20250619.1 → 1.3.0-alpha.20250718.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.
- package/dist/browser/confidentialLedgerClient.js +16 -5
- package/dist/browser/confidentialLedgerClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +17 -7
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/ledger.js +100 -109
- package/dist/browser/operations/ledger.js.map +1 -1
- package/dist/browser/operations/managedCCFOperations.js +100 -109
- package/dist/browser/operations/managedCCFOperations.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/confidentialLedgerClient.js +16 -5
- package/dist/commonjs/confidentialLedgerClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +17 -7
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/ledger.js +100 -108
- package/dist/commonjs/operations/ledger.js.map +1 -1
- package/dist/commonjs/operations/managedCCFOperations.js +100 -108
- package/dist/commonjs/operations/managedCCFOperations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/confidentialLedgerClient.js +16 -5
- package/dist/esm/confidentialLedgerClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +17 -7
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/ledger.js +100 -109
- package/dist/esm/operations/ledger.js.map +1 -1
- package/dist/esm/operations/managedCCFOperations.js +100 -109
- package/dist/esm/operations/managedCCFOperations.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/confidentialLedgerClient.js +16 -5
- package/dist/react-native/confidentialLedgerClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +17 -7
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/ledger.js +100 -109
- package/dist/react-native/operations/ledger.js.map +1 -1
- package/dist/react-native/operations/managedCCFOperations.js +100 -109
- package/dist/react-native/operations/managedCCFOperations.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-confidentialledger.api.md → arm-confidentialledger-node.api.md} +0 -0
@@ -5,7 +5,6 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
10
9
|
import * as coreClient from "@azure/core-client";
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
14
13
|
/** Class containing Operations operations. */
|
15
14
|
export class OperationsImpl {
|
15
|
+
client;
|
16
16
|
/**
|
17
17
|
* Initialize a new instance of the class Operations class.
|
18
18
|
* @param client Reference to the service client
|
@@ -34,52 +34,35 @@ export class OperationsImpl {
|
|
34
34
|
return this;
|
35
35
|
},
|
36
36
|
byPage: (settings) => {
|
37
|
-
if (settings
|
37
|
+
if (settings?.maxPageSize) {
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
39
39
|
}
|
40
40
|
return this.listPagingPage(options, settings);
|
41
41
|
},
|
42
42
|
};
|
43
43
|
}
|
44
|
-
listPagingPage(options, settings) {
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
});
|
44
|
+
async *listPagingPage(options, settings) {
|
45
|
+
let result;
|
46
|
+
let continuationToken = settings?.continuationToken;
|
47
|
+
if (!continuationToken) {
|
48
|
+
result = await this._list(options);
|
49
|
+
let page = result.value || [];
|
50
|
+
continuationToken = result.nextLink;
|
51
|
+
setContinuationToken(page, continuationToken);
|
52
|
+
yield page;
|
53
|
+
}
|
54
|
+
while (continuationToken) {
|
55
|
+
result = await this._listNext(continuationToken, options);
|
56
|
+
continuationToken = result.nextLink;
|
57
|
+
let page = result.value || [];
|
58
|
+
setContinuationToken(page, continuationToken);
|
59
|
+
yield page;
|
60
|
+
}
|
63
61
|
}
|
64
|
-
listPagingAll(options) {
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
69
|
-
_c = _f.value;
|
70
|
-
_d = false;
|
71
|
-
const page = _c;
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
73
|
-
}
|
74
|
-
}
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
76
|
-
finally {
|
77
|
-
try {
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
79
|
-
}
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
81
|
-
}
|
82
|
-
});
|
62
|
+
async *listPagingAll(options) {
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
64
|
+
yield* page;
|
65
|
+
}
|
83
66
|
}
|
84
67
|
/**
|
85
68
|
* Retrieves a list of available API operations
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC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AAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ConfidentialLedgerClient } from \"../confidentialLedgerClient.js\";\nimport {\n ResourceProviderOperationDefinition,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ConfidentialLedgerClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ConfidentialLedgerClient) {\n this.client = client;\n }\n\n /**\n * Retrieves a list of available API operations\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceProviderOperationDefinition> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceProviderOperationDefinition[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<ResourceProviderOperationDefinition> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves a list of available API operations\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ConfidentialLedger/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceProviderOperationList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceProviderOperationList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
|
|
14
14
|
* @returns The continuation token that can be passed into byPage() during future calls.
|
15
15
|
*/
|
16
16
|
export function getContinuationToken(page) {
|
17
|
-
var _a;
|
18
17
|
if (typeof page !== "object" || page === null) {
|
19
18
|
return undefined;
|
20
19
|
}
|
21
|
-
return
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
22
21
|
}
|
23
22
|
export function setContinuationToken(page, continuationToken) {
|
24
|
-
var _a;
|
25
23
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
26
24
|
return;
|
27
25
|
}
|
28
|
-
const pageInfo =
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
29
27
|
pageInfo.continuationToken = continuationToken;
|
30
28
|
pageMap.set(page, pageInfo);
|
31
29
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -15,6 +15,9 @@ const index_js_1 = require("./operations/index.js");
|
|
15
15
|
const Parameters = tslib_1.__importStar(require("./models/parameters.js"));
|
16
16
|
const Mappers = tslib_1.__importStar(require("./models/mappers.js"));
|
17
17
|
class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
18
|
+
$host;
|
19
|
+
apiVersion;
|
20
|
+
subscriptionId;
|
18
21
|
/**
|
19
22
|
* Initializes a new instance of the ConfidentialLedgerClient class.
|
20
23
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
@@ -22,7 +25,6 @@ class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
22
25
|
* @param options The parameter options
|
23
26
|
*/
|
24
27
|
constructor(credentials, subscriptionId, options) {
|
25
|
-
var _a, _b, _c;
|
26
28
|
if (credentials === undefined) {
|
27
29
|
throw new Error("'credentials' cannot be null");
|
28
30
|
}
|
@@ -41,12 +43,17 @@ class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
41
43
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
42
44
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
43
45
|
: `${packageDetails}`;
|
44
|
-
const optionsWithDefaults =
|
46
|
+
const optionsWithDefaults = {
|
47
|
+
...defaults,
|
48
|
+
...options,
|
49
|
+
userAgentOptions: {
|
45
50
|
userAgentPrefix,
|
46
|
-
},
|
51
|
+
},
|
52
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
53
|
+
};
|
47
54
|
super(optionsWithDefaults);
|
48
55
|
let bearerTokenAuthenticationPolicyFound = false;
|
49
|
-
if (
|
56
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
50
57
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
51
58
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
52
59
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
@@ -60,7 +67,8 @@ class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
60
67
|
});
|
61
68
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
62
69
|
credential: credentials,
|
63
|
-
scopes:
|
70
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
71
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
64
72
|
challengeCallbacks: {
|
65
73
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
66
74
|
},
|
@@ -109,6 +117,9 @@ class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
|
109
117
|
checkNameAvailability(nameAvailabilityRequest, options) {
|
110
118
|
return this.sendOperationRequest({ nameAvailabilityRequest, options }, checkNameAvailabilityOperationSpec);
|
111
119
|
}
|
120
|
+
operations;
|
121
|
+
ledger;
|
122
|
+
managedCCFOperations;
|
112
123
|
}
|
113
124
|
exports.ConfidentialLedgerClient = ConfidentialLedgerClient;
|
114
125
|
// Operation Specifications
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"confidentialLedgerClient.js","sourceRoot":"","sources":["../../src/confidentialLedgerClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAI+B;AAM/B,2EAAqD;AACrD,qEAA+C;AAQ/C,MAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAKpE;;;;;OAKG;IAC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AAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,uBAAuB;IAC/C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n LedgerImpl,\n ManagedCCFOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Ledger,\n ManagedCCFOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ConfidentialLedgerClientOptionalParams,\n CheckNameAvailabilityRequest,\n CheckNameAvailabilityOptionalParams,\n CheckNameAvailabilityOperationResponse,\n} from \"./models/index.js\";\n\nexport class ConfidentialLedgerClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ConfidentialLedgerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ConfidentialLedgerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ConfidentialLedgerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-confidentialledger/1.3.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-09-19-preview\";\n this.operations = new OperationsImpl(this);\n this.ledger = new LedgerImpl(this);\n this.managedCCFOperations = new ManagedCCFOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * To check whether a resource name is available.\n * @param nameAvailabilityRequest Name availability request payload.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: CheckNameAvailabilityOptionalParams,\n ): Promise<CheckNameAvailabilityOperationResponse> {\n return this.sendOperationRequest(\n { nameAvailabilityRequest, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n operations: Operations;\n ledger: Ledger;\n managedCCFOperations: ManagedCCFOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.nameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
1
|
+
{"version":3,"file":"confidentialLedgerClient.js","sourceRoot":"","sources":["../../src/confidentialLedgerClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAI+B;AAM/B,2EAAqD;AACrD,qEAA+C;AAQ/C,MAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgD;QAEhD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA2C;YACvD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,8CAA8C,CAAC;QACtE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,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AAE,EACpC,kCAAkC,CACnC,CAAC;IACJ,CAAC;IAED,UAAU,CAAa;IACvB,MAAM,CAAS;IACf,oBAAoB,CAAuB;CAC5C;AA3ID,4DA2IC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,uBAAuB;IAC/C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n LedgerImpl,\n ManagedCCFOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Ledger,\n ManagedCCFOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ConfidentialLedgerClientOptionalParams,\n CheckNameAvailabilityRequest,\n CheckNameAvailabilityOptionalParams,\n CheckNameAvailabilityOperationResponse,\n} from \"./models/index.js\";\n\nexport class ConfidentialLedgerClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ConfidentialLedgerClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ConfidentialLedgerClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ConfidentialLedgerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-confidentialledger/1.3.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-09-19-preview\";\n this.operations = new OperationsImpl(this);\n this.ledger = new LedgerImpl(this);\n this.managedCCFOperations = new ManagedCCFOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * To check whether a resource name is available.\n * @param nameAvailabilityRequest Name availability request payload.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: CheckNameAvailabilityOptionalParams,\n ): Promise<CheckNameAvailabilityOperationResponse> {\n return this.sendOperationRequest(\n { nameAvailabilityRequest, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n operations: Operations;\n ledger: Ledger;\n managedCCFOperations: ManagedCCFOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.nameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
package/dist/commonjs/lroImpl.js
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
*/
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
10
10
|
exports.createLroSpec = createLroSpec;
|
11
|
-
const tslib_1 = require("tslib");
|
12
11
|
function createLroSpec(inputs) {
|
13
12
|
const { args, spec, sendOperationFn } = inputs;
|
14
13
|
return {
|
@@ -16,8 +15,13 @@ function createLroSpec(inputs) {
|
|
16
15
|
requestPath: spec.path,
|
17
16
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
18
17
|
sendPollRequest: (path, options) => {
|
19
|
-
const { requestBody
|
20
|
-
return sendOperationFn(args,
|
18
|
+
const { requestBody, ...restSpec } = spec;
|
19
|
+
return sendOperationFn(args, {
|
20
|
+
...restSpec,
|
21
|
+
httpMethod: "GET",
|
22
|
+
path,
|
23
|
+
abortSignal: options?.abortSignal,
|
24
|
+
});
|
21
25
|
},
|
22
26
|
};
|
23
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCA2BC
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCA2BC;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
@@ -844,45 +844,55 @@ exports.TrackedResource = {
|
|
844
844
|
type: {
|
845
845
|
name: "Composite",
|
846
846
|
className: "TrackedResource",
|
847
|
-
modelProperties:
|
847
|
+
modelProperties: {
|
848
|
+
...exports.Resource.type.modelProperties,
|
849
|
+
tags: {
|
848
850
|
serializedName: "tags",
|
849
851
|
type: {
|
850
852
|
name: "Dictionary",
|
851
853
|
value: { type: { name: "String" } },
|
852
854
|
},
|
853
|
-
},
|
855
|
+
},
|
856
|
+
location: {
|
854
857
|
serializedName: "location",
|
855
858
|
required: true,
|
856
859
|
type: {
|
857
860
|
name: "String",
|
858
861
|
},
|
859
|
-
}
|
862
|
+
},
|
863
|
+
},
|
860
864
|
},
|
861
865
|
};
|
862
866
|
exports.ConfidentialLedger = {
|
863
867
|
type: {
|
864
868
|
name: "Composite",
|
865
869
|
className: "ConfidentialLedger",
|
866
|
-
modelProperties:
|
870
|
+
modelProperties: {
|
871
|
+
...exports.TrackedResource.type.modelProperties,
|
872
|
+
properties: {
|
867
873
|
serializedName: "properties",
|
868
874
|
type: {
|
869
875
|
name: "Composite",
|
870
876
|
className: "LedgerProperties",
|
871
877
|
},
|
872
|
-
}
|
878
|
+
},
|
879
|
+
},
|
873
880
|
},
|
874
881
|
};
|
875
882
|
exports.ManagedCCF = {
|
876
883
|
type: {
|
877
884
|
name: "Composite",
|
878
885
|
className: "ManagedCCF",
|
879
|
-
modelProperties:
|
886
|
+
modelProperties: {
|
887
|
+
...exports.TrackedResource.type.modelProperties,
|
888
|
+
properties: {
|
880
889
|
serializedName: "properties",
|
881
890
|
type: {
|
882
891
|
name: "Composite",
|
883
892
|
className: "ManagedCCFProperties",
|
884
893
|
},
|
885
|
-
}
|
894
|
+
},
|
895
|
+
},
|
886
896
|
},
|
887
897
|
};
|
888
898
|
//# sourceMappingURL=mappers.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,6BAA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AC5D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oBAAoB;QAC/B,eAAe,kCACV,uBAAe,CAAC,IAAI,CAAC,eAAe,KACvC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF,GACF;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,kCACV,uBAAe,CAAC,IAAI,CAAC,eAAe,KACvC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ResourceProviderOperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDefinition\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceProviderOperationDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDefinition\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDisplay\",\n },\n },\n },\n },\n};\n\nexport const ResourceProviderOperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityRequest\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResponse\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\",\n },\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const LedgerProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LedgerProperties\",\n modelProperties: {\n ledgerName: {\n serializedName: \"ledgerName\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerUri: {\n serializedName: \"ledgerUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n identityServiceUri: {\n serializedName: \"identityServiceUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerInternalNamespace: {\n serializedName: \"ledgerInternalNamespace\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n runningState: {\n serializedName: \"runningState\",\n type: {\n name: \"String\",\n },\n },\n ledgerType: {\n serializedName: \"ledgerType\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerSku: {\n serializedName: \"ledgerSku\",\n type: {\n name: \"String\",\n },\n },\n aadBasedSecurityPrincipals: {\n serializedName: \"aadBasedSecurityPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AADBasedSecurityPrincipal\",\n },\n },\n },\n },\n certBasedSecurityPrincipals: {\n serializedName: \"certBasedSecurityPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CertBasedSecurityPrincipal\",\n },\n },\n },\n },\n hostLevel: {\n serializedName: \"hostLevel\",\n type: {\n name: \"String\",\n },\n },\n maxBodySizeInMb: {\n serializedName: \"maxBodySizeInMb\",\n type: {\n name: \"Number\",\n },\n },\n subjectName: {\n serializedName: \"subjectName\",\n type: {\n name: \"String\",\n },\n },\n nodeCount: {\n serializedName: \"nodeCount\",\n type: {\n name: \"Number\",\n },\n },\n writeLBAddressPrefix: {\n serializedName: \"writeLBAddressPrefix\",\n type: {\n name: \"String\",\n },\n },\n workerThreads: {\n serializedName: \"workerThreads\",\n type: {\n name: \"Number\",\n },\n },\n enclavePlatform: {\n serializedName: \"enclavePlatform\",\n type: {\n name: \"String\",\n },\n },\n applicationType: {\n serializedName: \"applicationType\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AADBasedSecurityPrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AADBasedSecurityPrincipal\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n type: {\n name: \"String\",\n },\n },\n ledgerRoleName: {\n serializedName: \"ledgerRoleName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CertBasedSecurityPrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CertBasedSecurityPrincipal\",\n modelProperties: {\n cert: {\n serializedName: \"cert\",\n type: {\n name: \"String\",\n },\n },\n ledgerRoleName: {\n serializedName: \"ledgerRoleName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedger\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerBackup: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerBackup\",\n modelProperties: {\n restoreRegion: {\n serializedName: \"restoreRegion\",\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerBackupResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerBackupResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerRestore: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerRestore\",\n modelProperties: {\n fileShareName: {\n serializedName: \"fileShareName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n restoreRegion: {\n serializedName: \"restoreRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerRestoreResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerRestoreResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFProperties\",\n modelProperties: {\n appName: {\n serializedName: \"appName\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n appUri: {\n serializedName: \"appUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n identityServiceUri: {\n serializedName: \"identityServiceUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n memberIdentityCertificates: {\n serializedName: \"memberIdentityCertificates\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MemberIdentityCertificate\",\n },\n },\n },\n },\n deploymentType: {\n serializedName: \"deploymentType\",\n type: {\n name: \"Composite\",\n className: \"DeploymentType\",\n },\n },\n runningState: {\n serializedName: \"runningState\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n nodeCount: {\n defaultValue: 3,\n serializedName: \"nodeCount\",\n type: {\n name: \"Number\",\n },\n },\n enclavePlatform: {\n serializedName: \"enclavePlatform\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MemberIdentityCertificate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MemberIdentityCertificate\",\n modelProperties: {\n certificate: {\n serializedName: \"certificate\",\n type: {\n name: \"String\",\n },\n },\n encryptionkey: {\n serializedName: \"encryptionkey\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"any\",\n },\n },\n },\n },\n};\n\nexport const DeploymentType: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentType\",\n modelProperties: {\n languageRuntime: {\n serializedName: \"languageRuntime\",\n type: {\n name: \"String\",\n },\n },\n appSourceUri: {\n serializedName: \"appSourceUri\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedCCF\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFBackup: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFBackup\",\n modelProperties: {\n restoreRegion: {\n serializedName: \"restoreRegion\",\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFBackupResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFBackupResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFRestore: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFRestore\",\n modelProperties: {\n fileShareName: {\n serializedName: \"fileShareName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n restoreRegion: {\n serializedName: \"restoreRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFRestoreResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFRestoreResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CertificateTags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CertificateTags\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedger: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedger\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"LedgerProperties\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCF: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCF\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagedCCFProperties\",\n },\n },\n },\n },\n};\n"]}
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA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oB;QAC/B,eAAe,EAAE;YACf,GAAG,uBAAe,CAAC,IAAI,CAAC,eAAe;YACvC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,GAAG,uBAAe,CAAC,IAAI,CAAC,eAAe;YACvC,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ResourceProviderOperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDefinition\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ResourceProviderOperationDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDefinition\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDisplay\",\n },\n },\n },\n },\n};\n\nexport const ResourceProviderOperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityRequest\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResponse\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\",\n },\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const LedgerProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LedgerProperties\",\n modelProperties: {\n ledgerName: {\n serializedName: \"ledgerName\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerUri: {\n serializedName: \"ledgerUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n identityServiceUri: {\n serializedName: \"identityServiceUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerInternalNamespace: {\n serializedName: \"ledgerInternalNamespace\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n runningState: {\n serializedName: \"runningState\",\n type: {\n name: \"String\",\n },\n },\n ledgerType: {\n serializedName: \"ledgerType\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n ledgerSku: {\n serializedName: \"ledgerSku\",\n type: {\n name: \"String\",\n },\n },\n aadBasedSecurityPrincipals: {\n serializedName: \"aadBasedSecurityPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AADBasedSecurityPrincipal\",\n },\n },\n },\n },\n certBasedSecurityPrincipals: {\n serializedName: \"certBasedSecurityPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CertBasedSecurityPrincipal\",\n },\n },\n },\n },\n hostLevel: {\n serializedName: \"hostLevel\",\n type: {\n name: \"String\",\n },\n },\n maxBodySizeInMb: {\n serializedName: \"maxBodySizeInMb\",\n type: {\n name: \"Number\",\n },\n },\n subjectName: {\n serializedName: \"subjectName\",\n type: {\n name: \"String\",\n },\n },\n nodeCount: {\n serializedName: \"nodeCount\",\n type: {\n name: \"Number\",\n },\n },\n writeLBAddressPrefix: {\n serializedName: \"writeLBAddressPrefix\",\n type: {\n name: \"String\",\n },\n },\n workerThreads: {\n serializedName: \"workerThreads\",\n type: {\n name: \"Number\",\n },\n },\n enclavePlatform: {\n serializedName: \"enclavePlatform\",\n type: {\n name: \"String\",\n },\n },\n applicationType: {\n serializedName: \"applicationType\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AADBasedSecurityPrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AADBasedSecurityPrincipal\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n type: {\n name: \"String\",\n },\n },\n ledgerRoleName: {\n serializedName: \"ledgerRoleName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CertBasedSecurityPrincipal: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CertBasedSecurityPrincipal\",\n modelProperties: {\n cert: {\n serializedName: \"cert\",\n type: {\n name: \"String\",\n },\n },\n ledgerRoleName: {\n serializedName: \"ledgerRoleName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedger\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerBackup: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerBackup\",\n modelProperties: {\n restoreRegion: {\n serializedName: \"restoreRegion\",\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerBackupResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerBackupResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerRestore: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerRestore\",\n modelProperties: {\n fileShareName: {\n serializedName: \"fileShareName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n restoreRegion: {\n serializedName: \"restoreRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedgerRestoreResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedgerRestoreResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFProperties\",\n modelProperties: {\n appName: {\n serializedName: \"appName\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n appUri: {\n serializedName: \"appUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n identityServiceUri: {\n serializedName: \"identityServiceUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n memberIdentityCertificates: {\n serializedName: \"memberIdentityCertificates\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MemberIdentityCertificate\",\n },\n },\n },\n },\n deploymentType: {\n serializedName: \"deploymentType\",\n type: {\n name: \"Composite\",\n className: \"DeploymentType\",\n },\n },\n runningState: {\n serializedName: \"runningState\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n nodeCount: {\n defaultValue: 3,\n serializedName: \"nodeCount\",\n type: {\n name: \"Number\",\n },\n },\n enclavePlatform: {\n serializedName: \"enclavePlatform\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MemberIdentityCertificate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MemberIdentityCertificate\",\n modelProperties: {\n certificate: {\n serializedName: \"certificate\",\n type: {\n name: \"String\",\n },\n },\n encryptionkey: {\n serializedName: \"encryptionkey\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"any\",\n },\n },\n },\n },\n};\n\nexport const DeploymentType: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeploymentType\",\n modelProperties: {\n languageRuntime: {\n serializedName: \"languageRuntime\",\n type: {\n name: \"String\",\n },\n },\n appSourceUri: {\n serializedName: \"appSourceUri\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagedCCF\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFBackup: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFBackup\",\n modelProperties: {\n restoreRegion: {\n serializedName: \"restoreRegion\",\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFBackupResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFBackupResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFRestore: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFRestore\",\n modelProperties: {\n fileShareName: {\n serializedName: \"fileShareName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n restoreRegion: {\n serializedName: \"restoreRegion\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n uri: {\n serializedName: \"uri\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCFRestoreResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCFRestoreResponse\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CertificateTags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CertificateTags\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ConfidentialLedger: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfidentialLedger\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"LedgerProperties\",\n },\n },\n },\n },\n};\n\nexport const ManagedCCF: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagedCCF\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagedCCFProperties\",\n },\n },\n },\n },\n};\n"]}
|