@azure/arm-containerservice 14.1.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/LICENSE.txt +21 -0
- package/README.md +106 -0
- package/dist/arm-containerservice.js +6451 -0
- package/dist/arm-containerservice.js.map +1 -0
- package/dist/arm-containerservice.min.js +1 -0
- package/dist/arm-containerservice.min.js.map +1 -0
- package/esm/containerServiceClient.d.ts +32 -0
- package/esm/containerServiceClient.d.ts.map +1 -0
- package/esm/containerServiceClient.js +45 -0
- package/esm/containerServiceClient.js.map +1 -0
- package/esm/containerServiceClientContext.d.ts +23 -0
- package/esm/containerServiceClientContext.d.ts.map +1 -0
- package/esm/containerServiceClientContext.js +61 -0
- package/esm/containerServiceClientContext.js.map +1 -0
- package/esm/models/agentPoolsMappers.d.ts +2 -0
- package/esm/models/agentPoolsMappers.d.ts.map +1 -0
- package/esm/models/agentPoolsMappers.js +9 -0
- package/esm/models/agentPoolsMappers.js.map +1 -0
- package/esm/models/index.d.ts +3479 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +8 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/maintenanceConfigurationsMappers.d.ts +2 -0
- package/esm/models/maintenanceConfigurationsMappers.d.ts.map +1 -0
- package/esm/models/maintenanceConfigurationsMappers.js +9 -0
- package/esm/models/maintenanceConfigurationsMappers.js.map +1 -0
- package/esm/models/managedClustersMappers.d.ts +2 -0
- package/esm/models/managedClustersMappers.d.ts.map +1 -0
- package/esm/models/managedClustersMappers.js +9 -0
- package/esm/models/managedClustersMappers.js.map +1 -0
- package/esm/models/mappers.d.ts +88 -0
- package/esm/models/mappers.d.ts.map +1 -0
- package/esm/models/mappers.js +3516 -0
- package/esm/models/mappers.js.map +1 -0
- package/esm/models/operationsMappers.d.ts +2 -0
- package/esm/models/operationsMappers.d.ts.map +1 -0
- package/esm/models/operationsMappers.js +9 -0
- package/esm/models/operationsMappers.js.map +1 -0
- package/esm/models/parameters.d.ts +16 -0
- package/esm/models/parameters.d.ts.map +1 -0
- package/esm/models/parameters.js +162 -0
- package/esm/models/parameters.js.map +1 -0
- package/esm/models/privateEndpointConnectionsMappers.d.ts +2 -0
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +1 -0
- package/esm/models/privateEndpointConnectionsMappers.js +9 -0
- package/esm/models/privateEndpointConnectionsMappers.js.map +1 -0
- package/esm/models/privateLinkResourcesMappers.d.ts +2 -0
- package/esm/models/privateLinkResourcesMappers.d.ts.map +1 -0
- package/esm/models/privateLinkResourcesMappers.js +9 -0
- package/esm/models/privateLinkResourcesMappers.js.map +1 -0
- package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts +2 -0
- package/esm/models/resolvePrivateLinkServiceIdMappers.d.ts.map +1 -0
- package/esm/models/resolvePrivateLinkServiceIdMappers.js +9 -0
- package/esm/models/resolvePrivateLinkServiceIdMappers.js.map +1 -0
- package/esm/models/snapshotsMappers.d.ts +2 -0
- package/esm/models/snapshotsMappers.d.ts.map +1 -0
- package/esm/models/snapshotsMappers.js +9 -0
- package/esm/models/snapshotsMappers.js.map +1 -0
- package/esm/operations/agentPools.d.ts +187 -0
- package/esm/operations/agentPools.d.ts.map +1 -0
- package/esm/operations/agentPools.js +359 -0
- package/esm/operations/agentPools.js.map +1 -0
- package/esm/operations/index.d.ts +9 -0
- package/esm/operations/index.d.ts.map +1 -0
- package/esm/operations/index.js +17 -0
- package/esm/operations/index.js.map +1 -0
- package/esm/operations/maintenanceConfigurations.d.ts +127 -0
- package/esm/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/esm/operations/maintenanceConfigurations.js +190 -0
- package/esm/operations/maintenanceConfigurations.js.map +1 -0
- package/esm/operations/managedClusters.d.ts +487 -0
- package/esm/operations/managedClusters.d.ts.map +1 -0
- package/esm/operations/managedClusters.js +956 -0
- package/esm/operations/managedClusters.js.map +1 -0
- package/esm/operations/operations.d.ts +28 -0
- package/esm/operations/operations.d.ts.map +1 -0
- package/esm/operations/operations.js +50 -0
- package/esm/operations/operations.js.map +1 -0
- package/esm/operations/privateEndpointConnections.d.ts +106 -0
- package/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/esm/operations/privateEndpointConnections.js +181 -0
- package/esm/operations/privateEndpointConnections.js.map +1 -0
- package/esm/operations/privateLinkResources.d.ts +35 -0
- package/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/esm/operations/privateLinkResources.js +57 -0
- package/esm/operations/privateLinkResources.js.map +1 -0
- package/esm/operations/resolvePrivateLinkServiceId.d.ts +37 -0
- package/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -0
- package/esm/operations/resolvePrivateLinkServiceId.js +63 -0
- package/esm/operations/resolvePrivateLinkServiceId.js.map +1 -0
- package/esm/operations/snapshots.d.ts +172 -0
- package/esm/operations/snapshots.d.ts.map +1 -0
- package/esm/operations/snapshots.js +277 -0
- package/esm/operations/snapshots.js.map +1 -0
- package/package.json +59 -0
- package/rollup.config.js +37 -0
- package/src/containerServiceClient.ts +62 -0
- package/src/containerServiceClientContext.ts +68 -0
- package/src/models/agentPoolsMappers.ts +72 -0
- package/src/models/index.ts +3679 -0
- package/src/models/maintenanceConfigurationsMappers.ts +68 -0
- package/src/models/managedClustersMappers.ts +82 -0
- package/src/models/mappers.ts +3695 -0
- package/src/models/operationsMappers.ts +13 -0
- package/src/models/parameters.ts +164 -0
- package/src/models/privateEndpointConnectionsMappers.ts +68 -0
- package/src/models/privateLinkResourcesMappers.ts +13 -0
- package/src/models/resolvePrivateLinkServiceIdMappers.ts +12 -0
- package/src/models/snapshotsMappers.ts +69 -0
- package/src/operations/agentPools.ts +519 -0
- package/src/operations/index.ts +17 -0
- package/src/operations/maintenanceConfigurations.ts +334 -0
- package/src/operations/managedClusters.ts +1391 -0
- package/src/operations/operations.ts +73 -0
- package/src/operations/privateEndpointConnections.ts +282 -0
- package/src/operations/privateLinkResources.ts +87 -0
- package/src/operations/resolvePrivateLinkServiceId.ts +97 -0
- package/src/operations/snapshots.ts +484 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../src/operations/agentPools.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;OAMG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IAClI;;;;OAIG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACzH;;;;;OAKG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAY7J;;;;;;;OAOG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;IACvJ;;;;;OAKG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE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AAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAY9J;;;;;;;;;;OAUG;IACH,4BAA4B,CAAC,iBAAiB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAYzK;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}
|
|
@@ -0,0 +1,359 @@
|
|
|
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
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
import { __assign } from "tslib";
|
|
10
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
+
import * as Mappers from "../models/agentPoolsMappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
/** Class representing a AgentPools. */
|
|
14
|
+
var AgentPools = /** @class */ (function () {
|
|
15
|
+
/**
|
|
16
|
+
* Create a AgentPools.
|
|
17
|
+
* @param {ContainerServiceClientContext} client Reference to the service client.
|
|
18
|
+
*/
|
|
19
|
+
function AgentPools(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
AgentPools.prototype.list = function (resourceGroupName, resourceName, options, callback) {
|
|
23
|
+
return this.client.sendOperationRequest({
|
|
24
|
+
resourceGroupName: resourceGroupName,
|
|
25
|
+
resourceName: resourceName,
|
|
26
|
+
options: options
|
|
27
|
+
}, listOperationSpec, callback);
|
|
28
|
+
};
|
|
29
|
+
AgentPools.prototype.get = function (resourceGroupName, resourceName, agentPoolName, options, callback) {
|
|
30
|
+
return this.client.sendOperationRequest({
|
|
31
|
+
resourceGroupName: resourceGroupName,
|
|
32
|
+
resourceName: resourceName,
|
|
33
|
+
agentPoolName: agentPoolName,
|
|
34
|
+
options: options
|
|
35
|
+
}, getOperationSpec, callback);
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @summary Creates or updates an agent pool in the specified managed cluster.
|
|
39
|
+
* @param resourceGroupName The name of the resource group.
|
|
40
|
+
* @param resourceName The name of the managed cluster resource.
|
|
41
|
+
* @param agentPoolName The name of the agent pool.
|
|
42
|
+
* @param parameters The agent pool to create or update.
|
|
43
|
+
* @param [options] The optional parameters
|
|
44
|
+
* @returns Promise<Models.AgentPoolsCreateOrUpdateResponse>
|
|
45
|
+
*/
|
|
46
|
+
AgentPools.prototype.createOrUpdate = function (resourceGroupName, resourceName, agentPoolName, parameters, options) {
|
|
47
|
+
return this.beginCreateOrUpdate(resourceGroupName, resourceName, agentPoolName, parameters, options)
|
|
48
|
+
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @summary Deletes an agent pool in the specified managed cluster.
|
|
52
|
+
* @param resourceGroupName The name of the resource group.
|
|
53
|
+
* @param resourceName The name of the managed cluster resource.
|
|
54
|
+
* @param agentPoolName The name of the agent pool.
|
|
55
|
+
* @param [options] The optional parameters
|
|
56
|
+
* @returns Promise<msRest.RestResponse>
|
|
57
|
+
*/
|
|
58
|
+
AgentPools.prototype.deleteMethod = function (resourceGroupName, resourceName, agentPoolName, options) {
|
|
59
|
+
return this.beginDeleteMethod(resourceGroupName, resourceName, agentPoolName, options)
|
|
60
|
+
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
61
|
+
};
|
|
62
|
+
AgentPools.prototype.getUpgradeProfile = function (resourceGroupName, resourceName, agentPoolName, options, callback) {
|
|
63
|
+
return this.client.sendOperationRequest({
|
|
64
|
+
resourceGroupName: resourceGroupName,
|
|
65
|
+
resourceName: resourceName,
|
|
66
|
+
agentPoolName: agentPoolName,
|
|
67
|
+
options: options
|
|
68
|
+
}, getUpgradeProfileOperationSpec, callback);
|
|
69
|
+
};
|
|
70
|
+
AgentPools.prototype.getAvailableAgentPoolVersions = function (resourceGroupName, resourceName, options, callback) {
|
|
71
|
+
return this.client.sendOperationRequest({
|
|
72
|
+
resourceGroupName: resourceGroupName,
|
|
73
|
+
resourceName: resourceName,
|
|
74
|
+
options: options
|
|
75
|
+
}, getAvailableAgentPoolVersionsOperationSpec, callback);
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Upgrading the node image version of an agent pool applies the newest OS and runtime updates to
|
|
79
|
+
* the nodes. AKS provides one new image per week with the latest updates. For more details on node
|
|
80
|
+
* image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
|
|
81
|
+
* @summary Upgrades the node image version of an agent pool to the latest.
|
|
82
|
+
* @param resourceGroupName The name of the resource group.
|
|
83
|
+
* @param resourceName The name of the managed cluster resource.
|
|
84
|
+
* @param agentPoolName The name of the agent pool.
|
|
85
|
+
* @param [options] The optional parameters
|
|
86
|
+
* @returns Promise<Models.AgentPoolsUpgradeNodeImageVersionResponse>
|
|
87
|
+
*/
|
|
88
|
+
AgentPools.prototype.upgradeNodeImageVersion = function (resourceGroupName, resourceName, agentPoolName, options) {
|
|
89
|
+
return this.beginUpgradeNodeImageVersion(resourceGroupName, resourceName, agentPoolName, options)
|
|
90
|
+
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @summary Creates or updates an agent pool in the specified managed cluster.
|
|
94
|
+
* @param resourceGroupName The name of the resource group.
|
|
95
|
+
* @param resourceName The name of the managed cluster resource.
|
|
96
|
+
* @param agentPoolName The name of the agent pool.
|
|
97
|
+
* @param parameters The agent pool to create or update.
|
|
98
|
+
* @param [options] The optional parameters
|
|
99
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
100
|
+
*/
|
|
101
|
+
AgentPools.prototype.beginCreateOrUpdate = function (resourceGroupName, resourceName, agentPoolName, parameters, options) {
|
|
102
|
+
return this.client.sendLRORequest({
|
|
103
|
+
resourceGroupName: resourceGroupName,
|
|
104
|
+
resourceName: resourceName,
|
|
105
|
+
agentPoolName: agentPoolName,
|
|
106
|
+
parameters: parameters,
|
|
107
|
+
options: options
|
|
108
|
+
}, beginCreateOrUpdateOperationSpec, options);
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @summary Deletes an agent pool in the specified managed cluster.
|
|
112
|
+
* @param resourceGroupName The name of the resource group.
|
|
113
|
+
* @param resourceName The name of the managed cluster resource.
|
|
114
|
+
* @param agentPoolName The name of the agent pool.
|
|
115
|
+
* @param [options] The optional parameters
|
|
116
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
117
|
+
*/
|
|
118
|
+
AgentPools.prototype.beginDeleteMethod = function (resourceGroupName, resourceName, agentPoolName, options) {
|
|
119
|
+
return this.client.sendLRORequest({
|
|
120
|
+
resourceGroupName: resourceGroupName,
|
|
121
|
+
resourceName: resourceName,
|
|
122
|
+
agentPoolName: agentPoolName,
|
|
123
|
+
options: options
|
|
124
|
+
}, beginDeleteMethodOperationSpec, options);
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Upgrading the node image version of an agent pool applies the newest OS and runtime updates to
|
|
128
|
+
* the nodes. AKS provides one new image per week with the latest updates. For more details on node
|
|
129
|
+
* image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
|
|
130
|
+
* @summary Upgrades the node image version of an agent pool to the latest.
|
|
131
|
+
* @param resourceGroupName The name of the resource group.
|
|
132
|
+
* @param resourceName The name of the managed cluster resource.
|
|
133
|
+
* @param agentPoolName The name of the agent pool.
|
|
134
|
+
* @param [options] The optional parameters
|
|
135
|
+
* @returns Promise<msRestAzure.LROPoller>
|
|
136
|
+
*/
|
|
137
|
+
AgentPools.prototype.beginUpgradeNodeImageVersion = function (resourceGroupName, resourceName, agentPoolName, options) {
|
|
138
|
+
return this.client.sendLRORequest({
|
|
139
|
+
resourceGroupName: resourceGroupName,
|
|
140
|
+
resourceName: resourceName,
|
|
141
|
+
agentPoolName: agentPoolName,
|
|
142
|
+
options: options
|
|
143
|
+
}, beginUpgradeNodeImageVersionOperationSpec, options);
|
|
144
|
+
};
|
|
145
|
+
AgentPools.prototype.listNext = function (nextPageLink, options, callback) {
|
|
146
|
+
return this.client.sendOperationRequest({
|
|
147
|
+
nextPageLink: nextPageLink,
|
|
148
|
+
options: options
|
|
149
|
+
}, listNextOperationSpec, callback);
|
|
150
|
+
};
|
|
151
|
+
return AgentPools;
|
|
152
|
+
}());
|
|
153
|
+
export { AgentPools };
|
|
154
|
+
// Operation Specifications
|
|
155
|
+
var serializer = new msRest.Serializer(Mappers);
|
|
156
|
+
var listOperationSpec = {
|
|
157
|
+
httpMethod: "GET",
|
|
158
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools",
|
|
159
|
+
urlParameters: [
|
|
160
|
+
Parameters.subscriptionId,
|
|
161
|
+
Parameters.resourceGroupName,
|
|
162
|
+
Parameters.resourceName
|
|
163
|
+
],
|
|
164
|
+
queryParameters: [
|
|
165
|
+
Parameters.apiVersion
|
|
166
|
+
],
|
|
167
|
+
headerParameters: [
|
|
168
|
+
Parameters.acceptLanguage
|
|
169
|
+
],
|
|
170
|
+
responses: {
|
|
171
|
+
200: {
|
|
172
|
+
bodyMapper: Mappers.AgentPoolListResult
|
|
173
|
+
},
|
|
174
|
+
default: {
|
|
175
|
+
bodyMapper: Mappers.CloudError
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
serializer: serializer
|
|
179
|
+
};
|
|
180
|
+
var getOperationSpec = {
|
|
181
|
+
httpMethod: "GET",
|
|
182
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}",
|
|
183
|
+
urlParameters: [
|
|
184
|
+
Parameters.subscriptionId,
|
|
185
|
+
Parameters.resourceGroupName,
|
|
186
|
+
Parameters.resourceName,
|
|
187
|
+
Parameters.agentPoolName
|
|
188
|
+
],
|
|
189
|
+
queryParameters: [
|
|
190
|
+
Parameters.apiVersion
|
|
191
|
+
],
|
|
192
|
+
headerParameters: [
|
|
193
|
+
Parameters.acceptLanguage
|
|
194
|
+
],
|
|
195
|
+
responses: {
|
|
196
|
+
200: {
|
|
197
|
+
bodyMapper: Mappers.AgentPool
|
|
198
|
+
},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.CloudError
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
serializer: serializer
|
|
204
|
+
};
|
|
205
|
+
var getUpgradeProfileOperationSpec = {
|
|
206
|
+
httpMethod: "GET",
|
|
207
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default",
|
|
208
|
+
urlParameters: [
|
|
209
|
+
Parameters.subscriptionId,
|
|
210
|
+
Parameters.resourceGroupName,
|
|
211
|
+
Parameters.resourceName,
|
|
212
|
+
Parameters.agentPoolName
|
|
213
|
+
],
|
|
214
|
+
queryParameters: [
|
|
215
|
+
Parameters.apiVersion
|
|
216
|
+
],
|
|
217
|
+
headerParameters: [
|
|
218
|
+
Parameters.acceptLanguage
|
|
219
|
+
],
|
|
220
|
+
responses: {
|
|
221
|
+
200: {
|
|
222
|
+
bodyMapper: Mappers.AgentPoolUpgradeProfile
|
|
223
|
+
},
|
|
224
|
+
default: {
|
|
225
|
+
bodyMapper: Mappers.CloudError
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
serializer: serializer
|
|
229
|
+
};
|
|
230
|
+
var getAvailableAgentPoolVersionsOperationSpec = {
|
|
231
|
+
httpMethod: "GET",
|
|
232
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions",
|
|
233
|
+
urlParameters: [
|
|
234
|
+
Parameters.subscriptionId,
|
|
235
|
+
Parameters.resourceGroupName,
|
|
236
|
+
Parameters.resourceName
|
|
237
|
+
],
|
|
238
|
+
queryParameters: [
|
|
239
|
+
Parameters.apiVersion
|
|
240
|
+
],
|
|
241
|
+
headerParameters: [
|
|
242
|
+
Parameters.acceptLanguage
|
|
243
|
+
],
|
|
244
|
+
responses: {
|
|
245
|
+
200: {
|
|
246
|
+
bodyMapper: Mappers.AgentPoolAvailableVersions
|
|
247
|
+
},
|
|
248
|
+
default: {
|
|
249
|
+
bodyMapper: Mappers.CloudError
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
serializer: serializer
|
|
253
|
+
};
|
|
254
|
+
var beginCreateOrUpdateOperationSpec = {
|
|
255
|
+
httpMethod: "PUT",
|
|
256
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}",
|
|
257
|
+
urlParameters: [
|
|
258
|
+
Parameters.subscriptionId,
|
|
259
|
+
Parameters.resourceGroupName,
|
|
260
|
+
Parameters.resourceName,
|
|
261
|
+
Parameters.agentPoolName
|
|
262
|
+
],
|
|
263
|
+
queryParameters: [
|
|
264
|
+
Parameters.apiVersion
|
|
265
|
+
],
|
|
266
|
+
headerParameters: [
|
|
267
|
+
Parameters.acceptLanguage
|
|
268
|
+
],
|
|
269
|
+
requestBody: {
|
|
270
|
+
parameterPath: "parameters",
|
|
271
|
+
mapper: __assign(__assign({}, Mappers.AgentPool), { required: true })
|
|
272
|
+
},
|
|
273
|
+
responses: {
|
|
274
|
+
200: {
|
|
275
|
+
bodyMapper: Mappers.AgentPool
|
|
276
|
+
},
|
|
277
|
+
201: {
|
|
278
|
+
bodyMapper: Mappers.AgentPool
|
|
279
|
+
},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.CloudError
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
serializer: serializer
|
|
285
|
+
};
|
|
286
|
+
var beginDeleteMethodOperationSpec = {
|
|
287
|
+
httpMethod: "DELETE",
|
|
288
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}",
|
|
289
|
+
urlParameters: [
|
|
290
|
+
Parameters.subscriptionId,
|
|
291
|
+
Parameters.resourceGroupName,
|
|
292
|
+
Parameters.resourceName,
|
|
293
|
+
Parameters.agentPoolName
|
|
294
|
+
],
|
|
295
|
+
queryParameters: [
|
|
296
|
+
Parameters.apiVersion
|
|
297
|
+
],
|
|
298
|
+
headerParameters: [
|
|
299
|
+
Parameters.acceptLanguage
|
|
300
|
+
],
|
|
301
|
+
responses: {
|
|
302
|
+
202: {},
|
|
303
|
+
204: {},
|
|
304
|
+
default: {
|
|
305
|
+
bodyMapper: Mappers.CloudError
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
serializer: serializer
|
|
309
|
+
};
|
|
310
|
+
var beginUpgradeNodeImageVersionOperationSpec = {
|
|
311
|
+
httpMethod: "POST",
|
|
312
|
+
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion",
|
|
313
|
+
urlParameters: [
|
|
314
|
+
Parameters.subscriptionId,
|
|
315
|
+
Parameters.resourceGroupName,
|
|
316
|
+
Parameters.resourceName,
|
|
317
|
+
Parameters.agentPoolName
|
|
318
|
+
],
|
|
319
|
+
queryParameters: [
|
|
320
|
+
Parameters.apiVersion
|
|
321
|
+
],
|
|
322
|
+
headerParameters: [
|
|
323
|
+
Parameters.acceptLanguage
|
|
324
|
+
],
|
|
325
|
+
responses: {
|
|
326
|
+
200: {},
|
|
327
|
+
202: {
|
|
328
|
+
bodyMapper: Mappers.AgentPool
|
|
329
|
+
},
|
|
330
|
+
default: {
|
|
331
|
+
bodyMapper: Mappers.CloudError
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
serializer: serializer
|
|
335
|
+
};
|
|
336
|
+
var listNextOperationSpec = {
|
|
337
|
+
httpMethod: "GET",
|
|
338
|
+
baseUrl: "https://management.azure.com",
|
|
339
|
+
path: "{nextLink}",
|
|
340
|
+
urlParameters: [
|
|
341
|
+
Parameters.nextPageLink
|
|
342
|
+
],
|
|
343
|
+
queryParameters: [
|
|
344
|
+
Parameters.apiVersion
|
|
345
|
+
],
|
|
346
|
+
headerParameters: [
|
|
347
|
+
Parameters.acceptLanguage
|
|
348
|
+
],
|
|
349
|
+
responses: {
|
|
350
|
+
200: {
|
|
351
|
+
bodyMapper: Mappers.AgentPoolListResult
|
|
352
|
+
},
|
|
353
|
+
default: {
|
|
354
|
+
bodyMapper: Mappers.CloudError
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
serializer: serializer
|
|
358
|
+
};
|
|
359
|
+
//# sourceMappingURL=agentPools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../src/operations/agentPools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAA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E,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,yCAAyC,GAAyB;IACtE,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,0LAA0L;IAChM,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,aAAa;KACzB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./operations";
|
|
2
|
+
export * from "./managedClusters";
|
|
3
|
+
export * from "./maintenanceConfigurations";
|
|
4
|
+
export * from "./agentPools";
|
|
5
|
+
export * from "./privateEndpointConnections";
|
|
6
|
+
export * from "./privateLinkResources";
|
|
7
|
+
export * from "./resolvePrivateLinkServiceId";
|
|
8
|
+
export * from "./snapshots";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
|
7
|
+
* regenerated.
|
|
8
|
+
*/
|
|
9
|
+
export * from "./operations";
|
|
10
|
+
export * from "./managedClusters";
|
|
11
|
+
export * from "./maintenanceConfigurations";
|
|
12
|
+
export * from "./agentPools";
|
|
13
|
+
export * from "./privateEndpointConnections";
|
|
14
|
+
export * from "./privateLinkResources";
|
|
15
|
+
export * from "./resolvePrivateLinkServiceId";
|
|
16
|
+
export * from "./snapshots";
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
+
import * as Models from "../models";
|
|
3
|
+
import { ContainerServiceClientContext } from "../containerServiceClientContext";
|
|
4
|
+
/** Class representing a MaintenanceConfigurations. */
|
|
5
|
+
export declare class MaintenanceConfigurations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Create a MaintenanceConfigurations.
|
|
9
|
+
* @param {ContainerServiceClientContext} client Reference to the service client.
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ContainerServiceClientContext);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Gets a list of maintenance configurations in the specified managed cluster.
|
|
14
|
+
* @param resourceGroupName The name of the resource group.
|
|
15
|
+
* @param resourceName The name of the managed cluster resource.
|
|
16
|
+
* @param [options] The optional parameters
|
|
17
|
+
* @returns Promise<Models.MaintenanceConfigurationsListByManagedClusterResponse>
|
|
18
|
+
*/
|
|
19
|
+
listByManagedCluster(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceConfigurationsListByManagedClusterResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* @param resourceGroupName The name of the resource group.
|
|
22
|
+
* @param resourceName The name of the managed cluster resource.
|
|
23
|
+
* @param callback The callback
|
|
24
|
+
*/
|
|
25
|
+
listByManagedCluster(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.MaintenanceConfigurationListResult>): void;
|
|
26
|
+
/**
|
|
27
|
+
* @param resourceGroupName The name of the resource group.
|
|
28
|
+
* @param resourceName The name of the managed cluster resource.
|
|
29
|
+
* @param options The optional parameters
|
|
30
|
+
* @param callback The callback
|
|
31
|
+
*/
|
|
32
|
+
listByManagedCluster(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceConfigurationListResult>): void;
|
|
33
|
+
/**
|
|
34
|
+
* @summary Gets the specified maintenance configuration of a managed cluster.
|
|
35
|
+
* @param resourceGroupName The name of the resource group.
|
|
36
|
+
* @param resourceName The name of the managed cluster resource.
|
|
37
|
+
* @param configName The name of the maintenance configuration.
|
|
38
|
+
* @param [options] The optional parameters
|
|
39
|
+
* @returns Promise<Models.MaintenanceConfigurationsGetResponse>
|
|
40
|
+
*/
|
|
41
|
+
get(resourceGroupName: string, resourceName: string, configName: string, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceConfigurationsGetResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* @param resourceGroupName The name of the resource group.
|
|
44
|
+
* @param resourceName The name of the managed cluster resource.
|
|
45
|
+
* @param configName The name of the maintenance configuration.
|
|
46
|
+
* @param callback The callback
|
|
47
|
+
*/
|
|
48
|
+
get(resourceGroupName: string, resourceName: string, configName: string, callback: msRest.ServiceCallback<Models.MaintenanceConfiguration>): void;
|
|
49
|
+
/**
|
|
50
|
+
* @param resourceGroupName The name of the resource group.
|
|
51
|
+
* @param resourceName The name of the managed cluster resource.
|
|
52
|
+
* @param configName The name of the maintenance configuration.
|
|
53
|
+
* @param options The optional parameters
|
|
54
|
+
* @param callback The callback
|
|
55
|
+
*/
|
|
56
|
+
get(resourceGroupName: string, resourceName: string, configName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceConfiguration>): void;
|
|
57
|
+
/**
|
|
58
|
+
* @summary Creates or updates a maintenance configuration in the specified managed cluster.
|
|
59
|
+
* @param resourceGroupName The name of the resource group.
|
|
60
|
+
* @param resourceName The name of the managed cluster resource.
|
|
61
|
+
* @param configName The name of the maintenance configuration.
|
|
62
|
+
* @param parameters The maintenance configuration to create or update.
|
|
63
|
+
* @param [options] The optional parameters
|
|
64
|
+
* @returns Promise<Models.MaintenanceConfigurationsCreateOrUpdateResponse>
|
|
65
|
+
*/
|
|
66
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, configName: string, parameters: Models.MaintenanceConfiguration, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceConfigurationsCreateOrUpdateResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* @param resourceGroupName The name of the resource group.
|
|
69
|
+
* @param resourceName The name of the managed cluster resource.
|
|
70
|
+
* @param configName The name of the maintenance configuration.
|
|
71
|
+
* @param parameters The maintenance configuration to create or update.
|
|
72
|
+
* @param callback The callback
|
|
73
|
+
*/
|
|
74
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, configName: string, parameters: Models.MaintenanceConfiguration, callback: msRest.ServiceCallback<Models.MaintenanceConfiguration>): void;
|
|
75
|
+
/**
|
|
76
|
+
* @param resourceGroupName The name of the resource group.
|
|
77
|
+
* @param resourceName The name of the managed cluster resource.
|
|
78
|
+
* @param configName The name of the maintenance configuration.
|
|
79
|
+
* @param parameters The maintenance configuration to create or update.
|
|
80
|
+
* @param options The optional parameters
|
|
81
|
+
* @param callback The callback
|
|
82
|
+
*/
|
|
83
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, configName: string, parameters: Models.MaintenanceConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceConfiguration>): void;
|
|
84
|
+
/**
|
|
85
|
+
* @summary Deletes a maintenance configuration.
|
|
86
|
+
* @param resourceGroupName The name of the resource group.
|
|
87
|
+
* @param resourceName The name of the managed cluster resource.
|
|
88
|
+
* @param configName The name of the maintenance configuration.
|
|
89
|
+
* @param [options] The optional parameters
|
|
90
|
+
* @returns Promise<msRest.RestResponse>
|
|
91
|
+
*/
|
|
92
|
+
deleteMethod(resourceGroupName: string, resourceName: string, configName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* @param resourceGroupName The name of the resource group.
|
|
95
|
+
* @param resourceName The name of the managed cluster resource.
|
|
96
|
+
* @param configName The name of the maintenance configuration.
|
|
97
|
+
* @param callback The callback
|
|
98
|
+
*/
|
|
99
|
+
deleteMethod(resourceGroupName: string, resourceName: string, configName: string, callback: msRest.ServiceCallback<void>): void;
|
|
100
|
+
/**
|
|
101
|
+
* @param resourceGroupName The name of the resource group.
|
|
102
|
+
* @param resourceName The name of the managed cluster resource.
|
|
103
|
+
* @param configName The name of the maintenance configuration.
|
|
104
|
+
* @param options The optional parameters
|
|
105
|
+
* @param callback The callback
|
|
106
|
+
*/
|
|
107
|
+
deleteMethod(resourceGroupName: string, resourceName: string, configName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
108
|
+
/**
|
|
109
|
+
* @summary Gets a list of maintenance configurations in the specified managed cluster.
|
|
110
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
111
|
+
* @param [options] The optional parameters
|
|
112
|
+
* @returns Promise<Models.MaintenanceConfigurationsListByManagedClusterNextResponse>
|
|
113
|
+
*/
|
|
114
|
+
listByManagedClusterNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.MaintenanceConfigurationsListByManagedClusterNextResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
117
|
+
* @param callback The callback
|
|
118
|
+
*/
|
|
119
|
+
listByManagedClusterNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.MaintenanceConfigurationListResult>): void;
|
|
120
|
+
/**
|
|
121
|
+
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
122
|
+
* @param options The optional parameters
|
|
123
|
+
* @param callback The callback
|
|
124
|
+
*/
|
|
125
|
+
listByManagedClusterNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.MaintenanceConfigurationListResult>): void;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=maintenanceConfigurations.d.ts.map
|