@azure/arm-devspaces 2.1.1-alpha.20250717.1 → 2.1.1-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/devSpacesManagementClient.js +16 -5
- package/dist/browser/devSpacesManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +29 -13
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/containerHostMappings.js +1 -0
- package/dist/browser/operations/containerHostMappings.js.map +1 -1
- package/dist/browser/operations/controllers.js +67 -91
- package/dist/browser/operations/controllers.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/devSpacesManagementClient.js +16 -5
- package/dist/commonjs/devSpacesManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +29 -13
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/containerHostMappings.js +1 -0
- package/dist/commonjs/operations/containerHostMappings.js.map +1 -1
- package/dist/commonjs/operations/controllers.js +67 -90
- package/dist/commonjs/operations/controllers.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/devSpacesManagementClient.js +16 -5
- package/dist/esm/devSpacesManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +29 -13
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/containerHostMappings.js +1 -0
- package/dist/esm/operations/containerHostMappings.js.map +1 -1
- package/dist/esm/operations/controllers.js +67 -91
- package/dist/esm/operations/controllers.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/devSpacesManagementClient.js +16 -5
- package/dist/react-native/devSpacesManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +29 -13
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/containerHostMappings.js +1 -0
- package/dist/react-native/operations/containerHostMappings.js.map +1 -1
- package/dist/react-native/operations/controllers.js +67 -91
- package/dist/react-native/operations/controllers.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-devspaces-node.api.md +294 -294
|
@@ -9,6 +9,9 @@ import * as coreClient from "@azure/core-client";
|
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
10
|
import { ContainerHostMappingsImpl, OperationsImpl, ControllersImpl } from "./operations/index.js";
|
|
11
11
|
export class DevSpacesManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
12
15
|
/**
|
|
13
16
|
* Initializes a new instance of the DevSpacesManagementClient class.
|
|
14
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -16,7 +19,6 @@ export class DevSpacesManagementClient 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 DevSpacesManagementClient 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 ===
|
|
46
53
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -54,7 +61,8 @@ export class DevSpacesManagementClient extends coreClient.ServiceClient {
|
|
|
54
61
|
});
|
|
55
62
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
63
|
credential: credentials,
|
|
57
|
-
scopes:
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
58
66
|
challengeCallbacks: {
|
|
59
67
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
68
|
}
|
|
@@ -95,5 +103,8 @@ export class DevSpacesManagementClient extends coreClient.ServiceClient {
|
|
|
95
103
|
};
|
|
96
104
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
97
105
|
}
|
|
106
|
+
containerHostMappings;
|
|
107
|
+
operations;
|
|
108
|
+
controllers;
|
|
98
109
|
}
|
|
99
110
|
//# sourceMappingURL=devSpacesManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devSpacesManagementClient.js","sourceRoot":"","sources":["../../src/devSpacesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,OAAO,yBAA0B,SAAQ,UAAU,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"devSpacesManagementClient.js","sourceRoot":"","sources":["../../src/devSpacesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,OAAO,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IACrE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAiD;QAEjD,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,GAA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,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,WAAW,CAAc;CAC1B","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 ContainerHostMappingsImpl,\n OperationsImpl,\n ControllersImpl\n} from \"./operations/index.js\";\nimport {\n ContainerHostMappings,\n Operations,\n Controllers\n} from \"./operationsInterfaces/index.js\";\nimport { DevSpacesManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DevSpacesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the DevSpacesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DevSpacesManagementClientOptionalParams\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: DevSpacesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-devspaces/2.1.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:\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[] = 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 || \"2019-04-01\";\n this.containerHostMappings = new ContainerHostMappingsImpl(this);\n this.operations = new OperationsImpl(this);\n this.controllers = new ControllersImpl(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 containerHostMappings: ContainerHostMappings;\n operations: Operations;\n controllers: Controllers;\n}\n"]}
|
package/dist/browser/lroImpl.js
CHANGED
|
@@ -5,8 +5,12 @@
|
|
|
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 class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
10
14
|
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
15
|
this.sendOperationFn = sendOperationFn;
|
|
12
16
|
this.args = args;
|
|
@@ -18,8 +22,12 @@ export class LroImpl {
|
|
|
18
22
|
return this.sendOperationFn(this.args, this.spec);
|
|
19
23
|
}
|
|
20
24
|
async sendPollRequest(path) {
|
|
21
|
-
const
|
|
22
|
-
return this.sendOperationFn(this.args,
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
30
|
+
});
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -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;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -323,18 +323,22 @@ export const TrackedResource = {
|
|
|
323
323
|
type: {
|
|
324
324
|
name: "Composite",
|
|
325
325
|
className: "TrackedResource",
|
|
326
|
-
modelProperties:
|
|
326
|
+
modelProperties: {
|
|
327
|
+
...Resource.type.modelProperties,
|
|
328
|
+
tags: {
|
|
327
329
|
serializedName: "tags",
|
|
328
330
|
type: {
|
|
329
331
|
name: "Dictionary",
|
|
330
332
|
value: { type: { name: "String" } }
|
|
331
333
|
}
|
|
332
|
-
},
|
|
334
|
+
},
|
|
335
|
+
location: {
|
|
333
336
|
serializedName: "location",
|
|
334
337
|
type: {
|
|
335
338
|
name: "String"
|
|
336
339
|
}
|
|
337
|
-
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
338
342
|
}
|
|
339
343
|
};
|
|
340
344
|
export const KubernetesConnectionDetails = {
|
|
@@ -344,61 +348,73 @@ export const KubernetesConnectionDetails = {
|
|
|
344
348
|
className: "KubernetesConnectionDetails",
|
|
345
349
|
uberParent: "OrchestratorSpecificConnectionDetails",
|
|
346
350
|
polymorphicDiscriminator: OrchestratorSpecificConnectionDetails.type.polymorphicDiscriminator,
|
|
347
|
-
modelProperties:
|
|
351
|
+
modelProperties: {
|
|
352
|
+
...OrchestratorSpecificConnectionDetails.type.modelProperties,
|
|
353
|
+
kubeConfig: {
|
|
348
354
|
serializedName: "kubeConfig",
|
|
349
355
|
type: {
|
|
350
356
|
name: "String"
|
|
351
357
|
}
|
|
352
|
-
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
353
360
|
}
|
|
354
361
|
};
|
|
355
362
|
export const Controller = {
|
|
356
363
|
type: {
|
|
357
364
|
name: "Composite",
|
|
358
365
|
className: "Controller",
|
|
359
|
-
modelProperties:
|
|
366
|
+
modelProperties: {
|
|
367
|
+
...TrackedResource.type.modelProperties,
|
|
368
|
+
sku: {
|
|
360
369
|
serializedName: "sku",
|
|
361
370
|
type: {
|
|
362
371
|
name: "Composite",
|
|
363
372
|
className: "Sku"
|
|
364
373
|
}
|
|
365
|
-
},
|
|
374
|
+
},
|
|
375
|
+
provisioningState: {
|
|
366
376
|
serializedName: "properties.provisioningState",
|
|
367
377
|
readOnly: true,
|
|
368
378
|
type: {
|
|
369
379
|
name: "String"
|
|
370
380
|
}
|
|
371
|
-
},
|
|
381
|
+
},
|
|
382
|
+
hostSuffix: {
|
|
372
383
|
serializedName: "properties.hostSuffix",
|
|
373
384
|
readOnly: true,
|
|
374
385
|
type: {
|
|
375
386
|
name: "String"
|
|
376
387
|
}
|
|
377
|
-
},
|
|
388
|
+
},
|
|
389
|
+
dataPlaneFqdn: {
|
|
378
390
|
serializedName: "properties.dataPlaneFqdn",
|
|
379
391
|
readOnly: true,
|
|
380
392
|
type: {
|
|
381
393
|
name: "String"
|
|
382
394
|
}
|
|
383
|
-
},
|
|
395
|
+
},
|
|
396
|
+
targetContainerHostApiServerFqdn: {
|
|
384
397
|
serializedName: "properties.targetContainerHostApiServerFqdn",
|
|
385
398
|
readOnly: true,
|
|
386
399
|
type: {
|
|
387
400
|
name: "String"
|
|
388
401
|
}
|
|
389
|
-
},
|
|
402
|
+
},
|
|
403
|
+
targetContainerHostResourceId: {
|
|
390
404
|
serializedName: "properties.targetContainerHostResourceId",
|
|
391
405
|
required: true,
|
|
392
406
|
type: {
|
|
393
407
|
name: "String"
|
|
394
408
|
}
|
|
395
|
-
},
|
|
409
|
+
},
|
|
410
|
+
targetContainerHostCredentialsBase64: {
|
|
396
411
|
serializedName: "properties.targetContainerHostCredentialsBase64",
|
|
397
412
|
required: true,
|
|
398
413
|
type: {
|
|
399
414
|
name: "String"
|
|
400
415
|
}
|
|
401
|
-
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
402
418
|
}
|
|
403
419
|
};
|
|
404
420
|
export let discriminators = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,uBAAuB,EAAE;gBACvB,cAAc,EAAE,yBAAyB;gBACzC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,4BAA4B;gBAC5C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,cAAc;iBAC1B;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,IAAI,EAAE;gBACJ,cAAc,EAAE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E;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,aAAa,EAAE;gBACb,cAAc,EAAE,0BAA0B;gBAC1C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,gCAAgC,EAAE;gBAChC,cAAc,EAAE,6CAA6C;gBAC7D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,6BAA6B,EAAE;gBAC7B,cAAc,EAAE,0CAA0C;gBAC1D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,oCAAoC,EAAE;gBACpC,cAAc,EAAE,iDAAiD;gBACjE,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,qCAAqC,EAAE,qCAAqC;IAC5E,kDAAkD,EAAE,2BAA2B;CAChF,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 ContainerHostMapping: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContainerHostMapping\",\n modelProperties: {\n containerHostResourceId: {\n serializedName: \"containerHostResourceId\",\n type: {\n name: \"String\"\n }\n },\n mappedControllerResourceId: {\n serializedName: \"mappedControllerResourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DevSpacesErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DevSpacesErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\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 }\n }\n};\n\nexport const ResourceProviderOperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\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 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 Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\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 ControllerUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerUpdateParameters\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n targetContainerHostCredentialsBase64: {\n serializedName: \"properties.targetContainerHostCredentialsBase64\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ControllerList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Controller\"\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 ListConnectionDetailsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConnectionDetailsParameters\",\n modelProperties: {\n targetContainerHostResourceId: {\n serializedName: \"targetContainerHostResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ControllerConnectionDetailsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetailsList\",\n modelProperties: {\n connectionDetailsList: {\n serializedName: \"connectionDetailsList\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetails\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ControllerConnectionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetails\",\n modelProperties: {\n orchestratorSpecificConnectionDetails: {\n serializedName: \"orchestratorSpecificConnectionDetails\",\n type: {\n name: \"Composite\",\n className: \"OrchestratorSpecificConnectionDetails\"\n }\n }\n }\n }\n};\n\nexport const OrchestratorSpecificConnectionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OrchestratorSpecificConnectionDetails\",\n uberParent: \"OrchestratorSpecificConnectionDetails\",\n polymorphicDiscriminator: {\n serializedName: \"instanceType\",\n clientName: \"instanceType\"\n },\n modelProperties: {\n instanceType: {\n serializedName: \"instanceType\",\n required: true,\n readOnly: true,\n type: {\n 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 type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KubernetesConnectionDetails: coreClient.CompositeMapper = {\n serializedName: \"Kubernetes\",\n type: {\n name: \"Composite\",\n className: \"KubernetesConnectionDetails\",\n uberParent: \"OrchestratorSpecificConnectionDetails\",\n polymorphicDiscriminator:\n OrchestratorSpecificConnectionDetails.type.polymorphicDiscriminator,\n modelProperties: {\n ...OrchestratorSpecificConnectionDetails.type.modelProperties,\n kubeConfig: {\n serializedName: \"kubeConfig\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Controller: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Controller\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hostSuffix: {\n serializedName: \"properties.hostSuffix\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n dataPlaneFqdn: {\n serializedName: \"properties.dataPlaneFqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostApiServerFqdn: {\n serializedName: \"properties.targetContainerHostApiServerFqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostResourceId: {\n serializedName: \"properties.targetContainerHostResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostCredentialsBase64: {\n serializedName: \"properties.targetContainerHostCredentialsBase64\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n OrchestratorSpecificConnectionDetails: OrchestratorSpecificConnectionDetails,\n \"OrchestratorSpecificConnectionDetails.Kubernetes\": KubernetesConnectionDetails\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,uBAAuB,EAAE;gBACvB,cAAc,EAAE,yBAAyB;gBACzC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,4BAA4B;gBAC5C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,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,EAAE,KAAK;iBACjB;aACF;YACD,iBAAiB,EAAE;gBACjB,cAAc,EAAE,8BAA8B;gBAC9C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,aAAa,EAAE;gBACb,cAAc,EAAE,0BAA0B;gBAC1C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,gCAAgC,EAAE;gBAChC,cAAc,EAAE,6CAA6C;gBAC7D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,6BAA6B,EAAE;gBAC7B,cAAc,EAAE,0CAA0C;gBAC1D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oCAAoC,EAAE;gBACpC,cAAc,EAAE,iDAAiD;gBACjE,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,qCAAqC,EAAE,qCAAqC;IAC5E,kDAAkD,EAAE,2BAA2B;CAChF,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 ContainerHostMapping: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContainerHostMapping\",\n modelProperties: {\n containerHostResourceId: {\n serializedName: \"containerHostResourceId\",\n type: {\n name: \"String\"\n }\n },\n mappedControllerResourceId: {\n serializedName: \"mappedControllerResourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DevSpacesErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DevSpacesErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\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 }\n }\n};\n\nexport const ResourceProviderOperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceProviderOperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\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 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 Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\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 ControllerUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerUpdateParameters\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n targetContainerHostCredentialsBase64: {\n serializedName: \"properties.targetContainerHostCredentialsBase64\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ControllerList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Controller\"\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 ListConnectionDetailsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConnectionDetailsParameters\",\n modelProperties: {\n targetContainerHostResourceId: {\n serializedName: \"targetContainerHostResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ControllerConnectionDetailsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetailsList\",\n modelProperties: {\n connectionDetailsList: {\n serializedName: \"connectionDetailsList\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetails\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ControllerConnectionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ControllerConnectionDetails\",\n modelProperties: {\n orchestratorSpecificConnectionDetails: {\n serializedName: \"orchestratorSpecificConnectionDetails\",\n type: {\n name: \"Composite\",\n className: \"OrchestratorSpecificConnectionDetails\"\n }\n }\n }\n }\n};\n\nexport const OrchestratorSpecificConnectionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OrchestratorSpecificConnectionDetails\",\n uberParent: \"OrchestratorSpecificConnectionDetails\",\n polymorphicDiscriminator: {\n serializedName: \"instanceType\",\n clientName: \"instanceType\"\n },\n modelProperties: {\n instanceType: {\n serializedName: \"instanceType\",\n required: true,\n readOnly: true,\n type: {\n 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 type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const KubernetesConnectionDetails: coreClient.CompositeMapper = {\n serializedName: \"Kubernetes\",\n type: {\n name: \"Composite\",\n className: \"KubernetesConnectionDetails\",\n uberParent: \"OrchestratorSpecificConnectionDetails\",\n polymorphicDiscriminator:\n OrchestratorSpecificConnectionDetails.type.polymorphicDiscriminator,\n modelProperties: {\n ...OrchestratorSpecificConnectionDetails.type.modelProperties,\n kubeConfig: {\n serializedName: \"kubeConfig\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Controller: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Controller\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hostSuffix: {\n serializedName: \"properties.hostSuffix\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n dataPlaneFqdn: {\n serializedName: \"properties.dataPlaneFqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostApiServerFqdn: {\n serializedName: \"properties.targetContainerHostApiServerFqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostResourceId: {\n serializedName: \"properties.targetContainerHostResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n targetContainerHostCredentialsBase64: {\n serializedName: \"properties.targetContainerHostCredentialsBase64\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n OrchestratorSpecificConnectionDetails: OrchestratorSpecificConnectionDetails,\n \"OrchestratorSpecificConnectionDetails.Kubernetes\": KubernetesConnectionDetails\n};\n"]}
|
|
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
|
|
|
10
10
|
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing ContainerHostMappings operations. */
|
|
12
12
|
export class ContainerHostMappingsImpl {
|
|
13
|
+
client;
|
|
13
14
|
/**
|
|
14
15
|
* Initialize a new instance of the class ContainerHostMappings class.
|
|
15
16
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerHostMappings.js","sourceRoot":"","sources":["../../../src/operations/containerHostMappings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;
|
|
1
|
+
{"version":3,"file":"containerHostMappings.js","sourceRoot":"","sources":["../../../src/operations/containerHostMappings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,uBAAuB,CACrB,iBAAyB,EACzB,QAAgB,EAChB,oBAA0C,EAC1C,OAAoE;QAEpE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,OAAO,EAAE,EAC9D,oCAAoC,CACrC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EACF,iJAAiJ;IACnJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,oBAAoB;IAC5C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,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 { ContainerHostMappings } 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 { DevSpacesManagementClient } from \"../devSpacesManagementClient.js\";\nimport {\n ContainerHostMapping,\n ContainerHostMappingsGetContainerHostMappingOptionalParams,\n ContainerHostMappingsGetContainerHostMappingResponse\n} from \"../models/index.js\";\n\n/** Class containing ContainerHostMappings operations. */\nexport class ContainerHostMappingsImpl implements ContainerHostMappings {\n private readonly client: DevSpacesManagementClient;\n\n /**\n * Initialize a new instance of the class ContainerHostMappings class.\n * @param client Reference to the service client\n */\n constructor(client: DevSpacesManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns container host mapping object for a container host resource ID if an associated controller\n * exists.\n * @param resourceGroupName Resource group to which the resource belongs.\n * @param location Location of the container host.\n * @param containerHostMapping Container host mapping object specifying the Container host resource ID\n * and its associated Controller resource.\n * @param options The options parameters.\n */\n getContainerHostMapping(\n resourceGroupName: string,\n location: string,\n containerHostMapping: ContainerHostMapping,\n options?: ContainerHostMappingsGetContainerHostMappingOptionalParams\n ): Promise<ContainerHostMappingsGetContainerHostMappingResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, location, containerHostMapping, options },\n getContainerHostMappingOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getContainerHostMappingOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerHostMapping\n },\n 204: {},\n default: {\n bodyMapper: Mappers.DevSpacesErrorResponse\n }\n },\n requestBody: Parameters.containerHostMapping,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.location\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\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 { LroImpl } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing Controllers operations. */
|
|
17
16
|
export class ControllersImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class Controllers class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -38,52 +38,35 @@ export class ControllersImpl {
|
|
|
38
38
|
return this;
|
|
39
39
|
},
|
|
40
40
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
43
|
}
|
|
44
44
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
48
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
67
65
|
}
|
|
68
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
66
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
67
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
87
70
|
}
|
|
88
71
|
/**
|
|
89
72
|
* Lists all the Azure Dev Spaces Controllers with their properties in the subscription.
|
|
@@ -99,52 +82,35 @@ export class ControllersImpl {
|
|
|
99
82
|
return this;
|
|
100
83
|
},
|
|
101
84
|
byPage: (settings) => {
|
|
102
|
-
if (settings
|
|
85
|
+
if (settings?.maxPageSize) {
|
|
103
86
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
104
87
|
}
|
|
105
88
|
return this.listPagingPage(options, settings);
|
|
106
89
|
}
|
|
107
90
|
};
|
|
108
91
|
}
|
|
109
|
-
listPagingPage(options, settings) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
});
|
|
92
|
+
async *listPagingPage(options, settings) {
|
|
93
|
+
let result;
|
|
94
|
+
let continuationToken = settings?.continuationToken;
|
|
95
|
+
if (!continuationToken) {
|
|
96
|
+
result = await this._list(options);
|
|
97
|
+
let page = result.value || [];
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
setContinuationToken(page, continuationToken);
|
|
100
|
+
yield page;
|
|
101
|
+
}
|
|
102
|
+
while (continuationToken) {
|
|
103
|
+
result = await this._listNext(continuationToken, options);
|
|
104
|
+
continuationToken = result.nextLink;
|
|
105
|
+
let page = result.value || [];
|
|
106
|
+
setContinuationToken(page, continuationToken);
|
|
107
|
+
yield page;
|
|
108
|
+
}
|
|
128
109
|
}
|
|
129
|
-
listPagingAll(options) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
134
|
-
_c = _f.value;
|
|
135
|
-
_d = false;
|
|
136
|
-
const page = _c;
|
|
137
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
141
|
-
finally {
|
|
142
|
-
try {
|
|
143
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
144
|
-
}
|
|
145
|
-
finally { if (e_2) throw e_2.error; }
|
|
146
|
-
}
|
|
147
|
-
});
|
|
110
|
+
async *listPagingAll(options) {
|
|
111
|
+
for await (const page of this.listPagingPage(options)) {
|
|
112
|
+
yield* page;
|
|
113
|
+
}
|
|
148
114
|
}
|
|
149
115
|
/**
|
|
150
116
|
* Gets the properties for an Azure Dev Spaces Controller.
|
|
@@ -167,14 +133,19 @@ export class ControllersImpl {
|
|
|
167
133
|
return this.client.sendOperationRequest(args, spec);
|
|
168
134
|
};
|
|
169
135
|
const sendOperation = async (args, spec) => {
|
|
170
|
-
var _a;
|
|
171
136
|
let currentRawResponse = undefined;
|
|
172
|
-
const providedCallback =
|
|
137
|
+
const providedCallback = args.options?.onResponse;
|
|
173
138
|
const callback = (rawResponse, flatResponse) => {
|
|
174
139
|
currentRawResponse = rawResponse;
|
|
175
|
-
providedCallback
|
|
140
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
141
|
+
};
|
|
142
|
+
const updatedArgs = {
|
|
143
|
+
...args,
|
|
144
|
+
options: {
|
|
145
|
+
...args.options,
|
|
146
|
+
onResponse: callback
|
|
147
|
+
}
|
|
176
148
|
};
|
|
177
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
178
149
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
179
150
|
return {
|
|
180
151
|
flatResponse,
|
|
@@ -187,8 +158,8 @@ export class ControllersImpl {
|
|
|
187
158
|
};
|
|
188
159
|
const lro = new LroImpl(sendOperation, { resourceGroupName, name, controller, options }, createOperationSpec);
|
|
189
160
|
const poller = new LroEngine(lro, {
|
|
190
|
-
resumeFrom: options
|
|
191
|
-
intervalInMs: options
|
|
161
|
+
resumeFrom: options?.resumeFrom,
|
|
162
|
+
intervalInMs: options?.updateIntervalInMs
|
|
192
163
|
});
|
|
193
164
|
await poller.poll();
|
|
194
165
|
return poller;
|
|
@@ -215,14 +186,19 @@ export class ControllersImpl {
|
|
|
215
186
|
return this.client.sendOperationRequest(args, spec);
|
|
216
187
|
};
|
|
217
188
|
const sendOperation = async (args, spec) => {
|
|
218
|
-
var _a;
|
|
219
189
|
let currentRawResponse = undefined;
|
|
220
|
-
const providedCallback =
|
|
190
|
+
const providedCallback = args.options?.onResponse;
|
|
221
191
|
const callback = (rawResponse, flatResponse) => {
|
|
222
192
|
currentRawResponse = rawResponse;
|
|
223
|
-
providedCallback
|
|
193
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
194
|
+
};
|
|
195
|
+
const updatedArgs = {
|
|
196
|
+
...args,
|
|
197
|
+
options: {
|
|
198
|
+
...args.options,
|
|
199
|
+
onResponse: callback
|
|
200
|
+
}
|
|
224
201
|
};
|
|
225
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
226
202
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
227
203
|
return {
|
|
228
204
|
flatResponse,
|
|
@@ -235,8 +211,8 @@ export class ControllersImpl {
|
|
|
235
211
|
};
|
|
236
212
|
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
|
|
237
213
|
const poller = new LroEngine(lro, {
|
|
238
|
-
resumeFrom: options
|
|
239
|
-
intervalInMs: options
|
|
214
|
+
resumeFrom: options?.resumeFrom,
|
|
215
|
+
intervalInMs: options?.updateIntervalInMs
|
|
240
216
|
});
|
|
241
217
|
await poller.poll();
|
|
242
218
|
return poller;
|