@alicloud/cs20151215 4.8.9 → 4.8.10
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 +162 -34
- package/dist/client.js +807 -136
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +967 -166
package/dist/client.js
CHANGED
|
@@ -5882,12 +5882,17 @@ class InstancePatterns extends $dara.Model {
|
|
|
5882
5882
|
excludedInstanceTypes: 'excluded_instance_types',
|
|
5883
5883
|
instanceCategories: 'instance_categories',
|
|
5884
5884
|
instanceFamilyLevel: 'instance_family_level',
|
|
5885
|
+
instanceTypeFamilies: 'instance_type_families',
|
|
5885
5886
|
maxCpuCores: 'max_cpu_cores',
|
|
5886
5887
|
maxMemorySize: 'max_memory_size',
|
|
5887
5888
|
maxPrice: 'max_price',
|
|
5889
|
+
maximumGpuAmount: 'maximum_gpu_amount',
|
|
5888
5890
|
memory: 'memory',
|
|
5889
5891
|
minCpuCores: 'min_cpu_cores',
|
|
5890
5892
|
minMemorySize: 'min_memory_size',
|
|
5893
|
+
minimumEniIpv6AddressQuantity: 'minimum_eni_ipv6_address_quantity',
|
|
5894
|
+
minimumEniPrivateIpAddressQuantity: 'minimum_eni_private_ip_address_quantity',
|
|
5895
|
+
minimumEniQuantity: 'minimum_eni_quantity',
|
|
5891
5896
|
};
|
|
5892
5897
|
}
|
|
5893
5898
|
static types() {
|
|
@@ -5900,12 +5905,17 @@ class InstancePatterns extends $dara.Model {
|
|
|
5900
5905
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
5901
5906
|
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
5902
5907
|
instanceFamilyLevel: 'string',
|
|
5908
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
5903
5909
|
maxCpuCores: 'number',
|
|
5904
5910
|
maxMemorySize: 'number',
|
|
5905
5911
|
maxPrice: 'number',
|
|
5912
|
+
maximumGpuAmount: 'number',
|
|
5906
5913
|
memory: 'number',
|
|
5907
5914
|
minCpuCores: 'number',
|
|
5908
5915
|
minMemorySize: 'number',
|
|
5916
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
5917
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
5918
|
+
minimumEniQuantity: 'number',
|
|
5909
5919
|
};
|
|
5910
5920
|
}
|
|
5911
5921
|
validate() {
|
|
@@ -5921,6 +5931,9 @@ class InstancePatterns extends $dara.Model {
|
|
|
5921
5931
|
if (Array.isArray(this.instanceCategories)) {
|
|
5922
5932
|
$dara.Model.validateArray(this.instanceCategories);
|
|
5923
5933
|
}
|
|
5934
|
+
if (Array.isArray(this.instanceTypeFamilies)) {
|
|
5935
|
+
$dara.Model.validateArray(this.instanceTypeFamilies);
|
|
5936
|
+
}
|
|
5924
5937
|
super.validate();
|
|
5925
5938
|
}
|
|
5926
5939
|
constructor(map) {
|
|
@@ -15418,7 +15431,12 @@ class Client extends openapi_core_1.default {
|
|
|
15418
15431
|
reqBodyType: "json",
|
|
15419
15432
|
bodyType: "json",
|
|
15420
15433
|
});
|
|
15421
|
-
|
|
15434
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15435
|
+
return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
15436
|
+
}
|
|
15437
|
+
else {
|
|
15438
|
+
return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
|
|
15439
|
+
}
|
|
15422
15440
|
}
|
|
15423
15441
|
/**
|
|
15424
15442
|
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -15469,7 +15487,12 @@ class Client extends openapi_core_1.default {
|
|
|
15469
15487
|
reqBodyType: "json",
|
|
15470
15488
|
bodyType: "json",
|
|
15471
15489
|
});
|
|
15472
|
-
|
|
15490
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15491
|
+
return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
15492
|
+
}
|
|
15493
|
+
else {
|
|
15494
|
+
return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
15495
|
+
}
|
|
15473
15496
|
}
|
|
15474
15497
|
/**
|
|
15475
15498
|
* Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
|
|
@@ -15507,7 +15530,12 @@ class Client extends openapi_core_1.default {
|
|
|
15507
15530
|
reqBodyType: "json",
|
|
15508
15531
|
bodyType: "none",
|
|
15509
15532
|
});
|
|
15510
|
-
|
|
15533
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15534
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
15535
|
+
}
|
|
15536
|
+
else {
|
|
15537
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
15538
|
+
}
|
|
15511
15539
|
}
|
|
15512
15540
|
/**
|
|
15513
15541
|
* You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
@@ -15546,7 +15574,12 @@ class Client extends openapi_core_1.default {
|
|
|
15546
15574
|
reqBodyType: "json",
|
|
15547
15575
|
bodyType: "none",
|
|
15548
15576
|
});
|
|
15549
|
-
|
|
15577
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15578
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
15579
|
+
}
|
|
15580
|
+
else {
|
|
15581
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
15582
|
+
}
|
|
15550
15583
|
}
|
|
15551
15584
|
/**
|
|
15552
15585
|
* You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
@@ -15582,7 +15615,12 @@ class Client extends openapi_core_1.default {
|
|
|
15582
15615
|
reqBodyType: "json",
|
|
15583
15616
|
bodyType: "json",
|
|
15584
15617
|
});
|
|
15585
|
-
|
|
15618
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15619
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
15620
|
+
}
|
|
15621
|
+
else {
|
|
15622
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
15623
|
+
}
|
|
15586
15624
|
}
|
|
15587
15625
|
/**
|
|
15588
15626
|
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
@@ -15615,7 +15653,12 @@ class Client extends openapi_core_1.default {
|
|
|
15615
15653
|
reqBodyType: "json",
|
|
15616
15654
|
bodyType: "none",
|
|
15617
15655
|
});
|
|
15618
|
-
|
|
15656
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
15658
|
+
}
|
|
15659
|
+
else {
|
|
15660
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelTaskResponse({}));
|
|
15661
|
+
}
|
|
15619
15662
|
}
|
|
15620
15663
|
/**
|
|
15621
15664
|
* Cancels the execution of a cluster task.
|
|
@@ -15648,7 +15691,12 @@ class Client extends openapi_core_1.default {
|
|
|
15648
15691
|
reqBodyType: "json",
|
|
15649
15692
|
bodyType: "json",
|
|
15650
15693
|
});
|
|
15651
|
-
|
|
15694
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15695
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
15696
|
+
}
|
|
15697
|
+
else {
|
|
15698
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
15699
|
+
}
|
|
15652
15700
|
}
|
|
15653
15701
|
/**
|
|
15654
15702
|
* 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.
|
|
@@ -15688,7 +15736,12 @@ class Client extends openapi_core_1.default {
|
|
|
15688
15736
|
reqBodyType: "json",
|
|
15689
15737
|
bodyType: "json",
|
|
15690
15738
|
});
|
|
15691
|
-
|
|
15739
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15740
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
15741
|
+
}
|
|
15742
|
+
else {
|
|
15743
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
15744
|
+
}
|
|
15692
15745
|
}
|
|
15693
15746
|
/**
|
|
15694
15747
|
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
@@ -15736,7 +15789,12 @@ class Client extends openapi_core_1.default {
|
|
|
15736
15789
|
reqBodyType: "json",
|
|
15737
15790
|
bodyType: "none",
|
|
15738
15791
|
});
|
|
15739
|
-
|
|
15792
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15793
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
|
|
15794
|
+
}
|
|
15795
|
+
else {
|
|
15796
|
+
return $dara.cast(await this.execute(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
|
|
15797
|
+
}
|
|
15740
15798
|
}
|
|
15741
15799
|
/**
|
|
15742
15800
|
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
@@ -15797,7 +15855,12 @@ class Client extends openapi_core_1.default {
|
|
|
15797
15855
|
reqBodyType: "json",
|
|
15798
15856
|
bodyType: "json",
|
|
15799
15857
|
});
|
|
15800
|
-
|
|
15858
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15859
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CleanUserPermissionsResponse({}));
|
|
15860
|
+
}
|
|
15861
|
+
else {
|
|
15862
|
+
return $dara.cast(await this.execute(params, req, runtime), new CleanUserPermissionsResponse({}));
|
|
15863
|
+
}
|
|
15801
15864
|
}
|
|
15802
15865
|
/**
|
|
15803
15866
|
* You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
@@ -15889,7 +15952,12 @@ class Client extends openapi_core_1.default {
|
|
|
15889
15952
|
reqBodyType: "json",
|
|
15890
15953
|
bodyType: "json",
|
|
15891
15954
|
});
|
|
15892
|
-
|
|
15955
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15956
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
15957
|
+
}
|
|
15958
|
+
else {
|
|
15959
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
15960
|
+
}
|
|
15893
15961
|
}
|
|
15894
15962
|
/**
|
|
15895
15963
|
* 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.
|
|
@@ -16231,7 +16299,12 @@ class Client extends openapi_core_1.default {
|
|
|
16231
16299
|
reqBodyType: "json",
|
|
16232
16300
|
bodyType: "json",
|
|
16233
16301
|
});
|
|
16234
|
-
|
|
16302
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16303
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
|
|
16304
|
+
}
|
|
16305
|
+
else {
|
|
16306
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterResponse({}));
|
|
16307
|
+
}
|
|
16235
16308
|
}
|
|
16236
16309
|
/**
|
|
16237
16310
|
* 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.
|
|
@@ -16285,7 +16358,12 @@ class Client extends openapi_core_1.default {
|
|
|
16285
16358
|
reqBodyType: "json",
|
|
16286
16359
|
bodyType: "json",
|
|
16287
16360
|
});
|
|
16288
|
-
|
|
16361
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16362
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterDiagnosisResponse({}));
|
|
16363
|
+
}
|
|
16364
|
+
else {
|
|
16365
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterDiagnosisResponse({}));
|
|
16366
|
+
}
|
|
16289
16367
|
}
|
|
16290
16368
|
/**
|
|
16291
16369
|
* Starts a cluster diagnostic.
|
|
@@ -16363,7 +16441,12 @@ class Client extends openapi_core_1.default {
|
|
|
16363
16441
|
reqBodyType: "json",
|
|
16364
16442
|
bodyType: "json",
|
|
16365
16443
|
});
|
|
16366
|
-
|
|
16444
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16445
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
16446
|
+
}
|
|
16447
|
+
else {
|
|
16448
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
16449
|
+
}
|
|
16367
16450
|
}
|
|
16368
16451
|
/**
|
|
16369
16452
|
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
@@ -16411,7 +16494,12 @@ class Client extends openapi_core_1.default {
|
|
|
16411
16494
|
reqBodyType: "json",
|
|
16412
16495
|
bodyType: "json",
|
|
16413
16496
|
});
|
|
16414
|
-
|
|
16497
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16498
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
16499
|
+
}
|
|
16500
|
+
else {
|
|
16501
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
16502
|
+
}
|
|
16415
16503
|
}
|
|
16416
16504
|
/**
|
|
16417
16505
|
* You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
@@ -16465,7 +16553,12 @@ class Client extends openapi_core_1.default {
|
|
|
16465
16553
|
reqBodyType: "json",
|
|
16466
16554
|
bodyType: "json",
|
|
16467
16555
|
});
|
|
16468
|
-
|
|
16556
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16557
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
16558
|
+
}
|
|
16559
|
+
else {
|
|
16560
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
16561
|
+
}
|
|
16469
16562
|
}
|
|
16470
16563
|
/**
|
|
16471
16564
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
@@ -16522,7 +16615,12 @@ class Client extends openapi_core_1.default {
|
|
|
16522
16615
|
reqBodyType: "json",
|
|
16523
16616
|
bodyType: "json",
|
|
16524
16617
|
});
|
|
16525
|
-
|
|
16618
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16619
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
16620
|
+
}
|
|
16621
|
+
else {
|
|
16622
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateTemplateResponse({}));
|
|
16623
|
+
}
|
|
16526
16624
|
}
|
|
16527
16625
|
/**
|
|
16528
16626
|
* 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).
|
|
@@ -16573,7 +16671,12 @@ class Client extends openapi_core_1.default {
|
|
|
16573
16671
|
reqBodyType: "json",
|
|
16574
16672
|
bodyType: "json",
|
|
16575
16673
|
});
|
|
16576
|
-
|
|
16674
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16675
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
16676
|
+
}
|
|
16677
|
+
else {
|
|
16678
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateTriggerResponse({}));
|
|
16679
|
+
}
|
|
16577
16680
|
}
|
|
16578
16681
|
/**
|
|
16579
16682
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
@@ -16620,7 +16723,12 @@ class Client extends openapi_core_1.default {
|
|
|
16620
16723
|
reqBodyType: "json",
|
|
16621
16724
|
bodyType: "array",
|
|
16622
16725
|
});
|
|
16623
|
-
|
|
16726
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16727
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
16728
|
+
}
|
|
16729
|
+
else {
|
|
16730
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
16731
|
+
}
|
|
16624
16732
|
}
|
|
16625
16733
|
/**
|
|
16626
16734
|
* Deletes one or more ACK alert contacts.
|
|
@@ -16667,7 +16775,12 @@ class Client extends openapi_core_1.default {
|
|
|
16667
16775
|
reqBodyType: "json",
|
|
16668
16776
|
bodyType: "array",
|
|
16669
16777
|
});
|
|
16670
|
-
|
|
16778
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16779
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
16780
|
+
}
|
|
16781
|
+
else {
|
|
16782
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
16783
|
+
}
|
|
16671
16784
|
}
|
|
16672
16785
|
/**
|
|
16673
16786
|
* Deletes an ACK alert contact group.
|
|
@@ -16726,7 +16839,12 @@ class Client extends openapi_core_1.default {
|
|
|
16726
16839
|
reqBodyType: "json",
|
|
16727
16840
|
bodyType: "json",
|
|
16728
16841
|
});
|
|
16729
|
-
|
|
16842
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16843
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
16844
|
+
}
|
|
16845
|
+
else {
|
|
16846
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterResponse({}));
|
|
16847
|
+
}
|
|
16730
16848
|
}
|
|
16731
16849
|
/**
|
|
16732
16850
|
* You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
|
|
@@ -16768,7 +16886,12 @@ class Client extends openapi_core_1.default {
|
|
|
16768
16886
|
reqBodyType: "json",
|
|
16769
16887
|
bodyType: "json",
|
|
16770
16888
|
});
|
|
16771
|
-
|
|
16889
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16890
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
16891
|
+
}
|
|
16892
|
+
else {
|
|
16893
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
16894
|
+
}
|
|
16772
16895
|
}
|
|
16773
16896
|
/**
|
|
16774
16897
|
* null
|
|
@@ -16787,8 +16910,7 @@ class Client extends openapi_core_1.default {
|
|
|
16787
16910
|
* @remarks
|
|
16788
16911
|
* 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.
|
|
16789
16912
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
16790
|
-
* * When
|
|
16791
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
16913
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
16792
16914
|
*
|
|
16793
16915
|
* @param request - DeleteClusterNodesRequest
|
|
16794
16916
|
* @param headers - map
|
|
@@ -16822,7 +16944,12 @@ class Client extends openapi_core_1.default {
|
|
|
16822
16944
|
reqBodyType: "json",
|
|
16823
16945
|
bodyType: "json",
|
|
16824
16946
|
});
|
|
16825
|
-
|
|
16947
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16948
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
16949
|
+
}
|
|
16950
|
+
else {
|
|
16951
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
16952
|
+
}
|
|
16826
16953
|
}
|
|
16827
16954
|
/**
|
|
16828
16955
|
* 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.
|
|
@@ -16830,8 +16957,7 @@ class Client extends openapi_core_1.default {
|
|
|
16830
16957
|
* @remarks
|
|
16831
16958
|
* 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.
|
|
16832
16959
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
16833
|
-
* * When
|
|
16834
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
16960
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
16835
16961
|
*
|
|
16836
16962
|
* @param request - DeleteClusterNodesRequest
|
|
16837
16963
|
* @returns DeleteClusterNodesResponse
|
|
@@ -16870,7 +16996,12 @@ class Client extends openapi_core_1.default {
|
|
|
16870
16996
|
reqBodyType: "json",
|
|
16871
16997
|
bodyType: "none",
|
|
16872
16998
|
});
|
|
16873
|
-
|
|
16999
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17000
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
17001
|
+
}
|
|
17002
|
+
else {
|
|
17003
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
17004
|
+
}
|
|
16874
17005
|
}
|
|
16875
17006
|
/**
|
|
16876
17007
|
* You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
@@ -16908,7 +17039,12 @@ class Client extends openapi_core_1.default {
|
|
|
16908
17039
|
reqBodyType: "json",
|
|
16909
17040
|
bodyType: "none",
|
|
16910
17041
|
});
|
|
16911
|
-
|
|
17042
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17043
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
17044
|
+
}
|
|
17045
|
+
else {
|
|
17046
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
17047
|
+
}
|
|
16912
17048
|
}
|
|
16913
17049
|
/**
|
|
16914
17050
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
@@ -16951,7 +17087,12 @@ class Client extends openapi_core_1.default {
|
|
|
16951
17087
|
reqBodyType: "json",
|
|
16952
17088
|
bodyType: "json",
|
|
16953
17089
|
});
|
|
16954
|
-
|
|
17090
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17091
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
17092
|
+
}
|
|
17093
|
+
else {
|
|
17094
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
17095
|
+
}
|
|
16955
17096
|
}
|
|
16956
17097
|
/**
|
|
16957
17098
|
* Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -16986,7 +17127,12 @@ class Client extends openapi_core_1.default {
|
|
|
16986
17127
|
reqBodyType: "json",
|
|
16987
17128
|
bodyType: "none",
|
|
16988
17129
|
});
|
|
16989
|
-
|
|
17130
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17131
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
17132
|
+
}
|
|
17133
|
+
else {
|
|
17134
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteTemplateResponse({}));
|
|
17135
|
+
}
|
|
16990
17136
|
}
|
|
16991
17137
|
/**
|
|
16992
17138
|
* Deletes the orchestration templates that you no longer need.
|
|
@@ -17019,7 +17165,12 @@ class Client extends openapi_core_1.default {
|
|
|
17019
17165
|
reqBodyType: "json",
|
|
17020
17166
|
bodyType: "none",
|
|
17021
17167
|
});
|
|
17022
|
-
|
|
17168
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17169
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
17170
|
+
}
|
|
17171
|
+
else {
|
|
17172
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteTriggerResponse({}));
|
|
17173
|
+
}
|
|
17023
17174
|
}
|
|
17024
17175
|
/**
|
|
17025
17176
|
* Deletes an application trigger.
|
|
@@ -17065,7 +17216,12 @@ class Client extends openapi_core_1.default {
|
|
|
17065
17216
|
reqBodyType: "json",
|
|
17066
17217
|
bodyType: "json",
|
|
17067
17218
|
});
|
|
17068
|
-
|
|
17219
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17220
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
17221
|
+
}
|
|
17222
|
+
else {
|
|
17223
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
17224
|
+
}
|
|
17069
17225
|
}
|
|
17070
17226
|
/**
|
|
17071
17227
|
* Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
|
|
@@ -17125,7 +17281,12 @@ class Client extends openapi_core_1.default {
|
|
|
17125
17281
|
reqBodyType: "json",
|
|
17126
17282
|
bodyType: "json",
|
|
17127
17283
|
});
|
|
17128
|
-
|
|
17284
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17285
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
17286
|
+
}
|
|
17287
|
+
else {
|
|
17288
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAddonResponse({}));
|
|
17289
|
+
}
|
|
17129
17290
|
}
|
|
17130
17291
|
/**
|
|
17131
17292
|
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
@@ -17182,7 +17343,12 @@ class Client extends openapi_core_1.default {
|
|
|
17182
17343
|
reqBodyType: "json",
|
|
17183
17344
|
bodyType: "json",
|
|
17184
17345
|
});
|
|
17185
|
-
|
|
17346
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17347
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
|
|
17348
|
+
}
|
|
17349
|
+
else {
|
|
17350
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAddonsResponse({}));
|
|
17351
|
+
}
|
|
17186
17352
|
}
|
|
17187
17353
|
/**
|
|
17188
17354
|
* You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
@@ -17223,7 +17389,12 @@ class Client extends openapi_core_1.default {
|
|
|
17223
17389
|
reqBodyType: "json",
|
|
17224
17390
|
bodyType: "json",
|
|
17225
17391
|
});
|
|
17226
|
-
|
|
17392
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17393
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
17394
|
+
}
|
|
17395
|
+
else {
|
|
17396
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
17397
|
+
}
|
|
17227
17398
|
}
|
|
17228
17399
|
/**
|
|
17229
17400
|
* You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
@@ -17269,7 +17440,12 @@ class Client extends openapi_core_1.default {
|
|
|
17269
17440
|
reqBodyType: "json",
|
|
17270
17441
|
bodyType: "json",
|
|
17271
17442
|
});
|
|
17272
|
-
|
|
17443
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17444
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
17445
|
+
}
|
|
17446
|
+
else {
|
|
17447
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
17448
|
+
}
|
|
17273
17449
|
}
|
|
17274
17450
|
/**
|
|
17275
17451
|
* You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
@@ -17310,7 +17486,12 @@ class Client extends openapi_core_1.default {
|
|
|
17310
17486
|
reqBodyType: "json",
|
|
17311
17487
|
bodyType: "json",
|
|
17312
17488
|
});
|
|
17313
|
-
|
|
17489
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17490
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
17491
|
+
}
|
|
17492
|
+
else {
|
|
17493
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
17494
|
+
}
|
|
17314
17495
|
}
|
|
17315
17496
|
/**
|
|
17316
17497
|
* You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
@@ -17361,7 +17542,12 @@ class Client extends openapi_core_1.default {
|
|
|
17361
17542
|
reqBodyType: "json",
|
|
17362
17543
|
bodyType: "json",
|
|
17363
17544
|
});
|
|
17364
|
-
|
|
17545
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17546
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
17547
|
+
}
|
|
17548
|
+
else {
|
|
17549
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
17550
|
+
}
|
|
17365
17551
|
}
|
|
17366
17552
|
/**
|
|
17367
17553
|
* You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
@@ -17402,7 +17588,12 @@ class Client extends openapi_core_1.default {
|
|
|
17402
17588
|
reqBodyType: "json",
|
|
17403
17589
|
bodyType: "json",
|
|
17404
17590
|
});
|
|
17405
|
-
|
|
17591
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17592
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
17593
|
+
}
|
|
17594
|
+
else {
|
|
17595
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
17596
|
+
}
|
|
17406
17597
|
}
|
|
17407
17598
|
/**
|
|
17408
17599
|
* You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
@@ -17460,7 +17651,12 @@ class Client extends openapi_core_1.default {
|
|
|
17460
17651
|
reqBodyType: "json",
|
|
17461
17652
|
bodyType: "string",
|
|
17462
17653
|
});
|
|
17463
|
-
|
|
17654
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17655
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
17656
|
+
}
|
|
17657
|
+
else {
|
|
17658
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
17659
|
+
}
|
|
17464
17660
|
}
|
|
17465
17661
|
/**
|
|
17466
17662
|
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
@@ -17495,7 +17691,12 @@ class Client extends openapi_core_1.default {
|
|
|
17495
17691
|
reqBodyType: "json",
|
|
17496
17692
|
bodyType: "json",
|
|
17497
17693
|
});
|
|
17498
|
-
|
|
17694
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17695
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
17696
|
+
}
|
|
17697
|
+
else {
|
|
17698
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
17699
|
+
}
|
|
17499
17700
|
}
|
|
17500
17701
|
/**
|
|
17501
17702
|
* You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
@@ -17541,7 +17742,12 @@ class Client extends openapi_core_1.default {
|
|
|
17541
17742
|
reqBodyType: "json",
|
|
17542
17743
|
bodyType: "json",
|
|
17543
17744
|
});
|
|
17544
|
-
|
|
17745
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17746
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
17747
|
+
}
|
|
17748
|
+
else {
|
|
17749
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
17750
|
+
}
|
|
17545
17751
|
}
|
|
17546
17752
|
/**
|
|
17547
17753
|
* 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.
|
|
@@ -17576,7 +17782,12 @@ class Client extends openapi_core_1.default {
|
|
|
17576
17782
|
reqBodyType: "json",
|
|
17577
17783
|
bodyType: "array",
|
|
17578
17784
|
});
|
|
17579
|
-
|
|
17785
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17786
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
17787
|
+
}
|
|
17788
|
+
else {
|
|
17789
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
17790
|
+
}
|
|
17580
17791
|
}
|
|
17581
17792
|
/**
|
|
17582
17793
|
* Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
@@ -17609,7 +17820,12 @@ class Client extends openapi_core_1.default {
|
|
|
17609
17820
|
reqBodyType: "json",
|
|
17610
17821
|
bodyType: "json",
|
|
17611
17822
|
});
|
|
17612
|
-
|
|
17823
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17824
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
17825
|
+
}
|
|
17826
|
+
else {
|
|
17827
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
17828
|
+
}
|
|
17613
17829
|
}
|
|
17614
17830
|
/**
|
|
17615
17831
|
* You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
@@ -17649,7 +17865,12 @@ class Client extends openapi_core_1.default {
|
|
|
17649
17865
|
reqBodyType: "json",
|
|
17650
17866
|
bodyType: "json",
|
|
17651
17867
|
});
|
|
17652
|
-
|
|
17868
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17869
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
17870
|
+
}
|
|
17871
|
+
else {
|
|
17872
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
17873
|
+
}
|
|
17653
17874
|
}
|
|
17654
17875
|
/**
|
|
17655
17876
|
* Queries the information about all node pools in a cluster.
|
|
@@ -17703,7 +17924,12 @@ class Client extends openapi_core_1.default {
|
|
|
17703
17924
|
reqBodyType: "json",
|
|
17704
17925
|
bodyType: "json",
|
|
17705
17926
|
});
|
|
17706
|
-
|
|
17927
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17928
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
17929
|
+
}
|
|
17930
|
+
else {
|
|
17931
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
17932
|
+
}
|
|
17707
17933
|
}
|
|
17708
17934
|
/**
|
|
17709
17935
|
* null
|
|
@@ -17745,7 +17971,12 @@ class Client extends openapi_core_1.default {
|
|
|
17745
17971
|
reqBodyType: "json",
|
|
17746
17972
|
bodyType: "array",
|
|
17747
17973
|
});
|
|
17748
|
-
|
|
17974
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17975
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
17976
|
+
}
|
|
17977
|
+
else {
|
|
17978
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
17979
|
+
}
|
|
17749
17980
|
}
|
|
17750
17981
|
/**
|
|
17751
17982
|
* You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
@@ -17790,7 +18021,12 @@ class Client extends openapi_core_1.default {
|
|
|
17790
18021
|
reqBodyType: "json",
|
|
17791
18022
|
bodyType: "json",
|
|
17792
18023
|
});
|
|
17793
|
-
|
|
18024
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18025
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
18026
|
+
}
|
|
18027
|
+
else {
|
|
18028
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
18029
|
+
}
|
|
17794
18030
|
}
|
|
17795
18031
|
/**
|
|
17796
18032
|
* Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -17838,7 +18074,12 @@ class Client extends openapi_core_1.default {
|
|
|
17838
18074
|
reqBodyType: "json",
|
|
17839
18075
|
bodyType: "json",
|
|
17840
18076
|
});
|
|
17841
|
-
|
|
18077
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18078
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
18079
|
+
}
|
|
18080
|
+
else {
|
|
18081
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
18082
|
+
}
|
|
17842
18083
|
}
|
|
17843
18084
|
/**
|
|
17844
18085
|
* 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.
|
|
@@ -17889,7 +18130,12 @@ class Client extends openapi_core_1.default {
|
|
|
17889
18130
|
reqBodyType: "json",
|
|
17890
18131
|
bodyType: "json",
|
|
17891
18132
|
});
|
|
17892
|
-
|
|
18133
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18134
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
18135
|
+
}
|
|
18136
|
+
else {
|
|
18137
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
18138
|
+
}
|
|
17893
18139
|
}
|
|
17894
18140
|
/**
|
|
17895
18141
|
* 获取集群kubeconfig接口
|
|
@@ -17927,7 +18173,12 @@ class Client extends openapi_core_1.default {
|
|
|
17927
18173
|
reqBodyType: "json",
|
|
17928
18174
|
bodyType: "json",
|
|
17929
18175
|
});
|
|
17930
|
-
|
|
18176
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18177
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
18178
|
+
}
|
|
18179
|
+
else {
|
|
18180
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
18181
|
+
}
|
|
17931
18182
|
}
|
|
17932
18183
|
/**
|
|
17933
18184
|
* Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
@@ -17976,7 +18227,12 @@ class Client extends openapi_core_1.default {
|
|
|
17976
18227
|
reqBodyType: "json",
|
|
17977
18228
|
bodyType: "array",
|
|
17978
18229
|
});
|
|
17979
|
-
|
|
18230
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18231
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
18232
|
+
}
|
|
18233
|
+
else {
|
|
18234
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersResponse({}));
|
|
18235
|
+
}
|
|
17980
18236
|
}
|
|
17981
18237
|
/**
|
|
17982
18238
|
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
@@ -18039,7 +18295,12 @@ class Client extends openapi_core_1.default {
|
|
|
18039
18295
|
reqBodyType: "json",
|
|
18040
18296
|
bodyType: "json",
|
|
18041
18297
|
});
|
|
18042
|
-
|
|
18298
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18299
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
|
|
18300
|
+
}
|
|
18301
|
+
else {
|
|
18302
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersForRegionResponse({}));
|
|
18303
|
+
}
|
|
18043
18304
|
}
|
|
18044
18305
|
/**
|
|
18045
18306
|
* Queries all clusters in a specified region.
|
|
@@ -18102,7 +18363,12 @@ class Client extends openapi_core_1.default {
|
|
|
18102
18363
|
reqBodyType: "json",
|
|
18103
18364
|
bodyType: "json",
|
|
18104
18365
|
});
|
|
18105
|
-
|
|
18366
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18367
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
18368
|
+
}
|
|
18369
|
+
else {
|
|
18370
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersV1Response({}));
|
|
18371
|
+
}
|
|
18106
18372
|
}
|
|
18107
18373
|
/**
|
|
18108
18374
|
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
@@ -18140,7 +18406,12 @@ class Client extends openapi_core_1.default {
|
|
|
18140
18406
|
reqBodyType: "json",
|
|
18141
18407
|
bodyType: "json",
|
|
18142
18408
|
});
|
|
18143
|
-
|
|
18409
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18410
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
18411
|
+
}
|
|
18412
|
+
else {
|
|
18413
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
18414
|
+
}
|
|
18144
18415
|
}
|
|
18145
18416
|
/**
|
|
18146
18417
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
@@ -18176,7 +18447,12 @@ class Client extends openapi_core_1.default {
|
|
|
18176
18447
|
reqBodyType: "json",
|
|
18177
18448
|
bodyType: "json",
|
|
18178
18449
|
});
|
|
18179
|
-
|
|
18450
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18451
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
18452
|
+
}
|
|
18453
|
+
else {
|
|
18454
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
18455
|
+
}
|
|
18180
18456
|
}
|
|
18181
18457
|
/**
|
|
18182
18458
|
* You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
@@ -18209,7 +18485,12 @@ class Client extends openapi_core_1.default {
|
|
|
18209
18485
|
reqBodyType: "json",
|
|
18210
18486
|
bodyType: "json",
|
|
18211
18487
|
});
|
|
18212
|
-
|
|
18488
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
18490
|
+
}
|
|
18491
|
+
else {
|
|
18492
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
18493
|
+
}
|
|
18213
18494
|
}
|
|
18214
18495
|
/**
|
|
18215
18496
|
* You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
@@ -18264,7 +18545,12 @@ class Client extends openapi_core_1.default {
|
|
|
18264
18545
|
reqBodyType: "json",
|
|
18265
18546
|
bodyType: "json",
|
|
18266
18547
|
});
|
|
18267
|
-
|
|
18548
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18549
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
18550
|
+
}
|
|
18551
|
+
else {
|
|
18552
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
18553
|
+
}
|
|
18268
18554
|
}
|
|
18269
18555
|
/**
|
|
18270
18556
|
* You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
@@ -18315,7 +18601,12 @@ class Client extends openapi_core_1.default {
|
|
|
18315
18601
|
reqBodyType: "json",
|
|
18316
18602
|
bodyType: "json",
|
|
18317
18603
|
});
|
|
18318
|
-
|
|
18604
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18605
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
18606
|
+
}
|
|
18607
|
+
else {
|
|
18608
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEventsResponse({}));
|
|
18609
|
+
}
|
|
18319
18610
|
}
|
|
18320
18611
|
/**
|
|
18321
18612
|
* Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
@@ -18363,7 +18654,12 @@ class Client extends openapi_core_1.default {
|
|
|
18363
18654
|
reqBodyType: "json",
|
|
18364
18655
|
bodyType: "json",
|
|
18365
18656
|
});
|
|
18366
|
-
|
|
18657
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18658
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
|
|
18659
|
+
}
|
|
18660
|
+
else {
|
|
18661
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEventsForRegionResponse({}));
|
|
18662
|
+
}
|
|
18367
18663
|
}
|
|
18368
18664
|
/**
|
|
18369
18665
|
* Queries all events in a specified region.
|
|
@@ -18414,7 +18710,12 @@ class Client extends openapi_core_1.default {
|
|
|
18414
18710
|
reqBodyType: "json",
|
|
18415
18711
|
bodyType: "json",
|
|
18416
18712
|
});
|
|
18417
|
-
|
|
18713
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18714
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
18715
|
+
}
|
|
18716
|
+
else {
|
|
18717
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
18718
|
+
}
|
|
18418
18719
|
}
|
|
18419
18720
|
/**
|
|
18420
18721
|
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
@@ -18480,7 +18781,12 @@ class Client extends openapi_core_1.default {
|
|
|
18480
18781
|
reqBodyType: "json",
|
|
18481
18782
|
bodyType: "array",
|
|
18482
18783
|
});
|
|
18483
|
-
|
|
18784
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18785
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
18786
|
+
}
|
|
18787
|
+
else {
|
|
18788
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
18789
|
+
}
|
|
18484
18790
|
}
|
|
18485
18791
|
/**
|
|
18486
18792
|
* Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
@@ -18522,7 +18828,12 @@ class Client extends openapi_core_1.default {
|
|
|
18522
18828
|
reqBodyType: "json",
|
|
18523
18829
|
bodyType: "json",
|
|
18524
18830
|
});
|
|
18525
|
-
|
|
18831
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18832
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
18833
|
+
}
|
|
18834
|
+
else {
|
|
18835
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
18836
|
+
}
|
|
18526
18837
|
}
|
|
18527
18838
|
/**
|
|
18528
18839
|
* 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.
|
|
@@ -18557,7 +18868,12 @@ class Client extends openapi_core_1.default {
|
|
|
18557
18868
|
reqBodyType: "json",
|
|
18558
18869
|
bodyType: "json",
|
|
18559
18870
|
});
|
|
18560
|
-
|
|
18871
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18872
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
18873
|
+
}
|
|
18874
|
+
else {
|
|
18875
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePoliciesResponse({}));
|
|
18876
|
+
}
|
|
18561
18877
|
}
|
|
18562
18878
|
/**
|
|
18563
18879
|
* Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
|
|
@@ -18590,7 +18906,12 @@ class Client extends openapi_core_1.default {
|
|
|
18590
18906
|
reqBodyType: "json",
|
|
18591
18907
|
bodyType: "json",
|
|
18592
18908
|
});
|
|
18593
|
-
|
|
18909
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18910
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
18911
|
+
}
|
|
18912
|
+
else {
|
|
18913
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
18914
|
+
}
|
|
18594
18915
|
}
|
|
18595
18916
|
/**
|
|
18596
18917
|
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
@@ -18623,7 +18944,12 @@ class Client extends openapi_core_1.default {
|
|
|
18623
18944
|
reqBodyType: "json",
|
|
18624
18945
|
bodyType: "json",
|
|
18625
18946
|
});
|
|
18626
|
-
|
|
18947
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18948
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
18949
|
+
}
|
|
18950
|
+
else {
|
|
18951
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
18952
|
+
}
|
|
18627
18953
|
}
|
|
18628
18954
|
/**
|
|
18629
18955
|
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
@@ -18666,7 +18992,12 @@ class Client extends openapi_core_1.default {
|
|
|
18666
18992
|
reqBodyType: "json",
|
|
18667
18993
|
bodyType: "array",
|
|
18668
18994
|
});
|
|
18669
|
-
|
|
18995
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18996
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
18997
|
+
}
|
|
18998
|
+
else {
|
|
18999
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
19000
|
+
}
|
|
18670
19001
|
}
|
|
18671
19002
|
/**
|
|
18672
19003
|
* 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.
|
|
@@ -18701,7 +19032,12 @@ class Client extends openapi_core_1.default {
|
|
|
18701
19032
|
reqBodyType: "json",
|
|
18702
19033
|
bodyType: "json",
|
|
18703
19034
|
});
|
|
18704
|
-
|
|
19035
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19036
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
19037
|
+
}
|
|
19038
|
+
else {
|
|
19039
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
19040
|
+
}
|
|
18705
19041
|
}
|
|
18706
19042
|
/**
|
|
18707
19043
|
* 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.
|
|
@@ -18744,7 +19080,12 @@ class Client extends openapi_core_1.default {
|
|
|
18744
19080
|
reqBodyType: "json",
|
|
18745
19081
|
bodyType: "array",
|
|
18746
19082
|
});
|
|
18747
|
-
|
|
19083
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19084
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
|
|
19085
|
+
}
|
|
19086
|
+
else {
|
|
19087
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
|
|
19088
|
+
}
|
|
18748
19089
|
}
|
|
18749
19090
|
/**
|
|
18750
19091
|
* Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
@@ -18792,7 +19133,12 @@ class Client extends openapi_core_1.default {
|
|
|
18792
19133
|
reqBodyType: "json",
|
|
18793
19134
|
bodyType: "json",
|
|
18794
19135
|
});
|
|
18795
|
-
|
|
19136
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19137
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
19138
|
+
}
|
|
19139
|
+
else {
|
|
19140
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
19141
|
+
}
|
|
18796
19142
|
}
|
|
18797
19143
|
/**
|
|
18798
19144
|
* Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
|
|
@@ -18830,7 +19176,12 @@ class Client extends openapi_core_1.default {
|
|
|
18830
19176
|
reqBodyType: "json",
|
|
18831
19177
|
bodyType: "json",
|
|
18832
19178
|
});
|
|
18833
|
-
|
|
19179
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19180
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
19181
|
+
}
|
|
19182
|
+
else {
|
|
19183
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
19184
|
+
}
|
|
18834
19185
|
}
|
|
18835
19186
|
/**
|
|
18836
19187
|
* Queries detailed information about a task, such as the task type, status, and progress.
|
|
@@ -18870,7 +19221,12 @@ class Client extends openapi_core_1.default {
|
|
|
18870
19221
|
reqBodyType: "json",
|
|
18871
19222
|
bodyType: "array",
|
|
18872
19223
|
});
|
|
18873
|
-
|
|
19224
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19225
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
19226
|
+
}
|
|
19227
|
+
else {
|
|
19228
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
19229
|
+
}
|
|
18874
19230
|
}
|
|
18875
19231
|
/**
|
|
18876
19232
|
* 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.
|
|
@@ -18918,7 +19274,12 @@ class Client extends openapi_core_1.default {
|
|
|
18918
19274
|
reqBodyType: "json",
|
|
18919
19275
|
bodyType: "json",
|
|
18920
19276
|
});
|
|
18921
|
-
|
|
19277
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19278
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
19279
|
+
}
|
|
19280
|
+
else {
|
|
19281
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
19282
|
+
}
|
|
18922
19283
|
}
|
|
18923
19284
|
/**
|
|
18924
19285
|
* 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.
|
|
@@ -18969,7 +19330,12 @@ class Client extends openapi_core_1.default {
|
|
|
18969
19330
|
reqBodyType: "json",
|
|
18970
19331
|
bodyType: "array",
|
|
18971
19332
|
});
|
|
18972
|
-
|
|
19333
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19334
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
19335
|
+
}
|
|
19336
|
+
else {
|
|
19337
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTriggerResponse({}));
|
|
19338
|
+
}
|
|
18973
19339
|
}
|
|
18974
19340
|
/**
|
|
18975
19341
|
* Queries triggers that match specific conditions.
|
|
@@ -19004,7 +19370,12 @@ class Client extends openapi_core_1.default {
|
|
|
19004
19370
|
reqBodyType: "json",
|
|
19005
19371
|
bodyType: "array",
|
|
19006
19372
|
});
|
|
19007
|
-
|
|
19373
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19374
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
19375
|
+
}
|
|
19376
|
+
else {
|
|
19377
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
19378
|
+
}
|
|
19008
19379
|
}
|
|
19009
19380
|
/**
|
|
19010
19381
|
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
@@ -19041,7 +19412,12 @@ class Client extends openapi_core_1.default {
|
|
|
19041
19412
|
reqBodyType: "json",
|
|
19042
19413
|
bodyType: "array",
|
|
19043
19414
|
});
|
|
19044
|
-
|
|
19415
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19416
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
19417
|
+
}
|
|
19418
|
+
else {
|
|
19419
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
19420
|
+
}
|
|
19045
19421
|
}
|
|
19046
19422
|
/**
|
|
19047
19423
|
* 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.
|
|
@@ -19078,7 +19454,12 @@ class Client extends openapi_core_1.default {
|
|
|
19078
19454
|
reqBodyType: "json",
|
|
19079
19455
|
bodyType: "json",
|
|
19080
19456
|
});
|
|
19081
|
-
|
|
19457
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19458
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
19459
|
+
}
|
|
19460
|
+
else {
|
|
19461
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
19462
|
+
}
|
|
19082
19463
|
}
|
|
19083
19464
|
/**
|
|
19084
19465
|
* 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.
|
|
@@ -19127,7 +19508,12 @@ class Client extends openapi_core_1.default {
|
|
|
19127
19508
|
reqBodyType: "json",
|
|
19128
19509
|
bodyType: "json",
|
|
19129
19510
|
});
|
|
19130
|
-
|
|
19511
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19512
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
19513
|
+
}
|
|
19514
|
+
else {
|
|
19515
|
+
return $dara.cast(await this.execute(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
19516
|
+
}
|
|
19131
19517
|
}
|
|
19132
19518
|
/**
|
|
19133
19519
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
@@ -19187,7 +19573,12 @@ class Client extends openapi_core_1.default {
|
|
|
19187
19573
|
reqBodyType: "json",
|
|
19188
19574
|
bodyType: "json",
|
|
19189
19575
|
});
|
|
19190
|
-
|
|
19576
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19577
|
+
return $dara.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
19578
|
+
}
|
|
19579
|
+
else {
|
|
19580
|
+
return $dara.cast(await this.execute(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
19581
|
+
}
|
|
19191
19582
|
}
|
|
19192
19583
|
/**
|
|
19193
19584
|
* 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.
|
|
@@ -19228,7 +19619,12 @@ class Client extends openapi_core_1.default {
|
|
|
19228
19619
|
reqBodyType: "json",
|
|
19229
19620
|
bodyType: "json",
|
|
19230
19621
|
});
|
|
19231
|
-
|
|
19622
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19623
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
19624
|
+
}
|
|
19625
|
+
else {
|
|
19626
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
19627
|
+
}
|
|
19232
19628
|
}
|
|
19233
19629
|
/**
|
|
19234
19630
|
* 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.
|
|
@@ -19261,7 +19657,12 @@ class Client extends openapi_core_1.default {
|
|
|
19261
19657
|
reqBodyType: "json",
|
|
19262
19658
|
bodyType: "json",
|
|
19263
19659
|
});
|
|
19264
|
-
|
|
19660
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19661
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterAuditProjectResponse({}));
|
|
19662
|
+
}
|
|
19663
|
+
else {
|
|
19664
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterAuditProjectResponse({}));
|
|
19665
|
+
}
|
|
19265
19666
|
}
|
|
19266
19667
|
/**
|
|
19267
19668
|
* You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
|
|
@@ -19294,7 +19695,12 @@ class Client extends openapi_core_1.default {
|
|
|
19294
19695
|
reqBodyType: "json",
|
|
19295
19696
|
bodyType: "json",
|
|
19296
19697
|
});
|
|
19297
|
-
|
|
19698
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19699
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
19700
|
+
}
|
|
19701
|
+
else {
|
|
19702
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterCheckResponse({}));
|
|
19703
|
+
}
|
|
19298
19704
|
}
|
|
19299
19705
|
/**
|
|
19300
19706
|
* 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.
|
|
@@ -19334,7 +19740,12 @@ class Client extends openapi_core_1.default {
|
|
|
19334
19740
|
reqBodyType: "json",
|
|
19335
19741
|
bodyType: "json",
|
|
19336
19742
|
});
|
|
19337
|
-
|
|
19743
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19744
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
|
|
19745
|
+
}
|
|
19746
|
+
else {
|
|
19747
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
|
|
19748
|
+
}
|
|
19338
19749
|
}
|
|
19339
19750
|
/**
|
|
19340
19751
|
* Queries cluster diagnostic items.
|
|
@@ -19376,7 +19787,12 @@ class Client extends openapi_core_1.default {
|
|
|
19376
19787
|
reqBodyType: "json",
|
|
19377
19788
|
bodyType: "json",
|
|
19378
19789
|
});
|
|
19379
|
-
|
|
19790
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19791
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
|
|
19792
|
+
}
|
|
19793
|
+
else {
|
|
19794
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
|
|
19795
|
+
}
|
|
19380
19796
|
}
|
|
19381
19797
|
/**
|
|
19382
19798
|
* Queries cluster diagnostic results.
|
|
@@ -19430,7 +19846,12 @@ class Client extends openapi_core_1.default {
|
|
|
19430
19846
|
reqBodyType: "json",
|
|
19431
19847
|
bodyType: "array",
|
|
19432
19848
|
});
|
|
19433
|
-
|
|
19849
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19850
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
19851
|
+
}
|
|
19852
|
+
else {
|
|
19853
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
19854
|
+
}
|
|
19434
19855
|
}
|
|
19435
19856
|
/**
|
|
19436
19857
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
@@ -19471,7 +19892,12 @@ class Client extends openapi_core_1.default {
|
|
|
19471
19892
|
reqBodyType: "json",
|
|
19472
19893
|
bodyType: "json",
|
|
19473
19894
|
});
|
|
19474
|
-
|
|
19895
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19896
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
19897
|
+
}
|
|
19898
|
+
else {
|
|
19899
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
19900
|
+
}
|
|
19475
19901
|
}
|
|
19476
19902
|
/**
|
|
19477
19903
|
* You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
@@ -19515,7 +19941,12 @@ class Client extends openapi_core_1.default {
|
|
|
19515
19941
|
reqBodyType: "json",
|
|
19516
19942
|
bodyType: "none",
|
|
19517
19943
|
});
|
|
19518
|
-
|
|
19944
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19945
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
19946
|
+
}
|
|
19947
|
+
else {
|
|
19948
|
+
return $dara.cast(await this.execute(params, req, runtime), new GrantPermissionsResponse({}));
|
|
19949
|
+
}
|
|
19519
19950
|
}
|
|
19520
19951
|
/**
|
|
19521
19952
|
* Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
@@ -19558,7 +19989,12 @@ class Client extends openapi_core_1.default {
|
|
|
19558
19989
|
reqBodyType: "json",
|
|
19559
19990
|
bodyType: "json",
|
|
19560
19991
|
});
|
|
19561
|
-
|
|
19992
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19993
|
+
return $dara.cast(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
19994
|
+
}
|
|
19995
|
+
else {
|
|
19996
|
+
return $dara.cast(await this.execute(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
19997
|
+
}
|
|
19562
19998
|
}
|
|
19563
19999
|
/**
|
|
19564
20000
|
* 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.
|
|
@@ -19615,7 +20051,12 @@ class Client extends openapi_core_1.default {
|
|
|
19615
20051
|
reqBodyType: "json",
|
|
19616
20052
|
bodyType: "json",
|
|
19617
20053
|
});
|
|
19618
|
-
|
|
20054
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20055
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
20056
|
+
}
|
|
20057
|
+
else {
|
|
20058
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListAddonsResponse({}));
|
|
20059
|
+
}
|
|
19619
20060
|
}
|
|
19620
20061
|
/**
|
|
19621
20062
|
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
@@ -19650,7 +20091,12 @@ class Client extends openapi_core_1.default {
|
|
|
19650
20091
|
reqBodyType: "json",
|
|
19651
20092
|
bodyType: "json",
|
|
19652
20093
|
});
|
|
19653
|
-
|
|
20094
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20095
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
20096
|
+
}
|
|
20097
|
+
else {
|
|
20098
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
20099
|
+
}
|
|
19654
20100
|
}
|
|
19655
20101
|
/**
|
|
19656
20102
|
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
@@ -19693,7 +20139,12 @@ class Client extends openapi_core_1.default {
|
|
|
19693
20139
|
reqBodyType: "json",
|
|
19694
20140
|
bodyType: "json",
|
|
19695
20141
|
});
|
|
19696
|
-
|
|
20142
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20143
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
20144
|
+
}
|
|
20145
|
+
else {
|
|
20146
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterChecksResponse({}));
|
|
20147
|
+
}
|
|
19697
20148
|
}
|
|
19698
20149
|
/**
|
|
19699
20150
|
* You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
@@ -19742,7 +20193,12 @@ class Client extends openapi_core_1.default {
|
|
|
19742
20193
|
reqBodyType: "json",
|
|
19743
20194
|
bodyType: "json",
|
|
19744
20195
|
});
|
|
19745
|
-
|
|
20196
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20197
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
|
|
20198
|
+
}
|
|
20199
|
+
else {
|
|
20200
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
|
|
20201
|
+
}
|
|
19746
20202
|
}
|
|
19747
20203
|
/**
|
|
19748
20204
|
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
@@ -19791,7 +20247,12 @@ class Client extends openapi_core_1.default {
|
|
|
19791
20247
|
reqBodyType: "json",
|
|
19792
20248
|
bodyType: "json",
|
|
19793
20249
|
});
|
|
19794
|
-
|
|
20250
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20251
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
20252
|
+
}
|
|
20253
|
+
else {
|
|
20254
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListOperationPlansResponse({}));
|
|
20255
|
+
}
|
|
19795
20256
|
}
|
|
19796
20257
|
/**
|
|
19797
20258
|
* Queries the automated maintenance schedules of a cluster.
|
|
@@ -19853,7 +20314,12 @@ class Client extends openapi_core_1.default {
|
|
|
19853
20314
|
reqBodyType: "json",
|
|
19854
20315
|
bodyType: "json",
|
|
19855
20316
|
});
|
|
19856
|
-
|
|
20317
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20318
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
20319
|
+
}
|
|
20320
|
+
else {
|
|
20321
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
20322
|
+
}
|
|
19857
20323
|
}
|
|
19858
20324
|
/**
|
|
19859
20325
|
* 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.
|
|
@@ -19901,7 +20367,12 @@ class Client extends openapi_core_1.default {
|
|
|
19901
20367
|
reqBodyType: "json",
|
|
19902
20368
|
bodyType: "json",
|
|
19903
20369
|
});
|
|
19904
|
-
|
|
20370
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20371
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
|
|
20372
|
+
}
|
|
20373
|
+
else {
|
|
20374
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
|
|
20375
|
+
}
|
|
19905
20376
|
}
|
|
19906
20377
|
/**
|
|
19907
20378
|
* You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
@@ -19949,7 +20420,12 @@ class Client extends openapi_core_1.default {
|
|
|
19949
20420
|
reqBodyType: "json",
|
|
19950
20421
|
bodyType: "json",
|
|
19951
20422
|
});
|
|
19952
|
-
|
|
20423
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20424
|
+
return $dara.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
20425
|
+
}
|
|
20426
|
+
else {
|
|
20427
|
+
return $dara.cast(await this.execute(params, req, runtime), new MigrateClusterResponse({}));
|
|
20428
|
+
}
|
|
19953
20429
|
}
|
|
19954
20430
|
/**
|
|
19955
20431
|
* 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.
|
|
@@ -20036,7 +20512,12 @@ class Client extends openapi_core_1.default {
|
|
|
20036
20512
|
reqBodyType: "json",
|
|
20037
20513
|
bodyType: "json",
|
|
20038
20514
|
});
|
|
20039
|
-
|
|
20515
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20516
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
20517
|
+
}
|
|
20518
|
+
else {
|
|
20519
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterResponse({}));
|
|
20520
|
+
}
|
|
20040
20521
|
}
|
|
20041
20522
|
/**
|
|
20042
20523
|
* You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
@@ -20084,7 +20565,12 @@ class Client extends openapi_core_1.default {
|
|
|
20084
20565
|
reqBodyType: "json",
|
|
20085
20566
|
bodyType: "none",
|
|
20086
20567
|
});
|
|
20087
|
-
|
|
20568
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20569
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
20570
|
+
}
|
|
20571
|
+
else {
|
|
20572
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
20573
|
+
}
|
|
20088
20574
|
}
|
|
20089
20575
|
/**
|
|
20090
20576
|
* 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.
|
|
@@ -20135,7 +20621,12 @@ class Client extends openapi_core_1.default {
|
|
|
20135
20621
|
reqBodyType: "json",
|
|
20136
20622
|
bodyType: "none",
|
|
20137
20623
|
});
|
|
20138
|
-
|
|
20624
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20625
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
20626
|
+
}
|
|
20627
|
+
else {
|
|
20628
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
20629
|
+
}
|
|
20139
20630
|
}
|
|
20140
20631
|
/**
|
|
20141
20632
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
@@ -20201,7 +20692,12 @@ class Client extends openapi_core_1.default {
|
|
|
20201
20692
|
reqBodyType: "json",
|
|
20202
20693
|
bodyType: "json",
|
|
20203
20694
|
});
|
|
20204
|
-
|
|
20695
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20696
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
20697
|
+
}
|
|
20698
|
+
else {
|
|
20699
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
20700
|
+
}
|
|
20205
20701
|
}
|
|
20206
20702
|
/**
|
|
20207
20703
|
* You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
@@ -20239,7 +20735,12 @@ class Client extends openapi_core_1.default {
|
|
|
20239
20735
|
reqBodyType: "json",
|
|
20240
20736
|
bodyType: "none",
|
|
20241
20737
|
});
|
|
20242
|
-
|
|
20738
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20739
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
20740
|
+
}
|
|
20741
|
+
else {
|
|
20742
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
20743
|
+
}
|
|
20243
20744
|
}
|
|
20244
20745
|
/**
|
|
20245
20746
|
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
@@ -20290,7 +20791,12 @@ class Client extends openapi_core_1.default {
|
|
|
20290
20791
|
reqBodyType: "json",
|
|
20291
20792
|
bodyType: "json",
|
|
20292
20793
|
});
|
|
20293
|
-
|
|
20794
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20795
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
20796
|
+
}
|
|
20797
|
+
else {
|
|
20798
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
20799
|
+
}
|
|
20294
20800
|
}
|
|
20295
20801
|
/**
|
|
20296
20802
|
* 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.
|
|
@@ -20344,7 +20850,12 @@ class Client extends openapi_core_1.default {
|
|
|
20344
20850
|
reqBodyType: "json",
|
|
20345
20851
|
bodyType: "json",
|
|
20346
20852
|
});
|
|
20347
|
-
|
|
20853
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20854
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
20855
|
+
}
|
|
20856
|
+
else {
|
|
20857
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
20858
|
+
}
|
|
20348
20859
|
}
|
|
20349
20860
|
/**
|
|
20350
20861
|
* Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
|
|
@@ -20390,7 +20901,12 @@ class Client extends openapi_core_1.default {
|
|
|
20390
20901
|
reqBodyType: "json",
|
|
20391
20902
|
bodyType: "json",
|
|
20392
20903
|
});
|
|
20393
|
-
|
|
20904
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20905
|
+
return $dara.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
20906
|
+
}
|
|
20907
|
+
else {
|
|
20908
|
+
return $dara.cast(await this.execute(params, req, runtime), new OpenAckServiceResponse({}));
|
|
20909
|
+
}
|
|
20394
20910
|
}
|
|
20395
20911
|
/**
|
|
20396
20912
|
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
@@ -20432,7 +20948,12 @@ class Client extends openapi_core_1.default {
|
|
|
20432
20948
|
reqBodyType: "json",
|
|
20433
20949
|
bodyType: "none",
|
|
20434
20950
|
});
|
|
20435
|
-
|
|
20951
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20952
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
20953
|
+
}
|
|
20954
|
+
else {
|
|
20955
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
20956
|
+
}
|
|
20436
20957
|
}
|
|
20437
20958
|
/**
|
|
20438
20959
|
* You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -20471,7 +20992,12 @@ class Client extends openapi_core_1.default {
|
|
|
20471
20992
|
reqBodyType: "json",
|
|
20472
20993
|
bodyType: "none",
|
|
20473
20994
|
});
|
|
20474
|
-
|
|
20995
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20996
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
20997
|
+
}
|
|
20998
|
+
else {
|
|
20999
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
21000
|
+
}
|
|
20475
21001
|
}
|
|
20476
21002
|
/**
|
|
20477
21003
|
* You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
@@ -20507,7 +21033,12 @@ class Client extends openapi_core_1.default {
|
|
|
20507
21033
|
reqBodyType: "json",
|
|
20508
21034
|
bodyType: "none",
|
|
20509
21035
|
});
|
|
20510
|
-
|
|
21036
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21037
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
21038
|
+
}
|
|
21039
|
+
else {
|
|
21040
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseTaskResponse({}));
|
|
21041
|
+
}
|
|
20511
21042
|
}
|
|
20512
21043
|
/**
|
|
20513
21044
|
* Pauses an on-going task.
|
|
@@ -20563,7 +21094,12 @@ class Client extends openapi_core_1.default {
|
|
|
20563
21094
|
reqBodyType: "json",
|
|
20564
21095
|
bodyType: "none",
|
|
20565
21096
|
});
|
|
20566
|
-
|
|
21097
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21098
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
21099
|
+
}
|
|
21100
|
+
else {
|
|
21101
|
+
return $dara.cast(await this.execute(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
21102
|
+
}
|
|
20567
21103
|
}
|
|
20568
21104
|
/**
|
|
20569
21105
|
* You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -20642,7 +21178,12 @@ class Client extends openapi_core_1.default {
|
|
|
20642
21178
|
reqBodyType: "json",
|
|
20643
21179
|
bodyType: "json",
|
|
20644
21180
|
});
|
|
20645
|
-
|
|
21181
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21182
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
21183
|
+
}
|
|
21184
|
+
else {
|
|
21185
|
+
return $dara.cast(await this.execute(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
21186
|
+
}
|
|
20646
21187
|
}
|
|
20647
21188
|
/**
|
|
20648
21189
|
* Removes nodes from a node pool.
|
|
@@ -20697,7 +21238,12 @@ class Client extends openapi_core_1.default {
|
|
|
20697
21238
|
reqBodyType: "json",
|
|
20698
21239
|
bodyType: "json",
|
|
20699
21240
|
});
|
|
20700
|
-
|
|
21241
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21242
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
21243
|
+
}
|
|
21244
|
+
else {
|
|
21245
|
+
return $dara.cast(await this.execute(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
21246
|
+
}
|
|
20701
21247
|
}
|
|
20702
21248
|
/**
|
|
20703
21249
|
* Repairs a node pool.
|
|
@@ -20735,7 +21281,12 @@ class Client extends openapi_core_1.default {
|
|
|
20735
21281
|
reqBodyType: "json",
|
|
20736
21282
|
bodyType: "none",
|
|
20737
21283
|
});
|
|
20738
|
-
|
|
21284
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21285
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
21286
|
+
}
|
|
21287
|
+
else {
|
|
21288
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
21289
|
+
}
|
|
20739
21290
|
}
|
|
20740
21291
|
/**
|
|
20741
21292
|
* You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
@@ -20771,7 +21322,12 @@ class Client extends openapi_core_1.default {
|
|
|
20771
21322
|
reqBodyType: "json",
|
|
20772
21323
|
bodyType: "none",
|
|
20773
21324
|
});
|
|
20774
|
-
|
|
21325
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21326
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
21327
|
+
}
|
|
21328
|
+
else {
|
|
21329
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeTaskResponse({}));
|
|
21330
|
+
}
|
|
20775
21331
|
}
|
|
20776
21332
|
/**
|
|
20777
21333
|
* Resumes a task.
|
|
@@ -20807,7 +21363,12 @@ class Client extends openapi_core_1.default {
|
|
|
20807
21363
|
reqBodyType: "json",
|
|
20808
21364
|
bodyType: "none",
|
|
20809
21365
|
});
|
|
20810
|
-
|
|
21366
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21367
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
21368
|
+
}
|
|
21369
|
+
else {
|
|
21370
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
21371
|
+
}
|
|
20811
21372
|
}
|
|
20812
21373
|
/**
|
|
20813
21374
|
* You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
@@ -20843,7 +21404,12 @@ class Client extends openapi_core_1.default {
|
|
|
20843
21404
|
reqBodyType: "json",
|
|
20844
21405
|
bodyType: "json",
|
|
20845
21406
|
});
|
|
20846
|
-
|
|
21407
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21408
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
21409
|
+
}
|
|
21410
|
+
else {
|
|
21411
|
+
return $dara.cast(await this.execute(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
21412
|
+
}
|
|
20847
21413
|
}
|
|
20848
21414
|
/**
|
|
20849
21415
|
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
@@ -20889,7 +21455,12 @@ class Client extends openapi_core_1.default {
|
|
|
20889
21455
|
reqBodyType: "json",
|
|
20890
21456
|
bodyType: "json",
|
|
20891
21457
|
});
|
|
20892
|
-
|
|
21458
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21459
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
21460
|
+
}
|
|
21461
|
+
else {
|
|
21462
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunClusterCheckResponse({}));
|
|
21463
|
+
}
|
|
20893
21464
|
}
|
|
20894
21465
|
/**
|
|
20895
21466
|
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
@@ -20988,7 +21559,12 @@ class Client extends openapi_core_1.default {
|
|
|
20988
21559
|
reqBodyType: "json",
|
|
20989
21560
|
bodyType: "json",
|
|
20990
21561
|
});
|
|
20991
|
-
|
|
21562
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21563
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
|
|
21564
|
+
}
|
|
21565
|
+
else {
|
|
21566
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleClusterResponse({}));
|
|
21567
|
+
}
|
|
20992
21568
|
}
|
|
20993
21569
|
/**
|
|
20994
21570
|
* 扩容Kubernetes集群
|
|
@@ -21033,7 +21609,12 @@ class Client extends openapi_core_1.default {
|
|
|
21033
21609
|
reqBodyType: "json",
|
|
21034
21610
|
bodyType: "json",
|
|
21035
21611
|
});
|
|
21036
|
-
|
|
21612
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21613
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
21614
|
+
}
|
|
21615
|
+
else {
|
|
21616
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
21617
|
+
}
|
|
21037
21618
|
}
|
|
21038
21619
|
/**
|
|
21039
21620
|
* Scales out a node pool.
|
|
@@ -21139,7 +21720,12 @@ class Client extends openapi_core_1.default {
|
|
|
21139
21720
|
reqBodyType: "json",
|
|
21140
21721
|
bodyType: "json",
|
|
21141
21722
|
});
|
|
21142
|
-
|
|
21723
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21724
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
21725
|
+
}
|
|
21726
|
+
else {
|
|
21727
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
21728
|
+
}
|
|
21143
21729
|
}
|
|
21144
21730
|
/**
|
|
21145
21731
|
* You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
@@ -21178,7 +21764,12 @@ class Client extends openapi_core_1.default {
|
|
|
21178
21764
|
reqBodyType: "json",
|
|
21179
21765
|
bodyType: "json",
|
|
21180
21766
|
});
|
|
21181
|
-
|
|
21767
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21768
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
21769
|
+
}
|
|
21770
|
+
else {
|
|
21771
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
21772
|
+
}
|
|
21182
21773
|
}
|
|
21183
21774
|
/**
|
|
21184
21775
|
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
@@ -21219,7 +21810,12 @@ class Client extends openapi_core_1.default {
|
|
|
21219
21810
|
reqBodyType: "json",
|
|
21220
21811
|
bodyType: "json",
|
|
21221
21812
|
});
|
|
21222
|
-
|
|
21813
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21814
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
21815
|
+
}
|
|
21816
|
+
else {
|
|
21817
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartAlertResponse({}));
|
|
21818
|
+
}
|
|
21223
21819
|
}
|
|
21224
21820
|
/**
|
|
21225
21821
|
* @param request - StartAlertRequest
|
|
@@ -21262,7 +21858,12 @@ class Client extends openapi_core_1.default {
|
|
|
21262
21858
|
reqBodyType: "json",
|
|
21263
21859
|
bodyType: "json",
|
|
21264
21860
|
});
|
|
21265
|
-
|
|
21861
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21862
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
21863
|
+
}
|
|
21864
|
+
else {
|
|
21865
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopAlertResponse({}));
|
|
21866
|
+
}
|
|
21266
21867
|
}
|
|
21267
21868
|
/**
|
|
21268
21869
|
* 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).
|
|
@@ -21297,7 +21898,12 @@ class Client extends openapi_core_1.default {
|
|
|
21297
21898
|
reqBodyType: "json",
|
|
21298
21899
|
bodyType: "json",
|
|
21299
21900
|
});
|
|
21300
|
-
|
|
21901
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21902
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
21903
|
+
}
|
|
21904
|
+
else {
|
|
21905
|
+
return $dara.cast(await this.execute(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
21906
|
+
}
|
|
21301
21907
|
}
|
|
21302
21908
|
/**
|
|
21303
21909
|
* Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
@@ -21346,7 +21952,12 @@ class Client extends openapi_core_1.default {
|
|
|
21346
21952
|
reqBodyType: "json",
|
|
21347
21953
|
bodyType: "json",
|
|
21348
21954
|
});
|
|
21349
|
-
|
|
21955
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21956
|
+
return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
21957
|
+
}
|
|
21958
|
+
else {
|
|
21959
|
+
return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
21960
|
+
}
|
|
21350
21961
|
}
|
|
21351
21962
|
/**
|
|
21352
21963
|
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
@@ -21384,7 +21995,12 @@ class Client extends openapi_core_1.default {
|
|
|
21384
21995
|
reqBodyType: "json",
|
|
21385
21996
|
bodyType: "json",
|
|
21386
21997
|
});
|
|
21387
|
-
|
|
21998
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21999
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
22000
|
+
}
|
|
22001
|
+
else {
|
|
22002
|
+
return $dara.cast(await this.execute(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
22003
|
+
}
|
|
21388
22004
|
}
|
|
21389
22005
|
/**
|
|
21390
22006
|
* Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
|
|
@@ -21446,7 +22062,12 @@ class Client extends openapi_core_1.default {
|
|
|
21446
22062
|
reqBodyType: "json",
|
|
21447
22063
|
bodyType: "json",
|
|
21448
22064
|
});
|
|
21449
|
-
|
|
22065
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22066
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
22067
|
+
}
|
|
22068
|
+
else {
|
|
22069
|
+
return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
|
|
22070
|
+
}
|
|
21450
22071
|
}
|
|
21451
22072
|
/**
|
|
21452
22073
|
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
@@ -21494,7 +22115,12 @@ class Client extends openapi_core_1.default {
|
|
|
21494
22115
|
reqBodyType: "json",
|
|
21495
22116
|
bodyType: "json",
|
|
21496
22117
|
});
|
|
21497
|
-
|
|
22118
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22119
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
|
|
22120
|
+
}
|
|
22121
|
+
else {
|
|
22122
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
|
|
22123
|
+
}
|
|
21498
22124
|
}
|
|
21499
22125
|
/**
|
|
21500
22126
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
@@ -21548,7 +22174,12 @@ class Client extends openapi_core_1.default {
|
|
|
21548
22174
|
reqBodyType: "json",
|
|
21549
22175
|
bodyType: "json",
|
|
21550
22176
|
});
|
|
21551
|
-
|
|
22177
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22178
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
22179
|
+
}
|
|
22180
|
+
else {
|
|
22181
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
22182
|
+
}
|
|
21552
22183
|
}
|
|
21553
22184
|
/**
|
|
21554
22185
|
* null
|
|
@@ -21599,7 +22230,12 @@ class Client extends openapi_core_1.default {
|
|
|
21599
22230
|
reqBodyType: "json",
|
|
21600
22231
|
bodyType: "json",
|
|
21601
22232
|
});
|
|
21602
|
-
|
|
22233
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22234
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
22235
|
+
}
|
|
22236
|
+
else {
|
|
22237
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
22238
|
+
}
|
|
21603
22239
|
}
|
|
21604
22240
|
/**
|
|
21605
22241
|
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. 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-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
@@ -21648,7 +22284,12 @@ class Client extends openapi_core_1.default {
|
|
|
21648
22284
|
reqBodyType: "json",
|
|
21649
22285
|
bodyType: "none",
|
|
21650
22286
|
});
|
|
21651
|
-
|
|
22287
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22288
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
22289
|
+
}
|
|
22290
|
+
else {
|
|
22291
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
22292
|
+
}
|
|
21652
22293
|
}
|
|
21653
22294
|
/**
|
|
21654
22295
|
* 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.
|
|
@@ -21703,7 +22344,12 @@ class Client extends openapi_core_1.default {
|
|
|
21703
22344
|
reqBodyType: "json",
|
|
21704
22345
|
bodyType: "json",
|
|
21705
22346
|
});
|
|
21706
|
-
|
|
22347
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22348
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
|
|
22349
|
+
}
|
|
22350
|
+
else {
|
|
22351
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
|
|
22352
|
+
}
|
|
21707
22353
|
}
|
|
21708
22354
|
/**
|
|
21709
22355
|
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
@@ -21757,7 +22403,12 @@ class Client extends openapi_core_1.default {
|
|
|
21757
22403
|
reqBodyType: "json",
|
|
21758
22404
|
bodyType: "none",
|
|
21759
22405
|
});
|
|
21760
|
-
|
|
22406
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22407
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
22408
|
+
}
|
|
22409
|
+
else {
|
|
22410
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateTemplateResponse({}));
|
|
22411
|
+
}
|
|
21761
22412
|
}
|
|
21762
22413
|
/**
|
|
21763
22414
|
* Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
|
|
@@ -21804,7 +22455,12 @@ class Client extends openapi_core_1.default {
|
|
|
21804
22455
|
reqBodyType: "json",
|
|
21805
22456
|
bodyType: "none",
|
|
21806
22457
|
});
|
|
21807
|
-
|
|
22458
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22459
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
22460
|
+
}
|
|
22461
|
+
else {
|
|
22462
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
22463
|
+
}
|
|
21808
22464
|
}
|
|
21809
22465
|
/**
|
|
21810
22466
|
* Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
|
|
@@ -21869,7 +22525,12 @@ class Client extends openapi_core_1.default {
|
|
|
21869
22525
|
reqBodyType: "json",
|
|
21870
22526
|
bodyType: "json",
|
|
21871
22527
|
});
|
|
21872
|
-
|
|
22528
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22529
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
22530
|
+
}
|
|
22531
|
+
else {
|
|
22532
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterResponse({}));
|
|
22533
|
+
}
|
|
21873
22534
|
}
|
|
21874
22535
|
/**
|
|
21875
22536
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
@@ -21914,7 +22575,12 @@ class Client extends openapi_core_1.default {
|
|
|
21914
22575
|
reqBodyType: "json",
|
|
21915
22576
|
bodyType: "json",
|
|
21916
22577
|
});
|
|
21917
|
-
|
|
22578
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22579
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
22580
|
+
}
|
|
22581
|
+
else {
|
|
22582
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
22583
|
+
}
|
|
21918
22584
|
}
|
|
21919
22585
|
/**
|
|
21920
22586
|
* 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.
|
|
@@ -21977,7 +22643,12 @@ class Client extends openapi_core_1.default {
|
|
|
21977
22643
|
reqBodyType: "json",
|
|
21978
22644
|
bodyType: "json",
|
|
21979
22645
|
});
|
|
21980
|
-
|
|
22646
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22647
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
22648
|
+
}
|
|
22649
|
+
else {
|
|
22650
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
22651
|
+
}
|
|
21981
22652
|
}
|
|
21982
22653
|
/**
|
|
21983
22654
|
* You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|