@alicloud/cs20151215 3.3.4 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +239 -10
- package/dist/client.js +436 -19
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +515 -17
package/dist/client.js
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
2
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
15
|
if (mod && mod.__esModule) return mod;
|
|
4
16
|
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
6
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
7
19
|
return result;
|
|
8
20
|
};
|
|
9
21
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
23
|
};
|
|
12
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = exports.ScaleClusterRequestTags = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = exports.GetClusterAddonInstanceResponseBodyLogging = exports.FixNodePoolVulsRequestRolloutPolicy = exports.DescribeWorkflowsResponseBodyJobs = exports.DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota = exports.DescribeUserPermissionResponseBody = exports.DescribeTriggerResponseBody = exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = exports.DescribePolicyInstancesResponseBody = exports.DescribePolicyGovernanceInClusterResponseBodyViolations = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolations = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyOnState = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLog = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling = exports.DescribeClusterNodePoolDetailResponseBodyTeeConfig = exports.DescribeClusterNodePoolDetailResponseBodyStatus = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroup = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolDetailResponseBodyNodepoolInfo = exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagement = exports.DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyBody = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.AttachInstancesResponseBodyList = exports.NodepoolTeeConfig = exports.NodepoolScalingGroup = exports.NodepoolScalingGroupTags = exports.NodepoolScalingGroupSpotPriceLimit = exports.NodepoolScalingGroupPrivatePoolOptions = exports.NodepoolNodepoolInfo = exports.NodepoolNodeConfig = exports.NodepoolManagement = exports.NodepoolManagementUpgradeConfig = exports.NodepoolManagementAutoVulFixPolicy = exports.NodepoolManagementAutoUpgradePolicy = exports.NodepoolManagementAutoRepairPolicy = exports.NodepoolKubernetesConfig = exports.NodepoolInterconnectConfig = exports.NodepoolAutoScaling = exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SyncClusterNodePoolResponse = exports.SyncClusterNodePoolResponseBody = exports.StopAlertResponse = exports.StopAlertResponseBody = exports.StopAlertRequest = exports.StartWorkflowResponse = exports.StartWorkflowResponseBody = exports.StartWorkflowRequest = exports.StartAlertResponse = exports.StartAlertResponseBody = exports.StartAlertRequest = exports.ScanClusterVulsResponse = exports.ScanClusterVulsResponseBody = exports.ScaleOutClusterResponse = exports.ScaleOutClusterResponseBody = exports.ScaleOutClusterRequest = exports.ScaleClusterNodePoolResponse = exports.ScaleClusterNodePoolResponseBody = exports.ScaleClusterNodePoolRequest = exports.ScaleClusterResponse = exports.ScaleClusterResponseBody = exports.ScaleClusterRequest = exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveWorkflowResponse = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = exports.RemoveClusterNodesRequest = exports.PauseTaskResponse = exports.PauseComponentUpgradeResponse = exports.PauseClusterUpgradeResponse = exports.OpenAckServiceResponse = exports.OpenAckServiceResponseBody = exports.OpenAckServiceRequest = exports.ModifyPolicyInstanceResponse = exports.ModifyPolicyInstanceResponseBody = exports.ModifyPolicyInstanceRequest = exports.ModifyNodePoolNodeConfigResponse = exports.ModifyNodePoolNodeConfigResponseBody = exports.ModifyNodePoolNodeConfigRequest = exports.ModifyClusterTagsResponse = exports.ModifyClusterTagsRequest = exports.ModifyClusterNodePoolResponse = exports.ModifyClusterNodePoolResponseBody = exports.ModifyClusterNodePoolRequest = exports.ModifyClusterConfigurationResponse = exports.ModifyClusterConfigurationRequest = exports.ModifyClusterAddonResponse = exports.ModifyClusterAddonRequest = exports.ModifyClusterResponse = exports.ModifyClusterResponseBody = exports.ModifyClusterRequest = exports.MigrateClusterResponse = exports.MigrateClusterResponseBody = exports.MigrateClusterRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = exports.GetClusterAddonInstanceResponse = exports.GetClusterAddonInstanceResponseBody = exports.FixNodePoolVulsResponse = exports.FixNodePoolVulsResponseBody = exports.FixNodePoolVulsRequest = exports.EdgeClusterAddEdgeMachineResponse = exports.EdgeClusterAddEdgeMachineResponseBody = exports.EdgeClusterAddEdgeMachineRequest = exports.DescribeWorkflowsResponse = exports.DescribeWorkflowsResponseBody = exports.DescribeUserQuotaResponse = exports.DescribeUserQuotaResponseBody = exports.DescribeUserPermissionResponse = exports.DescribeUserClusterNamespacesResponse = exports.DescribeTriggerResponse = exports.DescribeTriggerRequest = exports.DescribeTemplatesResponse = exports.DescribeTemplatesResponseBody = exports.DescribeTemplatesRequest = exports.DescribeTemplateAttributeResponse = exports.DescribeTemplateAttributeRequest = exports.DescribeTaskInfoResponse = exports.DescribeTaskInfoResponseBody = exports.DescribeSubaccountK8sClusterUserConfigResponse = exports.DescribeSubaccountK8sClusterUserConfigResponseBody = exports.DescribeSubaccountK8sClusterUserConfigRequest = exports.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClusterResponse = exports.DescribePolicyGovernanceInClusterResponseBody = exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = exports.DescribeNodePoolVulsResponse = exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = exports.DescribeExternalAgentRequest = exports.DescribeEventsResponse = exports.DescribeEventsResponseBody = exports.DescribeEventsRequest = exports.DescribeEdgeMachinesResponse = exports.DescribeEdgeMachinesResponseBody = exports.DescribeEdgeMachinesRequest = exports.DescribeEdgeMachineTunnelConfigDetailResponse = exports.DescribeEdgeMachineTunnelConfigDetailResponseBody = exports.DescribeEdgeMachineModelsResponse = exports.DescribeEdgeMachineModelsResponseBody = exports.DescribeEdgeMachineActiveProcessResponse = exports.DescribeEdgeMachineActiveProcessResponseBody = exports.DescribeClustersV1Response = exports.DescribeClustersV1ResponseBody = exports.DescribeClustersV1Request = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.DescribeClusterVulsResponse = exports.DescribeClusterVulsResponseBody = exports.DescribeClusterV2UserKubeconfigResponse = exports.DescribeClusterV2UserKubeconfigResponseBody = exports.DescribeClusterV2UserKubeconfigRequest = exports.DescribeClusterUserKubeconfigResponse = exports.DescribeClusterUserKubeconfigResponseBody = exports.DescribeClusterUserKubeconfigRequest = exports.DescribeClusterTasksResponse = exports.DescribeClusterTasksResponseBody = exports.DescribeClusterTasksRequest = exports.DescribeClusterResourcesResponse = exports.DescribeClusterResourcesRequest = exports.DescribeClusterNodesResponse = exports.DescribeClusterNodesResponseBody = exports.DescribeClusterNodesRequest = exports.DescribeClusterNodePoolsResponse = exports.DescribeClusterNodePoolsResponseBody = exports.DescribeClusterNodePoolDetailResponse = exports.DescribeClusterNodePoolDetailResponseBody = exports.DescribeClusterLogsResponse = exports.DescribeClusterEventsResponse = exports.DescribeClusterEventsResponseBody = exports.DescribeClusterEventsRequest = exports.DescribeClusterDetailResponse = exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = exports.DescribeClusterAddonsUpgradeStatusRequest = exports.DescribeClusterAddonUpgradeStatusResponse = exports.DescribeClusterAddonMetadataResponse = exports.DescribeClusterAddonMetadataResponseBody = exports.DescribeClusterAddonInstanceResponse = exports.DescribeClusterAddonInstanceResponseBody = exports.DescribeAddonsResponse = exports.DescribeAddonsResponseBody = exports.DescribeAddonsRequest = exports.DescribeAddonResponse = exports.DescribeAddonResponseBody = exports.DescribeAddonRequest = exports.DescirbeWorkflowResponse = exports.DescirbeWorkflowResponseBody = exports.DeployPolicyInstanceResponse = exports.DeployPolicyInstanceResponseBody = exports.DeployPolicyInstanceRequest = exports.DeleteTriggerResponse = exports.DeleteTemplateResponse = exports.DeletePolicyInstanceResponse = exports.DeletePolicyInstanceResponseBody = exports.DeletePolicyInstanceRequest = exports.DeleteKubernetesTriggerResponse = exports.DeleteEdgeMachineResponse = exports.DeleteEdgeMachineRequest = exports.DeleteClusterNodesResponse = exports.DeleteClusterNodesResponseBody = exports.DeleteClusterNodesRequest = exports.DeleteClusterNodepoolResponse = exports.DeleteClusterNodepoolResponseBody = exports.DeleteClusterNodepoolRequest = exports.DeleteClusterResponse = exports.DeleteClusterResponseBody = exports.DeleteClusterShrinkRequest = exports.DeleteClusterRequest = exports.DeleteAlertContactGroupResponse = exports.DeleteAlertContactGroupShrinkRequest = exports.DeleteAlertContactGroupRequest = exports.DeleteAlertContactResponse = exports.DeleteAlertContactShrinkRequest = exports.DeleteAlertContactRequest = exports.CreateTriggerResponse = exports.CreateTriggerResponseBody = exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = exports.CreateKubernetesTriggerRequest = exports.CreateEdgeMachineResponse = exports.CreateEdgeMachineResponseBody = exports.CreateEdgeMachineRequest = exports.CreateClusterNodePoolResponse = exports.CreateClusterNodePoolResponseBody = exports.CreateClusterNodePoolRequest = exports.CreateClusterResponse = exports.CreateClusterResponseBody = exports.CreateClusterRequest = exports.CreateAutoscalingConfigResponse = exports.CreateAutoscalingConfigRequest = exports.CheckControlPlaneLogEnableResponse = exports.CheckControlPlaneLogEnableResponseBody = exports.CancelWorkflowResponse = exports.CancelWorkflowRequest = exports.CancelTaskResponse = exports.CancelOperationPlanResponse = exports.CancelOperationPlanResponseBody = exports.CancelComponentUpgradeResponse = exports.CancelClusterUpgradeResponse = exports.AttachInstancesToNodePoolResponse = exports.AttachInstancesToNodePoolResponseBody = exports.AttachInstancesToNodePoolRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.QuotasValue = exports.StandardComponentsValue = exports.Taint = exports.Tag = exports.Runtime = exports.Nodepool = exports.MaintenanceWindow = exports.KubeletConfig = exports.DataDisk = exports.Addon = void 0;
|
|
13
26
|
// This file is auto-generated, don't edit it
|
|
14
27
|
/**
|
|
15
28
|
*
|
|
@@ -1219,6 +1232,38 @@ class CreateTriggerResponse extends $tea.Model {
|
|
|
1219
1232
|
}
|
|
1220
1233
|
}
|
|
1221
1234
|
exports.CreateTriggerResponse = CreateTriggerResponse;
|
|
1235
|
+
class DeleteAlertContactRequest extends $tea.Model {
|
|
1236
|
+
constructor(map) {
|
|
1237
|
+
super(map);
|
|
1238
|
+
}
|
|
1239
|
+
static names() {
|
|
1240
|
+
return {
|
|
1241
|
+
contactIds: 'contact_ids',
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
static types() {
|
|
1245
|
+
return {
|
|
1246
|
+
contactIds: { 'type': 'array', 'itemType': 'number' },
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
exports.DeleteAlertContactRequest = DeleteAlertContactRequest;
|
|
1251
|
+
class DeleteAlertContactShrinkRequest extends $tea.Model {
|
|
1252
|
+
constructor(map) {
|
|
1253
|
+
super(map);
|
|
1254
|
+
}
|
|
1255
|
+
static names() {
|
|
1256
|
+
return {
|
|
1257
|
+
contactIdsShrink: 'contact_ids',
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
static types() {
|
|
1261
|
+
return {
|
|
1262
|
+
contactIdsShrink: 'string',
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
exports.DeleteAlertContactShrinkRequest = DeleteAlertContactShrinkRequest;
|
|
1222
1267
|
class DeleteAlertContactResponse extends $tea.Model {
|
|
1223
1268
|
constructor(map) {
|
|
1224
1269
|
super(map);
|
|
@@ -1227,16 +1272,50 @@ class DeleteAlertContactResponse extends $tea.Model {
|
|
|
1227
1272
|
return {
|
|
1228
1273
|
headers: 'headers',
|
|
1229
1274
|
statusCode: 'statusCode',
|
|
1275
|
+
body: 'body',
|
|
1230
1276
|
};
|
|
1231
1277
|
}
|
|
1232
1278
|
static types() {
|
|
1233
1279
|
return {
|
|
1234
1280
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1235
1281
|
statusCode: 'number',
|
|
1282
|
+
body: DeleteAlertContactResponseBody,
|
|
1236
1283
|
};
|
|
1237
1284
|
}
|
|
1238
1285
|
}
|
|
1239
1286
|
exports.DeleteAlertContactResponse = DeleteAlertContactResponse;
|
|
1287
|
+
class DeleteAlertContactGroupRequest extends $tea.Model {
|
|
1288
|
+
constructor(map) {
|
|
1289
|
+
super(map);
|
|
1290
|
+
}
|
|
1291
|
+
static names() {
|
|
1292
|
+
return {
|
|
1293
|
+
contactGroupIds: 'contact_group_ids',
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
static types() {
|
|
1297
|
+
return {
|
|
1298
|
+
contactGroupIds: { 'type': 'array', 'itemType': 'number' },
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
exports.DeleteAlertContactGroupRequest = DeleteAlertContactGroupRequest;
|
|
1303
|
+
class DeleteAlertContactGroupShrinkRequest extends $tea.Model {
|
|
1304
|
+
constructor(map) {
|
|
1305
|
+
super(map);
|
|
1306
|
+
}
|
|
1307
|
+
static names() {
|
|
1308
|
+
return {
|
|
1309
|
+
contactGroupIdsShrink: 'contact_group_ids',
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
static types() {
|
|
1313
|
+
return {
|
|
1314
|
+
contactGroupIdsShrink: 'string',
|
|
1315
|
+
};
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
exports.DeleteAlertContactGroupShrinkRequest = DeleteAlertContactGroupShrinkRequest;
|
|
1240
1319
|
class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
1241
1320
|
constructor(map) {
|
|
1242
1321
|
super(map);
|
|
@@ -1245,12 +1324,14 @@ class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
|
1245
1324
|
return {
|
|
1246
1325
|
headers: 'headers',
|
|
1247
1326
|
statusCode: 'statusCode',
|
|
1327
|
+
body: 'body',
|
|
1248
1328
|
};
|
|
1249
1329
|
}
|
|
1250
1330
|
static types() {
|
|
1251
1331
|
return {
|
|
1252
1332
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1253
1333
|
statusCode: 'number',
|
|
1334
|
+
body: { 'type': 'array', 'itemType': DeleteAlertContactGroupResponseBody },
|
|
1254
1335
|
};
|
|
1255
1336
|
}
|
|
1256
1337
|
}
|
|
@@ -2389,6 +2470,22 @@ class DescribeClusterNodesResponse extends $tea.Model {
|
|
|
2389
2470
|
}
|
|
2390
2471
|
}
|
|
2391
2472
|
exports.DescribeClusterNodesResponse = DescribeClusterNodesResponse;
|
|
2473
|
+
class DescribeClusterResourcesRequest extends $tea.Model {
|
|
2474
|
+
constructor(map) {
|
|
2475
|
+
super(map);
|
|
2476
|
+
}
|
|
2477
|
+
static names() {
|
|
2478
|
+
return {
|
|
2479
|
+
withAddonResources: 'with_addon_resources',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
static types() {
|
|
2483
|
+
return {
|
|
2484
|
+
withAddonResources: 'boolean',
|
|
2485
|
+
};
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
exports.DescribeClusterResourcesRequest = DescribeClusterResourcesRequest;
|
|
2392
2489
|
class DescribeClusterResourcesResponse extends $tea.Model {
|
|
2393
2490
|
constructor(map) {
|
|
2394
2491
|
super(map);
|
|
@@ -4153,11 +4250,13 @@ class ListClusterChecksRequest extends $tea.Model {
|
|
|
4153
4250
|
}
|
|
4154
4251
|
static names() {
|
|
4155
4252
|
return {
|
|
4253
|
+
target: 'target',
|
|
4156
4254
|
type: 'type',
|
|
4157
4255
|
};
|
|
4158
4256
|
}
|
|
4159
4257
|
static types() {
|
|
4160
4258
|
return {
|
|
4259
|
+
target: 'string',
|
|
4161
4260
|
type: 'string',
|
|
4162
4261
|
};
|
|
4163
4262
|
}
|
|
@@ -5134,12 +5233,14 @@ class RunClusterCheckRequest extends $tea.Model {
|
|
|
5134
5233
|
static names() {
|
|
5135
5234
|
return {
|
|
5136
5235
|
options: 'options',
|
|
5236
|
+
target: 'target',
|
|
5137
5237
|
type: 'type',
|
|
5138
5238
|
};
|
|
5139
5239
|
}
|
|
5140
5240
|
static types() {
|
|
5141
5241
|
return {
|
|
5142
5242
|
options: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5243
|
+
target: 'string',
|
|
5143
5244
|
type: 'string',
|
|
5144
5245
|
};
|
|
5145
5246
|
}
|
|
@@ -5461,6 +5562,24 @@ class ScanClusterVulsResponse extends $tea.Model {
|
|
|
5461
5562
|
}
|
|
5462
5563
|
}
|
|
5463
5564
|
exports.ScanClusterVulsResponse = ScanClusterVulsResponse;
|
|
5565
|
+
class StartAlertRequest extends $tea.Model {
|
|
5566
|
+
constructor(map) {
|
|
5567
|
+
super(map);
|
|
5568
|
+
}
|
|
5569
|
+
static names() {
|
|
5570
|
+
return {
|
|
5571
|
+
alertRuleGroupName: 'alert_rule_group_name',
|
|
5572
|
+
alertRuleName: 'alert_rule_name',
|
|
5573
|
+
};
|
|
5574
|
+
}
|
|
5575
|
+
static types() {
|
|
5576
|
+
return {
|
|
5577
|
+
alertRuleGroupName: 'string',
|
|
5578
|
+
alertRuleName: 'string',
|
|
5579
|
+
};
|
|
5580
|
+
}
|
|
5581
|
+
}
|
|
5582
|
+
exports.StartAlertRequest = StartAlertRequest;
|
|
5464
5583
|
class StartAlertResponseBody extends $tea.Model {
|
|
5465
5584
|
constructor(map) {
|
|
5466
5585
|
super(map);
|
|
@@ -5587,6 +5706,24 @@ class StartWorkflowResponse extends $tea.Model {
|
|
|
5587
5706
|
}
|
|
5588
5707
|
}
|
|
5589
5708
|
exports.StartWorkflowResponse = StartWorkflowResponse;
|
|
5709
|
+
class StopAlertRequest extends $tea.Model {
|
|
5710
|
+
constructor(map) {
|
|
5711
|
+
super(map);
|
|
5712
|
+
}
|
|
5713
|
+
static names() {
|
|
5714
|
+
return {
|
|
5715
|
+
alertRuleGroupName: 'alert_rule_group_name',
|
|
5716
|
+
alertRuleName: 'alert_rule_name',
|
|
5717
|
+
};
|
|
5718
|
+
}
|
|
5719
|
+
static types() {
|
|
5720
|
+
return {
|
|
5721
|
+
alertRuleGroupName: 'string',
|
|
5722
|
+
alertRuleName: 'string',
|
|
5723
|
+
};
|
|
5724
|
+
}
|
|
5725
|
+
}
|
|
5726
|
+
exports.StopAlertRequest = StopAlertRequest;
|
|
5590
5727
|
class StopAlertResponseBody extends $tea.Model {
|
|
5591
5728
|
constructor(map) {
|
|
5592
5729
|
super(map);
|
|
@@ -5995,6 +6132,42 @@ class UpdateTemplateResponse extends $tea.Model {
|
|
|
5995
6132
|
}
|
|
5996
6133
|
}
|
|
5997
6134
|
exports.UpdateTemplateResponse = UpdateTemplateResponse;
|
|
6135
|
+
class UpdateUserPermissionsRequest extends $tea.Model {
|
|
6136
|
+
constructor(map) {
|
|
6137
|
+
super(map);
|
|
6138
|
+
}
|
|
6139
|
+
static names() {
|
|
6140
|
+
return {
|
|
6141
|
+
body: 'body',
|
|
6142
|
+
mode: 'mode',
|
|
6143
|
+
};
|
|
6144
|
+
}
|
|
6145
|
+
static types() {
|
|
6146
|
+
return {
|
|
6147
|
+
body: { 'type': 'array', 'itemType': UpdateUserPermissionsRequestBody },
|
|
6148
|
+
mode: 'string',
|
|
6149
|
+
};
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
exports.UpdateUserPermissionsRequest = UpdateUserPermissionsRequest;
|
|
6153
|
+
class UpdateUserPermissionsResponse extends $tea.Model {
|
|
6154
|
+
constructor(map) {
|
|
6155
|
+
super(map);
|
|
6156
|
+
}
|
|
6157
|
+
static names() {
|
|
6158
|
+
return {
|
|
6159
|
+
headers: 'headers',
|
|
6160
|
+
statusCode: 'statusCode',
|
|
6161
|
+
};
|
|
6162
|
+
}
|
|
6163
|
+
static types() {
|
|
6164
|
+
return {
|
|
6165
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6166
|
+
statusCode: 'number',
|
|
6167
|
+
};
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
exports.UpdateUserPermissionsResponse = UpdateUserPermissionsResponse;
|
|
5998
6171
|
class UpgradeClusterRequest extends $tea.Model {
|
|
5999
6172
|
constructor(map) {
|
|
6000
6173
|
super(map);
|
|
@@ -6099,16 +6272,22 @@ class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
6099
6272
|
return {
|
|
6100
6273
|
imageId: 'image_id',
|
|
6101
6274
|
kubernetesVersion: 'kubernetes_version',
|
|
6275
|
+
nodeNames: 'node_names',
|
|
6276
|
+
rollingPolicy: 'rolling_policy',
|
|
6102
6277
|
runtimeType: 'runtime_type',
|
|
6103
6278
|
runtimeVersion: 'runtime_version',
|
|
6279
|
+
useReplace: 'use_replace',
|
|
6104
6280
|
};
|
|
6105
6281
|
}
|
|
6106
6282
|
static types() {
|
|
6107
6283
|
return {
|
|
6108
6284
|
imageId: 'string',
|
|
6109
6285
|
kubernetesVersion: 'string',
|
|
6286
|
+
nodeNames: { 'type': 'array', 'itemType': 'string' },
|
|
6287
|
+
rollingPolicy: UpgradeClusterNodepoolRequestRollingPolicy,
|
|
6110
6288
|
runtimeType: 'string',
|
|
6111
6289
|
runtimeVersion: 'string',
|
|
6290
|
+
useReplace: 'boolean',
|
|
6112
6291
|
};
|
|
6113
6292
|
}
|
|
6114
6293
|
}
|
|
@@ -6971,6 +7150,62 @@ class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
6971
7150
|
}
|
|
6972
7151
|
}
|
|
6973
7152
|
exports.CreateClusterNodePoolRequestTeeConfig = CreateClusterNodePoolRequestTeeConfig;
|
|
7153
|
+
class DeleteAlertContactResponseBodyBody extends $tea.Model {
|
|
7154
|
+
constructor(map) {
|
|
7155
|
+
super(map);
|
|
7156
|
+
}
|
|
7157
|
+
static names() {
|
|
7158
|
+
return {
|
|
7159
|
+
status: 'status',
|
|
7160
|
+
msg: 'msg',
|
|
7161
|
+
contactId: 'contact_id',
|
|
7162
|
+
};
|
|
7163
|
+
}
|
|
7164
|
+
static types() {
|
|
7165
|
+
return {
|
|
7166
|
+
status: 'boolean',
|
|
7167
|
+
msg: 'string',
|
|
7168
|
+
contactId: 'string',
|
|
7169
|
+
};
|
|
7170
|
+
}
|
|
7171
|
+
}
|
|
7172
|
+
exports.DeleteAlertContactResponseBodyBody = DeleteAlertContactResponseBodyBody;
|
|
7173
|
+
class DeleteAlertContactResponseBody extends $tea.Model {
|
|
7174
|
+
constructor(map) {
|
|
7175
|
+
super(map);
|
|
7176
|
+
}
|
|
7177
|
+
static names() {
|
|
7178
|
+
return {
|
|
7179
|
+
body: 'body',
|
|
7180
|
+
};
|
|
7181
|
+
}
|
|
7182
|
+
static types() {
|
|
7183
|
+
return {
|
|
7184
|
+
body: { 'type': 'array', 'itemType': DeleteAlertContactResponseBodyBody },
|
|
7185
|
+
};
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
exports.DeleteAlertContactResponseBody = DeleteAlertContactResponseBody;
|
|
7189
|
+
class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
7190
|
+
constructor(map) {
|
|
7191
|
+
super(map);
|
|
7192
|
+
}
|
|
7193
|
+
static names() {
|
|
7194
|
+
return {
|
|
7195
|
+
status: 'status',
|
|
7196
|
+
msg: 'msg',
|
|
7197
|
+
contactGroupId: 'contact_group_id',
|
|
7198
|
+
};
|
|
7199
|
+
}
|
|
7200
|
+
static types() {
|
|
7201
|
+
return {
|
|
7202
|
+
status: 'boolean',
|
|
7203
|
+
msg: 'string',
|
|
7204
|
+
contactGroupId: 'string',
|
|
7205
|
+
};
|
|
7206
|
+
}
|
|
7207
|
+
}
|
|
7208
|
+
exports.DeleteAlertContactGroupResponseBody = DeleteAlertContactGroupResponseBody;
|
|
6974
7209
|
class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
|
|
6975
7210
|
constructor(map) {
|
|
6976
7211
|
super(map);
|
|
@@ -8083,6 +8318,44 @@ class DescribeClusterResourcesResponseBodyDependencies extends $tea.Model {
|
|
|
8083
8318
|
}
|
|
8084
8319
|
}
|
|
8085
8320
|
exports.DescribeClusterResourcesResponseBodyDependencies = DescribeClusterResourcesResponseBodyDependencies;
|
|
8321
|
+
class DescribeClusterResourcesResponseBodyAssociatedObject extends $tea.Model {
|
|
8322
|
+
constructor(map) {
|
|
8323
|
+
super(map);
|
|
8324
|
+
}
|
|
8325
|
+
static names() {
|
|
8326
|
+
return {
|
|
8327
|
+
kind: 'kind',
|
|
8328
|
+
namespace: 'namespace',
|
|
8329
|
+
name: 'name',
|
|
8330
|
+
};
|
|
8331
|
+
}
|
|
8332
|
+
static types() {
|
|
8333
|
+
return {
|
|
8334
|
+
kind: 'string',
|
|
8335
|
+
namespace: 'string',
|
|
8336
|
+
name: 'string',
|
|
8337
|
+
};
|
|
8338
|
+
}
|
|
8339
|
+
}
|
|
8340
|
+
exports.DescribeClusterResourcesResponseBodyAssociatedObject = DescribeClusterResourcesResponseBodyAssociatedObject;
|
|
8341
|
+
class DescribeClusterResourcesResponseBodyDeleteBehavior extends $tea.Model {
|
|
8342
|
+
constructor(map) {
|
|
8343
|
+
super(map);
|
|
8344
|
+
}
|
|
8345
|
+
static names() {
|
|
8346
|
+
return {
|
|
8347
|
+
deleteByDefault: 'delete_by_default',
|
|
8348
|
+
changeable: 'changeable',
|
|
8349
|
+
};
|
|
8350
|
+
}
|
|
8351
|
+
static types() {
|
|
8352
|
+
return {
|
|
8353
|
+
deleteByDefault: 'boolean',
|
|
8354
|
+
changeable: 'boolean',
|
|
8355
|
+
};
|
|
8356
|
+
}
|
|
8357
|
+
}
|
|
8358
|
+
exports.DescribeClusterResourcesResponseBodyDeleteBehavior = DescribeClusterResourcesResponseBodyDeleteBehavior;
|
|
8086
8359
|
class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
8087
8360
|
constructor(map) {
|
|
8088
8361
|
super(map);
|
|
@@ -8097,6 +8370,10 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
8097
8370
|
state: 'state',
|
|
8098
8371
|
autoCreate: 'auto_create',
|
|
8099
8372
|
dependencies: 'dependencies',
|
|
8373
|
+
associatedObject: 'associated_object',
|
|
8374
|
+
deleteBehavior: 'delete_behavior',
|
|
8375
|
+
creatorType: 'creator_type',
|
|
8376
|
+
extraInfo: 'extra_info',
|
|
8100
8377
|
};
|
|
8101
8378
|
}
|
|
8102
8379
|
static types() {
|
|
@@ -8109,6 +8386,10 @@ class DescribeClusterResourcesResponseBody extends $tea.Model {
|
|
|
8109
8386
|
state: 'string',
|
|
8110
8387
|
autoCreate: 'number',
|
|
8111
8388
|
dependencies: { 'type': 'array', 'itemType': DescribeClusterResourcesResponseBodyDependencies },
|
|
8389
|
+
associatedObject: DescribeClusterResourcesResponseBodyAssociatedObject,
|
|
8390
|
+
deleteBehavior: DescribeClusterResourcesResponseBodyDeleteBehavior,
|
|
8391
|
+
creatorType: 'string',
|
|
8392
|
+
extraInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8112
8393
|
};
|
|
8113
8394
|
}
|
|
8114
8395
|
}
|
|
@@ -9963,6 +10244,32 @@ class UnInstallClusterAddonsRequestAddons extends $tea.Model {
|
|
|
9963
10244
|
}
|
|
9964
10245
|
}
|
|
9965
10246
|
exports.UnInstallClusterAddonsRequestAddons = UnInstallClusterAddonsRequestAddons;
|
|
10247
|
+
class UpdateUserPermissionsRequestBody extends $tea.Model {
|
|
10248
|
+
constructor(map) {
|
|
10249
|
+
super(map);
|
|
10250
|
+
}
|
|
10251
|
+
static names() {
|
|
10252
|
+
return {
|
|
10253
|
+
cluster: 'cluster',
|
|
10254
|
+
isCustom: 'is_custom',
|
|
10255
|
+
isRamRole: 'is_ram_role',
|
|
10256
|
+
namespace: 'namespace',
|
|
10257
|
+
roleName: 'role_name',
|
|
10258
|
+
roleType: 'role_type',
|
|
10259
|
+
};
|
|
10260
|
+
}
|
|
10261
|
+
static types() {
|
|
10262
|
+
return {
|
|
10263
|
+
cluster: 'string',
|
|
10264
|
+
isCustom: 'boolean',
|
|
10265
|
+
isRamRole: 'boolean',
|
|
10266
|
+
namespace: 'string',
|
|
10267
|
+
roleName: 'string',
|
|
10268
|
+
roleType: 'string',
|
|
10269
|
+
};
|
|
10270
|
+
}
|
|
10271
|
+
}
|
|
10272
|
+
exports.UpdateUserPermissionsRequestBody = UpdateUserPermissionsRequestBody;
|
|
9966
10273
|
class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
9967
10274
|
constructor(map) {
|
|
9968
10275
|
super(map);
|
|
@@ -9987,6 +10294,26 @@ class UpgradeClusterAddonsRequestBody extends $tea.Model {
|
|
|
9987
10294
|
}
|
|
9988
10295
|
}
|
|
9989
10296
|
exports.UpgradeClusterAddonsRequestBody = UpgradeClusterAddonsRequestBody;
|
|
10297
|
+
class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
|
|
10298
|
+
constructor(map) {
|
|
10299
|
+
super(map);
|
|
10300
|
+
}
|
|
10301
|
+
static names() {
|
|
10302
|
+
return {
|
|
10303
|
+
batchInterval: 'batch_interval',
|
|
10304
|
+
maxParallelism: 'max_parallelism',
|
|
10305
|
+
pausePolicy: 'pause_policy',
|
|
10306
|
+
};
|
|
10307
|
+
}
|
|
10308
|
+
static types() {
|
|
10309
|
+
return {
|
|
10310
|
+
batchInterval: 'number',
|
|
10311
|
+
maxParallelism: 'number',
|
|
10312
|
+
pausePolicy: 'string',
|
|
10313
|
+
};
|
|
10314
|
+
}
|
|
10315
|
+
}
|
|
10316
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = UpgradeClusterNodepoolRequestRollingPolicy;
|
|
9990
10317
|
class Client extends openapi_client_1.default {
|
|
9991
10318
|
constructor(config) {
|
|
9992
10319
|
super(config);
|
|
@@ -10883,9 +11210,20 @@ class Client extends openapi_client_1.default {
|
|
|
10883
11210
|
let headers = {};
|
|
10884
11211
|
return await this.createTriggerWithOptions(clusterId, request, headers, runtime);
|
|
10885
11212
|
}
|
|
10886
|
-
async deleteAlertContactWithOptions(headers, runtime) {
|
|
11213
|
+
async deleteAlertContactWithOptions(tmpReq, headers, runtime) {
|
|
11214
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
11215
|
+
let request = new DeleteAlertContactShrinkRequest({});
|
|
11216
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
11217
|
+
if (!tea_util_1.default.isUnset(tmpReq.contactIds)) {
|
|
11218
|
+
request.contactIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.contactIds, "contact_ids", "json");
|
|
11219
|
+
}
|
|
11220
|
+
let query = {};
|
|
11221
|
+
if (!tea_util_1.default.isUnset(request.contactIdsShrink)) {
|
|
11222
|
+
query["contact_ids"] = request.contactIdsShrink;
|
|
11223
|
+
}
|
|
10887
11224
|
let req = new $OpenApi.OpenApiRequest({
|
|
10888
11225
|
headers: headers,
|
|
11226
|
+
query: openapi_util_1.default.query(query),
|
|
10889
11227
|
});
|
|
10890
11228
|
let params = new $OpenApi.Params({
|
|
10891
11229
|
action: "DeleteAlertContact",
|
|
@@ -10896,18 +11234,29 @@ class Client extends openapi_client_1.default {
|
|
|
10896
11234
|
authType: "AK",
|
|
10897
11235
|
style: "ROA",
|
|
10898
11236
|
reqBodyType: "json",
|
|
10899
|
-
bodyType: "
|
|
11237
|
+
bodyType: "array",
|
|
10900
11238
|
});
|
|
10901
11239
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
10902
11240
|
}
|
|
10903
|
-
async deleteAlertContact() {
|
|
11241
|
+
async deleteAlertContact(request) {
|
|
10904
11242
|
let runtime = new $Util.RuntimeOptions({});
|
|
10905
11243
|
let headers = {};
|
|
10906
|
-
return await this.deleteAlertContactWithOptions(headers, runtime);
|
|
11244
|
+
return await this.deleteAlertContactWithOptions(request, headers, runtime);
|
|
10907
11245
|
}
|
|
10908
|
-
async deleteAlertContactGroupWithOptions(headers, runtime) {
|
|
11246
|
+
async deleteAlertContactGroupWithOptions(tmpReq, headers, runtime) {
|
|
11247
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
11248
|
+
let request = new DeleteAlertContactGroupShrinkRequest({});
|
|
11249
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
11250
|
+
if (!tea_util_1.default.isUnset(tmpReq.contactGroupIds)) {
|
|
11251
|
+
request.contactGroupIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.contactGroupIds, "contact_group_ids", "json");
|
|
11252
|
+
}
|
|
11253
|
+
let query = {};
|
|
11254
|
+
if (!tea_util_1.default.isUnset(request.contactGroupIdsShrink)) {
|
|
11255
|
+
query["contact_group_ids"] = request.contactGroupIdsShrink;
|
|
11256
|
+
}
|
|
10909
11257
|
let req = new $OpenApi.OpenApiRequest({
|
|
10910
11258
|
headers: headers,
|
|
11259
|
+
query: openapi_util_1.default.query(query),
|
|
10911
11260
|
});
|
|
10912
11261
|
let params = new $OpenApi.Params({
|
|
10913
11262
|
action: "DeleteAlertContactGroup",
|
|
@@ -10918,14 +11267,14 @@ class Client extends openapi_client_1.default {
|
|
|
10918
11267
|
authType: "AK",
|
|
10919
11268
|
style: "ROA",
|
|
10920
11269
|
reqBodyType: "json",
|
|
10921
|
-
bodyType: "
|
|
11270
|
+
bodyType: "array",
|
|
10922
11271
|
});
|
|
10923
11272
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
10924
11273
|
}
|
|
10925
|
-
async deleteAlertContactGroup() {
|
|
11274
|
+
async deleteAlertContactGroup(request) {
|
|
10926
11275
|
let runtime = new $Util.RuntimeOptions({});
|
|
10927
11276
|
let headers = {};
|
|
10928
|
-
return await this.deleteAlertContactGroupWithOptions(headers, runtime);
|
|
11277
|
+
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
10929
11278
|
}
|
|
10930
11279
|
async deleteClusterWithOptions(ClusterId, tmpReq, headers, runtime) {
|
|
10931
11280
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -11722,9 +12071,15 @@ class Client extends openapi_client_1.default {
|
|
|
11722
12071
|
let headers = {};
|
|
11723
12072
|
return await this.describeClusterNodesWithOptions(ClusterId, request, headers, runtime);
|
|
11724
12073
|
}
|
|
11725
|
-
async describeClusterResourcesWithOptions(ClusterId, headers, runtime) {
|
|
12074
|
+
async describeClusterResourcesWithOptions(ClusterId, request, headers, runtime) {
|
|
12075
|
+
tea_util_1.default.validateModel(request);
|
|
12076
|
+
let query = {};
|
|
12077
|
+
if (!tea_util_1.default.isUnset(request.withAddonResources)) {
|
|
12078
|
+
query["with_addon_resources"] = request.withAddonResources;
|
|
12079
|
+
}
|
|
11726
12080
|
let req = new $OpenApi.OpenApiRequest({
|
|
11727
12081
|
headers: headers,
|
|
12082
|
+
query: openapi_util_1.default.query(query),
|
|
11728
12083
|
});
|
|
11729
12084
|
let params = new $OpenApi.Params({
|
|
11730
12085
|
action: "DescribeClusterResources",
|
|
@@ -11739,10 +12094,10 @@ class Client extends openapi_client_1.default {
|
|
|
11739
12094
|
});
|
|
11740
12095
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
11741
12096
|
}
|
|
11742
|
-
async describeClusterResources(ClusterId) {
|
|
12097
|
+
async describeClusterResources(ClusterId, request) {
|
|
11743
12098
|
let runtime = new $Util.RuntimeOptions({});
|
|
11744
12099
|
let headers = {};
|
|
11745
|
-
return await this.describeClusterResourcesWithOptions(ClusterId, headers, runtime);
|
|
12100
|
+
return await this.describeClusterResourcesWithOptions(ClusterId, request, headers, runtime);
|
|
11746
12101
|
}
|
|
11747
12102
|
async describeClusterTasksWithOptions(clusterId, request, headers, runtime) {
|
|
11748
12103
|
tea_util_1.default.validateModel(request);
|
|
@@ -12951,6 +13306,9 @@ class Client extends openapi_client_1.default {
|
|
|
12951
13306
|
async listClusterChecksWithOptions(clusterId, request, headers, runtime) {
|
|
12952
13307
|
tea_util_1.default.validateModel(request);
|
|
12953
13308
|
let query = {};
|
|
13309
|
+
if (!tea_util_1.default.isUnset(request.target)) {
|
|
13310
|
+
query["target"] = request.target;
|
|
13311
|
+
}
|
|
12954
13312
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
12955
13313
|
query["type"] = request.type;
|
|
12956
13314
|
}
|
|
@@ -13770,6 +14128,9 @@ class Client extends openapi_client_1.default {
|
|
|
13770
14128
|
if (!tea_util_1.default.isUnset(request.options)) {
|
|
13771
14129
|
body["options"] = request.options;
|
|
13772
14130
|
}
|
|
14131
|
+
if (!tea_util_1.default.isUnset(request.target)) {
|
|
14132
|
+
body["target"] = request.target;
|
|
14133
|
+
}
|
|
13773
14134
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
13774
14135
|
body["type"] = request.type;
|
|
13775
14136
|
}
|
|
@@ -14047,9 +14408,18 @@ class Client extends openapi_client_1.default {
|
|
|
14047
14408
|
let headers = {};
|
|
14048
14409
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14049
14410
|
}
|
|
14050
|
-
async startAlertWithOptions(ClusterId, headers, runtime) {
|
|
14411
|
+
async startAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14412
|
+
tea_util_1.default.validateModel(request);
|
|
14413
|
+
let body = {};
|
|
14414
|
+
if (!tea_util_1.default.isUnset(request.alertRuleGroupName)) {
|
|
14415
|
+
body["alert_rule_group_name"] = request.alertRuleGroupName;
|
|
14416
|
+
}
|
|
14417
|
+
if (!tea_util_1.default.isUnset(request.alertRuleName)) {
|
|
14418
|
+
body["alert_rule_name"] = request.alertRuleName;
|
|
14419
|
+
}
|
|
14051
14420
|
let req = new $OpenApi.OpenApiRequest({
|
|
14052
14421
|
headers: headers,
|
|
14422
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14053
14423
|
});
|
|
14054
14424
|
let params = new $OpenApi.Params({
|
|
14055
14425
|
action: "StartAlert",
|
|
@@ -14064,10 +14434,10 @@ class Client extends openapi_client_1.default {
|
|
|
14064
14434
|
});
|
|
14065
14435
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
14066
14436
|
}
|
|
14067
|
-
async startAlert(ClusterId) {
|
|
14437
|
+
async startAlert(ClusterId, request) {
|
|
14068
14438
|
let runtime = new $Util.RuntimeOptions({});
|
|
14069
14439
|
let headers = {};
|
|
14070
|
-
return await this.startAlertWithOptions(ClusterId, headers, runtime);
|
|
14440
|
+
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14071
14441
|
}
|
|
14072
14442
|
async startWorkflowWithOptions(request, headers, runtime) {
|
|
14073
14443
|
tea_util_1.default.validateModel(request);
|
|
@@ -14151,9 +14521,18 @@ class Client extends openapi_client_1.default {
|
|
|
14151
14521
|
let headers = {};
|
|
14152
14522
|
return await this.startWorkflowWithOptions(request, headers, runtime);
|
|
14153
14523
|
}
|
|
14154
|
-
async stopAlertWithOptions(ClusterId, headers, runtime) {
|
|
14524
|
+
async stopAlertWithOptions(ClusterId, request, headers, runtime) {
|
|
14525
|
+
tea_util_1.default.validateModel(request);
|
|
14526
|
+
let body = {};
|
|
14527
|
+
if (!tea_util_1.default.isUnset(request.alertRuleGroupName)) {
|
|
14528
|
+
body["alert_rule_group_name"] = request.alertRuleGroupName;
|
|
14529
|
+
}
|
|
14530
|
+
if (!tea_util_1.default.isUnset(request.alertRuleName)) {
|
|
14531
|
+
body["alert_rule_name"] = request.alertRuleName;
|
|
14532
|
+
}
|
|
14155
14533
|
let req = new $OpenApi.OpenApiRequest({
|
|
14156
14534
|
headers: headers,
|
|
14535
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
14157
14536
|
});
|
|
14158
14537
|
let params = new $OpenApi.Params({
|
|
14159
14538
|
action: "StopAlert",
|
|
@@ -14168,10 +14547,10 @@ class Client extends openapi_client_1.default {
|
|
|
14168
14547
|
});
|
|
14169
14548
|
return $tea.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
14170
14549
|
}
|
|
14171
|
-
async stopAlert(ClusterId) {
|
|
14550
|
+
async stopAlert(ClusterId, request) {
|
|
14172
14551
|
let runtime = new $Util.RuntimeOptions({});
|
|
14173
14552
|
let headers = {};
|
|
14174
|
-
return await this.stopAlertWithOptions(ClusterId, headers, runtime);
|
|
14553
|
+
return await this.stopAlertWithOptions(ClusterId, request, headers, runtime);
|
|
14175
14554
|
}
|
|
14176
14555
|
async syncClusterNodePoolWithOptions(ClusterId, headers, runtime) {
|
|
14177
14556
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -14452,6 +14831,35 @@ class Client extends openapi_client_1.default {
|
|
|
14452
14831
|
let headers = {};
|
|
14453
14832
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
14454
14833
|
}
|
|
14834
|
+
async updateUserPermissionsWithOptions(uid, request, headers, runtime) {
|
|
14835
|
+
tea_util_1.default.validateModel(request);
|
|
14836
|
+
let query = {};
|
|
14837
|
+
if (!tea_util_1.default.isUnset(request.mode)) {
|
|
14838
|
+
query["mode"] = request.mode;
|
|
14839
|
+
}
|
|
14840
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14841
|
+
headers: headers,
|
|
14842
|
+
query: openapi_util_1.default.query(query),
|
|
14843
|
+
body: tea_util_1.default.toArray(request.body),
|
|
14844
|
+
});
|
|
14845
|
+
let params = new $OpenApi.Params({
|
|
14846
|
+
action: "UpdateUserPermissions",
|
|
14847
|
+
version: "2015-12-15",
|
|
14848
|
+
protocol: "HTTPS",
|
|
14849
|
+
pathname: `/permissions/users/${openapi_util_1.default.getEncodeParam(uid)}/update`,
|
|
14850
|
+
method: "POST",
|
|
14851
|
+
authType: "AK",
|
|
14852
|
+
style: "ROA",
|
|
14853
|
+
reqBodyType: "json",
|
|
14854
|
+
bodyType: "none",
|
|
14855
|
+
});
|
|
14856
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
14857
|
+
}
|
|
14858
|
+
async updateUserPermissions(uid, request) {
|
|
14859
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14860
|
+
let headers = {};
|
|
14861
|
+
return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
|
|
14862
|
+
}
|
|
14455
14863
|
async upgradeClusterWithOptions(ClusterId, request, headers, runtime) {
|
|
14456
14864
|
tea_util_1.default.validateModel(request);
|
|
14457
14865
|
let body = {};
|
|
@@ -14530,12 +14938,21 @@ class Client extends openapi_client_1.default {
|
|
|
14530
14938
|
if (!tea_util_1.default.isUnset(request.kubernetesVersion)) {
|
|
14531
14939
|
body["kubernetes_version"] = request.kubernetesVersion;
|
|
14532
14940
|
}
|
|
14941
|
+
if (!tea_util_1.default.isUnset(request.nodeNames)) {
|
|
14942
|
+
body["node_names"] = request.nodeNames;
|
|
14943
|
+
}
|
|
14944
|
+
if (!tea_util_1.default.isUnset(request.rollingPolicy)) {
|
|
14945
|
+
body["rolling_policy"] = request.rollingPolicy;
|
|
14946
|
+
}
|
|
14533
14947
|
if (!tea_util_1.default.isUnset(request.runtimeType)) {
|
|
14534
14948
|
body["runtime_type"] = request.runtimeType;
|
|
14535
14949
|
}
|
|
14536
14950
|
if (!tea_util_1.default.isUnset(request.runtimeVersion)) {
|
|
14537
14951
|
body["runtime_version"] = request.runtimeVersion;
|
|
14538
14952
|
}
|
|
14953
|
+
if (!tea_util_1.default.isUnset(request.useReplace)) {
|
|
14954
|
+
body["use_replace"] = request.useReplace;
|
|
14955
|
+
}
|
|
14539
14956
|
let req = new $OpenApi.OpenApiRequest({
|
|
14540
14957
|
headers: headers,
|
|
14541
14958
|
body: openapi_util_1.default.parseToMap(body),
|