@alicloud/cs20151215 4.0.6 → 4.0.8
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/client.d.ts +1683 -316
- package/dist/client.js +1700 -320
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1704 -316
package/dist/client.js
CHANGED
|
@@ -32,10 +32,10 @@ exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClust
|
|
|
32
32
|
exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = exports.GetClusterAddonInstanceResponse = exports.GetClusterAddonInstanceResponseBody = exports.FixNodePoolVulsResponse = exports.FixNodePoolVulsResponseBody = exports.FixNodePoolVulsRequest = exports.EdgeClusterAddEdgeMachineResponse = exports.EdgeClusterAddEdgeMachineResponseBody = exports.EdgeClusterAddEdgeMachineRequest = exports.DescribeWorkflowsResponse = exports.DescribeWorkflowsResponseBody = exports.DescribeUserQuotaResponse = exports.DescribeUserQuotaResponseBody = exports.DescribeUserPermissionResponse = exports.DescribeUserClusterNamespacesResponse = exports.DescribeTriggerResponse = exports.DescribeTriggerRequest = exports.DescribeTemplatesResponse = exports.DescribeTemplatesResponseBody = exports.DescribeTemplatesRequest = exports.DescribeTemplateAttributeResponse = exports.DescribeTemplateAttributeRequest = exports.DescribeTaskInfoResponse = exports.DescribeTaskInfoResponseBody = exports.DescribeSubaccountK8sClusterUserConfigResponse = exports.DescribeSubaccountK8sClusterUserConfigResponseBody = exports.DescribeSubaccountK8sClusterUserConfigRequest = exports.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = void 0;
|
|
33
33
|
exports.ScaleClusterResponse = exports.ScaleClusterResponseBody = exports.ScaleClusterRequest = exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveWorkflowResponse = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = exports.RemoveClusterNodesRequest = exports.PauseTaskResponse = exports.PauseComponentUpgradeResponse = exports.PauseClusterUpgradeResponse = exports.OpenAckServiceResponse = exports.OpenAckServiceResponseBody = exports.OpenAckServiceRequest = exports.ModifyPolicyInstanceResponse = exports.ModifyPolicyInstanceResponseBody = exports.ModifyPolicyInstanceRequest = exports.ModifyNodePoolNodeConfigResponse = exports.ModifyNodePoolNodeConfigResponseBody = exports.ModifyNodePoolNodeConfigRequest = exports.ModifyClusterTagsResponse = exports.ModifyClusterTagsRequest = exports.ModifyClusterNodePoolResponse = exports.ModifyClusterNodePoolResponseBody = exports.ModifyClusterNodePoolRequest = exports.ModifyClusterConfigurationResponse = exports.ModifyClusterConfigurationRequest = exports.ModifyClusterAddonResponse = exports.ModifyClusterAddonRequest = exports.ModifyClusterResponse = exports.ModifyClusterResponseBody = exports.ModifyClusterRequest = exports.MigrateClusterResponse = exports.MigrateClusterResponseBody = exports.MigrateClusterRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = void 0;
|
|
34
34
|
exports.NodepoolManagementAutoRepairPolicy = exports.NodepoolKubernetesConfig = exports.NodepoolInterconnectConfig = exports.NodepoolAutoScaling = exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SyncClusterNodePoolResponse = exports.SyncClusterNodePoolResponseBody = exports.StopAlertResponse = exports.StopAlertResponseBody = exports.StopAlertRequest = exports.StartWorkflowResponse = exports.StartWorkflowResponseBody = exports.StartWorkflowRequest = exports.StartAlertResponse = exports.StartAlertResponseBody = exports.StartAlertRequest = exports.ScanClusterVulsResponse = exports.ScanClusterVulsResponseBody = exports.ScaleOutClusterResponse = exports.ScaleOutClusterResponseBody = exports.ScaleOutClusterRequest = exports.ScaleClusterNodePoolResponse = exports.ScaleClusterNodePoolResponseBody = exports.ScaleClusterNodePoolRequest = void 0;
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = void 0;
|
|
35
|
+
exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolDetailResponseBodyNodepoolInfo = exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagement = exports.DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteClusterRequestDeleteOptions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyBody = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.AttachInstancesResponseBodyList = exports.NodepoolTeeConfig = exports.NodepoolScalingGroup = exports.NodepoolScalingGroupTags = exports.NodepoolScalingGroupSpotPriceLimit = exports.NodepoolScalingGroupPrivatePoolOptions = exports.NodepoolNodepoolInfo = exports.NodepoolNodeConfig = exports.NodepoolManagement = exports.NodepoolManagementUpgradeConfig = exports.NodepoolManagementAutoVulFixPolicy = exports.NodepoolManagementAutoUpgradePolicy = void 0;
|
|
36
|
+
exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolations = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyOnState = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLog = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling = exports.DescribeClusterNodePoolDetailResponseBodyTeeConfig = exports.DescribeClusterNodePoolDetailResponseBodyStatus = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroup = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit = void 0;
|
|
37
|
+
exports.ScaleClusterRequestTags = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyNodePoolNodeConfigRequestOsConfig = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = exports.GetClusterAddonInstanceResponseBodyLogging = exports.FixNodePoolVulsRequestRolloutPolicy = exports.DescribeWorkflowsResponseBodyJobs = exports.DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota = exports.DescribeUserPermissionResponseBody = exports.DescribeTriggerResponseBody = exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = exports.DescribePolicyInstancesResponseBody = exports.DescribePolicyGovernanceInClusterResponseBodyViolations = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsDeny = void 0;
|
|
38
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = void 0;
|
|
39
39
|
// This file is auto-generated, don't edit it
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
@@ -1354,6 +1354,7 @@ exports.DeleteAlertContactGroupResponse = DeleteAlertContactGroupResponse;
|
|
|
1354
1354
|
class DeleteClusterRequest extends $tea.Model {
|
|
1355
1355
|
static names() {
|
|
1356
1356
|
return {
|
|
1357
|
+
deleteOptions: 'delete_options',
|
|
1357
1358
|
keepSlb: 'keep_slb',
|
|
1358
1359
|
retainAllResources: 'retain_all_resources',
|
|
1359
1360
|
retainResources: 'retain_resources',
|
|
@@ -1361,6 +1362,7 @@ class DeleteClusterRequest extends $tea.Model {
|
|
|
1361
1362
|
}
|
|
1362
1363
|
static types() {
|
|
1363
1364
|
return {
|
|
1365
|
+
deleteOptions: { 'type': 'array', 'itemType': DeleteClusterRequestDeleteOptions },
|
|
1364
1366
|
keepSlb: 'boolean',
|
|
1365
1367
|
retainAllResources: 'boolean',
|
|
1366
1368
|
retainResources: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -1374,6 +1376,7 @@ exports.DeleteClusterRequest = DeleteClusterRequest;
|
|
|
1374
1376
|
class DeleteClusterShrinkRequest extends $tea.Model {
|
|
1375
1377
|
static names() {
|
|
1376
1378
|
return {
|
|
1379
|
+
deleteOptionsShrink: 'delete_options',
|
|
1377
1380
|
keepSlb: 'keep_slb',
|
|
1378
1381
|
retainAllResources: 'retain_all_resources',
|
|
1379
1382
|
retainResourcesShrink: 'retain_resources',
|
|
@@ -1381,6 +1384,7 @@ class DeleteClusterShrinkRequest extends $tea.Model {
|
|
|
1381
1384
|
}
|
|
1382
1385
|
static types() {
|
|
1383
1386
|
return {
|
|
1387
|
+
deleteOptionsShrink: 'string',
|
|
1384
1388
|
keepSlb: 'boolean',
|
|
1385
1389
|
retainAllResources: 'boolean',
|
|
1386
1390
|
retainResourcesShrink: 'string',
|
|
@@ -7263,6 +7267,24 @@ class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
|
7263
7267
|
}
|
|
7264
7268
|
}
|
|
7265
7269
|
exports.DeleteAlertContactGroupResponseBody = DeleteAlertContactGroupResponseBody;
|
|
7270
|
+
class DeleteClusterRequestDeleteOptions extends $tea.Model {
|
|
7271
|
+
static names() {
|
|
7272
|
+
return {
|
|
7273
|
+
deleteMode: 'delete_mode',
|
|
7274
|
+
resourceType: 'resource_type',
|
|
7275
|
+
};
|
|
7276
|
+
}
|
|
7277
|
+
static types() {
|
|
7278
|
+
return {
|
|
7279
|
+
deleteMode: 'string',
|
|
7280
|
+
resourceType: 'string',
|
|
7281
|
+
};
|
|
7282
|
+
}
|
|
7283
|
+
constructor(map) {
|
|
7284
|
+
super(map);
|
|
7285
|
+
}
|
|
7286
|
+
}
|
|
7287
|
+
exports.DeleteClusterRequestDeleteOptions = DeleteClusterRequestDeleteOptions;
|
|
7266
7288
|
class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
7267
7289
|
static names() {
|
|
7268
7290
|
return {
|
|
@@ -10462,6 +10484,14 @@ class Client extends openapi_client_1.default {
|
|
|
10462
10484
|
}
|
|
10463
10485
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
10464
10486
|
}
|
|
10487
|
+
/**
|
|
10488
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10489
|
+
*
|
|
10490
|
+
* @param request AttachInstancesRequest
|
|
10491
|
+
* @param headers map
|
|
10492
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10493
|
+
* @return AttachInstancesResponse
|
|
10494
|
+
*/
|
|
10465
10495
|
async attachInstancesWithOptions(ClusterId, request, headers, runtime) {
|
|
10466
10496
|
tea_util_1.default.validateModel(request);
|
|
10467
10497
|
let body = {};
|
|
@@ -10521,11 +10551,25 @@ class Client extends openapi_client_1.default {
|
|
|
10521
10551
|
});
|
|
10522
10552
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
10523
10553
|
}
|
|
10554
|
+
/**
|
|
10555
|
+
* @summary You can call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a cluster.
|
|
10556
|
+
*
|
|
10557
|
+
* @param request AttachInstancesRequest
|
|
10558
|
+
* @return AttachInstancesResponse
|
|
10559
|
+
*/
|
|
10524
10560
|
async attachInstances(ClusterId, request) {
|
|
10525
10561
|
let runtime = new $Util.RuntimeOptions({});
|
|
10526
10562
|
let headers = {};
|
|
10527
10563
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
10528
10564
|
}
|
|
10565
|
+
/**
|
|
10566
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10567
|
+
*
|
|
10568
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10569
|
+
* @param headers map
|
|
10570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10571
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10572
|
+
*/
|
|
10529
10573
|
async attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
10530
10574
|
tea_util_1.default.validateModel(request);
|
|
10531
10575
|
let body = {};
|
|
@@ -10558,17 +10602,25 @@ class Client extends openapi_client_1.default {
|
|
|
10558
10602
|
});
|
|
10559
10603
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
10560
10604
|
}
|
|
10605
|
+
/**
|
|
10606
|
+
* @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
|
|
10607
|
+
*
|
|
10608
|
+
* @param request AttachInstancesToNodePoolRequest
|
|
10609
|
+
* @return AttachInstancesToNodePoolResponse
|
|
10610
|
+
*/
|
|
10561
10611
|
async attachInstancesToNodePool(ClusterId, NodepoolId, request) {
|
|
10562
10612
|
let runtime = new $Util.RuntimeOptions({});
|
|
10563
10613
|
let headers = {};
|
|
10564
10614
|
return await this.attachInstancesToNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
10565
10615
|
}
|
|
10566
10616
|
/**
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10617
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10618
|
+
*
|
|
10619
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10620
|
+
*
|
|
10621
|
+
* @param headers map
|
|
10622
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10623
|
+
* @return CancelClusterUpgradeResponse
|
|
10572
10624
|
*/
|
|
10573
10625
|
// Deprecated
|
|
10574
10626
|
async cancelClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -10589,9 +10641,11 @@ class Client extends openapi_client_1.default {
|
|
|
10589
10641
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
10590
10642
|
}
|
|
10591
10643
|
/**
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10644
|
+
* @deprecated OpenAPI CancelClusterUpgrade is deprecated
|
|
10645
|
+
*
|
|
10646
|
+
* @summary You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
10647
|
+
*
|
|
10648
|
+
* @return CancelClusterUpgradeResponse
|
|
10595
10649
|
*/
|
|
10596
10650
|
// Deprecated
|
|
10597
10651
|
async cancelClusterUpgrade(ClusterId) {
|
|
@@ -10599,6 +10653,13 @@ class Client extends openapi_client_1.default {
|
|
|
10599
10653
|
let headers = {};
|
|
10600
10654
|
return await this.cancelClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
10601
10655
|
}
|
|
10656
|
+
/**
|
|
10657
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10658
|
+
*
|
|
10659
|
+
* @param headers map
|
|
10660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10661
|
+
* @return CancelComponentUpgradeResponse
|
|
10662
|
+
*/
|
|
10602
10663
|
async cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime) {
|
|
10603
10664
|
let req = new $OpenApi.OpenApiRequest({
|
|
10604
10665
|
headers: headers,
|
|
@@ -10616,11 +10677,23 @@ class Client extends openapi_client_1.default {
|
|
|
10616
10677
|
});
|
|
10617
10678
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
10618
10679
|
}
|
|
10680
|
+
/**
|
|
10681
|
+
* @summary You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
10682
|
+
*
|
|
10683
|
+
* @return CancelComponentUpgradeResponse
|
|
10684
|
+
*/
|
|
10619
10685
|
async cancelComponentUpgrade(clusterId, componentId) {
|
|
10620
10686
|
let runtime = new $Util.RuntimeOptions({});
|
|
10621
10687
|
let headers = {};
|
|
10622
10688
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
10623
10689
|
}
|
|
10690
|
+
/**
|
|
10691
|
+
* @summary 取消自动运维执行计划
|
|
10692
|
+
*
|
|
10693
|
+
* @param headers map
|
|
10694
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10695
|
+
* @return CancelOperationPlanResponse
|
|
10696
|
+
*/
|
|
10624
10697
|
async cancelOperationPlanWithOptions(planId, headers, runtime) {
|
|
10625
10698
|
let req = new $OpenApi.OpenApiRequest({
|
|
10626
10699
|
headers: headers,
|
|
@@ -10638,11 +10711,23 @@ class Client extends openapi_client_1.default {
|
|
|
10638
10711
|
});
|
|
10639
10712
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
10640
10713
|
}
|
|
10714
|
+
/**
|
|
10715
|
+
* @summary 取消自动运维执行计划
|
|
10716
|
+
*
|
|
10717
|
+
* @return CancelOperationPlanResponse
|
|
10718
|
+
*/
|
|
10641
10719
|
async cancelOperationPlan(planId) {
|
|
10642
10720
|
let runtime = new $Util.RuntimeOptions({});
|
|
10643
10721
|
let headers = {};
|
|
10644
10722
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
10645
10723
|
}
|
|
10724
|
+
/**
|
|
10725
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10726
|
+
*
|
|
10727
|
+
* @param headers map
|
|
10728
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10729
|
+
* @return CancelTaskResponse
|
|
10730
|
+
*/
|
|
10646
10731
|
async cancelTaskWithOptions(taskId, headers, runtime) {
|
|
10647
10732
|
let req = new $OpenApi.OpenApiRequest({
|
|
10648
10733
|
headers: headers,
|
|
@@ -10660,11 +10745,24 @@ class Client extends openapi_client_1.default {
|
|
|
10660
10745
|
});
|
|
10661
10746
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
10662
10747
|
}
|
|
10748
|
+
/**
|
|
10749
|
+
* @summary You can call the CancelTask operation to cancel a task.
|
|
10750
|
+
*
|
|
10751
|
+
* @return CancelTaskResponse
|
|
10752
|
+
*/
|
|
10663
10753
|
async cancelTask(taskId) {
|
|
10664
10754
|
let runtime = new $Util.RuntimeOptions({});
|
|
10665
10755
|
let headers = {};
|
|
10666
10756
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
10667
10757
|
}
|
|
10758
|
+
/**
|
|
10759
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10760
|
+
*
|
|
10761
|
+
* @param request CancelWorkflowRequest
|
|
10762
|
+
* @param headers map
|
|
10763
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10764
|
+
* @return CancelWorkflowResponse
|
|
10765
|
+
*/
|
|
10668
10766
|
async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
|
|
10669
10767
|
tea_util_1.default.validateModel(request);
|
|
10670
10768
|
let body = {};
|
|
@@ -10688,11 +10786,24 @@ class Client extends openapi_client_1.default {
|
|
|
10688
10786
|
});
|
|
10689
10787
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
10690
10788
|
}
|
|
10789
|
+
/**
|
|
10790
|
+
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
10791
|
+
*
|
|
10792
|
+
* @param request CancelWorkflowRequest
|
|
10793
|
+
* @return CancelWorkflowResponse
|
|
10794
|
+
*/
|
|
10691
10795
|
async cancelWorkflow(workflowName, request) {
|
|
10692
10796
|
let runtime = new $Util.RuntimeOptions({});
|
|
10693
10797
|
let headers = {};
|
|
10694
10798
|
return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
|
|
10695
10799
|
}
|
|
10800
|
+
/**
|
|
10801
|
+
* @summary Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
|
|
10802
|
+
*
|
|
10803
|
+
* @param headers map
|
|
10804
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10805
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10806
|
+
*/
|
|
10696
10807
|
async checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime) {
|
|
10697
10808
|
let req = new $OpenApi.OpenApiRequest({
|
|
10698
10809
|
headers: headers,
|
|
@@ -10710,11 +10821,24 @@ class Client extends openapi_client_1.default {
|
|
|
10710
10821
|
});
|
|
10711
10822
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
10712
10823
|
}
|
|
10824
|
+
/**
|
|
10825
|
+
* @summary Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
|
|
10826
|
+
*
|
|
10827
|
+
* @return CheckControlPlaneLogEnableResponse
|
|
10828
|
+
*/
|
|
10713
10829
|
async checkControlPlaneLogEnable(ClusterId) {
|
|
10714
10830
|
let runtime = new $Util.RuntimeOptions({});
|
|
10715
10831
|
let headers = {};
|
|
10716
10832
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
10717
10833
|
}
|
|
10834
|
+
/**
|
|
10835
|
+
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
10836
|
+
*
|
|
10837
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10838
|
+
* @param headers map
|
|
10839
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10840
|
+
* @return CreateAutoscalingConfigResponse
|
|
10841
|
+
*/
|
|
10718
10842
|
async createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime) {
|
|
10719
10843
|
tea_util_1.default.validateModel(request);
|
|
10720
10844
|
let body = {};
|
|
@@ -10777,24 +10901,32 @@ class Client extends openapi_client_1.default {
|
|
|
10777
10901
|
});
|
|
10778
10902
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
10779
10903
|
}
|
|
10904
|
+
/**
|
|
10905
|
+
* @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
10906
|
+
*
|
|
10907
|
+
* @param request CreateAutoscalingConfigRequest
|
|
10908
|
+
* @return CreateAutoscalingConfigResponse
|
|
10909
|
+
*/
|
|
10780
10910
|
async createAutoscalingConfig(ClusterId, request) {
|
|
10781
10911
|
let runtime = new $Util.RuntimeOptions({});
|
|
10782
10912
|
let headers = {};
|
|
10783
10913
|
return await this.createAutoscalingConfigWithOptions(ClusterId, request, headers, runtime);
|
|
10784
10914
|
}
|
|
10785
10915
|
/**
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
10916
|
+
* @summary You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
10917
|
+
*
|
|
10918
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
10919
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
10920
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
10921
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
10922
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
10923
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
10924
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
10925
|
+
*
|
|
10926
|
+
* @param request CreateClusterRequest
|
|
10927
|
+
* @param headers map
|
|
10928
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10929
|
+
* @return CreateClusterResponse
|
|
10798
10930
|
*/
|
|
10799
10931
|
async createClusterWithOptions(request, headers, runtime) {
|
|
10800
10932
|
tea_util_1.default.validateModel(request);
|
|
@@ -11090,22 +11222,32 @@ class Client extends openapi_client_1.default {
|
|
|
11090
11222
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
|
|
11091
11223
|
}
|
|
11092
11224
|
/**
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11225
|
+
* @summary You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
11226
|
+
*
|
|
11227
|
+
* @description This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
|
|
11228
|
+
* * [Create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
11229
|
+
* * [Create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
11230
|
+
* * [Create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
11231
|
+
* * [Create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
11232
|
+
* * [Create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
11233
|
+
* * [Create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
11234
|
+
*
|
|
11235
|
+
* @param request CreateClusterRequest
|
|
11236
|
+
* @return CreateClusterResponse
|
|
11103
11237
|
*/
|
|
11104
11238
|
async createCluster(request) {
|
|
11105
11239
|
let runtime = new $Util.RuntimeOptions({});
|
|
11106
11240
|
let headers = {};
|
|
11107
11241
|
return await this.createClusterWithOptions(request, headers, runtime);
|
|
11108
11242
|
}
|
|
11243
|
+
/**
|
|
11244
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11245
|
+
*
|
|
11246
|
+
* @param request CreateClusterNodePoolRequest
|
|
11247
|
+
* @param headers map
|
|
11248
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11249
|
+
* @return CreateClusterNodePoolResponse
|
|
11250
|
+
*/
|
|
11109
11251
|
async createClusterNodePoolWithOptions(ClusterId, request, headers, runtime) {
|
|
11110
11252
|
tea_util_1.default.validateModel(request);
|
|
11111
11253
|
let body = {};
|
|
@@ -11159,11 +11301,25 @@ class Client extends openapi_client_1.default {
|
|
|
11159
11301
|
});
|
|
11160
11302
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
11161
11303
|
}
|
|
11304
|
+
/**
|
|
11305
|
+
* @summary You can call the CreateClusterNodePool operation to create a node pool for a Container Service for Kubernetes (ACK) cluster.
|
|
11306
|
+
*
|
|
11307
|
+
* @param request CreateClusterNodePoolRequest
|
|
11308
|
+
* @return CreateClusterNodePoolResponse
|
|
11309
|
+
*/
|
|
11162
11310
|
async createClusterNodePool(ClusterId, request) {
|
|
11163
11311
|
let runtime = new $Util.RuntimeOptions({});
|
|
11164
11312
|
let headers = {};
|
|
11165
11313
|
return await this.createClusterNodePoolWithOptions(ClusterId, request, headers, runtime);
|
|
11166
11314
|
}
|
|
11315
|
+
/**
|
|
11316
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11317
|
+
*
|
|
11318
|
+
* @param request CreateEdgeMachineRequest
|
|
11319
|
+
* @param headers map
|
|
11320
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11321
|
+
* @return CreateEdgeMachineResponse
|
|
11322
|
+
*/
|
|
11167
11323
|
async createEdgeMachineWithOptions(request, headers, runtime) {
|
|
11168
11324
|
tea_util_1.default.validateModel(request);
|
|
11169
11325
|
let body = {};
|
|
@@ -11193,11 +11349,25 @@ class Client extends openapi_client_1.default {
|
|
|
11193
11349
|
});
|
|
11194
11350
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
11195
11351
|
}
|
|
11352
|
+
/**
|
|
11353
|
+
* @summary You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
11354
|
+
*
|
|
11355
|
+
* @param request CreateEdgeMachineRequest
|
|
11356
|
+
* @return CreateEdgeMachineResponse
|
|
11357
|
+
*/
|
|
11196
11358
|
async createEdgeMachine(request) {
|
|
11197
11359
|
let runtime = new $Util.RuntimeOptions({});
|
|
11198
11360
|
let headers = {};
|
|
11199
11361
|
return await this.createEdgeMachineWithOptions(request, headers, runtime);
|
|
11200
11362
|
}
|
|
11363
|
+
/**
|
|
11364
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11365
|
+
*
|
|
11366
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11367
|
+
* @param headers map
|
|
11368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11369
|
+
* @return CreateKubernetesTriggerResponse
|
|
11370
|
+
*/
|
|
11201
11371
|
async createKubernetesTriggerWithOptions(request, headers, runtime) {
|
|
11202
11372
|
tea_util_1.default.validateModel(request);
|
|
11203
11373
|
let body = {};
|
|
@@ -11230,11 +11400,25 @@ class Client extends openapi_client_1.default {
|
|
|
11230
11400
|
});
|
|
11231
11401
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
11232
11402
|
}
|
|
11403
|
+
/**
|
|
11404
|
+
* @summary You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
11405
|
+
*
|
|
11406
|
+
* @param request CreateKubernetesTriggerRequest
|
|
11407
|
+
* @return CreateKubernetesTriggerResponse
|
|
11408
|
+
*/
|
|
11233
11409
|
async createKubernetesTrigger(request) {
|
|
11234
11410
|
let runtime = new $Util.RuntimeOptions({});
|
|
11235
11411
|
let headers = {};
|
|
11236
11412
|
return await this.createKubernetesTriggerWithOptions(request, headers, runtime);
|
|
11237
11413
|
}
|
|
11414
|
+
/**
|
|
11415
|
+
* @summary Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
|
|
11416
|
+
*
|
|
11417
|
+
* @param request CreateTemplateRequest
|
|
11418
|
+
* @param headers map
|
|
11419
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11420
|
+
* @return CreateTemplateResponse
|
|
11421
|
+
*/
|
|
11238
11422
|
async createTemplateWithOptions(request, headers, runtime) {
|
|
11239
11423
|
tea_util_1.default.validateModel(request);
|
|
11240
11424
|
let body = {};
|
|
@@ -11270,11 +11454,25 @@ class Client extends openapi_client_1.default {
|
|
|
11270
11454
|
});
|
|
11271
11455
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
11272
11456
|
}
|
|
11457
|
+
/**
|
|
11458
|
+
* @summary Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
|
|
11459
|
+
*
|
|
11460
|
+
* @param request CreateTemplateRequest
|
|
11461
|
+
* @return CreateTemplateResponse
|
|
11462
|
+
*/
|
|
11273
11463
|
async createTemplate(request) {
|
|
11274
11464
|
let runtime = new $Util.RuntimeOptions({});
|
|
11275
11465
|
let headers = {};
|
|
11276
11466
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
11277
11467
|
}
|
|
11468
|
+
/**
|
|
11469
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11470
|
+
*
|
|
11471
|
+
* @param request CreateTriggerRequest
|
|
11472
|
+
* @param headers map
|
|
11473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11474
|
+
* @return CreateTriggerResponse
|
|
11475
|
+
*/
|
|
11278
11476
|
async createTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
11279
11477
|
tea_util_1.default.validateModel(request);
|
|
11280
11478
|
let body = {};
|
|
@@ -11307,11 +11505,23 @@ class Client extends openapi_client_1.default {
|
|
|
11307
11505
|
});
|
|
11308
11506
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
11309
11507
|
}
|
|
11508
|
+
/**
|
|
11509
|
+
* @summary You can call the CreateTrigger operation to create a trigger for an application.
|
|
11510
|
+
*
|
|
11511
|
+
* @param request CreateTriggerRequest
|
|
11512
|
+
* @return CreateTriggerResponse
|
|
11513
|
+
*/
|
|
11310
11514
|
async createTrigger(clusterId, request) {
|
|
11311
11515
|
let runtime = new $Util.RuntimeOptions({});
|
|
11312
11516
|
let headers = {};
|
|
11313
11517
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
11314
11518
|
}
|
|
11519
|
+
/**
|
|
11520
|
+
* @param tmpReq DeleteAlertContactRequest
|
|
11521
|
+
* @param headers map
|
|
11522
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11523
|
+
* @return DeleteAlertContactResponse
|
|
11524
|
+
*/
|
|
11315
11525
|
async deleteAlertContactWithOptions(tmpReq, headers, runtime) {
|
|
11316
11526
|
tea_util_1.default.validateModel(tmpReq);
|
|
11317
11527
|
let request = new DeleteAlertContactShrinkRequest({});
|
|
@@ -11340,11 +11550,21 @@ class Client extends openapi_client_1.default {
|
|
|
11340
11550
|
});
|
|
11341
11551
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
11342
11552
|
}
|
|
11553
|
+
/**
|
|
11554
|
+
* @param request DeleteAlertContactRequest
|
|
11555
|
+
* @return DeleteAlertContactResponse
|
|
11556
|
+
*/
|
|
11343
11557
|
async deleteAlertContact(request) {
|
|
11344
11558
|
let runtime = new $Util.RuntimeOptions({});
|
|
11345
11559
|
let headers = {};
|
|
11346
11560
|
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
11347
11561
|
}
|
|
11562
|
+
/**
|
|
11563
|
+
* @param tmpReq DeleteAlertContactGroupRequest
|
|
11564
|
+
* @param headers map
|
|
11565
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11566
|
+
* @return DeleteAlertContactGroupResponse
|
|
11567
|
+
*/
|
|
11348
11568
|
async deleteAlertContactGroupWithOptions(tmpReq, headers, runtime) {
|
|
11349
11569
|
tea_util_1.default.validateModel(tmpReq);
|
|
11350
11570
|
let request = new DeleteAlertContactGroupShrinkRequest({});
|
|
@@ -11373,19 +11593,37 @@ class Client extends openapi_client_1.default {
|
|
|
11373
11593
|
});
|
|
11374
11594
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
11375
11595
|
}
|
|
11596
|
+
/**
|
|
11597
|
+
* @param request DeleteAlertContactGroupRequest
|
|
11598
|
+
* @return DeleteAlertContactGroupResponse
|
|
11599
|
+
*/
|
|
11376
11600
|
async deleteAlertContactGroup(request) {
|
|
11377
11601
|
let runtime = new $Util.RuntimeOptions({});
|
|
11378
11602
|
let headers = {};
|
|
11379
11603
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
11380
11604
|
}
|
|
11605
|
+
/**
|
|
11606
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11607
|
+
*
|
|
11608
|
+
* @param tmpReq DeleteClusterRequest
|
|
11609
|
+
* @param headers map
|
|
11610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11611
|
+
* @return DeleteClusterResponse
|
|
11612
|
+
*/
|
|
11381
11613
|
async deleteClusterWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
11382
11614
|
tea_util_1.default.validateModel(tmpReq);
|
|
11383
11615
|
let request = new DeleteClusterShrinkRequest({});
|
|
11384
11616
|
openapi_util_1.default.convert(tmpReq, request);
|
|
11617
|
+
if (!tea_util_1.default.isUnset(tmpReq.deleteOptions)) {
|
|
11618
|
+
request.deleteOptionsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.deleteOptions, "delete_options", "json");
|
|
11619
|
+
}
|
|
11385
11620
|
if (!tea_util_1.default.isUnset(tmpReq.retainResources)) {
|
|
11386
11621
|
request.retainResourcesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.retainResources, "retain_resources", "json");
|
|
11387
11622
|
}
|
|
11388
11623
|
let query = {};
|
|
11624
|
+
if (!tea_util_1.default.isUnset(request.deleteOptionsShrink)) {
|
|
11625
|
+
query["delete_options"] = request.deleteOptionsShrink;
|
|
11626
|
+
}
|
|
11389
11627
|
if (!tea_util_1.default.isUnset(request.keepSlb)) {
|
|
11390
11628
|
query["keep_slb"] = request.keepSlb;
|
|
11391
11629
|
}
|
|
@@ -11412,11 +11650,25 @@ class Client extends openapi_client_1.default {
|
|
|
11412
11650
|
});
|
|
11413
11651
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
11414
11652
|
}
|
|
11653
|
+
/**
|
|
11654
|
+
* @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
|
|
11655
|
+
*
|
|
11656
|
+
* @param request DeleteClusterRequest
|
|
11657
|
+
* @return DeleteClusterResponse
|
|
11658
|
+
*/
|
|
11415
11659
|
async deleteCluster(ClusterId, request) {
|
|
11416
11660
|
let runtime = new $Util.RuntimeOptions({});
|
|
11417
11661
|
let headers = {};
|
|
11418
11662
|
return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
|
|
11419
11663
|
}
|
|
11664
|
+
/**
|
|
11665
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11666
|
+
*
|
|
11667
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11668
|
+
* @param headers map
|
|
11669
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11670
|
+
* @return DeleteClusterNodepoolResponse
|
|
11671
|
+
*/
|
|
11420
11672
|
async deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
11421
11673
|
tea_util_1.default.validateModel(request);
|
|
11422
11674
|
let query = {};
|
|
@@ -11440,19 +11692,27 @@ class Client extends openapi_client_1.default {
|
|
|
11440
11692
|
});
|
|
11441
11693
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
11442
11694
|
}
|
|
11695
|
+
/**
|
|
11696
|
+
* @summary You can call the DeleteClusterNodepool operation to delete a node pool by node pool ID.
|
|
11697
|
+
*
|
|
11698
|
+
* @param request DeleteClusterNodepoolRequest
|
|
11699
|
+
* @return DeleteClusterNodepoolResponse
|
|
11700
|
+
*/
|
|
11443
11701
|
async deleteClusterNodepool(ClusterId, NodepoolId, request) {
|
|
11444
11702
|
let runtime = new $Util.RuntimeOptions({});
|
|
11445
11703
|
let headers = {};
|
|
11446
11704
|
return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
11447
11705
|
}
|
|
11448
11706
|
/**
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11707
|
+
* @summary Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
11708
|
+
*
|
|
11709
|
+
* @description >
|
|
11710
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
11711
|
+
*
|
|
11712
|
+
* @param request DeleteClusterNodesRequest
|
|
11713
|
+
* @param headers map
|
|
11714
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11715
|
+
* @return DeleteClusterNodesResponse
|
|
11456
11716
|
*/
|
|
11457
11717
|
async deleteClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
11458
11718
|
tea_util_1.default.validateModel(request);
|
|
@@ -11484,17 +11744,27 @@ class Client extends openapi_client_1.default {
|
|
|
11484
11744
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
11485
11745
|
}
|
|
11486
11746
|
/**
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11747
|
+
* @summary Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
11748
|
+
*
|
|
11749
|
+
* @description >
|
|
11750
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
11751
|
+
*
|
|
11752
|
+
* @param request DeleteClusterNodesRequest
|
|
11753
|
+
* @return DeleteClusterNodesResponse
|
|
11492
11754
|
*/
|
|
11493
11755
|
async deleteClusterNodes(ClusterId, request) {
|
|
11494
11756
|
let runtime = new $Util.RuntimeOptions({});
|
|
11495
11757
|
let headers = {};
|
|
11496
11758
|
return await this.deleteClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
11497
11759
|
}
|
|
11760
|
+
/**
|
|
11761
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11762
|
+
*
|
|
11763
|
+
* @param request DeleteEdgeMachineRequest
|
|
11764
|
+
* @param headers map
|
|
11765
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11766
|
+
* @return DeleteEdgeMachineResponse
|
|
11767
|
+
*/
|
|
11498
11768
|
async deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime) {
|
|
11499
11769
|
tea_util_1.default.validateModel(request);
|
|
11500
11770
|
let query = {};
|
|
@@ -11518,11 +11788,24 @@ class Client extends openapi_client_1.default {
|
|
|
11518
11788
|
});
|
|
11519
11789
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
11520
11790
|
}
|
|
11791
|
+
/**
|
|
11792
|
+
* @summary You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
11793
|
+
*
|
|
11794
|
+
* @param request DeleteEdgeMachineRequest
|
|
11795
|
+
* @return DeleteEdgeMachineResponse
|
|
11796
|
+
*/
|
|
11521
11797
|
async deleteEdgeMachine(edgeMachineid, request) {
|
|
11522
11798
|
let runtime = new $Util.RuntimeOptions({});
|
|
11523
11799
|
let headers = {};
|
|
11524
11800
|
return await this.deleteEdgeMachineWithOptions(edgeMachineid, request, headers, runtime);
|
|
11525
11801
|
}
|
|
11802
|
+
/**
|
|
11803
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11804
|
+
*
|
|
11805
|
+
* @param headers map
|
|
11806
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11807
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11808
|
+
*/
|
|
11526
11809
|
async deleteKubernetesTriggerWithOptions(Id, headers, runtime) {
|
|
11527
11810
|
let req = new $OpenApi.OpenApiRequest({
|
|
11528
11811
|
headers: headers,
|
|
@@ -11540,11 +11823,24 @@ class Client extends openapi_client_1.default {
|
|
|
11540
11823
|
});
|
|
11541
11824
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
11542
11825
|
}
|
|
11826
|
+
/**
|
|
11827
|
+
* @summary You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
11828
|
+
*
|
|
11829
|
+
* @return DeleteKubernetesTriggerResponse
|
|
11830
|
+
*/
|
|
11543
11831
|
async deleteKubernetesTrigger(Id) {
|
|
11544
11832
|
let runtime = new $Util.RuntimeOptions({});
|
|
11545
11833
|
let headers = {};
|
|
11546
11834
|
return await this.deleteKubernetesTriggerWithOptions(Id, headers, runtime);
|
|
11547
11835
|
}
|
|
11836
|
+
/**
|
|
11837
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11838
|
+
*
|
|
11839
|
+
* @param request DeletePolicyInstanceRequest
|
|
11840
|
+
* @param headers map
|
|
11841
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11842
|
+
* @return DeletePolicyInstanceResponse
|
|
11843
|
+
*/
|
|
11548
11844
|
async deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11549
11845
|
tea_util_1.default.validateModel(request);
|
|
11550
11846
|
let query = {};
|
|
@@ -11568,11 +11864,24 @@ class Client extends openapi_client_1.default {
|
|
|
11568
11864
|
});
|
|
11569
11865
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
11570
11866
|
}
|
|
11867
|
+
/**
|
|
11868
|
+
* @summary Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
11869
|
+
*
|
|
11870
|
+
* @param request DeletePolicyInstanceRequest
|
|
11871
|
+
* @return DeletePolicyInstanceResponse
|
|
11872
|
+
*/
|
|
11571
11873
|
async deletePolicyInstance(clusterId, policyName, request) {
|
|
11572
11874
|
let runtime = new $Util.RuntimeOptions({});
|
|
11573
11875
|
let headers = {};
|
|
11574
11876
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11575
11877
|
}
|
|
11878
|
+
/**
|
|
11879
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11880
|
+
*
|
|
11881
|
+
* @param headers map
|
|
11882
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11883
|
+
* @return DeleteTemplateResponse
|
|
11884
|
+
*/
|
|
11576
11885
|
async deleteTemplateWithOptions(TemplateId, headers, runtime) {
|
|
11577
11886
|
let req = new $OpenApi.OpenApiRequest({
|
|
11578
11887
|
headers: headers,
|
|
@@ -11590,11 +11899,23 @@ class Client extends openapi_client_1.default {
|
|
|
11590
11899
|
});
|
|
11591
11900
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
11592
11901
|
}
|
|
11902
|
+
/**
|
|
11903
|
+
* @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
|
|
11904
|
+
*
|
|
11905
|
+
* @return DeleteTemplateResponse
|
|
11906
|
+
*/
|
|
11593
11907
|
async deleteTemplate(TemplateId) {
|
|
11594
11908
|
let runtime = new $Util.RuntimeOptions({});
|
|
11595
11909
|
let headers = {};
|
|
11596
11910
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
11597
11911
|
}
|
|
11912
|
+
/**
|
|
11913
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11914
|
+
*
|
|
11915
|
+
* @param headers map
|
|
11916
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11917
|
+
* @return DeleteTriggerResponse
|
|
11918
|
+
*/
|
|
11598
11919
|
async deleteTriggerWithOptions(clusterId, Id, headers, runtime) {
|
|
11599
11920
|
let req = new $OpenApi.OpenApiRequest({
|
|
11600
11921
|
headers: headers,
|
|
@@ -11612,11 +11933,24 @@ class Client extends openapi_client_1.default {
|
|
|
11612
11933
|
});
|
|
11613
11934
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
11614
11935
|
}
|
|
11936
|
+
/**
|
|
11937
|
+
* @summary You can call the DeleteTrigger operation to delete an application trigger.
|
|
11938
|
+
*
|
|
11939
|
+
* @return DeleteTriggerResponse
|
|
11940
|
+
*/
|
|
11615
11941
|
async deleteTrigger(clusterId, Id) {
|
|
11616
11942
|
let runtime = new $Util.RuntimeOptions({});
|
|
11617
11943
|
let headers = {};
|
|
11618
11944
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
11619
11945
|
}
|
|
11946
|
+
/**
|
|
11947
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11948
|
+
*
|
|
11949
|
+
* @param request DeployPolicyInstanceRequest
|
|
11950
|
+
* @param headers map
|
|
11951
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11952
|
+
* @return DeployPolicyInstanceResponse
|
|
11953
|
+
*/
|
|
11620
11954
|
async deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
11621
11955
|
tea_util_1.default.validateModel(request);
|
|
11622
11956
|
let body = {};
|
|
@@ -11646,11 +11980,24 @@ class Client extends openapi_client_1.default {
|
|
|
11646
11980
|
});
|
|
11647
11981
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
11648
11982
|
}
|
|
11983
|
+
/**
|
|
11984
|
+
* @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
|
|
11985
|
+
*
|
|
11986
|
+
* @param request DeployPolicyInstanceRequest
|
|
11987
|
+
* @return DeployPolicyInstanceResponse
|
|
11988
|
+
*/
|
|
11649
11989
|
async deployPolicyInstance(clusterId, policyName, request) {
|
|
11650
11990
|
let runtime = new $Util.RuntimeOptions({});
|
|
11651
11991
|
let headers = {};
|
|
11652
11992
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
11653
11993
|
}
|
|
11994
|
+
/**
|
|
11995
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
11996
|
+
*
|
|
11997
|
+
* @param headers map
|
|
11998
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
11999
|
+
* @return DescirbeWorkflowResponse
|
|
12000
|
+
*/
|
|
11654
12001
|
async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
11655
12002
|
let req = new $OpenApi.OpenApiRequest({
|
|
11656
12003
|
headers: headers,
|
|
@@ -11668,11 +12015,24 @@ class Client extends openapi_client_1.default {
|
|
|
11668
12015
|
});
|
|
11669
12016
|
return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
11670
12017
|
}
|
|
12018
|
+
/**
|
|
12019
|
+
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12020
|
+
*
|
|
12021
|
+
* @return DescirbeWorkflowResponse
|
|
12022
|
+
*/
|
|
11671
12023
|
async descirbeWorkflow(workflowName) {
|
|
11672
12024
|
let runtime = new $Util.RuntimeOptions({});
|
|
11673
12025
|
let headers = {};
|
|
11674
12026
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
11675
12027
|
}
|
|
12028
|
+
/**
|
|
12029
|
+
* @summary 查询指定集群组件
|
|
12030
|
+
*
|
|
12031
|
+
* @param request DescribeAddonRequest
|
|
12032
|
+
* @param headers map
|
|
12033
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12034
|
+
* @return DescribeAddonResponse
|
|
12035
|
+
*/
|
|
11676
12036
|
async describeAddonWithOptions(addonName, request, headers, runtime) {
|
|
11677
12037
|
tea_util_1.default.validateModel(request);
|
|
11678
12038
|
let query = {};
|
|
@@ -11714,18 +12074,26 @@ class Client extends openapi_client_1.default {
|
|
|
11714
12074
|
});
|
|
11715
12075
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
11716
12076
|
}
|
|
12077
|
+
/**
|
|
12078
|
+
* @summary 查询指定集群组件
|
|
12079
|
+
*
|
|
12080
|
+
* @param request DescribeAddonRequest
|
|
12081
|
+
* @return DescribeAddonResponse
|
|
12082
|
+
*/
|
|
11717
12083
|
async describeAddon(addonName, request) {
|
|
11718
12084
|
let runtime = new $Util.RuntimeOptions({});
|
|
11719
12085
|
let headers = {};
|
|
11720
12086
|
return await this.describeAddonWithOptions(addonName, request, headers, runtime);
|
|
11721
12087
|
}
|
|
11722
12088
|
/**
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
12089
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12090
|
+
*
|
|
12091
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12092
|
+
*
|
|
12093
|
+
* @param request DescribeAddonsRequest
|
|
12094
|
+
* @param headers map
|
|
12095
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12096
|
+
* @return DescribeAddonsResponse
|
|
11729
12097
|
*/
|
|
11730
12098
|
// Deprecated
|
|
11731
12099
|
async describeAddonsWithOptions(request, headers, runtime) {
|
|
@@ -11764,10 +12132,12 @@ class Client extends openapi_client_1.default {
|
|
|
11764
12132
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
|
|
11765
12133
|
}
|
|
11766
12134
|
/**
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
12135
|
+
* @deprecated OpenAPI DescribeAddons is deprecated
|
|
12136
|
+
*
|
|
12137
|
+
* @summary You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
12138
|
+
*
|
|
12139
|
+
* @param request DescribeAddonsRequest
|
|
12140
|
+
* @return DescribeAddonsResponse
|
|
11771
12141
|
*/
|
|
11772
12142
|
// Deprecated
|
|
11773
12143
|
async describeAddons(request) {
|
|
@@ -11776,11 +12146,13 @@ class Client extends openapi_client_1.default {
|
|
|
11776
12146
|
return await this.describeAddonsWithOptions(request, headers, runtime);
|
|
11777
12147
|
}
|
|
11778
12148
|
/**
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
12149
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12150
|
+
*
|
|
12151
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12152
|
+
*
|
|
12153
|
+
* @param headers map
|
|
12154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12155
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11784
12156
|
*/
|
|
11785
12157
|
// Deprecated
|
|
11786
12158
|
async describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime) {
|
|
@@ -11801,9 +12173,11 @@ class Client extends openapi_client_1.default {
|
|
|
11801
12173
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
11802
12174
|
}
|
|
11803
12175
|
/**
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
12176
|
+
* @deprecated OpenAPI DescribeClusterAddonInstance is deprecated
|
|
12177
|
+
*
|
|
12178
|
+
* @summary You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
12179
|
+
*
|
|
12180
|
+
* @return DescribeClusterAddonInstanceResponse
|
|
11807
12181
|
*/
|
|
11808
12182
|
// Deprecated
|
|
11809
12183
|
async describeClusterAddonInstance(ClusterID, AddonName) {
|
|
@@ -11812,12 +12186,14 @@ class Client extends openapi_client_1.default {
|
|
|
11812
12186
|
return await this.describeClusterAddonInstanceWithOptions(ClusterID, AddonName, headers, runtime);
|
|
11813
12187
|
}
|
|
11814
12188
|
/**
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
-
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
12189
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12190
|
+
*
|
|
12191
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12192
|
+
*
|
|
12193
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12194
|
+
* @param headers map
|
|
12195
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12196
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11821
12197
|
*/
|
|
11822
12198
|
// Deprecated
|
|
11823
12199
|
async describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
@@ -11844,10 +12220,12 @@ class Client extends openapi_client_1.default {
|
|
|
11844
12220
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
11845
12221
|
}
|
|
11846
12222
|
/**
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
12223
|
+
* @deprecated OpenAPI DescribeClusterAddonMetadata is deprecated
|
|
12224
|
+
*
|
|
12225
|
+
* @summary You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
12226
|
+
*
|
|
12227
|
+
* @param request DescribeClusterAddonMetadataRequest
|
|
12228
|
+
* @return DescribeClusterAddonMetadataResponse
|
|
11851
12229
|
*/
|
|
11852
12230
|
// Deprecated
|
|
11853
12231
|
async describeClusterAddonMetadata(clusterId, componentId, request) {
|
|
@@ -11856,11 +12234,13 @@ class Client extends openapi_client_1.default {
|
|
|
11856
12234
|
return await this.describeClusterAddonMetadataWithOptions(clusterId, componentId, request, headers, runtime);
|
|
11857
12235
|
}
|
|
11858
12236
|
/**
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11863
|
-
|
|
12237
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12238
|
+
*
|
|
12239
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12240
|
+
*
|
|
12241
|
+
* @param headers map
|
|
12242
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12243
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11864
12244
|
*/
|
|
11865
12245
|
// Deprecated
|
|
11866
12246
|
async describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime) {
|
|
@@ -11881,9 +12261,11 @@ class Client extends openapi_client_1.default {
|
|
|
11881
12261
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
11882
12262
|
}
|
|
11883
12263
|
/**
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
12264
|
+
* @deprecated OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
|
|
12265
|
+
*
|
|
12266
|
+
* @summary You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
12267
|
+
*
|
|
12268
|
+
* @return DescribeClusterAddonUpgradeStatusResponse
|
|
11887
12269
|
*/
|
|
11888
12270
|
// Deprecated
|
|
11889
12271
|
async describeClusterAddonUpgradeStatus(ClusterId, ComponentId) {
|
|
@@ -11892,12 +12274,14 @@ class Client extends openapi_client_1.default {
|
|
|
11892
12274
|
return await this.describeClusterAddonUpgradeStatusWithOptions(ClusterId, ComponentId, headers, runtime);
|
|
11893
12275
|
}
|
|
11894
12276
|
/**
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
12277
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12278
|
+
*
|
|
12279
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12280
|
+
*
|
|
12281
|
+
* @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
|
|
12282
|
+
* @param headers map
|
|
12283
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12284
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11901
12285
|
*/
|
|
11902
12286
|
// Deprecated
|
|
11903
12287
|
async describeClusterAddonsUpgradeStatusWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
@@ -11929,10 +12313,12 @@ class Client extends openapi_client_1.default {
|
|
|
11929
12313
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
11930
12314
|
}
|
|
11931
12315
|
/**
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
12316
|
+
* @deprecated OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
|
|
12317
|
+
*
|
|
12318
|
+
* @summary You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
12319
|
+
*
|
|
12320
|
+
* @param request DescribeClusterAddonsUpgradeStatusRequest
|
|
12321
|
+
* @return DescribeClusterAddonsUpgradeStatusResponse
|
|
11936
12322
|
*/
|
|
11937
12323
|
// Deprecated
|
|
11938
12324
|
async describeClusterAddonsUpgradeStatus(ClusterId, request) {
|
|
@@ -11941,11 +12327,13 @@ class Client extends openapi_client_1.default {
|
|
|
11941
12327
|
return await this.describeClusterAddonsUpgradeStatusWithOptions(ClusterId, request, headers, runtime);
|
|
11942
12328
|
}
|
|
11943
12329
|
/**
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
12330
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12331
|
+
*
|
|
12332
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12333
|
+
*
|
|
12334
|
+
* @param headers map
|
|
12335
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12336
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
11949
12337
|
*/
|
|
11950
12338
|
// Deprecated
|
|
11951
12339
|
async describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime) {
|
|
@@ -11966,9 +12354,11 @@ class Client extends openapi_client_1.default {
|
|
|
11966
12354
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
11967
12355
|
}
|
|
11968
12356
|
/**
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
12357
|
+
* @deprecated OpenAPI DescribeClusterAddonsVersion is deprecated
|
|
12358
|
+
*
|
|
12359
|
+
* @summary You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
12360
|
+
*
|
|
12361
|
+
* @return DescribeClusterAddonsVersionResponse
|
|
11972
12362
|
*/
|
|
11973
12363
|
// Deprecated
|
|
11974
12364
|
async describeClusterAddonsVersion(ClusterId) {
|
|
@@ -11976,6 +12366,14 @@ class Client extends openapi_client_1.default {
|
|
|
11976
12366
|
let headers = {};
|
|
11977
12367
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
11978
12368
|
}
|
|
12369
|
+
/**
|
|
12370
|
+
* @summary Queries the script that is used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. You can manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add the worker nodes that you have removed to a node pool.
|
|
12371
|
+
*
|
|
12372
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12373
|
+
* @param headers map
|
|
12374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12375
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12376
|
+
*/
|
|
11979
12377
|
async describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime) {
|
|
11980
12378
|
tea_util_1.default.validateModel(request);
|
|
11981
12379
|
let body = {};
|
|
@@ -12014,11 +12412,24 @@ class Client extends openapi_client_1.default {
|
|
|
12014
12412
|
});
|
|
12015
12413
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
12016
12414
|
}
|
|
12415
|
+
/**
|
|
12416
|
+
* @summary Queries the script that is used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. You can manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add the worker nodes that you have removed to a node pool.
|
|
12417
|
+
*
|
|
12418
|
+
* @param request DescribeClusterAttachScriptsRequest
|
|
12419
|
+
* @return DescribeClusterAttachScriptsResponse
|
|
12420
|
+
*/
|
|
12017
12421
|
async describeClusterAttachScripts(ClusterId, request) {
|
|
12018
12422
|
let runtime = new $Util.RuntimeOptions({});
|
|
12019
12423
|
let headers = {};
|
|
12020
12424
|
return await this.describeClusterAttachScriptsWithOptions(ClusterId, request, headers, runtime);
|
|
12021
12425
|
}
|
|
12426
|
+
/**
|
|
12427
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12428
|
+
*
|
|
12429
|
+
* @param headers map
|
|
12430
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12431
|
+
* @return DescribeClusterDetailResponse
|
|
12432
|
+
*/
|
|
12022
12433
|
async describeClusterDetailWithOptions(ClusterId, headers, runtime) {
|
|
12023
12434
|
let req = new $OpenApi.OpenApiRequest({
|
|
12024
12435
|
headers: headers,
|
|
@@ -12036,11 +12447,24 @@ class Client extends openapi_client_1.default {
|
|
|
12036
12447
|
});
|
|
12037
12448
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
12038
12449
|
}
|
|
12450
|
+
/**
|
|
12451
|
+
* @summary You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
12452
|
+
*
|
|
12453
|
+
* @return DescribeClusterDetailResponse
|
|
12454
|
+
*/
|
|
12039
12455
|
async describeClusterDetail(ClusterId) {
|
|
12040
12456
|
let runtime = new $Util.RuntimeOptions({});
|
|
12041
12457
|
let headers = {};
|
|
12042
12458
|
return await this.describeClusterDetailWithOptions(ClusterId, headers, runtime);
|
|
12043
12459
|
}
|
|
12460
|
+
/**
|
|
12461
|
+
* @summary Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
12462
|
+
*
|
|
12463
|
+
* @param request DescribeClusterEventsRequest
|
|
12464
|
+
* @param headers map
|
|
12465
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12466
|
+
* @return DescribeClusterEventsResponse
|
|
12467
|
+
*/
|
|
12044
12468
|
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
12045
12469
|
tea_util_1.default.validateModel(request);
|
|
12046
12470
|
let query = {};
|
|
@@ -12070,11 +12494,24 @@ class Client extends openapi_client_1.default {
|
|
|
12070
12494
|
});
|
|
12071
12495
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
12072
12496
|
}
|
|
12497
|
+
/**
|
|
12498
|
+
* @summary Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
12499
|
+
*
|
|
12500
|
+
* @param request DescribeClusterEventsRequest
|
|
12501
|
+
* @return DescribeClusterEventsResponse
|
|
12502
|
+
*/
|
|
12073
12503
|
async describeClusterEvents(ClusterId, request) {
|
|
12074
12504
|
let runtime = new $Util.RuntimeOptions({});
|
|
12075
12505
|
let headers = {};
|
|
12076
12506
|
return await this.describeClusterEventsWithOptions(ClusterId, request, headers, runtime);
|
|
12077
12507
|
}
|
|
12508
|
+
/**
|
|
12509
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12510
|
+
*
|
|
12511
|
+
* @param headers map
|
|
12512
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12513
|
+
* @return DescribeClusterLogsResponse
|
|
12514
|
+
*/
|
|
12078
12515
|
async describeClusterLogsWithOptions(ClusterId, headers, runtime) {
|
|
12079
12516
|
let req = new $OpenApi.OpenApiRequest({
|
|
12080
12517
|
headers: headers,
|
|
@@ -12092,11 +12529,23 @@ class Client extends openapi_client_1.default {
|
|
|
12092
12529
|
});
|
|
12093
12530
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
12094
12531
|
}
|
|
12532
|
+
/**
|
|
12533
|
+
* @summary Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
12534
|
+
*
|
|
12535
|
+
* @return DescribeClusterLogsResponse
|
|
12536
|
+
*/
|
|
12095
12537
|
async describeClusterLogs(ClusterId) {
|
|
12096
12538
|
let runtime = new $Util.RuntimeOptions({});
|
|
12097
12539
|
let headers = {};
|
|
12098
12540
|
return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
|
|
12099
12541
|
}
|
|
12542
|
+
/**
|
|
12543
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12544
|
+
*
|
|
12545
|
+
* @param headers map
|
|
12546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12547
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12548
|
+
*/
|
|
12100
12549
|
async describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime) {
|
|
12101
12550
|
let req = new $OpenApi.OpenApiRequest({
|
|
12102
12551
|
headers: headers,
|
|
@@ -12114,11 +12563,24 @@ class Client extends openapi_client_1.default {
|
|
|
12114
12563
|
});
|
|
12115
12564
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
12116
12565
|
}
|
|
12566
|
+
/**
|
|
12567
|
+
* @summary You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
12568
|
+
*
|
|
12569
|
+
* @return DescribeClusterNodePoolDetailResponse
|
|
12570
|
+
*/
|
|
12117
12571
|
async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
|
|
12118
12572
|
let runtime = new $Util.RuntimeOptions({});
|
|
12119
12573
|
let headers = {};
|
|
12120
12574
|
return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
|
|
12121
12575
|
}
|
|
12576
|
+
/**
|
|
12577
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12578
|
+
*
|
|
12579
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12580
|
+
* @param headers map
|
|
12581
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12582
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12583
|
+
*/
|
|
12122
12584
|
async describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime) {
|
|
12123
12585
|
tea_util_1.default.validateModel(request);
|
|
12124
12586
|
let query = {};
|
|
@@ -12142,11 +12604,25 @@ class Client extends openapi_client_1.default {
|
|
|
12142
12604
|
});
|
|
12143
12605
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
12144
12606
|
}
|
|
12607
|
+
/**
|
|
12608
|
+
* @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
|
|
12609
|
+
*
|
|
12610
|
+
* @param request DescribeClusterNodePoolsRequest
|
|
12611
|
+
* @return DescribeClusterNodePoolsResponse
|
|
12612
|
+
*/
|
|
12145
12613
|
async describeClusterNodePools(ClusterId, request) {
|
|
12146
12614
|
let runtime = new $Util.RuntimeOptions({});
|
|
12147
12615
|
let headers = {};
|
|
12148
12616
|
return await this.describeClusterNodePoolsWithOptions(ClusterId, request, headers, runtime);
|
|
12149
12617
|
}
|
|
12618
|
+
/**
|
|
12619
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12620
|
+
*
|
|
12621
|
+
* @param request DescribeClusterNodesRequest
|
|
12622
|
+
* @param headers map
|
|
12623
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12624
|
+
* @return DescribeClusterNodesResponse
|
|
12625
|
+
*/
|
|
12150
12626
|
async describeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
12151
12627
|
tea_util_1.default.validateModel(request);
|
|
12152
12628
|
let query = {};
|
|
@@ -12182,11 +12658,25 @@ class Client extends openapi_client_1.default {
|
|
|
12182
12658
|
});
|
|
12183
12659
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
12184
12660
|
}
|
|
12661
|
+
/**
|
|
12662
|
+
* @summary You can call the DescribeClusterNodes operation to query the details about all nodes in a cluster by cluster ID.
|
|
12663
|
+
*
|
|
12664
|
+
* @param request DescribeClusterNodesRequest
|
|
12665
|
+
* @return DescribeClusterNodesResponse
|
|
12666
|
+
*/
|
|
12185
12667
|
async describeClusterNodes(ClusterId, request) {
|
|
12186
12668
|
let runtime = new $Util.RuntimeOptions({});
|
|
12187
12669
|
let headers = {};
|
|
12188
12670
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
12189
12671
|
}
|
|
12672
|
+
/**
|
|
12673
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12674
|
+
*
|
|
12675
|
+
* @param request DescribeClusterResourcesRequest
|
|
12676
|
+
* @param headers map
|
|
12677
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12678
|
+
* @return DescribeClusterResourcesResponse
|
|
12679
|
+
*/
|
|
12190
12680
|
async describeClusterResourcesWithOptions(ClusterId, request, headers, runtime) {
|
|
12191
12681
|
tea_util_1.default.validateModel(request);
|
|
12192
12682
|
let query = {};
|
|
@@ -12210,11 +12700,25 @@ class Client extends openapi_client_1.default {
|
|
|
12210
12700
|
});
|
|
12211
12701
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
12212
12702
|
}
|
|
12703
|
+
/**
|
|
12704
|
+
* @summary You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
12705
|
+
*
|
|
12706
|
+
* @param request DescribeClusterResourcesRequest
|
|
12707
|
+
* @return DescribeClusterResourcesResponse
|
|
12708
|
+
*/
|
|
12213
12709
|
async describeClusterResources(ClusterId, request) {
|
|
12214
12710
|
let runtime = new $Util.RuntimeOptions({});
|
|
12215
12711
|
let headers = {};
|
|
12216
12712
|
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
12217
12713
|
}
|
|
12714
|
+
/**
|
|
12715
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12716
|
+
*
|
|
12717
|
+
* @param request DescribeClusterTasksRequest
|
|
12718
|
+
* @param headers map
|
|
12719
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12720
|
+
* @return DescribeClusterTasksResponse
|
|
12721
|
+
*/
|
|
12218
12722
|
async describeClusterTasksWithOptions(clusterId, request, headers, runtime) {
|
|
12219
12723
|
tea_util_1.default.validateModel(request);
|
|
12220
12724
|
let query = {};
|
|
@@ -12241,19 +12745,27 @@ class Client extends openapi_client_1.default {
|
|
|
12241
12745
|
});
|
|
12242
12746
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
12243
12747
|
}
|
|
12748
|
+
/**
|
|
12749
|
+
* @summary Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
12750
|
+
*
|
|
12751
|
+
* @param request DescribeClusterTasksRequest
|
|
12752
|
+
* @return DescribeClusterTasksResponse
|
|
12753
|
+
*/
|
|
12244
12754
|
async describeClusterTasks(clusterId, request) {
|
|
12245
12755
|
let runtime = new $Util.RuntimeOptions({});
|
|
12246
12756
|
let headers = {};
|
|
12247
12757
|
return await this.describeClusterTasksWithOptions(clusterId, request, headers, runtime);
|
|
12248
12758
|
}
|
|
12249
12759
|
/**
|
|
12250
|
-
|
|
12251
|
-
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12256
|
-
|
|
12760
|
+
* @summary Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
12761
|
+
*
|
|
12762
|
+
* @description **
|
|
12763
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
12764
|
+
*
|
|
12765
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12766
|
+
* @param headers map
|
|
12767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12768
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12257
12769
|
*/
|
|
12258
12770
|
async describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
12259
12771
|
tea_util_1.default.validateModel(request);
|
|
@@ -12282,11 +12794,13 @@ class Client extends openapi_client_1.default {
|
|
|
12282
12794
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
12283
12795
|
}
|
|
12284
12796
|
/**
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12797
|
+
* @summary Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
12798
|
+
*
|
|
12799
|
+
* @description **
|
|
12800
|
+
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
12801
|
+
*
|
|
12802
|
+
* @param request DescribeClusterUserKubeconfigRequest
|
|
12803
|
+
* @return DescribeClusterUserKubeconfigResponse
|
|
12290
12804
|
*/
|
|
12291
12805
|
async describeClusterUserKubeconfig(ClusterId, request) {
|
|
12292
12806
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -12294,12 +12808,14 @@ class Client extends openapi_client_1.default {
|
|
|
12294
12808
|
return await this.describeClusterUserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12295
12809
|
}
|
|
12296
12810
|
/**
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
|
|
12300
|
-
|
|
12301
|
-
|
|
12302
|
-
|
|
12811
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12812
|
+
*
|
|
12813
|
+
* @summary 获取集群kubeconfig接口
|
|
12814
|
+
*
|
|
12815
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12816
|
+
* @param headers map
|
|
12817
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12818
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12303
12819
|
*/
|
|
12304
12820
|
// Deprecated
|
|
12305
12821
|
async describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -12326,10 +12842,12 @@ class Client extends openapi_client_1.default {
|
|
|
12326
12842
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
12327
12843
|
}
|
|
12328
12844
|
/**
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
12845
|
+
* @deprecated OpenAPI DescribeClusterV2UserKubeconfig is deprecated
|
|
12846
|
+
*
|
|
12847
|
+
* @summary 获取集群kubeconfig接口
|
|
12848
|
+
*
|
|
12849
|
+
* @param request DescribeClusterV2UserKubeconfigRequest
|
|
12850
|
+
* @return DescribeClusterV2UserKubeconfigResponse
|
|
12333
12851
|
*/
|
|
12334
12852
|
// Deprecated
|
|
12335
12853
|
async describeClusterV2UserKubeconfig(ClusterId, request) {
|
|
@@ -12337,6 +12855,13 @@ class Client extends openapi_client_1.default {
|
|
|
12337
12855
|
let headers = {};
|
|
12338
12856
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
12339
12857
|
}
|
|
12858
|
+
/**
|
|
12859
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12860
|
+
*
|
|
12861
|
+
* @param headers map
|
|
12862
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12863
|
+
* @return DescribeClusterVulsResponse
|
|
12864
|
+
*/
|
|
12340
12865
|
async describeClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
12341
12866
|
let req = new $OpenApi.OpenApiRequest({
|
|
12342
12867
|
headers: headers,
|
|
@@ -12354,18 +12879,25 @@ class Client extends openapi_client_1.default {
|
|
|
12354
12879
|
});
|
|
12355
12880
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
12356
12881
|
}
|
|
12882
|
+
/**
|
|
12883
|
+
* @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
|
|
12884
|
+
*
|
|
12885
|
+
* @return DescribeClusterVulsResponse
|
|
12886
|
+
*/
|
|
12357
12887
|
async describeClusterVuls(clusterId) {
|
|
12358
12888
|
let runtime = new $Util.RuntimeOptions({});
|
|
12359
12889
|
let headers = {};
|
|
12360
12890
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
12361
12891
|
}
|
|
12362
12892
|
/**
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12893
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12894
|
+
*
|
|
12895
|
+
* @summary You can call the DescribeClusters operation to query all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
12896
|
+
*
|
|
12897
|
+
* @param request DescribeClustersRequest
|
|
12898
|
+
* @param headers map
|
|
12899
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12900
|
+
* @return DescribeClustersResponse
|
|
12369
12901
|
*/
|
|
12370
12902
|
// Deprecated
|
|
12371
12903
|
async describeClustersWithOptions(request, headers, runtime) {
|
|
@@ -12395,10 +12927,12 @@ class Client extends openapi_client_1.default {
|
|
|
12395
12927
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
12396
12928
|
}
|
|
12397
12929
|
/**
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12930
|
+
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
12931
|
+
*
|
|
12932
|
+
* @summary You can call the DescribeClusters operation to query all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
12933
|
+
*
|
|
12934
|
+
* @param request DescribeClustersRequest
|
|
12935
|
+
* @return DescribeClustersResponse
|
|
12402
12936
|
*/
|
|
12403
12937
|
// Deprecated
|
|
12404
12938
|
async describeClusters(request) {
|
|
@@ -12406,6 +12940,14 @@ class Client extends openapi_client_1.default {
|
|
|
12406
12940
|
let headers = {};
|
|
12407
12941
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
12408
12942
|
}
|
|
12943
|
+
/**
|
|
12944
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
12945
|
+
*
|
|
12946
|
+
* @param request DescribeClustersV1Request
|
|
12947
|
+
* @param headers map
|
|
12948
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12949
|
+
* @return DescribeClustersV1Response
|
|
12950
|
+
*/
|
|
12409
12951
|
async describeClustersV1WithOptions(request, headers, runtime) {
|
|
12410
12952
|
tea_util_1.default.validateModel(request);
|
|
12411
12953
|
let query = {};
|
|
@@ -12450,11 +12992,24 @@ class Client extends openapi_client_1.default {
|
|
|
12450
12992
|
});
|
|
12451
12993
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
12452
12994
|
}
|
|
12995
|
+
/**
|
|
12996
|
+
* @summary You can call the DescribeClustersV1 operation to query the details about all Container Service for Kubernetes (ACK) clusters.
|
|
12997
|
+
*
|
|
12998
|
+
* @param request DescribeClustersV1Request
|
|
12999
|
+
* @return DescribeClustersV1Response
|
|
13000
|
+
*/
|
|
12453
13001
|
async describeClustersV1(request) {
|
|
12454
13002
|
let runtime = new $Util.RuntimeOptions({});
|
|
12455
13003
|
let headers = {};
|
|
12456
13004
|
return await this.describeClustersV1WithOptions(request, headers, runtime);
|
|
12457
13005
|
}
|
|
13006
|
+
/**
|
|
13007
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13008
|
+
*
|
|
13009
|
+
* @param headers map
|
|
13010
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13011
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13012
|
+
*/
|
|
12458
13013
|
async describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime) {
|
|
12459
13014
|
let req = new $OpenApi.OpenApiRequest({
|
|
12460
13015
|
headers: headers,
|
|
@@ -12472,11 +13027,23 @@ class Client extends openapi_client_1.default {
|
|
|
12472
13027
|
});
|
|
12473
13028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
12474
13029
|
}
|
|
13030
|
+
/**
|
|
13031
|
+
* @summary You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
13032
|
+
*
|
|
13033
|
+
* @return DescribeEdgeMachineActiveProcessResponse
|
|
13034
|
+
*/
|
|
12475
13035
|
async describeEdgeMachineActiveProcess(edgeMachineid) {
|
|
12476
13036
|
let runtime = new $Util.RuntimeOptions({});
|
|
12477
13037
|
let headers = {};
|
|
12478
13038
|
return await this.describeEdgeMachineActiveProcessWithOptions(edgeMachineid, headers, runtime);
|
|
12479
13039
|
}
|
|
13040
|
+
/**
|
|
13041
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13042
|
+
*
|
|
13043
|
+
* @param headers map
|
|
13044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13045
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13046
|
+
*/
|
|
12480
13047
|
async describeEdgeMachineModelsWithOptions(headers, runtime) {
|
|
12481
13048
|
let req = new $OpenApi.OpenApiRequest({
|
|
12482
13049
|
headers: headers,
|
|
@@ -12494,11 +13061,23 @@ class Client extends openapi_client_1.default {
|
|
|
12494
13061
|
});
|
|
12495
13062
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
12496
13063
|
}
|
|
13064
|
+
/**
|
|
13065
|
+
* @summary You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
13066
|
+
*
|
|
13067
|
+
* @return DescribeEdgeMachineModelsResponse
|
|
13068
|
+
*/
|
|
12497
13069
|
async describeEdgeMachineModels() {
|
|
12498
13070
|
let runtime = new $Util.RuntimeOptions({});
|
|
12499
13071
|
let headers = {};
|
|
12500
13072
|
return await this.describeEdgeMachineModelsWithOptions(headers, runtime);
|
|
12501
13073
|
}
|
|
13074
|
+
/**
|
|
13075
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13076
|
+
*
|
|
13077
|
+
* @param headers map
|
|
13078
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13079
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13080
|
+
*/
|
|
12502
13081
|
async describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime) {
|
|
12503
13082
|
let req = new $OpenApi.OpenApiRequest({
|
|
12504
13083
|
headers: headers,
|
|
@@ -12516,11 +13095,24 @@ class Client extends openapi_client_1.default {
|
|
|
12516
13095
|
});
|
|
12517
13096
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
12518
13097
|
}
|
|
13098
|
+
/**
|
|
13099
|
+
* @summary You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
13100
|
+
*
|
|
13101
|
+
* @return DescribeEdgeMachineTunnelConfigDetailResponse
|
|
13102
|
+
*/
|
|
12519
13103
|
async describeEdgeMachineTunnelConfigDetail(edgeMachineid) {
|
|
12520
13104
|
let runtime = new $Util.RuntimeOptions({});
|
|
12521
13105
|
let headers = {};
|
|
12522
13106
|
return await this.describeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid, headers, runtime);
|
|
12523
13107
|
}
|
|
13108
|
+
/**
|
|
13109
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13110
|
+
*
|
|
13111
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13112
|
+
* @param headers map
|
|
13113
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13114
|
+
* @return DescribeEdgeMachinesResponse
|
|
13115
|
+
*/
|
|
12524
13116
|
async describeEdgeMachinesWithOptions(request, headers, runtime) {
|
|
12525
13117
|
tea_util_1.default.validateModel(request);
|
|
12526
13118
|
let query = {};
|
|
@@ -12559,11 +13151,25 @@ class Client extends openapi_client_1.default {
|
|
|
12559
13151
|
});
|
|
12560
13152
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
12561
13153
|
}
|
|
13154
|
+
/**
|
|
13155
|
+
* @summary You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
13156
|
+
*
|
|
13157
|
+
* @param request DescribeEdgeMachinesRequest
|
|
13158
|
+
* @return DescribeEdgeMachinesResponse
|
|
13159
|
+
*/
|
|
12562
13160
|
async describeEdgeMachines(request) {
|
|
12563
13161
|
let runtime = new $Util.RuntimeOptions({});
|
|
12564
13162
|
let headers = {};
|
|
12565
13163
|
return await this.describeEdgeMachinesWithOptions(request, headers, runtime);
|
|
12566
13164
|
}
|
|
13165
|
+
/**
|
|
13166
|
+
* @summary Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
13167
|
+
*
|
|
13168
|
+
* @param request DescribeEventsRequest
|
|
13169
|
+
* @param headers map
|
|
13170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13171
|
+
* @return DescribeEventsResponse
|
|
13172
|
+
*/
|
|
12567
13173
|
async describeEventsWithOptions(request, headers, runtime) {
|
|
12568
13174
|
tea_util_1.default.validateModel(request);
|
|
12569
13175
|
let query = {};
|
|
@@ -12596,18 +13202,26 @@ class Client extends openapi_client_1.default {
|
|
|
12596
13202
|
});
|
|
12597
13203
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
12598
13204
|
}
|
|
13205
|
+
/**
|
|
13206
|
+
* @summary Queries detailed information about a type of events, including the severity level, status, and start time of each event. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
13207
|
+
*
|
|
13208
|
+
* @param request DescribeEventsRequest
|
|
13209
|
+
* @return DescribeEventsResponse
|
|
13210
|
+
*/
|
|
12599
13211
|
async describeEvents(request) {
|
|
12600
13212
|
let runtime = new $Util.RuntimeOptions({});
|
|
12601
13213
|
let headers = {};
|
|
12602
13214
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
12603
13215
|
}
|
|
12604
13216
|
/**
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
13217
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13218
|
+
*
|
|
13219
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13220
|
+
*
|
|
13221
|
+
* @param request DescribeExternalAgentRequest
|
|
13222
|
+
* @param headers map
|
|
13223
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13224
|
+
* @return DescribeExternalAgentResponse
|
|
12611
13225
|
*/
|
|
12612
13226
|
async describeExternalAgentWithOptions(ClusterId, request, headers, runtime) {
|
|
12613
13227
|
tea_util_1.default.validateModel(request);
|
|
@@ -12636,16 +13250,26 @@ class Client extends openapi_client_1.default {
|
|
|
12636
13250
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
12637
13251
|
}
|
|
12638
13252
|
/**
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
13253
|
+
* @summary You can call the DescribeExternalAgent operation to query the agent configurations of a registered cluster by cluster ID.
|
|
13254
|
+
*
|
|
13255
|
+
* @description For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
13256
|
+
*
|
|
13257
|
+
* @param request DescribeExternalAgentRequest
|
|
13258
|
+
* @return DescribeExternalAgentResponse
|
|
12643
13259
|
*/
|
|
12644
13260
|
async describeExternalAgent(ClusterId, request) {
|
|
12645
13261
|
let runtime = new $Util.RuntimeOptions({});
|
|
12646
13262
|
let headers = {};
|
|
12647
13263
|
return await this.describeExternalAgentWithOptions(ClusterId, request, headers, runtime);
|
|
12648
13264
|
}
|
|
13265
|
+
/**
|
|
13266
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13267
|
+
*
|
|
13268
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13269
|
+
* @param headers map
|
|
13270
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13271
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13272
|
+
*/
|
|
12649
13273
|
async describeKubernetesVersionMetadataWithOptions(request, headers, runtime) {
|
|
12650
13274
|
tea_util_1.default.validateModel(request);
|
|
12651
13275
|
let query = {};
|
|
@@ -12684,11 +13308,25 @@ class Client extends openapi_client_1.default {
|
|
|
12684
13308
|
});
|
|
12685
13309
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
12686
13310
|
}
|
|
13311
|
+
/**
|
|
13312
|
+
* @summary Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
13313
|
+
*
|
|
13314
|
+
* @param request DescribeKubernetesVersionMetadataRequest
|
|
13315
|
+
* @return DescribeKubernetesVersionMetadataResponse
|
|
13316
|
+
*/
|
|
12687
13317
|
async describeKubernetesVersionMetadata(request) {
|
|
12688
13318
|
let runtime = new $Util.RuntimeOptions({});
|
|
12689
13319
|
let headers = {};
|
|
12690
13320
|
return await this.describeKubernetesVersionMetadataWithOptions(request, headers, runtime);
|
|
12691
13321
|
}
|
|
13322
|
+
/**
|
|
13323
|
+
* @summary Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
|
|
13324
|
+
*
|
|
13325
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13326
|
+
* @param headers map
|
|
13327
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13328
|
+
* @return DescribeNodePoolVulsResponse
|
|
13329
|
+
*/
|
|
12692
13330
|
async describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
12693
13331
|
tea_util_1.default.validateModel(request);
|
|
12694
13332
|
let query = {};
|
|
@@ -12712,11 +13350,24 @@ class Client extends openapi_client_1.default {
|
|
|
12712
13350
|
});
|
|
12713
13351
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
12714
13352
|
}
|
|
13353
|
+
/**
|
|
13354
|
+
* @summary Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
|
|
13355
|
+
*
|
|
13356
|
+
* @param request DescribeNodePoolVulsRequest
|
|
13357
|
+
* @return DescribeNodePoolVulsResponse
|
|
13358
|
+
*/
|
|
12715
13359
|
async describeNodePoolVuls(clusterId, nodepoolId, request) {
|
|
12716
13360
|
let runtime = new $Util.RuntimeOptions({});
|
|
12717
13361
|
let headers = {};
|
|
12718
13362
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
12719
13363
|
}
|
|
13364
|
+
/**
|
|
13365
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13366
|
+
*
|
|
13367
|
+
* @param headers map
|
|
13368
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13369
|
+
* @return DescribePoliciesResponse
|
|
13370
|
+
*/
|
|
12720
13371
|
async describePoliciesWithOptions(headers, runtime) {
|
|
12721
13372
|
let req = new $OpenApi.OpenApiRequest({
|
|
12722
13373
|
headers: headers,
|
|
@@ -12734,11 +13385,23 @@ class Client extends openapi_client_1.default {
|
|
|
12734
13385
|
});
|
|
12735
13386
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
12736
13387
|
}
|
|
13388
|
+
/**
|
|
13389
|
+
* @summary You can call the DescribePolicies operation to query a list of policies.
|
|
13390
|
+
*
|
|
13391
|
+
* @return DescribePoliciesResponse
|
|
13392
|
+
*/
|
|
12737
13393
|
async describePolicies() {
|
|
12738
13394
|
let runtime = new $Util.RuntimeOptions({});
|
|
12739
13395
|
let headers = {};
|
|
12740
13396
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
12741
13397
|
}
|
|
13398
|
+
/**
|
|
13399
|
+
* @summary Container security policies for Container Service for Kubernetes (ACK) clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyDetails operation to query information about a policy, such as the content, action, and severity level of the policy.
|
|
13400
|
+
*
|
|
13401
|
+
* @param headers map
|
|
13402
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13403
|
+
* @return DescribePolicyDetailsResponse
|
|
13404
|
+
*/
|
|
12742
13405
|
async describePolicyDetailsWithOptions(policyName, headers, runtime) {
|
|
12743
13406
|
let req = new $OpenApi.OpenApiRequest({
|
|
12744
13407
|
headers: headers,
|
|
@@ -12756,11 +13419,23 @@ class Client extends openapi_client_1.default {
|
|
|
12756
13419
|
});
|
|
12757
13420
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
12758
13421
|
}
|
|
13422
|
+
/**
|
|
13423
|
+
* @summary Container security policies for Container Service for Kubernetes (ACK) clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyDetails operation to query information about a policy, such as the content, action, and severity level of the policy.
|
|
13424
|
+
*
|
|
13425
|
+
* @return DescribePolicyDetailsResponse
|
|
13426
|
+
*/
|
|
12759
13427
|
async describePolicyDetails(policyName) {
|
|
12760
13428
|
let runtime = new $Util.RuntimeOptions({});
|
|
12761
13429
|
let headers = {};
|
|
12762
13430
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
12763
13431
|
}
|
|
13432
|
+
/**
|
|
13433
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13434
|
+
*
|
|
13435
|
+
* @param headers map
|
|
13436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13437
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13438
|
+
*/
|
|
12764
13439
|
async describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime) {
|
|
12765
13440
|
let req = new $OpenApi.OpenApiRequest({
|
|
12766
13441
|
headers: headers,
|
|
@@ -12778,11 +13453,24 @@ class Client extends openapi_client_1.default {
|
|
|
12778
13453
|
});
|
|
12779
13454
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
12780
13455
|
}
|
|
13456
|
+
/**
|
|
13457
|
+
* @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
|
|
13458
|
+
*
|
|
13459
|
+
* @return DescribePolicyGovernanceInClusterResponse
|
|
13460
|
+
*/
|
|
12781
13461
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
12782
13462
|
let runtime = new $Util.RuntimeOptions({});
|
|
12783
13463
|
let headers = {};
|
|
12784
13464
|
return await this.describePolicyGovernanceInClusterWithOptions(clusterId, headers, runtime);
|
|
12785
13465
|
}
|
|
13466
|
+
/**
|
|
13467
|
+
* @summary Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
|
|
13468
|
+
*
|
|
13469
|
+
* @param request DescribePolicyInstancesRequest
|
|
13470
|
+
* @param headers map
|
|
13471
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13472
|
+
* @return DescribePolicyInstancesResponse
|
|
13473
|
+
*/
|
|
12786
13474
|
async describePolicyInstancesWithOptions(clusterId, request, headers, runtime) {
|
|
12787
13475
|
tea_util_1.default.validateModel(request);
|
|
12788
13476
|
let query = {};
|
|
@@ -12809,11 +13497,24 @@ class Client extends openapi_client_1.default {
|
|
|
12809
13497
|
});
|
|
12810
13498
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
12811
13499
|
}
|
|
13500
|
+
/**
|
|
13501
|
+
* @summary Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
|
|
13502
|
+
*
|
|
13503
|
+
* @param request DescribePolicyInstancesRequest
|
|
13504
|
+
* @return DescribePolicyInstancesResponse
|
|
13505
|
+
*/
|
|
12812
13506
|
async describePolicyInstances(clusterId, request) {
|
|
12813
13507
|
let runtime = new $Util.RuntimeOptions({});
|
|
12814
13508
|
let headers = {};
|
|
12815
13509
|
return await this.describePolicyInstancesWithOptions(clusterId, request, headers, runtime);
|
|
12816
13510
|
}
|
|
13511
|
+
/**
|
|
13512
|
+
* @summary Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
|
|
13513
|
+
*
|
|
13514
|
+
* @param headers map
|
|
13515
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13516
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13517
|
+
*/
|
|
12817
13518
|
async describePolicyInstancesStatusWithOptions(clusterId, headers, runtime) {
|
|
12818
13519
|
let req = new $OpenApi.OpenApiRequest({
|
|
12819
13520
|
headers: headers,
|
|
@@ -12831,19 +13532,26 @@ class Client extends openapi_client_1.default {
|
|
|
12831
13532
|
});
|
|
12832
13533
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
12833
13534
|
}
|
|
13535
|
+
/**
|
|
13536
|
+
* @summary Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
|
|
13537
|
+
*
|
|
13538
|
+
* @return DescribePolicyInstancesStatusResponse
|
|
13539
|
+
*/
|
|
12834
13540
|
async describePolicyInstancesStatus(clusterId) {
|
|
12835
13541
|
let runtime = new $Util.RuntimeOptions({});
|
|
12836
13542
|
let headers = {};
|
|
12837
13543
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
12838
13544
|
}
|
|
12839
13545
|
/**
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
|
|
13546
|
+
* @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
|
|
13547
|
+
*
|
|
13548
|
+
* @description **
|
|
13549
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13550
|
+
*
|
|
13551
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13552
|
+
* @param headers map
|
|
13553
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13554
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12847
13555
|
*/
|
|
12848
13556
|
async describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime) {
|
|
12849
13557
|
tea_util_1.default.validateModel(request);
|
|
@@ -12872,17 +13580,26 @@ class Client extends openapi_client_1.default {
|
|
|
12872
13580
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
12873
13581
|
}
|
|
12874
13582
|
/**
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
13583
|
+
* @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
|
|
13584
|
+
*
|
|
13585
|
+
* @description **
|
|
13586
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
13587
|
+
*
|
|
13588
|
+
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
13589
|
+
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
12880
13590
|
*/
|
|
12881
13591
|
async describeSubaccountK8sClusterUserConfig(ClusterId, Uid, request) {
|
|
12882
13592
|
let runtime = new $Util.RuntimeOptions({});
|
|
12883
13593
|
let headers = {};
|
|
12884
13594
|
return await this.describeSubaccountK8sClusterUserConfigWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
12885
13595
|
}
|
|
13596
|
+
/**
|
|
13597
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13598
|
+
*
|
|
13599
|
+
* @param headers map
|
|
13600
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13601
|
+
* @return DescribeTaskInfoResponse
|
|
13602
|
+
*/
|
|
12886
13603
|
async describeTaskInfoWithOptions(taskId, headers, runtime) {
|
|
12887
13604
|
let req = new $OpenApi.OpenApiRequest({
|
|
12888
13605
|
headers: headers,
|
|
@@ -12900,11 +13617,24 @@ class Client extends openapi_client_1.default {
|
|
|
12900
13617
|
});
|
|
12901
13618
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
12902
13619
|
}
|
|
13620
|
+
/**
|
|
13621
|
+
* @summary Queries detailed information about a task, such as the task type, status, and progress.
|
|
13622
|
+
*
|
|
13623
|
+
* @return DescribeTaskInfoResponse
|
|
13624
|
+
*/
|
|
12903
13625
|
async describeTaskInfo(taskId) {
|
|
12904
13626
|
let runtime = new $Util.RuntimeOptions({});
|
|
12905
13627
|
let headers = {};
|
|
12906
13628
|
return await this.describeTaskInfoWithOptions(taskId, headers, runtime);
|
|
12907
13629
|
}
|
|
13630
|
+
/**
|
|
13631
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
13632
|
+
*
|
|
13633
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13634
|
+
* @param headers map
|
|
13635
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13636
|
+
* @return DescribeTemplateAttributeResponse
|
|
13637
|
+
*/
|
|
12908
13638
|
async describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime) {
|
|
12909
13639
|
tea_util_1.default.validateModel(request);
|
|
12910
13640
|
let query = {};
|
|
@@ -12928,11 +13658,25 @@ class Client extends openapi_client_1.default {
|
|
|
12928
13658
|
});
|
|
12929
13659
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
12930
13660
|
}
|
|
13661
|
+
/**
|
|
13662
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
13663
|
+
*
|
|
13664
|
+
* @param request DescribeTemplateAttributeRequest
|
|
13665
|
+
* @return DescribeTemplateAttributeResponse
|
|
13666
|
+
*/
|
|
12931
13667
|
async describeTemplateAttribute(TemplateId, request) {
|
|
12932
13668
|
let runtime = new $Util.RuntimeOptions({});
|
|
12933
13669
|
let headers = {};
|
|
12934
13670
|
return await this.describeTemplateAttributeWithOptions(TemplateId, request, headers, runtime);
|
|
12935
13671
|
}
|
|
13672
|
+
/**
|
|
13673
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
13674
|
+
*
|
|
13675
|
+
* @param request DescribeTemplatesRequest
|
|
13676
|
+
* @param headers map
|
|
13677
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13678
|
+
* @return DescribeTemplatesResponse
|
|
13679
|
+
*/
|
|
12936
13680
|
async describeTemplatesWithOptions(request, headers, runtime) {
|
|
12937
13681
|
tea_util_1.default.validateModel(request);
|
|
12938
13682
|
let query = {};
|
|
@@ -12962,11 +13706,25 @@ class Client extends openapi_client_1.default {
|
|
|
12962
13706
|
});
|
|
12963
13707
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
12964
13708
|
}
|
|
13709
|
+
/**
|
|
13710
|
+
* @summary An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
13711
|
+
*
|
|
13712
|
+
* @param request DescribeTemplatesRequest
|
|
13713
|
+
* @return DescribeTemplatesResponse
|
|
13714
|
+
*/
|
|
12965
13715
|
async describeTemplates(request) {
|
|
12966
13716
|
let runtime = new $Util.RuntimeOptions({});
|
|
12967
13717
|
let headers = {};
|
|
12968
13718
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
12969
13719
|
}
|
|
13720
|
+
/**
|
|
13721
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13722
|
+
*
|
|
13723
|
+
* @param request DescribeTriggerRequest
|
|
13724
|
+
* @param headers map
|
|
13725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13726
|
+
* @return DescribeTriggerResponse
|
|
13727
|
+
*/
|
|
12970
13728
|
async describeTriggerWithOptions(clusterId, request, headers, runtime) {
|
|
12971
13729
|
tea_util_1.default.validateModel(request);
|
|
12972
13730
|
let query = {};
|
|
@@ -12999,11 +13757,24 @@ class Client extends openapi_client_1.default {
|
|
|
12999
13757
|
});
|
|
13000
13758
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
13001
13759
|
}
|
|
13760
|
+
/**
|
|
13761
|
+
* @summary You can call the DescribeTrigger operation to query triggers.
|
|
13762
|
+
*
|
|
13763
|
+
* @param request DescribeTriggerRequest
|
|
13764
|
+
* @return DescribeTriggerResponse
|
|
13765
|
+
*/
|
|
13002
13766
|
async describeTrigger(clusterId, request) {
|
|
13003
13767
|
let runtime = new $Util.RuntimeOptions({});
|
|
13004
13768
|
let headers = {};
|
|
13005
13769
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
13006
13770
|
}
|
|
13771
|
+
/**
|
|
13772
|
+
* @summary Queries the Role-Based Access Control (RBAC) permissions that are granted to the current Resource Access Management (RAM) user or RAM role on a Container Service for Kubernetes (ACK) cluster. You can use Kubernetes namespaces to limit users from accessing resources in an ACK cluster. Users that are granted RBAC permissions only on one namespace cannot access resources in other namespaces.
|
|
13773
|
+
*
|
|
13774
|
+
* @param headers map
|
|
13775
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13776
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13777
|
+
*/
|
|
13007
13778
|
async describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime) {
|
|
13008
13779
|
let req = new $OpenApi.OpenApiRequest({
|
|
13009
13780
|
headers: headers,
|
|
@@ -13021,11 +13792,23 @@ class Client extends openapi_client_1.default {
|
|
|
13021
13792
|
});
|
|
13022
13793
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
13023
13794
|
}
|
|
13795
|
+
/**
|
|
13796
|
+
* @summary Queries the Role-Based Access Control (RBAC) permissions that are granted to the current Resource Access Management (RAM) user or RAM role on a Container Service for Kubernetes (ACK) cluster. You can use Kubernetes namespaces to limit users from accessing resources in an ACK cluster. Users that are granted RBAC permissions only on one namespace cannot access resources in other namespaces.
|
|
13797
|
+
*
|
|
13798
|
+
* @return DescribeUserClusterNamespacesResponse
|
|
13799
|
+
*/
|
|
13024
13800
|
async describeUserClusterNamespaces(ClusterId) {
|
|
13025
13801
|
let runtime = new $Util.RuntimeOptions({});
|
|
13026
13802
|
let headers = {};
|
|
13027
13803
|
return await this.describeUserClusterNamespacesWithOptions(ClusterId, headers, runtime);
|
|
13028
13804
|
}
|
|
13805
|
+
/**
|
|
13806
|
+
* @summary In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
13807
|
+
*
|
|
13808
|
+
* @param headers map
|
|
13809
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13810
|
+
* @return DescribeUserPermissionResponse
|
|
13811
|
+
*/
|
|
13029
13812
|
async describeUserPermissionWithOptions(uid, headers, runtime) {
|
|
13030
13813
|
let req = new $OpenApi.OpenApiRequest({
|
|
13031
13814
|
headers: headers,
|
|
@@ -13043,11 +13826,23 @@ class Client extends openapi_client_1.default {
|
|
|
13043
13826
|
});
|
|
13044
13827
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
13045
13828
|
}
|
|
13829
|
+
/**
|
|
13830
|
+
* @summary In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
13831
|
+
*
|
|
13832
|
+
* @return DescribeUserPermissionResponse
|
|
13833
|
+
*/
|
|
13046
13834
|
async describeUserPermission(uid) {
|
|
13047
13835
|
let runtime = new $Util.RuntimeOptions({});
|
|
13048
13836
|
let headers = {};
|
|
13049
13837
|
return await this.describeUserPermissionWithOptions(uid, headers, runtime);
|
|
13050
13838
|
}
|
|
13839
|
+
/**
|
|
13840
|
+
* @summary Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
|
|
13841
|
+
*
|
|
13842
|
+
* @param headers map
|
|
13843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13844
|
+
* @return DescribeUserQuotaResponse
|
|
13845
|
+
*/
|
|
13051
13846
|
async describeUserQuotaWithOptions(headers, runtime) {
|
|
13052
13847
|
let req = new $OpenApi.OpenApiRequest({
|
|
13053
13848
|
headers: headers,
|
|
@@ -13065,11 +13860,23 @@ class Client extends openapi_client_1.default {
|
|
|
13065
13860
|
});
|
|
13066
13861
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
13067
13862
|
}
|
|
13863
|
+
/**
|
|
13864
|
+
* @summary Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
|
|
13865
|
+
*
|
|
13866
|
+
* @return DescribeUserQuotaResponse
|
|
13867
|
+
*/
|
|
13068
13868
|
async describeUserQuota() {
|
|
13069
13869
|
let runtime = new $Util.RuntimeOptions({});
|
|
13070
13870
|
let headers = {};
|
|
13071
13871
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
13072
13872
|
}
|
|
13873
|
+
/**
|
|
13874
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13875
|
+
*
|
|
13876
|
+
* @param headers map
|
|
13877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13878
|
+
* @return DescribeWorkflowsResponse
|
|
13879
|
+
*/
|
|
13073
13880
|
async describeWorkflowsWithOptions(headers, runtime) {
|
|
13074
13881
|
let req = new $OpenApi.OpenApiRequest({
|
|
13075
13882
|
headers: headers,
|
|
@@ -13087,11 +13894,24 @@ class Client extends openapi_client_1.default {
|
|
|
13087
13894
|
});
|
|
13088
13895
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
13089
13896
|
}
|
|
13897
|
+
/**
|
|
13898
|
+
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
13899
|
+
*
|
|
13900
|
+
* @return DescribeWorkflowsResponse
|
|
13901
|
+
*/
|
|
13090
13902
|
async describeWorkflows() {
|
|
13091
13903
|
let runtime = new $Util.RuntimeOptions({});
|
|
13092
13904
|
let headers = {};
|
|
13093
13905
|
return await this.describeWorkflowsWithOptions(headers, runtime);
|
|
13094
13906
|
}
|
|
13907
|
+
/**
|
|
13908
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13909
|
+
*
|
|
13910
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13911
|
+
* @param headers map
|
|
13912
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13913
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13914
|
+
*/
|
|
13095
13915
|
async edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime) {
|
|
13096
13916
|
tea_util_1.default.validateModel(request);
|
|
13097
13917
|
let body = {};
|
|
@@ -13121,21 +13941,29 @@ class Client extends openapi_client_1.default {
|
|
|
13121
13941
|
});
|
|
13122
13942
|
return $tea.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
13123
13943
|
}
|
|
13944
|
+
/**
|
|
13945
|
+
* @summary You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
13946
|
+
*
|
|
13947
|
+
* @param request EdgeClusterAddEdgeMachineRequest
|
|
13948
|
+
* @return EdgeClusterAddEdgeMachineResponse
|
|
13949
|
+
*/
|
|
13124
13950
|
async edgeClusterAddEdgeMachine(clusterid, edgeMachineid, request) {
|
|
13125
13951
|
let runtime = new $Util.RuntimeOptions({});
|
|
13126
13952
|
let headers = {};
|
|
13127
13953
|
return await this.edgeClusterAddEdgeMachineWithOptions(clusterid, edgeMachineid, request, headers, runtime);
|
|
13128
13954
|
}
|
|
13129
13955
|
/**
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13956
|
+
* @summary Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
|
|
13957
|
+
*
|
|
13958
|
+
* @description 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
13959
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
13960
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
13961
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
13962
|
+
*
|
|
13963
|
+
* @param request FixNodePoolVulsRequest
|
|
13964
|
+
* @param headers map
|
|
13965
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13966
|
+
* @return FixNodePoolVulsResponse
|
|
13139
13967
|
*/
|
|
13140
13968
|
async fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
13141
13969
|
tea_util_1.default.validateModel(request);
|
|
@@ -13170,19 +13998,28 @@ class Client extends openapi_client_1.default {
|
|
|
13170
13998
|
return $tea.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
13171
13999
|
}
|
|
13172
14000
|
/**
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
14001
|
+
* @summary Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
|
|
14002
|
+
*
|
|
14003
|
+
* @description 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
|
|
14004
|
+
* 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
|
|
14005
|
+
* 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
|
|
14006
|
+
* 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.
|
|
14007
|
+
*
|
|
14008
|
+
* @param request FixNodePoolVulsRequest
|
|
14009
|
+
* @return FixNodePoolVulsResponse
|
|
13180
14010
|
*/
|
|
13181
14011
|
async fixNodePoolVuls(clusterId, nodepoolId, request) {
|
|
13182
14012
|
let runtime = new $Util.RuntimeOptions({});
|
|
13183
14013
|
let headers = {};
|
|
13184
14014
|
return await this.fixNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
13185
14015
|
}
|
|
14016
|
+
/**
|
|
14017
|
+
* @summary You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
|
|
14018
|
+
*
|
|
14019
|
+
* @param headers map
|
|
14020
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14021
|
+
* @return GetClusterAddonInstanceResponse
|
|
14022
|
+
*/
|
|
13186
14023
|
async getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime) {
|
|
13187
14024
|
let req = new $OpenApi.OpenApiRequest({
|
|
13188
14025
|
headers: headers,
|
|
@@ -13200,11 +14037,23 @@ class Client extends openapi_client_1.default {
|
|
|
13200
14037
|
});
|
|
13201
14038
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
13202
14039
|
}
|
|
14040
|
+
/**
|
|
14041
|
+
* @summary You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
|
|
14042
|
+
*
|
|
14043
|
+
* @return GetClusterAddonInstanceResponse
|
|
14044
|
+
*/
|
|
13203
14045
|
async getClusterAddonInstance(clusterId, instanceName) {
|
|
13204
14046
|
let runtime = new $Util.RuntimeOptions({});
|
|
13205
14047
|
let headers = {};
|
|
13206
14048
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
13207
14049
|
}
|
|
14050
|
+
/**
|
|
14051
|
+
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
14052
|
+
*
|
|
14053
|
+
* @param headers map
|
|
14054
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14055
|
+
* @return GetClusterCheckResponse
|
|
14056
|
+
*/
|
|
13208
14057
|
async getClusterCheckWithOptions(clusterId, checkId, headers, runtime) {
|
|
13209
14058
|
let req = new $OpenApi.OpenApiRequest({
|
|
13210
14059
|
headers: headers,
|
|
@@ -13222,11 +14071,24 @@ class Client extends openapi_client_1.default {
|
|
|
13222
14071
|
});
|
|
13223
14072
|
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
13224
14073
|
}
|
|
14074
|
+
/**
|
|
14075
|
+
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
14076
|
+
*
|
|
14077
|
+
* @return GetClusterCheckResponse
|
|
14078
|
+
*/
|
|
13225
14079
|
async getClusterCheck(clusterId, checkId) {
|
|
13226
14080
|
let runtime = new $Util.RuntimeOptions({});
|
|
13227
14081
|
let headers = {};
|
|
13228
14082
|
return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
|
|
13229
14083
|
}
|
|
14084
|
+
/**
|
|
14085
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14086
|
+
*
|
|
14087
|
+
* @param request GetKubernetesTriggerRequest
|
|
14088
|
+
* @param headers map
|
|
14089
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14090
|
+
* @return GetKubernetesTriggerResponse
|
|
14091
|
+
*/
|
|
13230
14092
|
async getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime) {
|
|
13231
14093
|
tea_util_1.default.validateModel(request);
|
|
13232
14094
|
let query = {};
|
|
@@ -13259,11 +14121,24 @@ class Client extends openapi_client_1.default {
|
|
|
13259
14121
|
});
|
|
13260
14122
|
return $tea.cast(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
13261
14123
|
}
|
|
14124
|
+
/**
|
|
14125
|
+
* @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
14126
|
+
*
|
|
14127
|
+
* @param request GetKubernetesTriggerRequest
|
|
14128
|
+
* @return GetKubernetesTriggerResponse
|
|
14129
|
+
*/
|
|
13262
14130
|
async getKubernetesTrigger(ClusterId, request) {
|
|
13263
14131
|
let runtime = new $Util.RuntimeOptions({});
|
|
13264
14132
|
let headers = {};
|
|
13265
14133
|
return await this.getKubernetesTriggerWithOptions(ClusterId, request, headers, runtime);
|
|
13266
14134
|
}
|
|
14135
|
+
/**
|
|
14136
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14137
|
+
*
|
|
14138
|
+
* @param headers map
|
|
14139
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14140
|
+
* @return GetUpgradeStatusResponse
|
|
14141
|
+
*/
|
|
13267
14142
|
async getUpgradeStatusWithOptions(ClusterId, headers, runtime) {
|
|
13268
14143
|
let req = new $OpenApi.OpenApiRequest({
|
|
13269
14144
|
headers: headers,
|
|
@@ -13281,21 +14156,28 @@ class Client extends openapi_client_1.default {
|
|
|
13281
14156
|
});
|
|
13282
14157
|
return $tea.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
13283
14158
|
}
|
|
14159
|
+
/**
|
|
14160
|
+
* @summary You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
14161
|
+
*
|
|
14162
|
+
* @return GetUpgradeStatusResponse
|
|
14163
|
+
*/
|
|
13284
14164
|
async getUpgradeStatus(ClusterId) {
|
|
13285
14165
|
let runtime = new $Util.RuntimeOptions({});
|
|
13286
14166
|
let headers = {};
|
|
13287
14167
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
13288
14168
|
}
|
|
13289
14169
|
/**
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13295
|
-
|
|
13296
|
-
|
|
13297
|
-
|
|
13298
|
-
|
|
14170
|
+
* @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
|
|
14171
|
+
*
|
|
14172
|
+
* @description ****
|
|
14173
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
|
|
14174
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
14175
|
+
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
14176
|
+
*
|
|
14177
|
+
* @param request GrantPermissionsRequest
|
|
14178
|
+
* @param headers map
|
|
14179
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14180
|
+
* @return GrantPermissionsResponse
|
|
13299
14181
|
*/
|
|
13300
14182
|
async grantPermissionsWithOptions(uid, request, headers, runtime) {
|
|
13301
14183
|
tea_util_1.default.validateModel(request);
|
|
@@ -13317,19 +14199,29 @@ class Client extends openapi_client_1.default {
|
|
|
13317
14199
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
13318
14200
|
}
|
|
13319
14201
|
/**
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
14202
|
+
* @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
|
|
14203
|
+
*
|
|
14204
|
+
* @description ****
|
|
14205
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
|
|
14206
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
14207
|
+
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
14208
|
+
*
|
|
14209
|
+
* @param request GrantPermissionsRequest
|
|
14210
|
+
* @return GrantPermissionsResponse
|
|
13327
14211
|
*/
|
|
13328
14212
|
async grantPermissions(uid, request) {
|
|
13329
14213
|
let runtime = new $Util.RuntimeOptions({});
|
|
13330
14214
|
let headers = {};
|
|
13331
14215
|
return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
|
|
13332
14216
|
}
|
|
14217
|
+
/**
|
|
14218
|
+
* @summary Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
14219
|
+
*
|
|
14220
|
+
* @param request InstallClusterAddonsRequest
|
|
14221
|
+
* @param headers map
|
|
14222
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14223
|
+
* @return InstallClusterAddonsResponse
|
|
14224
|
+
*/
|
|
13333
14225
|
async installClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
13334
14226
|
tea_util_1.default.validateModel(request);
|
|
13335
14227
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13349,11 +14241,25 @@ class Client extends openapi_client_1.default {
|
|
|
13349
14241
|
});
|
|
13350
14242
|
return $tea.cast(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
13351
14243
|
}
|
|
14244
|
+
/**
|
|
14245
|
+
* @summary Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
14246
|
+
*
|
|
14247
|
+
* @param request InstallClusterAddonsRequest
|
|
14248
|
+
* @return InstallClusterAddonsResponse
|
|
14249
|
+
*/
|
|
13352
14250
|
async installClusterAddons(ClusterId, request) {
|
|
13353
14251
|
let runtime = new $Util.RuntimeOptions({});
|
|
13354
14252
|
let headers = {};
|
|
13355
14253
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
13356
14254
|
}
|
|
14255
|
+
/**
|
|
14256
|
+
* @summary You can call the ListAddons operation to query all available components in a cluster. You can query all available components in a cluster by specifying the ID of the cluster. You can also specify parameters such as the region, cluster type, cluster subtype (profile), cluster specification, and cluster version to get a list of available components in clusters that meet the conditions.
|
|
14257
|
+
*
|
|
14258
|
+
* @param request ListAddonsRequest
|
|
14259
|
+
* @param headers map
|
|
14260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14261
|
+
* @return ListAddonsResponse
|
|
14262
|
+
*/
|
|
13357
14263
|
async listAddonsWithOptions(request, headers, runtime) {
|
|
13358
14264
|
tea_util_1.default.validateModel(request);
|
|
13359
14265
|
let query = {};
|
|
@@ -13392,11 +14298,24 @@ class Client extends openapi_client_1.default {
|
|
|
13392
14298
|
});
|
|
13393
14299
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
13394
14300
|
}
|
|
14301
|
+
/**
|
|
14302
|
+
* @summary You can call the ListAddons operation to query all available components in a cluster. You can query all available components in a cluster by specifying the ID of the cluster. You can also specify parameters such as the region, cluster type, cluster subtype (profile), cluster specification, and cluster version to get a list of available components in clusters that meet the conditions.
|
|
14303
|
+
*
|
|
14304
|
+
* @param request ListAddonsRequest
|
|
14305
|
+
* @return ListAddonsResponse
|
|
14306
|
+
*/
|
|
13395
14307
|
async listAddons(request) {
|
|
13396
14308
|
let runtime = new $Util.RuntimeOptions({});
|
|
13397
14309
|
let headers = {};
|
|
13398
14310
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
13399
14311
|
}
|
|
14312
|
+
/**
|
|
14313
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14314
|
+
*
|
|
14315
|
+
* @param headers map
|
|
14316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14317
|
+
* @return ListClusterAddonInstancesResponse
|
|
14318
|
+
*/
|
|
13400
14319
|
async listClusterAddonInstancesWithOptions(clusterId, headers, runtime) {
|
|
13401
14320
|
let req = new $OpenApi.OpenApiRequest({
|
|
13402
14321
|
headers: headers,
|
|
@@ -13414,11 +14333,24 @@ class Client extends openapi_client_1.default {
|
|
|
13414
14333
|
});
|
|
13415
14334
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
13416
14335
|
}
|
|
14336
|
+
/**
|
|
14337
|
+
* @summary You can call the ListClusterAddonInstances operation to query information about the components that are installed in a cluster.
|
|
14338
|
+
*
|
|
14339
|
+
* @return ListClusterAddonInstancesResponse
|
|
14340
|
+
*/
|
|
13417
14341
|
async listClusterAddonInstances(clusterId) {
|
|
13418
14342
|
let runtime = new $Util.RuntimeOptions({});
|
|
13419
14343
|
let headers = {};
|
|
13420
14344
|
return await this.listClusterAddonInstancesWithOptions(clusterId, headers, runtime);
|
|
13421
14345
|
}
|
|
14346
|
+
/**
|
|
14347
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14348
|
+
*
|
|
14349
|
+
* @param request ListClusterChecksRequest
|
|
14350
|
+
* @param headers map
|
|
14351
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14352
|
+
* @return ListClusterChecksResponse
|
|
14353
|
+
*/
|
|
13422
14354
|
async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
|
|
13423
14355
|
tea_util_1.default.validateModel(request);
|
|
13424
14356
|
let query = {};
|
|
@@ -13445,11 +14377,25 @@ class Client extends openapi_client_1.default {
|
|
|
13445
14377
|
});
|
|
13446
14378
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
13447
14379
|
}
|
|
14380
|
+
/**
|
|
14381
|
+
* @summary You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
14382
|
+
*
|
|
14383
|
+
* @param request ListClusterChecksRequest
|
|
14384
|
+
* @return ListClusterChecksResponse
|
|
14385
|
+
*/
|
|
13448
14386
|
async listClusterChecks(clusterId, request) {
|
|
13449
14387
|
let runtime = new $Util.RuntimeOptions({});
|
|
13450
14388
|
let headers = {};
|
|
13451
14389
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
13452
14390
|
}
|
|
14391
|
+
/**
|
|
14392
|
+
* @summary 获取自动运维执行计划列表
|
|
14393
|
+
*
|
|
14394
|
+
* @param request ListOperationPlansRequest
|
|
14395
|
+
* @param headers map
|
|
14396
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14397
|
+
* @return ListOperationPlansResponse
|
|
14398
|
+
*/
|
|
13453
14399
|
async listOperationPlansWithOptions(request, headers, runtime) {
|
|
13454
14400
|
tea_util_1.default.validateModel(request);
|
|
13455
14401
|
let query = {};
|
|
@@ -13476,11 +14422,25 @@ class Client extends openapi_client_1.default {
|
|
|
13476
14422
|
});
|
|
13477
14423
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
13478
14424
|
}
|
|
14425
|
+
/**
|
|
14426
|
+
* @summary 获取自动运维执行计划列表
|
|
14427
|
+
*
|
|
14428
|
+
* @param request ListOperationPlansRequest
|
|
14429
|
+
* @return ListOperationPlansResponse
|
|
14430
|
+
*/
|
|
13479
14431
|
async listOperationPlans(request) {
|
|
13480
14432
|
let runtime = new $Util.RuntimeOptions({});
|
|
13481
14433
|
let headers = {};
|
|
13482
14434
|
return await this.listOperationPlansWithOptions(request, headers, runtime);
|
|
13483
14435
|
}
|
|
14436
|
+
/**
|
|
14437
|
+
* @summary Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
14438
|
+
*
|
|
14439
|
+
* @param tmpReq ListTagResourcesRequest
|
|
14440
|
+
* @param headers map
|
|
14441
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14442
|
+
* @return ListTagResourcesResponse
|
|
14443
|
+
*/
|
|
13484
14444
|
async listTagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
13485
14445
|
tea_util_1.default.validateModel(tmpReq);
|
|
13486
14446
|
let request = new ListTagResourcesShrinkRequest({});
|
|
@@ -13524,11 +14484,25 @@ class Client extends openapi_client_1.default {
|
|
|
13524
14484
|
});
|
|
13525
14485
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
13526
14486
|
}
|
|
14487
|
+
/**
|
|
14488
|
+
* @summary Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
14489
|
+
*
|
|
14490
|
+
* @param request ListTagResourcesRequest
|
|
14491
|
+
* @return ListTagResourcesResponse
|
|
14492
|
+
*/
|
|
13527
14493
|
async listTagResources(request) {
|
|
13528
14494
|
let runtime = new $Util.RuntimeOptions({});
|
|
13529
14495
|
let headers = {};
|
|
13530
14496
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
13531
14497
|
}
|
|
14498
|
+
/**
|
|
14499
|
+
* @summary Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
|
|
14500
|
+
*
|
|
14501
|
+
* @param request MigrateClusterRequest
|
|
14502
|
+
* @param headers map
|
|
14503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14504
|
+
* @return MigrateClusterResponse
|
|
14505
|
+
*/
|
|
13532
14506
|
async migrateClusterWithOptions(clusterId, request, headers, runtime) {
|
|
13533
14507
|
tea_util_1.default.validateModel(request);
|
|
13534
14508
|
let body = {};
|
|
@@ -13555,11 +14529,25 @@ class Client extends openapi_client_1.default {
|
|
|
13555
14529
|
});
|
|
13556
14530
|
return $tea.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
13557
14531
|
}
|
|
14532
|
+
/**
|
|
14533
|
+
* @summary Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
|
|
14534
|
+
*
|
|
14535
|
+
* @param request MigrateClusterRequest
|
|
14536
|
+
* @return MigrateClusterResponse
|
|
14537
|
+
*/
|
|
13558
14538
|
async migrateCluster(clusterId, request) {
|
|
13559
14539
|
let runtime = new $Util.RuntimeOptions({});
|
|
13560
14540
|
let headers = {};
|
|
13561
14541
|
return await this.migrateClusterWithOptions(clusterId, request, headers, runtime);
|
|
13562
14542
|
}
|
|
14543
|
+
/**
|
|
14544
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14545
|
+
*
|
|
14546
|
+
* @param request ModifyClusterRequest
|
|
14547
|
+
* @param headers map
|
|
14548
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14549
|
+
* @return ModifyClusterResponse
|
|
14550
|
+
*/
|
|
13563
14551
|
async modifyClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
13564
14552
|
tea_util_1.default.validateModel(request);
|
|
13565
14553
|
let body = {};
|
|
@@ -13622,21 +14610,29 @@ class Client extends openapi_client_1.default {
|
|
|
13622
14610
|
});
|
|
13623
14611
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
13624
14612
|
}
|
|
14613
|
+
/**
|
|
14614
|
+
* @summary You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
14615
|
+
*
|
|
14616
|
+
* @param request ModifyClusterRequest
|
|
14617
|
+
* @return ModifyClusterResponse
|
|
14618
|
+
*/
|
|
13625
14619
|
async modifyCluster(ClusterId, request) {
|
|
13626
14620
|
let runtime = new $Util.RuntimeOptions({});
|
|
13627
14621
|
let headers = {};
|
|
13628
14622
|
return await this.modifyClusterWithOptions(ClusterId, request, headers, runtime);
|
|
13629
14623
|
}
|
|
13630
14624
|
/**
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
|
|
13638
|
-
|
|
13639
|
-
|
|
14625
|
+
* @summary Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
14626
|
+
*
|
|
14627
|
+
* @description You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
14628
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
14629
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
14630
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14631
|
+
*
|
|
14632
|
+
* @param request ModifyClusterAddonRequest
|
|
14633
|
+
* @param headers map
|
|
14634
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14635
|
+
* @return ModifyClusterAddonResponse
|
|
13640
14636
|
*/
|
|
13641
14637
|
async modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime) {
|
|
13642
14638
|
tea_util_1.default.validateModel(request);
|
|
@@ -13662,19 +14658,29 @@ class Client extends openapi_client_1.default {
|
|
|
13662
14658
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
13663
14659
|
}
|
|
13664
14660
|
/**
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
14661
|
+
* @summary Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
14662
|
+
*
|
|
14663
|
+
* @description You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
14664
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
14665
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
14666
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
14667
|
+
*
|
|
14668
|
+
* @param request ModifyClusterAddonRequest
|
|
14669
|
+
* @return ModifyClusterAddonResponse
|
|
13672
14670
|
*/
|
|
13673
14671
|
async modifyClusterAddon(clusterId, componentId, request) {
|
|
13674
14672
|
let runtime = new $Util.RuntimeOptions({});
|
|
13675
14673
|
let headers = {};
|
|
13676
14674
|
return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
|
|
13677
14675
|
}
|
|
14676
|
+
/**
|
|
14677
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14678
|
+
*
|
|
14679
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14680
|
+
* @param headers map
|
|
14681
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14682
|
+
* @return ModifyClusterConfigurationResponse
|
|
14683
|
+
*/
|
|
13678
14684
|
async modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime) {
|
|
13679
14685
|
tea_util_1.default.validateModel(request);
|
|
13680
14686
|
let body = {};
|
|
@@ -13698,11 +14704,25 @@ class Client extends openapi_client_1.default {
|
|
|
13698
14704
|
});
|
|
13699
14705
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
13700
14706
|
}
|
|
14707
|
+
/**
|
|
14708
|
+
* @summary This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
14709
|
+
*
|
|
14710
|
+
* @param request ModifyClusterConfigurationRequest
|
|
14711
|
+
* @return ModifyClusterConfigurationResponse
|
|
14712
|
+
*/
|
|
13701
14713
|
async modifyClusterConfiguration(ClusterId, request) {
|
|
13702
14714
|
let runtime = new $Util.RuntimeOptions({});
|
|
13703
14715
|
let headers = {};
|
|
13704
14716
|
return await this.modifyClusterConfigurationWithOptions(ClusterId, request, headers, runtime);
|
|
13705
14717
|
}
|
|
14718
|
+
/**
|
|
14719
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14720
|
+
*
|
|
14721
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14722
|
+
* @param headers map
|
|
14723
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14724
|
+
* @return ModifyClusterNodePoolResponse
|
|
14725
|
+
*/
|
|
13706
14726
|
async modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13707
14727
|
tea_util_1.default.validateModel(request);
|
|
13708
14728
|
let body = {};
|
|
@@ -13747,11 +14767,25 @@ class Client extends openapi_client_1.default {
|
|
|
13747
14767
|
});
|
|
13748
14768
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
13749
14769
|
}
|
|
14770
|
+
/**
|
|
14771
|
+
* @summary You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
14772
|
+
*
|
|
14773
|
+
* @param request ModifyClusterNodePoolRequest
|
|
14774
|
+
* @return ModifyClusterNodePoolResponse
|
|
14775
|
+
*/
|
|
13750
14776
|
async modifyClusterNodePool(ClusterId, NodepoolId, request) {
|
|
13751
14777
|
let runtime = new $Util.RuntimeOptions({});
|
|
13752
14778
|
let headers = {};
|
|
13753
14779
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13754
14780
|
}
|
|
14781
|
+
/**
|
|
14782
|
+
* @summary Modifies the labels of a Container Service for Kubernetes (ACK) cluster. You can use labels (key-value pairs) to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
14783
|
+
*
|
|
14784
|
+
* @param request ModifyClusterTagsRequest
|
|
14785
|
+
* @param headers map
|
|
14786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14787
|
+
* @return ModifyClusterTagsResponse
|
|
14788
|
+
*/
|
|
13755
14789
|
async modifyClusterTagsWithOptions(ClusterId, request, headers, runtime) {
|
|
13756
14790
|
tea_util_1.default.validateModel(request);
|
|
13757
14791
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -13771,18 +14805,26 @@ class Client extends openapi_client_1.default {
|
|
|
13771
14805
|
});
|
|
13772
14806
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
13773
14807
|
}
|
|
14808
|
+
/**
|
|
14809
|
+
* @summary Modifies the labels of a Container Service for Kubernetes (ACK) cluster. You can use labels (key-value pairs) to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
14810
|
+
*
|
|
14811
|
+
* @param request ModifyClusterTagsRequest
|
|
14812
|
+
* @return ModifyClusterTagsResponse
|
|
14813
|
+
*/
|
|
13774
14814
|
async modifyClusterTags(ClusterId, request) {
|
|
13775
14815
|
let runtime = new $Util.RuntimeOptions({});
|
|
13776
14816
|
let headers = {};
|
|
13777
14817
|
return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
|
|
13778
14818
|
}
|
|
13779
14819
|
/**
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
14820
|
+
* @summary Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
|
|
14821
|
+
*
|
|
14822
|
+
* @description > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
14823
|
+
*
|
|
14824
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14825
|
+
* @param headers map
|
|
14826
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14827
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13786
14828
|
*/
|
|
13787
14829
|
async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
13788
14830
|
tea_util_1.default.validateModel(request);
|
|
@@ -13814,16 +14856,26 @@ class Client extends openapi_client_1.default {
|
|
|
13814
14856
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
13815
14857
|
}
|
|
13816
14858
|
/**
|
|
13817
|
-
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
14859
|
+
* @summary Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
|
|
14860
|
+
*
|
|
14861
|
+
* @description > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes.
|
|
14862
|
+
*
|
|
14863
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
14864
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
13821
14865
|
*/
|
|
13822
14866
|
async modifyNodePoolNodeConfig(ClusterId, NodepoolId, request) {
|
|
13823
14867
|
let runtime = new $Util.RuntimeOptions({});
|
|
13824
14868
|
let headers = {};
|
|
13825
14869
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
13826
14870
|
}
|
|
14871
|
+
/**
|
|
14872
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14873
|
+
*
|
|
14874
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14875
|
+
* @param headers map
|
|
14876
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14877
|
+
* @return ModifyPolicyInstanceResponse
|
|
14878
|
+
*/
|
|
13827
14879
|
async modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime) {
|
|
13828
14880
|
tea_util_1.default.validateModel(request);
|
|
13829
14881
|
let body = {};
|
|
@@ -13856,19 +14908,27 @@ class Client extends openapi_client_1.default {
|
|
|
13856
14908
|
});
|
|
13857
14909
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
13858
14910
|
}
|
|
14911
|
+
/**
|
|
14912
|
+
* @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
14913
|
+
*
|
|
14914
|
+
* @param request ModifyPolicyInstanceRequest
|
|
14915
|
+
* @return ModifyPolicyInstanceResponse
|
|
14916
|
+
*/
|
|
13859
14917
|
async modifyPolicyInstance(clusterId, policyName, request) {
|
|
13860
14918
|
let runtime = new $Util.RuntimeOptions({});
|
|
13861
14919
|
let headers = {};
|
|
13862
14920
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
13863
14921
|
}
|
|
13864
14922
|
/**
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
|
|
14923
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14924
|
+
*
|
|
14925
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14926
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14927
|
+
*
|
|
14928
|
+
* @param request OpenAckServiceRequest
|
|
14929
|
+
* @param headers map
|
|
14930
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14931
|
+
* @return OpenAckServiceResponse
|
|
13872
14932
|
*/
|
|
13873
14933
|
async openAckServiceWithOptions(request, headers, runtime) {
|
|
13874
14934
|
tea_util_1.default.validateModel(request);
|
|
@@ -13894,11 +14954,13 @@ class Client extends openapi_client_1.default {
|
|
|
13894
14954
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
13895
14955
|
}
|
|
13896
14956
|
/**
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
14957
|
+
* @summary You can call the OpenAckService operation to activate Container Service for Kubernetes (ACK).
|
|
14958
|
+
*
|
|
14959
|
+
* @description * You can activate ACK by using Alibaba Cloud accounts.
|
|
14960
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
14961
|
+
*
|
|
14962
|
+
* @param request OpenAckServiceRequest
|
|
14963
|
+
* @return OpenAckServiceResponse
|
|
13902
14964
|
*/
|
|
13903
14965
|
async openAckService(request) {
|
|
13904
14966
|
let runtime = new $Util.RuntimeOptions({});
|
|
@@ -13906,11 +14968,13 @@ class Client extends openapi_client_1.default {
|
|
|
13906
14968
|
return await this.openAckServiceWithOptions(request, headers, runtime);
|
|
13907
14969
|
}
|
|
13908
14970
|
/**
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
|
|
13913
|
-
|
|
14971
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
14972
|
+
*
|
|
14973
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
14974
|
+
*
|
|
14975
|
+
* @param headers map
|
|
14976
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14977
|
+
* @return PauseClusterUpgradeResponse
|
|
13914
14978
|
*/
|
|
13915
14979
|
// Deprecated
|
|
13916
14980
|
async pauseClusterUpgradeWithOptions(ClusterId, headers, runtime) {
|
|
@@ -13931,9 +14995,11 @@ class Client extends openapi_client_1.default {
|
|
|
13931
14995
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
13932
14996
|
}
|
|
13933
14997
|
/**
|
|
13934
|
-
|
|
13935
|
-
|
|
13936
|
-
|
|
14998
|
+
* @deprecated OpenAPI PauseClusterUpgrade is deprecated
|
|
14999
|
+
*
|
|
15000
|
+
* @summary You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
15001
|
+
*
|
|
15002
|
+
* @return PauseClusterUpgradeResponse
|
|
13937
15003
|
*/
|
|
13938
15004
|
// Deprecated
|
|
13939
15005
|
async pauseClusterUpgrade(ClusterId) {
|
|
@@ -13941,6 +15007,13 @@ class Client extends openapi_client_1.default {
|
|
|
13941
15007
|
let headers = {};
|
|
13942
15008
|
return await this.pauseClusterUpgradeWithOptions(ClusterId, headers, runtime);
|
|
13943
15009
|
}
|
|
15010
|
+
/**
|
|
15011
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15012
|
+
*
|
|
15013
|
+
* @param headers map
|
|
15014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15015
|
+
* @return PauseComponentUpgradeResponse
|
|
15016
|
+
*/
|
|
13944
15017
|
async pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
13945
15018
|
let req = new $OpenApi.OpenApiRequest({
|
|
13946
15019
|
headers: headers,
|
|
@@ -13958,11 +15031,23 @@ class Client extends openapi_client_1.default {
|
|
|
13958
15031
|
});
|
|
13959
15032
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
13960
15033
|
}
|
|
15034
|
+
/**
|
|
15035
|
+
* @summary You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
15036
|
+
*
|
|
15037
|
+
* @return PauseComponentUpgradeResponse
|
|
15038
|
+
*/
|
|
13961
15039
|
async pauseComponentUpgrade(clusterid, componentid) {
|
|
13962
15040
|
let runtime = new $Util.RuntimeOptions({});
|
|
13963
15041
|
let headers = {};
|
|
13964
15042
|
return await this.pauseComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
13965
15043
|
}
|
|
15044
|
+
/**
|
|
15045
|
+
* @summary Pauses an on-going task.
|
|
15046
|
+
*
|
|
15047
|
+
* @param headers map
|
|
15048
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15049
|
+
* @return PauseTaskResponse
|
|
15050
|
+
*/
|
|
13966
15051
|
async pauseTaskWithOptions(taskId, headers, runtime) {
|
|
13967
15052
|
let req = new $OpenApi.OpenApiRequest({
|
|
13968
15053
|
headers: headers,
|
|
@@ -13980,23 +15065,31 @@ class Client extends openapi_client_1.default {
|
|
|
13980
15065
|
});
|
|
13981
15066
|
return $tea.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
13982
15067
|
}
|
|
15068
|
+
/**
|
|
15069
|
+
* @summary Pauses an on-going task.
|
|
15070
|
+
*
|
|
15071
|
+
* @return PauseTaskResponse
|
|
15072
|
+
*/
|
|
13983
15073
|
async pauseTask(taskId) {
|
|
13984
15074
|
let runtime = new $Util.RuntimeOptions({});
|
|
13985
15075
|
let headers = {};
|
|
13986
15076
|
return await this.pauseTaskWithOptions(taskId, headers, runtime);
|
|
13987
15077
|
}
|
|
13988
15078
|
/**
|
|
13989
|
-
|
|
13990
|
-
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
15079
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15080
|
+
*
|
|
15081
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15082
|
+
*
|
|
15083
|
+
* @description ****
|
|
15084
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
15085
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15086
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15087
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15088
|
+
*
|
|
15089
|
+
* @param request RemoveClusterNodesRequest
|
|
15090
|
+
* @param headers map
|
|
15091
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15092
|
+
* @return RemoveClusterNodesResponse
|
|
14000
15093
|
*/
|
|
14001
15094
|
// Deprecated
|
|
14002
15095
|
async removeClusterNodesWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14029,15 +15122,18 @@ class Client extends openapi_client_1.default {
|
|
|
14029
15122
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
14030
15123
|
}
|
|
14031
15124
|
/**
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
15125
|
+
* @deprecated OpenAPI RemoveClusterNodes is deprecated
|
|
15126
|
+
*
|
|
15127
|
+
* @summary You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
15128
|
+
*
|
|
15129
|
+
* @description ****
|
|
15130
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
15131
|
+
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
15132
|
+
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
15133
|
+
* * You can remove only worker nodes. You cannot remove master nodes.
|
|
15134
|
+
*
|
|
15135
|
+
* @param request RemoveClusterNodesRequest
|
|
15136
|
+
* @return RemoveClusterNodesResponse
|
|
14041
15137
|
*/
|
|
14042
15138
|
// Deprecated
|
|
14043
15139
|
async removeClusterNodes(ClusterId, request) {
|
|
@@ -14046,14 +15142,16 @@ class Client extends openapi_client_1.default {
|
|
|
14046
15142
|
return await this.removeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
14047
15143
|
}
|
|
14048
15144
|
/**
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
|
|
14056
|
-
|
|
15145
|
+
* @summary Removes nodes from a node pool.
|
|
15146
|
+
*
|
|
15147
|
+
* @description **
|
|
15148
|
+
* ****
|
|
15149
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
15150
|
+
*
|
|
15151
|
+
* @param tmpReq RemoveNodePoolNodesRequest
|
|
15152
|
+
* @param headers map
|
|
15153
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15154
|
+
* @return RemoveNodePoolNodesResponse
|
|
14057
15155
|
*/
|
|
14058
15156
|
async removeNodePoolNodesWithOptions(ClusterId, NodepoolId, tmpReq, headers, runtime) {
|
|
14059
15157
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -14099,18 +15197,27 @@ class Client extends openapi_client_1.default {
|
|
|
14099
15197
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
14100
15198
|
}
|
|
14101
15199
|
/**
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
15200
|
+
* @summary Removes nodes from a node pool.
|
|
15201
|
+
*
|
|
15202
|
+
* @description **
|
|
15203
|
+
* ****
|
|
15204
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
15205
|
+
*
|
|
15206
|
+
* @param request RemoveNodePoolNodesRequest
|
|
15207
|
+
* @return RemoveNodePoolNodesResponse
|
|
14108
15208
|
*/
|
|
14109
15209
|
async removeNodePoolNodes(ClusterId, NodepoolId, request) {
|
|
14110
15210
|
let runtime = new $Util.RuntimeOptions({});
|
|
14111
15211
|
let headers = {};
|
|
14112
15212
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14113
15213
|
}
|
|
15214
|
+
/**
|
|
15215
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15216
|
+
*
|
|
15217
|
+
* @param headers map
|
|
15218
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15219
|
+
* @return RemoveWorkflowResponse
|
|
15220
|
+
*/
|
|
14114
15221
|
async removeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
14115
15222
|
let req = new $OpenApi.OpenApiRequest({
|
|
14116
15223
|
headers: headers,
|
|
@@ -14128,11 +15235,24 @@ class Client extends openapi_client_1.default {
|
|
|
14128
15235
|
});
|
|
14129
15236
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
14130
15237
|
}
|
|
15238
|
+
/**
|
|
15239
|
+
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15240
|
+
*
|
|
15241
|
+
* @return RemoveWorkflowResponse
|
|
15242
|
+
*/
|
|
14131
15243
|
async removeWorkflow(workflowName) {
|
|
14132
15244
|
let runtime = new $Util.RuntimeOptions({});
|
|
14133
15245
|
let headers = {};
|
|
14134
15246
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
14135
15247
|
}
|
|
15248
|
+
/**
|
|
15249
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15250
|
+
*
|
|
15251
|
+
* @param request RepairClusterNodePoolRequest
|
|
15252
|
+
* @param headers map
|
|
15253
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15254
|
+
* @return RepairClusterNodePoolResponse
|
|
15255
|
+
*/
|
|
14136
15256
|
async repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime) {
|
|
14137
15257
|
tea_util_1.default.validateModel(request);
|
|
14138
15258
|
let body = {};
|
|
@@ -14159,11 +15279,24 @@ class Client extends openapi_client_1.default {
|
|
|
14159
15279
|
});
|
|
14160
15280
|
return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
14161
15281
|
}
|
|
15282
|
+
/**
|
|
15283
|
+
* @summary You can call the RepairClusterNodePool operation to fix issues on specified nodes in a managed node pool.
|
|
15284
|
+
*
|
|
15285
|
+
* @param request RepairClusterNodePoolRequest
|
|
15286
|
+
* @return RepairClusterNodePoolResponse
|
|
15287
|
+
*/
|
|
14162
15288
|
async repairClusterNodePool(clusterId, nodepoolId, request) {
|
|
14163
15289
|
let runtime = new $Util.RuntimeOptions({});
|
|
14164
15290
|
let headers = {};
|
|
14165
15291
|
return await this.repairClusterNodePoolWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
14166
15292
|
}
|
|
15293
|
+
/**
|
|
15294
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15295
|
+
*
|
|
15296
|
+
* @param headers map
|
|
15297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15298
|
+
* @return ResumeComponentUpgradeResponse
|
|
15299
|
+
*/
|
|
14167
15300
|
async resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime) {
|
|
14168
15301
|
let req = new $OpenApi.OpenApiRequest({
|
|
14169
15302
|
headers: headers,
|
|
@@ -14181,11 +15314,23 @@ class Client extends openapi_client_1.default {
|
|
|
14181
15314
|
});
|
|
14182
15315
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
14183
15316
|
}
|
|
15317
|
+
/**
|
|
15318
|
+
* @summary You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
15319
|
+
*
|
|
15320
|
+
* @return ResumeComponentUpgradeResponse
|
|
15321
|
+
*/
|
|
14184
15322
|
async resumeComponentUpgrade(clusterid, componentid) {
|
|
14185
15323
|
let runtime = new $Util.RuntimeOptions({});
|
|
14186
15324
|
let headers = {};
|
|
14187
15325
|
return await this.resumeComponentUpgradeWithOptions(clusterid, componentid, headers, runtime);
|
|
14188
15326
|
}
|
|
15327
|
+
/**
|
|
15328
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15329
|
+
*
|
|
15330
|
+
* @param headers map
|
|
15331
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15332
|
+
* @return ResumeTaskResponse
|
|
15333
|
+
*/
|
|
14189
15334
|
async resumeTaskWithOptions(taskId, headers, runtime) {
|
|
14190
15335
|
let req = new $OpenApi.OpenApiRequest({
|
|
14191
15336
|
headers: headers,
|
|
@@ -14203,17 +15348,24 @@ class Client extends openapi_client_1.default {
|
|
|
14203
15348
|
});
|
|
14204
15349
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
14205
15350
|
}
|
|
15351
|
+
/**
|
|
15352
|
+
* @summary You can call the ResumeTask operation to resume a task.
|
|
15353
|
+
*
|
|
15354
|
+
* @return ResumeTaskResponse
|
|
15355
|
+
*/
|
|
14206
15356
|
async resumeTask(taskId) {
|
|
14207
15357
|
let runtime = new $Util.RuntimeOptions({});
|
|
14208
15358
|
let headers = {};
|
|
14209
15359
|
return await this.resumeTaskWithOptions(taskId, headers, runtime);
|
|
14210
15360
|
}
|
|
14211
15361
|
/**
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
15362
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15363
|
+
*
|
|
15364
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15365
|
+
*
|
|
15366
|
+
* @param headers map
|
|
15367
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15368
|
+
* @return ResumeUpgradeClusterResponse
|
|
14217
15369
|
*/
|
|
14218
15370
|
// Deprecated
|
|
14219
15371
|
async resumeUpgradeClusterWithOptions(ClusterId, headers, runtime) {
|
|
@@ -14234,9 +15386,11 @@ class Client extends openapi_client_1.default {
|
|
|
14234
15386
|
return $tea.cast(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
14235
15387
|
}
|
|
14236
15388
|
/**
|
|
14237
|
-
|
|
14238
|
-
|
|
14239
|
-
|
|
15389
|
+
* @deprecated OpenAPI ResumeUpgradeCluster is deprecated
|
|
15390
|
+
*
|
|
15391
|
+
* @summary You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
15392
|
+
*
|
|
15393
|
+
* @return ResumeUpgradeClusterResponse
|
|
14240
15394
|
*/
|
|
14241
15395
|
// Deprecated
|
|
14242
15396
|
async resumeUpgradeCluster(ClusterId) {
|
|
@@ -14244,6 +15398,14 @@ class Client extends openapi_client_1.default {
|
|
|
14244
15398
|
let headers = {};
|
|
14245
15399
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
14246
15400
|
}
|
|
15401
|
+
/**
|
|
15402
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15403
|
+
*
|
|
15404
|
+
* @param request RunClusterCheckRequest
|
|
15405
|
+
* @param headers map
|
|
15406
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15407
|
+
* @return RunClusterCheckResponse
|
|
15408
|
+
*/
|
|
14247
15409
|
async runClusterCheckWithOptions(clusterId, request, headers, runtime) {
|
|
14248
15410
|
tea_util_1.default.validateModel(request);
|
|
14249
15411
|
let body = {};
|
|
@@ -14273,18 +15435,26 @@ class Client extends openapi_client_1.default {
|
|
|
14273
15435
|
});
|
|
14274
15436
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
14275
15437
|
}
|
|
15438
|
+
/**
|
|
15439
|
+
* @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
|
|
15440
|
+
*
|
|
15441
|
+
* @param request RunClusterCheckRequest
|
|
15442
|
+
* @return RunClusterCheckResponse
|
|
15443
|
+
*/
|
|
14276
15444
|
async runClusterCheck(clusterId, request) {
|
|
14277
15445
|
let runtime = new $Util.RuntimeOptions({});
|
|
14278
15446
|
let headers = {};
|
|
14279
15447
|
return await this.runClusterCheckWithOptions(clusterId, request, headers, runtime);
|
|
14280
15448
|
}
|
|
14281
15449
|
/**
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
15450
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15451
|
+
*
|
|
15452
|
+
* @summary 扩容Kubernetes集群
|
|
15453
|
+
*
|
|
15454
|
+
* @param request ScaleClusterRequest
|
|
15455
|
+
* @param headers map
|
|
15456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15457
|
+
* @return ScaleClusterResponse
|
|
14288
15458
|
*/
|
|
14289
15459
|
// Deprecated
|
|
14290
15460
|
async scaleClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
@@ -14365,10 +15535,12 @@ class Client extends openapi_client_1.default {
|
|
|
14365
15535
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
|
|
14366
15536
|
}
|
|
14367
15537
|
/**
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
15538
|
+
* @deprecated OpenAPI ScaleCluster is deprecated
|
|
15539
|
+
*
|
|
15540
|
+
* @summary 扩容Kubernetes集群
|
|
15541
|
+
*
|
|
15542
|
+
* @param request ScaleClusterRequest
|
|
15543
|
+
* @return ScaleClusterResponse
|
|
14372
15544
|
*/
|
|
14373
15545
|
// Deprecated
|
|
14374
15546
|
async scaleCluster(ClusterId, request) {
|
|
@@ -14376,6 +15548,14 @@ class Client extends openapi_client_1.default {
|
|
|
14376
15548
|
let headers = {};
|
|
14377
15549
|
return await this.scaleClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14378
15550
|
}
|
|
15551
|
+
/**
|
|
15552
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15553
|
+
*
|
|
15554
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15555
|
+
* @param headers map
|
|
15556
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15557
|
+
* @return ScaleClusterNodePoolResponse
|
|
15558
|
+
*/
|
|
14379
15559
|
async scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
14380
15560
|
tea_util_1.default.validateModel(request);
|
|
14381
15561
|
let body = {};
|
|
@@ -14399,19 +15579,27 @@ class Client extends openapi_client_1.default {
|
|
|
14399
15579
|
});
|
|
14400
15580
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
14401
15581
|
}
|
|
15582
|
+
/**
|
|
15583
|
+
* @summary You can call the ScaleClusterNodePool operation to scale out a node pool by node pool ID.
|
|
15584
|
+
*
|
|
15585
|
+
* @param request ScaleClusterNodePoolRequest
|
|
15586
|
+
* @return ScaleClusterNodePoolResponse
|
|
15587
|
+
*/
|
|
14402
15588
|
async scaleClusterNodePool(ClusterId, NodepoolId, request) {
|
|
14403
15589
|
let runtime = new $Util.RuntimeOptions({});
|
|
14404
15590
|
let headers = {};
|
|
14405
15591
|
return await this.scaleClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
14406
15592
|
}
|
|
14407
15593
|
/**
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14414
|
-
|
|
15594
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15595
|
+
*
|
|
15596
|
+
* @description **
|
|
15597
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
15598
|
+
*
|
|
15599
|
+
* @param request ScaleOutClusterRequest
|
|
15600
|
+
* @param headers map
|
|
15601
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15602
|
+
* @return ScaleOutClusterResponse
|
|
14415
15603
|
*/
|
|
14416
15604
|
async scaleOutClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
14417
15605
|
tea_util_1.default.validateModel(request);
|
|
@@ -14497,17 +15685,26 @@ class Client extends openapi_client_1.default {
|
|
|
14497
15685
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
14498
15686
|
}
|
|
14499
15687
|
/**
|
|
14500
|
-
|
|
14501
|
-
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
15688
|
+
* @summary You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
15689
|
+
*
|
|
15690
|
+
* @description **
|
|
15691
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](https://help.aliyun.com/document_detail/184928.html).
|
|
15692
|
+
*
|
|
15693
|
+
* @param request ScaleOutClusterRequest
|
|
15694
|
+
* @return ScaleOutClusterResponse
|
|
14505
15695
|
*/
|
|
14506
15696
|
async scaleOutCluster(ClusterId, request) {
|
|
14507
15697
|
let runtime = new $Util.RuntimeOptions({});
|
|
14508
15698
|
let headers = {};
|
|
14509
15699
|
return await this.scaleOutClusterWithOptions(ClusterId, request, headers, runtime);
|
|
14510
15700
|
}
|
|
15701
|
+
/**
|
|
15702
|
+
* @summary The cluster ID.
|
|
15703
|
+
*
|
|
15704
|
+
* @param headers map
|
|
15705
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15706
|
+
* @return ScanClusterVulsResponse
|
|
15707
|
+
*/
|
|
14511
15708
|
async scanClusterVulsWithOptions(clusterId, headers, runtime) {
|
|
14512
15709
|
let req = new $OpenApi.OpenApiRequest({
|
|
14513
15710
|
headers: headers,
|
|
@@ -14525,11 +15722,22 @@ class Client extends openapi_client_1.default {
|
|
|
14525
15722
|
});
|
|
14526
15723
|
return $tea.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
14527
15724
|
}
|
|
15725
|
+
/**
|
|
15726
|
+
* @summary The cluster ID.
|
|
15727
|
+
*
|
|
15728
|
+
* @return ScanClusterVulsResponse
|
|
15729
|
+
*/
|
|
14528
15730
|
async scanClusterVuls(clusterId) {
|
|
14529
15731
|
let runtime = new $Util.RuntimeOptions({});
|
|
14530
15732
|
let headers = {};
|
|
14531
15733
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14532
15734
|
}
|
|
15735
|
+
/**
|
|
15736
|
+
* @param request StartAlertRequest
|
|
15737
|
+
* @param headers map
|
|
15738
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15739
|
+
* @return StartAlertResponse
|
|
15740
|
+
*/
|
|
14533
15741
|
async startAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14534
15742
|
tea_util_1.default.validateModel(request);
|
|
14535
15743
|
let body = {};
|
|
@@ -14556,11 +15764,23 @@ class Client extends openapi_client_1.default {
|
|
|
14556
15764
|
});
|
|
14557
15765
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
14558
15766
|
}
|
|
15767
|
+
/**
|
|
15768
|
+
* @param request StartAlertRequest
|
|
15769
|
+
* @return StartAlertResponse
|
|
15770
|
+
*/
|
|
14559
15771
|
async startAlert(ClusterId, request) {
|
|
14560
15772
|
let runtime = new $Util.RuntimeOptions({});
|
|
14561
15773
|
let headers = {};
|
|
14562
15774
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14563
15775
|
}
|
|
15776
|
+
/**
|
|
15777
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15778
|
+
*
|
|
15779
|
+
* @param request StartWorkflowRequest
|
|
15780
|
+
* @param headers map
|
|
15781
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15782
|
+
* @return StartWorkflowResponse
|
|
15783
|
+
*/
|
|
14564
15784
|
async startWorkflowWithOptions(request, headers, runtime) {
|
|
14565
15785
|
tea_util_1.default.validateModel(request);
|
|
14566
15786
|
let body = {};
|
|
@@ -14638,11 +15858,25 @@ class Client extends openapi_client_1.default {
|
|
|
14638
15858
|
});
|
|
14639
15859
|
return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
14640
15860
|
}
|
|
15861
|
+
/**
|
|
15862
|
+
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
15863
|
+
*
|
|
15864
|
+
* @param request StartWorkflowRequest
|
|
15865
|
+
* @return StartWorkflowResponse
|
|
15866
|
+
*/
|
|
14641
15867
|
async startWorkflow(request) {
|
|
14642
15868
|
let runtime = new $Util.RuntimeOptions({});
|
|
14643
15869
|
let headers = {};
|
|
14644
15870
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
14645
15871
|
}
|
|
15872
|
+
/**
|
|
15873
|
+
* @summary You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
|
|
15874
|
+
*
|
|
15875
|
+
* @param request StopAlertRequest
|
|
15876
|
+
* @param headers map
|
|
15877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15878
|
+
* @return StopAlertResponse
|
|
15879
|
+
*/
|
|
14646
15880
|
async stopAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14647
15881
|
tea_util_1.default.validateModel(request);
|
|
14648
15882
|
let body = {};
|
|
@@ -14669,11 +15903,24 @@ class Client extends openapi_client_1.default {
|
|
|
14669
15903
|
});
|
|
14670
15904
|
return $tea.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
14671
15905
|
}
|
|
15906
|
+
/**
|
|
15907
|
+
* @summary You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
|
|
15908
|
+
*
|
|
15909
|
+
* @param request StopAlertRequest
|
|
15910
|
+
* @return StopAlertResponse
|
|
15911
|
+
*/
|
|
14672
15912
|
async stopAlert(ClusterId, request) {
|
|
14673
15913
|
let runtime = new $Util.RuntimeOptions({});
|
|
14674
15914
|
let headers = {};
|
|
14675
15915
|
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14676
15916
|
}
|
|
15917
|
+
/**
|
|
15918
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15919
|
+
*
|
|
15920
|
+
* @param headers map
|
|
15921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15922
|
+
* @return SyncClusterNodePoolResponse
|
|
15923
|
+
*/
|
|
14677
15924
|
async syncClusterNodePoolWithOptions(ClusterId, headers, runtime) {
|
|
14678
15925
|
let req = new $OpenApi.OpenApiRequest({
|
|
14679
15926
|
headers: headers,
|
|
@@ -14691,11 +15938,24 @@ class Client extends openapi_client_1.default {
|
|
|
14691
15938
|
});
|
|
14692
15939
|
return $tea.cast(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
14693
15940
|
}
|
|
15941
|
+
/**
|
|
15942
|
+
* @summary Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
15943
|
+
*
|
|
15944
|
+
* @return SyncClusterNodePoolResponse
|
|
15945
|
+
*/
|
|
14694
15946
|
async syncClusterNodePool(ClusterId) {
|
|
14695
15947
|
let runtime = new $Util.RuntimeOptions({});
|
|
14696
15948
|
let headers = {};
|
|
14697
15949
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
14698
15950
|
}
|
|
15951
|
+
/**
|
|
15952
|
+
* @summary Adds labels to a Container Service for Kubernetes (ACK) cluster. You can use labels to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
15953
|
+
*
|
|
15954
|
+
* @param request TagResourcesRequest
|
|
15955
|
+
* @param headers map
|
|
15956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15957
|
+
* @return TagResourcesResponse
|
|
15958
|
+
*/
|
|
14699
15959
|
async tagResourcesWithOptions(request, headers, runtime) {
|
|
14700
15960
|
tea_util_1.default.validateModel(request);
|
|
14701
15961
|
let body = {};
|
|
@@ -14728,11 +15988,25 @@ class Client extends openapi_client_1.default {
|
|
|
14728
15988
|
});
|
|
14729
15989
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
14730
15990
|
}
|
|
15991
|
+
/**
|
|
15992
|
+
* @summary Adds labels to a Container Service for Kubernetes (ACK) cluster. You can use labels to classify and manage ACK clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
15993
|
+
*
|
|
15994
|
+
* @param request TagResourcesRequest
|
|
15995
|
+
* @return TagResourcesResponse
|
|
15996
|
+
*/
|
|
14731
15997
|
async tagResources(request) {
|
|
14732
15998
|
let runtime = new $Util.RuntimeOptions({});
|
|
14733
15999
|
let headers = {};
|
|
14734
16000
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
14735
16001
|
}
|
|
16002
|
+
/**
|
|
16003
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16004
|
+
*
|
|
16005
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16006
|
+
* @param headers map
|
|
16007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16008
|
+
* @return UnInstallClusterAddonsResponse
|
|
16009
|
+
*/
|
|
14736
16010
|
async unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
14737
16011
|
tea_util_1.default.validateModel(request);
|
|
14738
16012
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -14752,11 +16026,25 @@ class Client extends openapi_client_1.default {
|
|
|
14752
16026
|
});
|
|
14753
16027
|
return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
14754
16028
|
}
|
|
16029
|
+
/**
|
|
16030
|
+
* @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
|
|
16031
|
+
*
|
|
16032
|
+
* @param request UnInstallClusterAddonsRequest
|
|
16033
|
+
* @return UnInstallClusterAddonsResponse
|
|
16034
|
+
*/
|
|
14755
16035
|
async unInstallClusterAddons(ClusterId, request) {
|
|
14756
16036
|
let runtime = new $Util.RuntimeOptions({});
|
|
14757
16037
|
let headers = {};
|
|
14758
16038
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
14759
16039
|
}
|
|
16040
|
+
/**
|
|
16041
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16042
|
+
*
|
|
16043
|
+
* @param tmpReq UntagResourcesRequest
|
|
16044
|
+
* @param headers map
|
|
16045
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16046
|
+
* @return UntagResourcesResponse
|
|
16047
|
+
*/
|
|
14760
16048
|
async untagResourcesWithOptions(tmpReq, headers, runtime) {
|
|
14761
16049
|
tea_util_1.default.validateModel(tmpReq);
|
|
14762
16050
|
let request = new UntagResourcesShrinkRequest({});
|
|
@@ -14800,11 +16088,22 @@ class Client extends openapi_client_1.default {
|
|
|
14800
16088
|
});
|
|
14801
16089
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
14802
16090
|
}
|
|
16091
|
+
/**
|
|
16092
|
+
* @summary Removes labels from a Container Service for Kubernetes (ACK) cluster.
|
|
16093
|
+
*
|
|
16094
|
+
* @param request UntagResourcesRequest
|
|
16095
|
+
* @return UntagResourcesResponse
|
|
16096
|
+
*/
|
|
14803
16097
|
async untagResources(request) {
|
|
14804
16098
|
let runtime = new $Util.RuntimeOptions({});
|
|
14805
16099
|
let headers = {};
|
|
14806
16100
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
14807
16101
|
}
|
|
16102
|
+
/**
|
|
16103
|
+
* @param headers map
|
|
16104
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16105
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16106
|
+
*/
|
|
14808
16107
|
async updateContactGroupForAlertWithOptions(ClusterId, headers, runtime) {
|
|
14809
16108
|
let req = new $OpenApi.OpenApiRequest({
|
|
14810
16109
|
headers: headers,
|
|
@@ -14822,11 +16121,22 @@ class Client extends openapi_client_1.default {
|
|
|
14822
16121
|
});
|
|
14823
16122
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
14824
16123
|
}
|
|
16124
|
+
/**
|
|
16125
|
+
* @return UpdateContactGroupForAlertResponse
|
|
16126
|
+
*/
|
|
14825
16127
|
async updateContactGroupForAlert(ClusterId) {
|
|
14826
16128
|
let runtime = new $Util.RuntimeOptions({});
|
|
14827
16129
|
let headers = {};
|
|
14828
16130
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
14829
16131
|
}
|
|
16132
|
+
/**
|
|
16133
|
+
* @summary You can call the UpdateControlPlaneLog operation to modify the log collection configurations for control plane components in a Container Service for Kubernetes (ACK) managed cluster.
|
|
16134
|
+
*
|
|
16135
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16136
|
+
* @param headers map
|
|
16137
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16138
|
+
* @return UpdateControlPlaneLogResponse
|
|
16139
|
+
*/
|
|
14830
16140
|
async updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime) {
|
|
14831
16141
|
tea_util_1.default.validateModel(request);
|
|
14832
16142
|
let body = {};
|
|
@@ -14859,20 +16169,28 @@ class Client extends openapi_client_1.default {
|
|
|
14859
16169
|
});
|
|
14860
16170
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
14861
16171
|
}
|
|
16172
|
+
/**
|
|
16173
|
+
* @summary You can call the UpdateControlPlaneLog operation to modify the log collection configurations for control plane components in a Container Service for Kubernetes (ACK) managed cluster.
|
|
16174
|
+
*
|
|
16175
|
+
* @param request UpdateControlPlaneLogRequest
|
|
16176
|
+
* @return UpdateControlPlaneLogResponse
|
|
16177
|
+
*/
|
|
14862
16178
|
async updateControlPlaneLog(ClusterId, request) {
|
|
14863
16179
|
let runtime = new $Util.RuntimeOptions({});
|
|
14864
16180
|
let headers = {};
|
|
14865
16181
|
return await this.updateControlPlaneLogWithOptions(ClusterId, request, headers, runtime);
|
|
14866
16182
|
}
|
|
14867
16183
|
/**
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
|
|
14871
|
-
|
|
14872
|
-
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
|
|
16184
|
+
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
16185
|
+
*
|
|
16186
|
+
* @description **
|
|
16187
|
+
* ****
|
|
16188
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16189
|
+
*
|
|
16190
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16191
|
+
* @param headers map
|
|
16192
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16193
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14876
16194
|
*/
|
|
14877
16195
|
async updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime) {
|
|
14878
16196
|
tea_util_1.default.validateModel(request);
|
|
@@ -14901,18 +16219,28 @@ class Client extends openapi_client_1.default {
|
|
|
14901
16219
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
14902
16220
|
}
|
|
14903
16221
|
/**
|
|
14904
|
-
|
|
14905
|
-
|
|
14906
|
-
|
|
14907
|
-
|
|
14908
|
-
|
|
14909
|
-
|
|
16222
|
+
* @summary Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
16223
|
+
*
|
|
16224
|
+
* @description **
|
|
16225
|
+
* ****
|
|
16226
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
16227
|
+
*
|
|
16228
|
+
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
16229
|
+
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
14910
16230
|
*/
|
|
14911
16231
|
async updateK8sClusterUserConfigExpire(ClusterId, request) {
|
|
14912
16232
|
let runtime = new $Util.RuntimeOptions({});
|
|
14913
16233
|
let headers = {};
|
|
14914
16234
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
14915
16235
|
}
|
|
16236
|
+
/**
|
|
16237
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16238
|
+
*
|
|
16239
|
+
* @param request UpdateTemplateRequest
|
|
16240
|
+
* @param headers map
|
|
16241
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16242
|
+
* @return UpdateTemplateResponse
|
|
16243
|
+
*/
|
|
14916
16244
|
async updateTemplateWithOptions(TemplateId, request, headers, runtime) {
|
|
14917
16245
|
tea_util_1.default.validateModel(request);
|
|
14918
16246
|
let body = {};
|
|
@@ -14948,11 +16276,25 @@ class Client extends openapi_client_1.default {
|
|
|
14948
16276
|
});
|
|
14949
16277
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
14950
16278
|
}
|
|
16279
|
+
/**
|
|
16280
|
+
* @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
|
|
16281
|
+
*
|
|
16282
|
+
* @param request UpdateTemplateRequest
|
|
16283
|
+
* @return UpdateTemplateResponse
|
|
16284
|
+
*/
|
|
14951
16285
|
async updateTemplate(TemplateId, request) {
|
|
14952
16286
|
let runtime = new $Util.RuntimeOptions({});
|
|
14953
16287
|
let headers = {};
|
|
14954
16288
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
14955
16289
|
}
|
|
16290
|
+
/**
|
|
16291
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16292
|
+
*
|
|
16293
|
+
* @param request UpdateUserPermissionsRequest
|
|
16294
|
+
* @param headers map
|
|
16295
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16296
|
+
* @return UpdateUserPermissionsResponse
|
|
16297
|
+
*/
|
|
14956
16298
|
async updateUserPermissionsWithOptions(uid, request, headers, runtime) {
|
|
14957
16299
|
tea_util_1.default.validateModel(request);
|
|
14958
16300
|
let query = {};
|
|
@@ -14977,11 +16319,25 @@ class Client extends openapi_client_1.default {
|
|
|
14977
16319
|
});
|
|
14978
16320
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
14979
16321
|
}
|
|
16322
|
+
/**
|
|
16323
|
+
* @summary 更新指定RAM用户/角色的RBAC权限
|
|
16324
|
+
*
|
|
16325
|
+
* @param request UpdateUserPermissionsRequest
|
|
16326
|
+
* @return UpdateUserPermissionsResponse
|
|
16327
|
+
*/
|
|
14980
16328
|
async updateUserPermissions(uid, request) {
|
|
14981
16329
|
let runtime = new $Util.RuntimeOptions({});
|
|
14982
16330
|
let headers = {};
|
|
14983
16331
|
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
14984
16332
|
}
|
|
16333
|
+
/**
|
|
16334
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16335
|
+
*
|
|
16336
|
+
* @param request UpgradeClusterRequest
|
|
16337
|
+
* @param headers map
|
|
16338
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16339
|
+
* @return UpgradeClusterResponse
|
|
16340
|
+
*/
|
|
14985
16341
|
async upgradeClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
14986
16342
|
tea_util_1.default.validateModel(request);
|
|
14987
16343
|
let body = {};
|
|
@@ -15014,11 +16370,25 @@ class Client extends openapi_client_1.default {
|
|
|
15014
16370
|
});
|
|
15015
16371
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
15016
16372
|
}
|
|
16373
|
+
/**
|
|
16374
|
+
* @summary You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
16375
|
+
*
|
|
16376
|
+
* @param request UpgradeClusterRequest
|
|
16377
|
+
* @return UpgradeClusterResponse
|
|
16378
|
+
*/
|
|
15017
16379
|
async upgradeCluster(ClusterId, request) {
|
|
15018
16380
|
let runtime = new $Util.RuntimeOptions({});
|
|
15019
16381
|
let headers = {};
|
|
15020
16382
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
15021
16383
|
}
|
|
16384
|
+
/**
|
|
16385
|
+
* @summary Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
16386
|
+
*
|
|
16387
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16388
|
+
* @param headers map
|
|
16389
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16390
|
+
* @return UpgradeClusterAddonsResponse
|
|
16391
|
+
*/
|
|
15022
16392
|
async upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime) {
|
|
15023
16393
|
tea_util_1.default.validateModel(request);
|
|
15024
16394
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -15038,18 +16408,26 @@ class Client extends openapi_client_1.default {
|
|
|
15038
16408
|
});
|
|
15039
16409
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
15040
16410
|
}
|
|
16411
|
+
/**
|
|
16412
|
+
* @summary Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
16413
|
+
*
|
|
16414
|
+
* @param request UpgradeClusterAddonsRequest
|
|
16415
|
+
* @return UpgradeClusterAddonsResponse
|
|
16416
|
+
*/
|
|
15041
16417
|
async upgradeClusterAddons(ClusterId, request) {
|
|
15042
16418
|
let runtime = new $Util.RuntimeOptions({});
|
|
15043
16419
|
let headers = {};
|
|
15044
16420
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
15045
16421
|
}
|
|
15046
16422
|
/**
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
16423
|
+
* @summary You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16424
|
+
*
|
|
16425
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16426
|
+
*
|
|
16427
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16428
|
+
* @param headers map
|
|
16429
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16430
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15053
16431
|
*/
|
|
15054
16432
|
async upgradeClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
15055
16433
|
tea_util_1.default.validateModel(request);
|
|
@@ -15093,10 +16471,12 @@ class Client extends openapi_client_1.default {
|
|
|
15093
16471
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
15094
16472
|
}
|
|
15095
16473
|
/**
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
16474
|
+
* @summary You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16475
|
+
*
|
|
16476
|
+
* @description This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
16477
|
+
*
|
|
16478
|
+
* @param request UpgradeClusterNodepoolRequest
|
|
16479
|
+
* @return UpgradeClusterNodepoolResponse
|
|
15100
16480
|
*/
|
|
15101
16481
|
async upgradeClusterNodepool(ClusterId, NodepoolId, request) {
|
|
15102
16482
|
let runtime = new $Util.RuntimeOptions({});
|