@azure/arm-containerservicefleet 1.0.0-beta.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -42
- package/README.md +1 -1
- package/dist/index.js +581 -188
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/fleetMembersCreateSample.js +1 -1
- package/dist-esm/samples-dev/fleetMembersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fleetMembersGetSample.js +1 -1
- package/dist-esm/samples-dev/fleetMembersListByFleetSample.js +1 -1
- package/dist-esm/samples-dev/fleetMembersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/fleetUpdateStrategiesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesCreateOrUpdateSample.js +51 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesGetSample.js +40 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesListByFleetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesListByFleetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesListByFleetSample.js +60 -0
- package/dist-esm/samples-dev/fleetUpdateStrategiesListByFleetSample.js.map +1 -0
- package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.js +1 -2
- package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fleetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fleetsGetSample.js +1 -1
- package/dist-esm/samples-dev/fleetsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/fleetsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/fleetsListCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/fleetsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/updateRunsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/updateRunsGetSample.js +1 -1
- package/dist-esm/samples-dev/updateRunsListByFleetSample.js +1 -1
- package/dist-esm/samples-dev/updateRunsStartSample.js +1 -1
- package/dist-esm/samples-dev/updateRunsStopSample.js +1 -1
- package/dist-esm/src/containerServiceFleetClient.d.ts +2 -1
- package/dist-esm/src/containerServiceFleetClient.d.ts.map +1 -1
- package/dist-esm/src/containerServiceFleetClient.js +4 -3
- package/dist-esm/src/containerServiceFleetClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +120 -52
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +91 -93
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +21 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/fleetUpdateStrategies.d.ts +81 -0
- package/dist-esm/src/operations/fleetUpdateStrategies.d.ts.map +1 -0
- package/dist-esm/src/operations/fleetUpdateStrategies.js +374 -0
- package/dist-esm/src/operations/fleetUpdateStrategies.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/fleetUpdateStrategies.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/fleetUpdateStrategies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fleetUpdateStrategies.js +9 -0
- package/dist-esm/src/operationsInterfaces/fleetUpdateStrategies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/test/containerservicefleet_operations_test.spec.js +1 -2
- package/dist-esm/test/containerservicefleet_operations_test.spec.js.map +1 -1
- package/package.json +11 -15
- package/review/arm-containerservicefleet.api.md +86 -22
- package/src/containerServiceFleetClient.ts +8 -4
- package/src/models/index.ts +137 -55
- package/src/models/mappers.ts +101 -99
- package/src/models/parameters.ts +24 -2
- package/src/operations/fleetUpdateStrategies.ts +509 -0
- package/src/operations/index.ts +1 -0
- package/src/operationsInterfaces/fleetUpdateStrategies.ts +109 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/types/arm-containerservicefleet.d.ts +189 -55
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { FleetUpdateStrategy, FleetUpdateStrategiesListByFleetOptionalParams, FleetUpdateStrategiesGetOptionalParams, FleetUpdateStrategiesGetResponse, FleetUpdateStrategiesCreateOrUpdateOptionalParams, FleetUpdateStrategiesCreateOrUpdateResponse, FleetUpdateStrategiesDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a FleetUpdateStrategies. */
|
|
5
|
+
export interface FleetUpdateStrategies {
|
|
6
|
+
/**
|
|
7
|
+
* List FleetUpdateStrategy resources by Fleet
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param fleetName The name of the Fleet resource.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByFleet(resourceGroupName: string, fleetName: string, options?: FleetUpdateStrategiesListByFleetOptionalParams): PagedAsyncIterableIterator<FleetUpdateStrategy>;
|
|
13
|
+
/**
|
|
14
|
+
* Get a FleetUpdateStrategy
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param fleetName The name of the Fleet resource.
|
|
17
|
+
* @param updateStrategyName The name of the UpdateStrategy resource.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesGetOptionalParams): Promise<FleetUpdateStrategiesGetResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Create a FleetUpdateStrategy
|
|
23
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
|
+
* @param fleetName The name of the Fleet resource.
|
|
25
|
+
* @param updateStrategyName The name of the UpdateStrategy resource.
|
|
26
|
+
* @param resource Resource create parameters.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
beginCreateOrUpdate(resourceGroupName: string, fleetName: string, updateStrategyName: string, resource: FleetUpdateStrategy, options?: FleetUpdateStrategiesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FleetUpdateStrategiesCreateOrUpdateResponse>, FleetUpdateStrategiesCreateOrUpdateResponse>>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a FleetUpdateStrategy
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param fleetName The name of the Fleet resource.
|
|
34
|
+
* @param updateStrategyName The name of the UpdateStrategy resource.
|
|
35
|
+
* @param resource Resource create parameters.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, fleetName: string, updateStrategyName: string, resource: FleetUpdateStrategy, options?: FleetUpdateStrategiesCreateOrUpdateOptionalParams): Promise<FleetUpdateStrategiesCreateOrUpdateResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a FleetUpdateStrategy
|
|
41
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
+
* @param fleetName The name of the Fleet resource.
|
|
43
|
+
* @param updateStrategyName The name of the UpdateStrategy resource.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginDelete(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete a FleetUpdateStrategy
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param fleetName The name of the Fleet resource.
|
|
51
|
+
* @param updateStrategyName The name of the UpdateStrategy resource.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginDeleteAndWait(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesDeleteOptionalParams): Promise<void>;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=fleetUpdateStrategies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fleetUpdateStrategies.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fleetUpdateStrategies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,mBAAmB,EACnB,8CAA8C,EAC9C,sCAAsC,EACtC,gCAAgC,EAChC,iDAAiD,EACjD,2CAA2C,EAC3C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;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
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=fleetUpdateStrategies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fleetUpdateStrategies.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fleetUpdateStrategies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
|
@@ -50,7 +50,6 @@ describe("containerservicefleet test", () => {
|
|
|
50
50
|
it("fleets create test", function () {
|
|
51
51
|
return __awaiter(this, void 0, void 0, function* () {
|
|
52
52
|
const res = yield client.fleets.beginCreateOrUpdateAndWait(resourceGroup, resourceName, {
|
|
53
|
-
hubProfile: { dnsPrefix: "dnsprefix1" },
|
|
54
53
|
location,
|
|
55
54
|
tags: { archv2: "", tier: "production" }
|
|
56
55
|
}, testPollingOptions);
|
|
@@ -94,7 +93,7 @@ describe("containerservicefleet test", () => {
|
|
|
94
93
|
var _a, e_2, _b, _c;
|
|
95
94
|
return __awaiter(this, void 0, void 0, function* () {
|
|
96
95
|
const resArray = new Array();
|
|
97
|
-
const res = yield client.fleets.beginDeleteAndWait(resourceGroup, resourceName);
|
|
96
|
+
const res = yield client.fleets.beginDeleteAndWait(resourceGroup, resourceName, testPollingOptions);
|
|
98
97
|
try {
|
|
99
98
|
for (var _d = true, _e = __asyncValues(client.fleets.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
100
99
|
_c = _f.value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerservicefleet_operations_test.spec.js","sourceRoot":"","sources":["../../test/containerservicefleet_operations_test.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAEjF,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IAC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AQ,GAAG,IAAI,KAAK,EAAE,CAAC;YAC7B,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,aAAa,EAAE,YAAY,EAAE,kBAAkB,CAAC,CAAA;;gBACnG,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA;oBAAhD,cAAgD;oBAAhD,WAAgD;;wBAA5D,IAAI,IAAI,KAAA,CAAA;wBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;iBACrB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for ContainerServiceFleetClient.",
|
|
6
|
-
"version": "1.0.0
|
|
6
|
+
"version": "1.0.0",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=16.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@azure/core-lro": "^2.5.4",
|
|
@@ -29,25 +29,21 @@
|
|
|
29
29
|
"types": "./types/arm-containerservicefleet.d.ts",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@microsoft/api-extractor": "^7.31.1",
|
|
32
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
33
|
-
"@rollup/plugin-json": "^6.0.0",
|
|
34
|
-
"@rollup/plugin-multi-entry": "^6.0.0",
|
|
35
|
-
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
36
32
|
"mkdirp": "^2.1.2",
|
|
37
|
-
"rollup": "^2.66.1",
|
|
38
|
-
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
39
33
|
"typescript": "~5.0.0",
|
|
40
34
|
"uglify-js": "^3.4.9",
|
|
41
|
-
"rimraf": "^
|
|
35
|
+
"rimraf": "^5.0.0",
|
|
42
36
|
"dotenv": "^16.0.0",
|
|
43
|
-
"@azure/identity": "^
|
|
37
|
+
"@azure/identity": "^3.3.0",
|
|
44
38
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
45
39
|
"@azure-tools/test-credential": "^1.0.0",
|
|
46
|
-
"mocha": "^
|
|
40
|
+
"mocha": "^10.0.0",
|
|
41
|
+
"@types/mocha": "^10.0.0",
|
|
42
|
+
"esm": "^3.2.18",
|
|
47
43
|
"@types/chai": "^4.2.8",
|
|
48
44
|
"chai": "^4.2.0",
|
|
49
45
|
"cross-env": "^7.0.2",
|
|
50
|
-
"@types/node": "^
|
|
46
|
+
"@types/node": "^16.0.0",
|
|
51
47
|
"ts-node": "^10.0.0",
|
|
52
48
|
"@azure/dev-tool": "^1.0.0"
|
|
53
49
|
},
|
|
@@ -77,14 +73,14 @@
|
|
|
77
73
|
"types/*"
|
|
78
74
|
],
|
|
79
75
|
"scripts": {
|
|
80
|
-
"build": "npm run clean && tsc &&
|
|
76
|
+
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
|
|
81
77
|
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
82
78
|
"prepack": "npm run build",
|
|
83
79
|
"pack": "npm pack 2>&1",
|
|
84
80
|
"extract-api": "api-extractor run --local",
|
|
85
81
|
"lint": "echo skipped",
|
|
86
82
|
"audit": "echo skipped",
|
|
87
|
-
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
83
|
+
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
88
84
|
"build:node": "echo skipped",
|
|
89
85
|
"build:browser": "echo skipped",
|
|
90
86
|
"build:test": "echo skipped",
|
|
@@ -121,4 +117,4 @@
|
|
|
121
117
|
"disableDocsMs": true,
|
|
122
118
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservicefleet?view=azure-node-preview"
|
|
123
119
|
}
|
|
124
|
-
}
|
|
120
|
+
}
|
|
@@ -13,18 +13,6 @@ import { SimplePollerLike } from '@azure/core-lro';
|
|
|
13
13
|
// @public
|
|
14
14
|
export type ActionType = string;
|
|
15
15
|
|
|
16
|
-
// @public
|
|
17
|
-
export interface AgentProfile {
|
|
18
|
-
subnetId?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// @public
|
|
22
|
-
export interface APIServerAccessProfile {
|
|
23
|
-
enablePrivateCluster?: boolean;
|
|
24
|
-
enableVnetIntegration?: boolean;
|
|
25
|
-
subnetId?: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
16
|
// @public (undocumented)
|
|
29
17
|
export class ContainerServiceFleetClient extends coreClient.ServiceClient {
|
|
30
18
|
// (undocumented)
|
|
@@ -37,6 +25,8 @@ export class ContainerServiceFleetClient extends coreClient.ServiceClient {
|
|
|
37
25
|
// (undocumented)
|
|
38
26
|
fleets: Fleets;
|
|
39
27
|
// (undocumented)
|
|
28
|
+
fleetUpdateStrategies: FleetUpdateStrategies;
|
|
29
|
+
// (undocumented)
|
|
40
30
|
operations: Operations;
|
|
41
31
|
// (undocumented)
|
|
42
32
|
subscriptionId: string;
|
|
@@ -77,7 +67,6 @@ export interface ErrorResponse {
|
|
|
77
67
|
// @public
|
|
78
68
|
export interface Fleet extends TrackedResource {
|
|
79
69
|
readonly eTag?: string;
|
|
80
|
-
hubProfile?: FleetHubProfile;
|
|
81
70
|
identity?: ManagedServiceIdentity;
|
|
82
71
|
readonly provisioningState?: FleetProvisioningState;
|
|
83
72
|
}
|
|
@@ -93,15 +82,6 @@ export interface FleetCredentialResults {
|
|
|
93
82
|
readonly kubeconfigs?: FleetCredentialResult[];
|
|
94
83
|
}
|
|
95
84
|
|
|
96
|
-
// @public
|
|
97
|
-
export interface FleetHubProfile {
|
|
98
|
-
agentProfile?: AgentProfile;
|
|
99
|
-
apiServerAccessProfile?: APIServerAccessProfile;
|
|
100
|
-
dnsPrefix?: string;
|
|
101
|
-
readonly fqdn?: string;
|
|
102
|
-
readonly kubernetesVersion?: string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
85
|
// @public
|
|
106
86
|
export interface FleetListResult {
|
|
107
87
|
nextLink?: string;
|
|
@@ -320,6 +300,82 @@ export interface FleetsUpdateOptionalParams extends coreClient.OperationOptions
|
|
|
320
300
|
// @public
|
|
321
301
|
export type FleetsUpdateResponse = Fleet;
|
|
322
302
|
|
|
303
|
+
// @public
|
|
304
|
+
export interface FleetUpdateStrategies {
|
|
305
|
+
beginCreateOrUpdate(resourceGroupName: string, fleetName: string, updateStrategyName: string, resource: FleetUpdateStrategy, options?: FleetUpdateStrategiesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FleetUpdateStrategiesCreateOrUpdateResponse>, FleetUpdateStrategiesCreateOrUpdateResponse>>;
|
|
306
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, fleetName: string, updateStrategyName: string, resource: FleetUpdateStrategy, options?: FleetUpdateStrategiesCreateOrUpdateOptionalParams): Promise<FleetUpdateStrategiesCreateOrUpdateResponse>;
|
|
307
|
+
beginDelete(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
308
|
+
beginDeleteAndWait(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesDeleteOptionalParams): Promise<void>;
|
|
309
|
+
get(resourceGroupName: string, fleetName: string, updateStrategyName: string, options?: FleetUpdateStrategiesGetOptionalParams): Promise<FleetUpdateStrategiesGetResponse>;
|
|
310
|
+
listByFleet(resourceGroupName: string, fleetName: string, options?: FleetUpdateStrategiesListByFleetOptionalParams): PagedAsyncIterableIterator<FleetUpdateStrategy>;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// @public
|
|
314
|
+
export interface FleetUpdateStrategiesCreateOrUpdateHeaders {
|
|
315
|
+
retryAfter?: number;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// @public
|
|
319
|
+
export interface FleetUpdateStrategiesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
320
|
+
ifMatch?: string;
|
|
321
|
+
ifNoneMatch?: string;
|
|
322
|
+
resumeFrom?: string;
|
|
323
|
+
updateIntervalInMs?: number;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// @public
|
|
327
|
+
export type FleetUpdateStrategiesCreateOrUpdateResponse = FleetUpdateStrategy;
|
|
328
|
+
|
|
329
|
+
// @public
|
|
330
|
+
export interface FleetUpdateStrategiesDeleteHeaders {
|
|
331
|
+
location?: string;
|
|
332
|
+
retryAfter?: number;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
// @public
|
|
336
|
+
export interface FleetUpdateStrategiesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
337
|
+
ifMatch?: string;
|
|
338
|
+
resumeFrom?: string;
|
|
339
|
+
updateIntervalInMs?: number;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// @public
|
|
343
|
+
export interface FleetUpdateStrategiesGetOptionalParams extends coreClient.OperationOptions {
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
// @public
|
|
347
|
+
export type FleetUpdateStrategiesGetResponse = FleetUpdateStrategy;
|
|
348
|
+
|
|
349
|
+
// @public
|
|
350
|
+
export interface FleetUpdateStrategiesListByFleetNextOptionalParams extends coreClient.OperationOptions {
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// @public
|
|
354
|
+
export type FleetUpdateStrategiesListByFleetNextResponse = FleetUpdateStrategyListResult;
|
|
355
|
+
|
|
356
|
+
// @public
|
|
357
|
+
export interface FleetUpdateStrategiesListByFleetOptionalParams extends coreClient.OperationOptions {
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
// @public
|
|
361
|
+
export type FleetUpdateStrategiesListByFleetResponse = FleetUpdateStrategyListResult;
|
|
362
|
+
|
|
363
|
+
// @public
|
|
364
|
+
export interface FleetUpdateStrategy extends ProxyResource {
|
|
365
|
+
readonly eTag?: string;
|
|
366
|
+
readonly provisioningState?: FleetUpdateStrategyProvisioningState;
|
|
367
|
+
strategy?: UpdateRunStrategy;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
// @public
|
|
371
|
+
export interface FleetUpdateStrategyListResult {
|
|
372
|
+
nextLink?: string;
|
|
373
|
+
value: FleetUpdateStrategy[];
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// @public
|
|
377
|
+
export type FleetUpdateStrategyProvisioningState = string;
|
|
378
|
+
|
|
323
379
|
// @public
|
|
324
380
|
export function getContinuationToken(page: unknown): string | undefined;
|
|
325
381
|
|
|
@@ -356,6 +412,13 @@ export enum KnownFleetProvisioningState {
|
|
|
356
412
|
Updating = "Updating"
|
|
357
413
|
}
|
|
358
414
|
|
|
415
|
+
// @public
|
|
416
|
+
export enum KnownFleetUpdateStrategyProvisioningState {
|
|
417
|
+
Canceled = "Canceled",
|
|
418
|
+
Failed = "Failed",
|
|
419
|
+
Succeeded = "Succeeded"
|
|
420
|
+
}
|
|
421
|
+
|
|
359
422
|
// @public
|
|
360
423
|
export enum KnownManagedClusterUpgradeType {
|
|
361
424
|
Full = "Full",
|
|
@@ -550,6 +613,7 @@ export interface UpdateRun extends ProxyResource {
|
|
|
550
613
|
readonly provisioningState?: UpdateRunProvisioningState;
|
|
551
614
|
readonly status?: UpdateRunStatus;
|
|
552
615
|
strategy?: UpdateRunStrategy;
|
|
616
|
+
updateStrategyId?: string;
|
|
553
617
|
}
|
|
554
618
|
|
|
555
619
|
// @public
|
|
@@ -18,13 +18,15 @@ import {
|
|
|
18
18
|
OperationsImpl,
|
|
19
19
|
FleetsImpl,
|
|
20
20
|
FleetMembersImpl,
|
|
21
|
-
UpdateRunsImpl
|
|
21
|
+
UpdateRunsImpl,
|
|
22
|
+
FleetUpdateStrategiesImpl
|
|
22
23
|
} from "./operations";
|
|
23
24
|
import {
|
|
24
25
|
Operations,
|
|
25
26
|
Fleets,
|
|
26
27
|
FleetMembers,
|
|
27
|
-
UpdateRuns
|
|
28
|
+
UpdateRuns,
|
|
29
|
+
FleetUpdateStrategies
|
|
28
30
|
} from "./operationsInterfaces";
|
|
29
31
|
import { ContainerServiceFleetClientOptionalParams } from "./models";
|
|
30
32
|
|
|
@@ -60,7 +62,7 @@ export class ContainerServiceFleetClient extends coreClient.ServiceClient {
|
|
|
60
62
|
credential: credentials
|
|
61
63
|
};
|
|
62
64
|
|
|
63
|
-
const packageDetails = `azsdk-js-arm-containerservicefleet/1.0.0
|
|
65
|
+
const packageDetails = `azsdk-js-arm-containerservicefleet/1.0.0`;
|
|
64
66
|
const userAgentPrefix =
|
|
65
67
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
66
68
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -113,11 +115,12 @@ export class ContainerServiceFleetClient extends coreClient.ServiceClient {
|
|
|
113
115
|
|
|
114
116
|
// Assigning values to Constant parameters
|
|
115
117
|
this.$host = options.$host || "https://management.azure.com";
|
|
116
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
118
|
+
this.apiVersion = options.apiVersion || "2023-10-15";
|
|
117
119
|
this.operations = new OperationsImpl(this);
|
|
118
120
|
this.fleets = new FleetsImpl(this);
|
|
119
121
|
this.fleetMembers = new FleetMembersImpl(this);
|
|
120
122
|
this.updateRuns = new UpdateRunsImpl(this);
|
|
123
|
+
this.fleetUpdateStrategies = new FleetUpdateStrategiesImpl(this);
|
|
121
124
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
122
125
|
}
|
|
123
126
|
|
|
@@ -153,4 +156,5 @@ export class ContainerServiceFleetClient extends coreClient.ServiceClient {
|
|
|
153
156
|
fleets: Fleets;
|
|
154
157
|
fleetMembers: FleetMembers;
|
|
155
158
|
updateRuns: UpdateRuns;
|
|
159
|
+
fleetUpdateStrategies: FleetUpdateStrategies;
|
|
156
160
|
}
|