@azure/arm-kubernetesconfiguration-extensions 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/extensionsClient.js +14 -5
- package/dist/browser/extensionsClient.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 +42 -20
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/extensions.js +56 -58
- package/dist/browser/operations/extensions.js.map +1 -1
- package/dist/browser/operations/operationStatus.js +1 -0
- package/dist/browser/operations/operationStatus.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/extensionsClient.js +14 -5
- package/dist/commonjs/extensionsClient.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 +42 -20
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/extensions.js +56 -57
- package/dist/commonjs/operations/extensions.js.map +1 -1
- package/dist/commonjs/operations/operationStatus.js +1 -0
- package/dist/commonjs/operations/operationStatus.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 +1 -1
- package/dist/esm/extensionsClient.js +14 -5
- package/dist/esm/extensionsClient.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 +42 -20
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/extensions.js +56 -58
- package/dist/esm/operations/extensions.js.map +1 -1
- package/dist/esm/operations/operationStatus.js +1 -0
- package/dist/esm/operations/operationStatus.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/extensionsClient.js +14 -5
- package/dist/react-native/extensionsClient.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 +42 -20
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/extensions.js +56 -58
- package/dist/react-native/operations/extensions.js.map +1 -1
- package/dist/react-native/operations/operationStatus.js +1 -0
- package/dist/react-native/operations/operationStatus.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
|
@@ -9,6 +9,9 @@ import * as coreClient from "@azure/core-client";
|
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
10
|
import { ExtensionsImpl, OperationStatusImpl } from "./operations/index.js";
|
|
11
11
|
export class ExtensionsClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
12
15
|
/**
|
|
13
16
|
* Initializes a new instance of the ExtensionsClient class.
|
|
14
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -16,7 +19,6 @@ export class ExtensionsClient extends coreClient.ServiceClient {
|
|
|
16
19
|
* @param options The parameter options
|
|
17
20
|
*/
|
|
18
21
|
constructor(credentials, subscriptionId, options) {
|
|
19
|
-
var _a, _b, _c;
|
|
20
22
|
if (credentials === undefined) {
|
|
21
23
|
throw new Error("'credentials' cannot be null");
|
|
22
24
|
}
|
|
@@ -35,12 +37,17 @@ export class ExtensionsClient extends coreClient.ServiceClient {
|
|
|
35
37
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
38
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
39
|
: `${packageDetails}`;
|
|
38
|
-
const optionsWithDefaults =
|
|
40
|
+
const optionsWithDefaults = {
|
|
41
|
+
...defaults,
|
|
42
|
+
...options,
|
|
43
|
+
userAgentOptions: {
|
|
39
44
|
userAgentPrefix,
|
|
40
|
-
},
|
|
45
|
+
},
|
|
46
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
47
|
+
};
|
|
41
48
|
super(optionsWithDefaults);
|
|
42
49
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
-
if (
|
|
50
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
51
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
52
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
46
53
|
}
|
|
@@ -53,7 +60,7 @@ export class ExtensionsClient extends coreClient.ServiceClient {
|
|
|
53
60
|
});
|
|
54
61
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
55
62
|
credential: credentials,
|
|
56
|
-
scopes:
|
|
63
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
57
64
|
challengeCallbacks: {
|
|
58
65
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
59
66
|
},
|
|
@@ -93,5 +100,7 @@ export class ExtensionsClient extends coreClient.ServiceClient {
|
|
|
93
100
|
};
|
|
94
101
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
95
102
|
}
|
|
103
|
+
extensions;
|
|
104
|
+
operationStatus;
|
|
96
105
|
}
|
|
97
106
|
//# sourceMappingURL=extensionsClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensionsClient.js","sourceRoot":"","sources":["../../src/extensionsClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;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eAAe,CAAkB;CAClC","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 { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { ExtensionsImpl, OperationStatusImpl } from \"./operations/index.js\";\nimport { Extensions, OperationStatus } from \"./operationsInterfaces/index.js\";\nimport { ExtensionsClientOptionalParams } from \"./models/index.js\";\n\nexport class ExtensionsClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ExtensionsClient 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?: ExtensionsClientOptionalParams,\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: ExtensionsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-kubernetesconfiguration-extensions/1.0.0-beta.1`;\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: 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 === 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 ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: 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-11-01\";\n this.extensions = new ExtensionsImpl(this);\n this.operationStatus = new OperationStatusImpl(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(request: PipelineRequest, next: SendRequest): 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 extensions: Extensions;\n operationStatus: OperationStatus;\n}\n"]}
|
package/dist/browser/lroImpl.js
CHANGED
|
@@ -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 { __rest } from "tslib";
|
|
9
8
|
export function createLroSpec(inputs) {
|
|
10
9
|
const { args, spec, sendOperationFn } = inputs;
|
|
11
10
|
return {
|
|
@@ -13,8 +12,13 @@ export function createLroSpec(inputs) {
|
|
|
13
12
|
requestPath: spec.path,
|
|
14
13
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
14
|
sendPollRequest: (path, options) => {
|
|
16
|
-
const { requestBody
|
|
17
|
-
return sendOperationFn(args,
|
|
15
|
+
const { requestBody, ...restSpec } = spec;
|
|
16
|
+
return sendOperationFn(args, {
|
|
17
|
+
...restSpec,
|
|
18
|
+
httpMethod: "GET",
|
|
19
|
+
path,
|
|
20
|
+
abortSignal: options?.abortSignal,
|
|
21
|
+
});
|
|
18
22
|
},
|
|
19
23
|
};
|
|
20
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,MAAM,UAAU,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,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,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: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\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"]}
|
|
@@ -479,88 +479,104 @@ export const ProxyResource = {
|
|
|
479
479
|
type: {
|
|
480
480
|
name: "Composite",
|
|
481
481
|
className: "ProxyResource",
|
|
482
|
-
modelProperties:
|
|
482
|
+
modelProperties: {
|
|
483
|
+
...Resource.type.modelProperties,
|
|
484
|
+
},
|
|
483
485
|
},
|
|
484
486
|
};
|
|
485
487
|
export const Extension = {
|
|
486
488
|
type: {
|
|
487
489
|
name: "Composite",
|
|
488
490
|
className: "Extension",
|
|
489
|
-
modelProperties:
|
|
491
|
+
modelProperties: {
|
|
492
|
+
...ProxyResource.type.modelProperties,
|
|
493
|
+
identity: {
|
|
490
494
|
serializedName: "identity",
|
|
491
495
|
type: {
|
|
492
496
|
name: "Composite",
|
|
493
497
|
className: "Identity",
|
|
494
498
|
},
|
|
495
|
-
},
|
|
499
|
+
},
|
|
500
|
+
systemData: {
|
|
496
501
|
serializedName: "systemData",
|
|
497
502
|
type: {
|
|
498
503
|
name: "Composite",
|
|
499
504
|
className: "SystemData",
|
|
500
505
|
},
|
|
501
|
-
},
|
|
506
|
+
},
|
|
507
|
+
plan: {
|
|
502
508
|
serializedName: "plan",
|
|
503
509
|
type: {
|
|
504
510
|
name: "Composite",
|
|
505
511
|
className: "Plan",
|
|
506
512
|
},
|
|
507
|
-
},
|
|
513
|
+
},
|
|
514
|
+
extensionType: {
|
|
508
515
|
serializedName: "properties.extensionType",
|
|
509
516
|
type: {
|
|
510
517
|
name: "String",
|
|
511
518
|
},
|
|
512
|
-
},
|
|
519
|
+
},
|
|
520
|
+
autoUpgradeMinorVersion: {
|
|
513
521
|
defaultValue: true,
|
|
514
522
|
serializedName: "properties.autoUpgradeMinorVersion",
|
|
515
523
|
type: {
|
|
516
524
|
name: "Boolean",
|
|
517
525
|
},
|
|
518
|
-
},
|
|
526
|
+
},
|
|
527
|
+
releaseTrain: {
|
|
519
528
|
defaultValue: "Stable",
|
|
520
529
|
serializedName: "properties.releaseTrain",
|
|
521
530
|
type: {
|
|
522
531
|
name: "String",
|
|
523
532
|
},
|
|
524
|
-
},
|
|
533
|
+
},
|
|
534
|
+
version: {
|
|
525
535
|
serializedName: "properties.version",
|
|
526
536
|
nullable: true,
|
|
527
537
|
type: {
|
|
528
538
|
name: "String",
|
|
529
539
|
},
|
|
530
|
-
},
|
|
540
|
+
},
|
|
541
|
+
scope: {
|
|
531
542
|
serializedName: "properties.scope",
|
|
532
543
|
type: {
|
|
533
544
|
name: "Composite",
|
|
534
545
|
className: "Scope",
|
|
535
546
|
},
|
|
536
|
-
},
|
|
547
|
+
},
|
|
548
|
+
configurationSettings: {
|
|
537
549
|
serializedName: "properties.configurationSettings",
|
|
538
550
|
nullable: true,
|
|
539
551
|
type: {
|
|
540
552
|
name: "Dictionary",
|
|
541
553
|
value: { type: { name: "String" } },
|
|
542
554
|
},
|
|
543
|
-
},
|
|
555
|
+
},
|
|
556
|
+
configurationProtectedSettings: {
|
|
544
557
|
serializedName: "properties.configurationProtectedSettings",
|
|
545
558
|
nullable: true,
|
|
546
559
|
type: {
|
|
547
560
|
name: "Dictionary",
|
|
548
561
|
value: { type: { name: "String" } },
|
|
549
562
|
},
|
|
550
|
-
},
|
|
563
|
+
},
|
|
564
|
+
currentVersion: {
|
|
551
565
|
serializedName: "properties.currentVersion",
|
|
552
566
|
readOnly: true,
|
|
553
567
|
nullable: true,
|
|
554
568
|
type: {
|
|
555
569
|
name: "String",
|
|
556
570
|
},
|
|
557
|
-
},
|
|
571
|
+
},
|
|
572
|
+
provisioningState: {
|
|
558
573
|
serializedName: "properties.provisioningState",
|
|
559
574
|
readOnly: true,
|
|
560
575
|
type: {
|
|
561
576
|
name: "String",
|
|
562
577
|
},
|
|
563
|
-
},
|
|
578
|
+
},
|
|
579
|
+
statuses: {
|
|
564
580
|
serializedName: "properties.statuses",
|
|
565
581
|
nullable: true,
|
|
566
582
|
type: {
|
|
@@ -572,13 +588,15 @@ export const Extension = {
|
|
|
572
588
|
},
|
|
573
589
|
},
|
|
574
590
|
},
|
|
575
|
-
},
|
|
591
|
+
},
|
|
592
|
+
errorInfo: {
|
|
576
593
|
serializedName: "properties.errorInfo",
|
|
577
594
|
type: {
|
|
578
595
|
name: "Composite",
|
|
579
596
|
className: "ErrorDetail",
|
|
580
597
|
},
|
|
581
|
-
},
|
|
598
|
+
},
|
|
599
|
+
customLocationSettings: {
|
|
582
600
|
serializedName: "properties.customLocationSettings",
|
|
583
601
|
readOnly: true,
|
|
584
602
|
nullable: true,
|
|
@@ -586,27 +604,31 @@ export const Extension = {
|
|
|
586
604
|
name: "Dictionary",
|
|
587
605
|
value: { type: { name: "String" } },
|
|
588
606
|
},
|
|
589
|
-
},
|
|
607
|
+
},
|
|
608
|
+
packageUri: {
|
|
590
609
|
serializedName: "properties.packageUri",
|
|
591
610
|
readOnly: true,
|
|
592
611
|
nullable: true,
|
|
593
612
|
type: {
|
|
594
613
|
name: "String",
|
|
595
614
|
},
|
|
596
|
-
},
|
|
615
|
+
},
|
|
616
|
+
aksAssignedIdentity: {
|
|
597
617
|
serializedName: "properties.aksAssignedIdentity",
|
|
598
618
|
type: {
|
|
599
619
|
name: "Composite",
|
|
600
620
|
className: "ExtensionPropertiesAksAssignedIdentity",
|
|
601
621
|
},
|
|
602
|
-
},
|
|
622
|
+
},
|
|
623
|
+
isSystemExtension: {
|
|
603
624
|
defaultValue: false,
|
|
604
625
|
serializedName: "properties.isSystemExtension",
|
|
605
626
|
readOnly: true,
|
|
606
627
|
type: {
|
|
607
628
|
name: "Boolean",
|
|
608
629
|
},
|
|
609
|
-
}
|
|
630
|
+
},
|
|
631
|
+
},
|
|
610
632
|
},
|
|
611
633
|
};
|
|
612
634
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,KAAK,GAA+B;IAC/C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,cAAc;iBAC1B;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,gBAAgB;iBAC5B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA+B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;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ourcesContent":["/*\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 Scope: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Scope\",\n modelProperties: {\n cluster: {\n serializedName: \"cluster\",\n type: {\n name: \"Composite\",\n className: \"ScopeCluster\",\n },\n },\n namespace: {\n serializedName: \"namespace\",\n type: {\n name: \"Composite\",\n className: \"ScopeNamespace\",\n },\n },\n },\n },\n};\n\nexport const ScopeCluster: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScopeCluster\",\n modelProperties: {\n releaseNamespace: {\n serializedName: \"releaseNamespace\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ScopeNamespace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScopeNamespace\",\n modelProperties: {\n targetNamespace: {\n serializedName: \"targetNamespace\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ExtensionStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionStatus\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n displayStatus: {\n serializedName: \"displayStatus\",\n type: {\n name: \"String\",\n },\n },\n level: {\n defaultValue: \"Information\",\n serializedName: \"level\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n time: {\n serializedName: \"time\",\n type: {\n name: \"String\",\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 ExtensionPropertiesAksAssignedIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionPropertiesAksAssignedIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"SystemAssigned\", \"UserAssigned\"],\n },\n },\n },\n },\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n defaultValue: \"SystemAssigned\",\n isConstant: true,\n serializedName: \"type\",\n type: {\n name: \"String\",\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 Plan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Plan\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n publisher: {\n serializedName: \"publisher\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n product: {\n serializedName: \"product\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\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 },\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 PatchExtension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PatchExtension\",\n modelProperties: {\n autoUpgradeMinorVersion: {\n defaultValue: true,\n serializedName: \"properties.autoUpgradeMinorVersion\",\n type: {\n name: \"Boolean\",\n },\n },\n releaseTrain: {\n defaultValue: \"Stable\",\n serializedName: \"properties.releaseTrain\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"properties.version\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n configurationSettings: {\n serializedName: \"properties.configurationSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n configurationProtectedSettings: {\n serializedName: \"properties.configurationProtectedSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const ExtensionsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionsList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Extension\",\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 OperationStatusResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const Extension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Extension\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"Plan\",\n },\n },\n extensionType: {\n serializedName: \"properties.extensionType\",\n type: {\n name: \"String\",\n },\n },\n autoUpgradeMinorVersion: {\n defaultValue: true,\n serializedName: \"properties.autoUpgradeMinorVersion\",\n type: {\n name: \"Boolean\",\n },\n },\n releaseTrain: {\n defaultValue: \"Stable\",\n serializedName: \"properties.releaseTrain\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"properties.version\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n scope: {\n serializedName: \"properties.scope\",\n type: {\n name: \"Composite\",\n className: \"Scope\",\n },\n },\n configurationSettings: {\n serializedName: \"properties.configurationSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n configurationProtectedSettings: {\n serializedName: \"properties.configurationProtectedSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n currentVersion: {\n serializedName: \"properties.currentVersion\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n statuses: {\n serializedName: \"properties.statuses\",\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtensionStatus\",\n },\n },\n },\n },\n errorInfo: {\n serializedName: \"properties.errorInfo\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n customLocationSettings: {\n serializedName: \"properties.customLocationSettings\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n packageUri: {\n serializedName: \"properties.packageUri\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n aksAssignedIdentity: {\n serializedName: \"properties.aksAssignedIdentity\",\n type: {\n name: \"Composite\",\n className: \"ExtensionPropertiesAksAssignedIdentity\",\n },\n },\n isSystemExtension: {\n defaultValue: false,\n serializedName: \"properties.isSystemExtension\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,KAAK,GAA+B;IAC/C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,OAAO;QAClB,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,cAAc;iBAC1B;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,gBAAgB;iBAC5B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA+B;IACtD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,cAAc;QACzB,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,eAAe,EAAE;YACf,eAAe,EAAE;gBACf,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;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SAAS,EAAE,iBAAiB;yBAC7B;qBACF;iBACF;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF;YACD,sBAAsB,EAAE;gBACtB,cAAc,EAAE,mCAAmC;gBACnD,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,cAAc,EAAE,gCAAgC;gBAChD,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,wCAAwC;iBACpD;aACF;YACD,iBAAiB,EAAE;gBACjB,YAAY,EAAE,KAAK;gBACnB,cAAc,EAAE,8BAA8B;gBAC9C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;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 Scope: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Scope\",\n modelProperties: {\n cluster: {\n serializedName: \"cluster\",\n type: {\n name: \"Composite\",\n className: \"ScopeCluster\",\n },\n },\n namespace: {\n serializedName: \"namespace\",\n type: {\n name: \"Composite\",\n className: \"ScopeNamespace\",\n },\n },\n },\n },\n};\n\nexport const ScopeCluster: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScopeCluster\",\n modelProperties: {\n releaseNamespace: {\n serializedName: \"releaseNamespace\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ScopeNamespace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScopeNamespace\",\n modelProperties: {\n targetNamespace: {\n serializedName: \"targetNamespace\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ExtensionStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionStatus\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n displayStatus: {\n serializedName: \"displayStatus\",\n type: {\n name: \"String\",\n },\n },\n level: {\n defaultValue: \"Information\",\n serializedName: \"level\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n time: {\n serializedName: \"time\",\n type: {\n name: \"String\",\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 ExtensionPropertiesAksAssignedIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionPropertiesAksAssignedIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"SystemAssigned\", \"UserAssigned\"],\n },\n },\n },\n },\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n defaultValue: \"SystemAssigned\",\n isConstant: true,\n serializedName: \"type\",\n type: {\n name: \"String\",\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 Plan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Plan\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n publisher: {\n serializedName: \"publisher\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n product: {\n serializedName: \"product\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\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 },\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 PatchExtension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PatchExtension\",\n modelProperties: {\n autoUpgradeMinorVersion: {\n defaultValue: true,\n serializedName: \"properties.autoUpgradeMinorVersion\",\n type: {\n name: \"Boolean\",\n },\n },\n releaseTrain: {\n defaultValue: \"Stable\",\n serializedName: \"properties.releaseTrain\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"properties.version\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n configurationSettings: {\n serializedName: \"properties.configurationSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n configurationProtectedSettings: {\n serializedName: \"properties.configurationProtectedSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const ExtensionsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ExtensionsList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Extension\",\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 OperationStatusResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const Extension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Extension\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"Plan\",\n },\n },\n extensionType: {\n serializedName: \"properties.extensionType\",\n type: {\n name: \"String\",\n },\n },\n autoUpgradeMinorVersion: {\n defaultValue: true,\n serializedName: \"properties.autoUpgradeMinorVersion\",\n type: {\n name: \"Boolean\",\n },\n },\n releaseTrain: {\n defaultValue: \"Stable\",\n serializedName: \"properties.releaseTrain\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"properties.version\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n scope: {\n serializedName: \"properties.scope\",\n type: {\n name: \"Composite\",\n className: \"Scope\",\n },\n },\n configurationSettings: {\n serializedName: \"properties.configurationSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n configurationProtectedSettings: {\n serializedName: \"properties.configurationProtectedSettings\",\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n currentVersion: {\n serializedName: \"properties.currentVersion\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n statuses: {\n serializedName: \"properties.statuses\",\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ExtensionStatus\",\n },\n },\n },\n },\n errorInfo: {\n serializedName: \"properties.errorInfo\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n customLocationSettings: {\n serializedName: \"properties.customLocationSettings\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n packageUri: {\n serializedName: \"properties.packageUri\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n aksAssignedIdentity: {\n serializedName: \"properties.aksAssignedIdentity\",\n type: {\n name: \"Composite\",\n className: \"ExtensionPropertiesAksAssignedIdentity\",\n },\n },\n isSystemExtension: {\n defaultValue: false,\n serializedName: \"properties.isSystemExtension\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n"]}
|
|
@@ -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";
|
|
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing Extensions operations. */
|
|
17
16
|
export class ExtensionsImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class Extensions class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -42,52 +42,35 @@ export class ExtensionsImpl {
|
|
|
42
42
|
return this;
|
|
43
43
|
},
|
|
44
44
|
byPage: (settings) => {
|
|
45
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
46
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
47
|
}
|
|
48
48
|
return this.listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options, settings);
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options, settings) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
});
|
|
52
|
+
async *listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._list(resourceGroupName, clusterRp, clusterResourceName, clusterName, options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listNext(resourceGroupName, clusterRp, clusterResourceName, clusterName, continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
setContinuationToken(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
71
69
|
}
|
|
72
|
-
listPagingAll(resourceGroupName, clusterRp, clusterResourceName, clusterName, options) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
77
|
-
_c = _f.value;
|
|
78
|
-
_d = false;
|
|
79
|
-
const page = _c;
|
|
80
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
84
|
-
finally {
|
|
85
|
-
try {
|
|
86
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
87
|
-
}
|
|
88
|
-
finally { if (e_1) throw e_1.error; }
|
|
89
|
-
}
|
|
90
|
-
});
|
|
70
|
+
async *listPagingAll(resourceGroupName, clusterRp, clusterResourceName, clusterName, options) {
|
|
71
|
+
for await (const page of this.listPagingPage(resourceGroupName, clusterRp, clusterResourceName, clusterName, options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
91
74
|
}
|
|
92
75
|
/**
|
|
93
76
|
* Create a new Kubernetes Cluster Extension.
|
|
@@ -106,14 +89,19 @@ export class ExtensionsImpl {
|
|
|
106
89
|
return this.client.sendOperationRequest(args, spec);
|
|
107
90
|
};
|
|
108
91
|
const sendOperationFn = async (args, spec) => {
|
|
109
|
-
var _a;
|
|
110
92
|
let currentRawResponse = undefined;
|
|
111
|
-
const providedCallback =
|
|
93
|
+
const providedCallback = args.options?.onResponse;
|
|
112
94
|
const callback = (rawResponse, flatResponse) => {
|
|
113
95
|
currentRawResponse = rawResponse;
|
|
114
|
-
providedCallback
|
|
96
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
97
|
+
};
|
|
98
|
+
const updatedArgs = {
|
|
99
|
+
...args,
|
|
100
|
+
options: {
|
|
101
|
+
...args.options,
|
|
102
|
+
onResponse: callback,
|
|
103
|
+
},
|
|
115
104
|
};
|
|
116
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
117
105
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
118
106
|
return {
|
|
119
107
|
flatResponse,
|
|
@@ -138,8 +126,8 @@ export class ExtensionsImpl {
|
|
|
138
126
|
spec: createOperationSpec,
|
|
139
127
|
});
|
|
140
128
|
const poller = await createHttpPoller(lro, {
|
|
141
|
-
restoreFrom: options
|
|
142
|
-
intervalInMs: options
|
|
129
|
+
restoreFrom: options?.resumeFrom,
|
|
130
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
143
131
|
resourceLocationConfig: "azure-async-operation",
|
|
144
132
|
});
|
|
145
133
|
await poller.poll();
|
|
@@ -199,14 +187,19 @@ export class ExtensionsImpl {
|
|
|
199
187
|
return this.client.sendOperationRequest(args, spec);
|
|
200
188
|
};
|
|
201
189
|
const sendOperationFn = async (args, spec) => {
|
|
202
|
-
var _a;
|
|
203
190
|
let currentRawResponse = undefined;
|
|
204
|
-
const providedCallback =
|
|
191
|
+
const providedCallback = args.options?.onResponse;
|
|
205
192
|
const callback = (rawResponse, flatResponse) => {
|
|
206
193
|
currentRawResponse = rawResponse;
|
|
207
|
-
providedCallback
|
|
194
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
195
|
+
};
|
|
196
|
+
const updatedArgs = {
|
|
197
|
+
...args,
|
|
198
|
+
options: {
|
|
199
|
+
...args.options,
|
|
200
|
+
onResponse: callback,
|
|
201
|
+
},
|
|
208
202
|
};
|
|
209
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
210
203
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
211
204
|
return {
|
|
212
205
|
flatResponse,
|
|
@@ -230,8 +223,8 @@ export class ExtensionsImpl {
|
|
|
230
223
|
spec: deleteOperationSpec,
|
|
231
224
|
});
|
|
232
225
|
const poller = await createHttpPoller(lro, {
|
|
233
|
-
restoreFrom: options
|
|
234
|
-
intervalInMs: options
|
|
226
|
+
restoreFrom: options?.resumeFrom,
|
|
227
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
235
228
|
resourceLocationConfig: "azure-async-operation",
|
|
236
229
|
});
|
|
237
230
|
await poller.poll();
|
|
@@ -270,14 +263,19 @@ export class ExtensionsImpl {
|
|
|
270
263
|
return this.client.sendOperationRequest(args, spec);
|
|
271
264
|
};
|
|
272
265
|
const sendOperationFn = async (args, spec) => {
|
|
273
|
-
var _a;
|
|
274
266
|
let currentRawResponse = undefined;
|
|
275
|
-
const providedCallback =
|
|
267
|
+
const providedCallback = args.options?.onResponse;
|
|
276
268
|
const callback = (rawResponse, flatResponse) => {
|
|
277
269
|
currentRawResponse = rawResponse;
|
|
278
|
-
providedCallback
|
|
270
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
271
|
+
};
|
|
272
|
+
const updatedArgs = {
|
|
273
|
+
...args,
|
|
274
|
+
options: {
|
|
275
|
+
...args.options,
|
|
276
|
+
onResponse: callback,
|
|
277
|
+
},
|
|
279
278
|
};
|
|
280
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
281
279
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
282
280
|
return {
|
|
283
281
|
flatResponse,
|
|
@@ -302,8 +300,8 @@ export class ExtensionsImpl {
|
|
|
302
300
|
spec: updateOperationSpec,
|
|
303
301
|
});
|
|
304
302
|
const poller = await createHttpPoller(lro, {
|
|
305
|
-
restoreFrom: options
|
|
306
|
-
intervalInMs: options
|
|
303
|
+
restoreFrom: options?.resumeFrom,
|
|
304
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
307
305
|
resourceLocationConfig: "azure-async-operation",
|
|
308
306
|
});
|
|
309
307
|
await poller.poll();
|