@alicloud/cs20151215 3.0.3 → 3.0.4
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 +7 -90
- package/dist/client.js +17 -193
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +25 -218
package/dist/client.d.ts
CHANGED
|
@@ -573,34 +573,6 @@ export declare class CreateTriggerResponse extends $tea.Model {
|
|
|
573
573
|
[key: string]: any;
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
|
-
export declare class DeleteAlertContactResponse extends $tea.Model {
|
|
577
|
-
headers: {
|
|
578
|
-
[key: string]: string;
|
|
579
|
-
};
|
|
580
|
-
static names(): {
|
|
581
|
-
[key: string]: string;
|
|
582
|
-
};
|
|
583
|
-
static types(): {
|
|
584
|
-
[key: string]: any;
|
|
585
|
-
};
|
|
586
|
-
constructor(map?: {
|
|
587
|
-
[key: string]: any;
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
export declare class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
591
|
-
headers: {
|
|
592
|
-
[key: string]: string;
|
|
593
|
-
};
|
|
594
|
-
static names(): {
|
|
595
|
-
[key: string]: string;
|
|
596
|
-
};
|
|
597
|
-
static types(): {
|
|
598
|
-
[key: string]: any;
|
|
599
|
-
};
|
|
600
|
-
constructor(map?: {
|
|
601
|
-
[key: string]: any;
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
576
|
export declare class DeleteClusterRequest extends $tea.Model {
|
|
605
577
|
keepSlb?: boolean;
|
|
606
578
|
retainAllResources?: boolean;
|
|
@@ -1662,6 +1634,7 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
1662
1634
|
kubernetesVersion?: string;
|
|
1663
1635
|
profile?: string;
|
|
1664
1636
|
region?: string;
|
|
1637
|
+
runtime?: string;
|
|
1665
1638
|
static names(): {
|
|
1666
1639
|
[key: string]: string;
|
|
1667
1640
|
};
|
|
@@ -2775,20 +2748,6 @@ export declare class ScaleOutClusterResponse extends $tea.Model {
|
|
|
2775
2748
|
[key: string]: any;
|
|
2776
2749
|
});
|
|
2777
2750
|
}
|
|
2778
|
-
export declare class StartAlertResponse extends $tea.Model {
|
|
2779
|
-
headers: {
|
|
2780
|
-
[key: string]: string;
|
|
2781
|
-
};
|
|
2782
|
-
static names(): {
|
|
2783
|
-
[key: string]: string;
|
|
2784
|
-
};
|
|
2785
|
-
static types(): {
|
|
2786
|
-
[key: string]: any;
|
|
2787
|
-
};
|
|
2788
|
-
constructor(map?: {
|
|
2789
|
-
[key: string]: any;
|
|
2790
|
-
});
|
|
2791
|
-
}
|
|
2792
2751
|
export declare class StartWorkflowRequest extends $tea.Model {
|
|
2793
2752
|
mappingBamOutFilename?: string;
|
|
2794
2753
|
mappingBamOutPath?: string;
|
|
@@ -2846,20 +2805,6 @@ export declare class StartWorkflowResponse extends $tea.Model {
|
|
|
2846
2805
|
[key: string]: any;
|
|
2847
2806
|
});
|
|
2848
2807
|
}
|
|
2849
|
-
export declare class StopAlertResponse extends $tea.Model {
|
|
2850
|
-
headers: {
|
|
2851
|
-
[key: string]: string;
|
|
2852
|
-
};
|
|
2853
|
-
static names(): {
|
|
2854
|
-
[key: string]: string;
|
|
2855
|
-
};
|
|
2856
|
-
static types(): {
|
|
2857
|
-
[key: string]: any;
|
|
2858
|
-
};
|
|
2859
|
-
constructor(map?: {
|
|
2860
|
-
[key: string]: any;
|
|
2861
|
-
});
|
|
2862
|
-
}
|
|
2863
2808
|
export declare class TagResourcesRequest extends $tea.Model {
|
|
2864
2809
|
regionId?: string;
|
|
2865
2810
|
resourceIds?: string[];
|
|
@@ -2971,20 +2916,6 @@ export declare class UntagResourcesResponse extends $tea.Model {
|
|
|
2971
2916
|
[key: string]: any;
|
|
2972
2917
|
});
|
|
2973
2918
|
}
|
|
2974
|
-
export declare class UpdateContactGroupForAlertResponse extends $tea.Model {
|
|
2975
|
-
headers: {
|
|
2976
|
-
[key: string]: string;
|
|
2977
|
-
};
|
|
2978
|
-
static names(): {
|
|
2979
|
-
[key: string]: string;
|
|
2980
|
-
};
|
|
2981
|
-
static types(): {
|
|
2982
|
-
[key: string]: any;
|
|
2983
|
-
};
|
|
2984
|
-
constructor(map?: {
|
|
2985
|
-
[key: string]: any;
|
|
2986
|
-
});
|
|
2987
|
-
}
|
|
2988
2919
|
export declare class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
2989
2920
|
headers: {
|
|
2990
2921
|
[key: string]: string;
|
|
@@ -3166,6 +3097,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
3166
3097
|
cmsEnabled?: boolean;
|
|
3167
3098
|
cpuPolicy?: string;
|
|
3168
3099
|
labels?: Tag[];
|
|
3100
|
+
nodeNameMode?: string;
|
|
3169
3101
|
runtime?: string;
|
|
3170
3102
|
runtimeVersion?: string;
|
|
3171
3103
|
taints?: Taint[];
|
|
@@ -3254,6 +3186,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
3254
3186
|
autoRenewPeriod?: number;
|
|
3255
3187
|
compensateWithOnDemand?: boolean;
|
|
3256
3188
|
dataDisks?: DataDisk[];
|
|
3189
|
+
deploymentsetId?: string;
|
|
3257
3190
|
imageId?: string;
|
|
3258
3191
|
imageType?: string;
|
|
3259
3192
|
instanceChargeType?: string;
|
|
@@ -3383,6 +3316,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
3383
3316
|
cmsEnabled?: boolean;
|
|
3384
3317
|
cpuPolicy?: string;
|
|
3385
3318
|
labels?: Tag[];
|
|
3319
|
+
nodeNameMode?: string;
|
|
3386
3320
|
runtime?: string;
|
|
3387
3321
|
runtimeVersion?: string;
|
|
3388
3322
|
taints?: Taint[];
|
|
@@ -3463,6 +3397,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
3463
3397
|
autoRenewPeriod?: number;
|
|
3464
3398
|
compensateWithOnDemand?: boolean;
|
|
3465
3399
|
dataDisks?: DataDisk[];
|
|
3400
|
+
deploymentsetId?: string;
|
|
3466
3401
|
imageId?: string;
|
|
3467
3402
|
instanceChargeType?: string;
|
|
3468
3403
|
instanceTypes?: string[];
|
|
@@ -3570,6 +3505,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
3570
3505
|
cmsEnabled?: boolean;
|
|
3571
3506
|
cpuPolicy?: string;
|
|
3572
3507
|
labels?: Tag[];
|
|
3508
|
+
nodeNameMode?: string;
|
|
3573
3509
|
runtime?: string;
|
|
3574
3510
|
runtimeVersion?: string;
|
|
3575
3511
|
taints?: Taint[];
|
|
@@ -3650,6 +3586,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
3650
3586
|
autoRenewPeriod?: number;
|
|
3651
3587
|
compensateWithOnDemand?: boolean;
|
|
3652
3588
|
dataDisks?: DataDisk[];
|
|
3589
|
+
deploymentsetId?: string;
|
|
3653
3590
|
imageId?: string;
|
|
3654
3591
|
instanceChargeType?: string;
|
|
3655
3592
|
instanceTypes?: string[];
|
|
@@ -4717,14 +4654,6 @@ export default class Client extends OpenApi {
|
|
|
4717
4654
|
createTriggerWithOptions(clusterId: string, request: CreateTriggerRequest, headers: {
|
|
4718
4655
|
[key: string]: string;
|
|
4719
4656
|
}, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse>;
|
|
4720
|
-
deleteAlertContact(): Promise<DeleteAlertContactResponse>;
|
|
4721
|
-
deleteAlertContactWithOptions(headers: {
|
|
4722
|
-
[key: string]: string;
|
|
4723
|
-
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse>;
|
|
4724
|
-
deleteAlertContactGroup(): Promise<DeleteAlertContactGroupResponse>;
|
|
4725
|
-
deleteAlertContactGroupWithOptions(headers: {
|
|
4726
|
-
[key: string]: string;
|
|
4727
|
-
}, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse>;
|
|
4728
4657
|
deleteCluster(ClusterId: string, request: DeleteClusterRequest): Promise<DeleteClusterResponse>;
|
|
4729
4658
|
deleteClusterWithOptions(ClusterId: string, tmpReq: DeleteClusterRequest, headers: {
|
|
4730
4659
|
[key: string]: string;
|
|
@@ -5001,18 +4930,10 @@ export default class Client extends OpenApi {
|
|
|
5001
4930
|
scaleOutClusterWithOptions(ClusterId: string, request: ScaleOutClusterRequest, headers: {
|
|
5002
4931
|
[key: string]: string;
|
|
5003
4932
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse>;
|
|
5004
|
-
startAlert(ClusterId: string): Promise<StartAlertResponse>;
|
|
5005
|
-
startAlertWithOptions(ClusterId: string, headers: {
|
|
5006
|
-
[key: string]: string;
|
|
5007
|
-
}, runtime: $Util.RuntimeOptions): Promise<StartAlertResponse>;
|
|
5008
4933
|
startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse>;
|
|
5009
4934
|
startWorkflowWithOptions(request: StartWorkflowRequest, headers: {
|
|
5010
4935
|
[key: string]: string;
|
|
5011
4936
|
}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse>;
|
|
5012
|
-
stopAlert(ClusterId: string): Promise<StopAlertResponse>;
|
|
5013
|
-
stopAlertWithOptions(ClusterId: string, headers: {
|
|
5014
|
-
[key: string]: string;
|
|
5015
|
-
}, runtime: $Util.RuntimeOptions): Promise<StopAlertResponse>;
|
|
5016
4937
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
5017
4938
|
tagResourcesWithOptions(request: TagResourcesRequest, headers: {
|
|
5018
4939
|
[key: string]: string;
|
|
@@ -5025,10 +4946,6 @@ export default class Client extends OpenApi {
|
|
|
5025
4946
|
untagResourcesWithOptions(request: UntagResourcesRequest, headers: {
|
|
5026
4947
|
[key: string]: string;
|
|
5027
4948
|
}, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse>;
|
|
5028
|
-
updateContactGroupForAlert(ClusterId: string): Promise<UpdateContactGroupForAlertResponse>;
|
|
5029
|
-
updateContactGroupForAlertWithOptions(ClusterId: string, headers: {
|
|
5030
|
-
[key: string]: string;
|
|
5031
|
-
}, runtime: $Util.RuntimeOptions): Promise<UpdateContactGroupForAlertResponse>;
|
|
5032
4949
|
updateK8sClusterUserConfigExpire(ClusterId: string): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
5033
4950
|
updateK8sClusterUserConfigExpireWithOptions(ClusterId: string, headers: {
|
|
5034
4951
|
[key: string]: string;
|
package/dist/client.js
CHANGED
|
@@ -849,38 +849,6 @@ class CreateTriggerResponse extends $tea.Model {
|
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
851
|
exports.CreateTriggerResponse = CreateTriggerResponse;
|
|
852
|
-
class DeleteAlertContactResponse extends $tea.Model {
|
|
853
|
-
constructor(map) {
|
|
854
|
-
super(map);
|
|
855
|
-
}
|
|
856
|
-
static names() {
|
|
857
|
-
return {
|
|
858
|
-
headers: 'headers',
|
|
859
|
-
};
|
|
860
|
-
}
|
|
861
|
-
static types() {
|
|
862
|
-
return {
|
|
863
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
864
|
-
};
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
exports.DeleteAlertContactResponse = DeleteAlertContactResponse;
|
|
868
|
-
class DeleteAlertContactGroupResponse extends $tea.Model {
|
|
869
|
-
constructor(map) {
|
|
870
|
-
super(map);
|
|
871
|
-
}
|
|
872
|
-
static names() {
|
|
873
|
-
return {
|
|
874
|
-
headers: 'headers',
|
|
875
|
-
};
|
|
876
|
-
}
|
|
877
|
-
static types() {
|
|
878
|
-
return {
|
|
879
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
880
|
-
};
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
exports.DeleteAlertContactGroupResponse = DeleteAlertContactGroupResponse;
|
|
884
852
|
class DeleteClusterRequest extends $tea.Model {
|
|
885
853
|
constructor(map) {
|
|
886
854
|
super(map);
|
|
@@ -2283,6 +2251,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
2283
2251
|
kubernetesVersion: 'KubernetesVersion',
|
|
2284
2252
|
profile: 'Profile',
|
|
2285
2253
|
region: 'Region',
|
|
2254
|
+
runtime: 'runtime',
|
|
2286
2255
|
};
|
|
2287
2256
|
}
|
|
2288
2257
|
static types() {
|
|
@@ -2291,6 +2260,7 @@ class DescribeKubernetesVersionMetadataRequest extends $tea.Model {
|
|
|
2291
2260
|
kubernetesVersion: 'string',
|
|
2292
2261
|
profile: 'string',
|
|
2293
2262
|
region: 'string',
|
|
2263
|
+
runtime: 'string',
|
|
2294
2264
|
};
|
|
2295
2265
|
}
|
|
2296
2266
|
}
|
|
@@ -3753,22 +3723,6 @@ class ScaleOutClusterResponse extends $tea.Model {
|
|
|
3753
3723
|
}
|
|
3754
3724
|
}
|
|
3755
3725
|
exports.ScaleOutClusterResponse = ScaleOutClusterResponse;
|
|
3756
|
-
class StartAlertResponse extends $tea.Model {
|
|
3757
|
-
constructor(map) {
|
|
3758
|
-
super(map);
|
|
3759
|
-
}
|
|
3760
|
-
static names() {
|
|
3761
|
-
return {
|
|
3762
|
-
headers: 'headers',
|
|
3763
|
-
};
|
|
3764
|
-
}
|
|
3765
|
-
static types() {
|
|
3766
|
-
return {
|
|
3767
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3768
|
-
};
|
|
3769
|
-
}
|
|
3770
|
-
}
|
|
3771
|
-
exports.StartAlertResponse = StartAlertResponse;
|
|
3772
3726
|
class StartWorkflowRequest extends $tea.Model {
|
|
3773
3727
|
constructor(map) {
|
|
3774
3728
|
super(map);
|
|
@@ -3855,22 +3809,6 @@ class StartWorkflowResponse extends $tea.Model {
|
|
|
3855
3809
|
}
|
|
3856
3810
|
}
|
|
3857
3811
|
exports.StartWorkflowResponse = StartWorkflowResponse;
|
|
3858
|
-
class StopAlertResponse extends $tea.Model {
|
|
3859
|
-
constructor(map) {
|
|
3860
|
-
super(map);
|
|
3861
|
-
}
|
|
3862
|
-
static names() {
|
|
3863
|
-
return {
|
|
3864
|
-
headers: 'headers',
|
|
3865
|
-
};
|
|
3866
|
-
}
|
|
3867
|
-
static types() {
|
|
3868
|
-
return {
|
|
3869
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3870
|
-
};
|
|
3871
|
-
}
|
|
3872
|
-
}
|
|
3873
|
-
exports.StopAlertResponse = StopAlertResponse;
|
|
3874
3812
|
class TagResourcesRequest extends $tea.Model {
|
|
3875
3813
|
constructor(map) {
|
|
3876
3814
|
super(map);
|
|
@@ -4017,22 +3955,6 @@ class UntagResourcesResponse extends $tea.Model {
|
|
|
4017
3955
|
}
|
|
4018
3956
|
}
|
|
4019
3957
|
exports.UntagResourcesResponse = UntagResourcesResponse;
|
|
4020
|
-
class UpdateContactGroupForAlertResponse extends $tea.Model {
|
|
4021
|
-
constructor(map) {
|
|
4022
|
-
super(map);
|
|
4023
|
-
}
|
|
4024
|
-
static names() {
|
|
4025
|
-
return {
|
|
4026
|
-
headers: 'headers',
|
|
4027
|
-
};
|
|
4028
|
-
}
|
|
4029
|
-
static types() {
|
|
4030
|
-
return {
|
|
4031
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4032
|
-
};
|
|
4033
|
-
}
|
|
4034
|
-
}
|
|
4035
|
-
exports.UpdateContactGroupForAlertResponse = UpdateContactGroupForAlertResponse;
|
|
4036
3958
|
class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
|
|
4037
3959
|
constructor(map) {
|
|
4038
3960
|
super(map);
|
|
@@ -4284,6 +4206,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
4284
4206
|
cmsEnabled: 'cms_enabled',
|
|
4285
4207
|
cpuPolicy: 'cpu_policy',
|
|
4286
4208
|
labels: 'labels',
|
|
4209
|
+
nodeNameMode: 'node_name_mode',
|
|
4287
4210
|
runtime: 'runtime',
|
|
4288
4211
|
runtimeVersion: 'runtime_version',
|
|
4289
4212
|
taints: 'taints',
|
|
@@ -4295,6 +4218,7 @@ class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
|
4295
4218
|
cmsEnabled: 'boolean',
|
|
4296
4219
|
cpuPolicy: 'string',
|
|
4297
4220
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
4221
|
+
nodeNameMode: 'string',
|
|
4298
4222
|
runtime: 'string',
|
|
4299
4223
|
runtimeVersion: 'string',
|
|
4300
4224
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -4411,6 +4335,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
4411
4335
|
autoRenewPeriod: 'auto_renew_period',
|
|
4412
4336
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
4413
4337
|
dataDisks: 'data_disks',
|
|
4338
|
+
deploymentsetId: 'deploymentset_id',
|
|
4414
4339
|
imageId: 'image_id',
|
|
4415
4340
|
imageType: 'image_type',
|
|
4416
4341
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -4446,6 +4371,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
4446
4371
|
autoRenewPeriod: 'number',
|
|
4447
4372
|
compensateWithOnDemand: 'boolean',
|
|
4448
4373
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4374
|
+
deploymentsetId: 'string',
|
|
4449
4375
|
imageId: 'string',
|
|
4450
4376
|
imageType: 'string',
|
|
4451
4377
|
instanceChargeType: 'string',
|
|
@@ -4614,6 +4540,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
4614
4540
|
cmsEnabled: 'cms_enabled',
|
|
4615
4541
|
cpuPolicy: 'cpu_policy',
|
|
4616
4542
|
labels: 'labels',
|
|
4543
|
+
nodeNameMode: 'node_name_mode',
|
|
4617
4544
|
runtime: 'runtime',
|
|
4618
4545
|
runtimeVersion: 'runtime_version',
|
|
4619
4546
|
taints: 'taints',
|
|
@@ -4625,6 +4552,7 @@ class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Mod
|
|
|
4625
4552
|
cmsEnabled: 'boolean',
|
|
4626
4553
|
cpuPolicy: 'string',
|
|
4627
4554
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
4555
|
+
nodeNameMode: 'string',
|
|
4628
4556
|
runtime: 'string',
|
|
4629
4557
|
runtimeVersion: 'string',
|
|
4630
4558
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -4733,6 +4661,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
4733
4661
|
autoRenewPeriod: 'auto_renew_period',
|
|
4734
4662
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
4735
4663
|
dataDisks: 'data_disks',
|
|
4664
|
+
deploymentsetId: 'deploymentset_id',
|
|
4736
4665
|
imageId: 'image_id',
|
|
4737
4666
|
instanceChargeType: 'instance_charge_type',
|
|
4738
4667
|
instanceTypes: 'instance_types',
|
|
@@ -4769,6 +4698,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
4769
4698
|
autoRenewPeriod: 'number',
|
|
4770
4699
|
compensateWithOnDemand: 'boolean',
|
|
4771
4700
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4701
|
+
deploymentsetId: 'string',
|
|
4772
4702
|
imageId: 'string',
|
|
4773
4703
|
instanceChargeType: 'string',
|
|
4774
4704
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -4908,6 +4838,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
4908
4838
|
cmsEnabled: 'cms_enabled',
|
|
4909
4839
|
cpuPolicy: 'cpu_policy',
|
|
4910
4840
|
labels: 'labels',
|
|
4841
|
+
nodeNameMode: 'node_name_mode',
|
|
4911
4842
|
runtime: 'runtime',
|
|
4912
4843
|
runtimeVersion: 'runtime_version',
|
|
4913
4844
|
taints: 'taints',
|
|
@@ -4919,6 +4850,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea
|
|
|
4919
4850
|
cmsEnabled: 'boolean',
|
|
4920
4851
|
cpuPolicy: 'string',
|
|
4921
4852
|
labels: { 'type': 'array', 'itemType': Tag },
|
|
4853
|
+
nodeNameMode: 'string',
|
|
4922
4854
|
runtime: 'string',
|
|
4923
4855
|
runtimeVersion: 'string',
|
|
4924
4856
|
taints: { 'type': 'array', 'itemType': Taint },
|
|
@@ -5027,6 +4959,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
5027
4959
|
autoRenewPeriod: 'auto_renew_period',
|
|
5028
4960
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
5029
4961
|
dataDisks: 'data_disks',
|
|
4962
|
+
deploymentsetId: 'deploymentset_id',
|
|
5030
4963
|
imageId: 'image_id',
|
|
5031
4964
|
instanceChargeType: 'instance_charge_type',
|
|
5032
4965
|
instanceTypes: 'instance_types',
|
|
@@ -5063,6 +4996,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
5063
4996
|
autoRenewPeriod: 'number',
|
|
5064
4997
|
compensateWithOnDemand: 'boolean',
|
|
5065
4998
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
4999
|
+
deploymentsetId: 'string',
|
|
5066
5000
|
imageId: 'string',
|
|
5067
5001
|
instanceChargeType: 'string',
|
|
5068
5002
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -7297,50 +7231,6 @@ class Client extends openapi_client_1.default {
|
|
|
7297
7231
|
});
|
|
7298
7232
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
7299
7233
|
}
|
|
7300
|
-
async deleteAlertContact() {
|
|
7301
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
7302
|
-
let headers = {};
|
|
7303
|
-
return await this.deleteAlertContactWithOptions(headers, runtime);
|
|
7304
|
-
}
|
|
7305
|
-
async deleteAlertContactWithOptions(headers, runtime) {
|
|
7306
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
7307
|
-
headers: headers,
|
|
7308
|
-
});
|
|
7309
|
-
let params = new $OpenApi.Params({
|
|
7310
|
-
action: "DeleteAlertContact",
|
|
7311
|
-
version: "2015-12-15",
|
|
7312
|
-
protocol: "HTTPS",
|
|
7313
|
-
pathname: `/alert/contacts`,
|
|
7314
|
-
method: "DELETE",
|
|
7315
|
-
authType: "AK",
|
|
7316
|
-
style: "ROA",
|
|
7317
|
-
reqBodyType: "json",
|
|
7318
|
-
bodyType: "none",
|
|
7319
|
-
});
|
|
7320
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
7321
|
-
}
|
|
7322
|
-
async deleteAlertContactGroup() {
|
|
7323
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
7324
|
-
let headers = {};
|
|
7325
|
-
return await this.deleteAlertContactGroupWithOptions(headers, runtime);
|
|
7326
|
-
}
|
|
7327
|
-
async deleteAlertContactGroupWithOptions(headers, runtime) {
|
|
7328
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
7329
|
-
headers: headers,
|
|
7330
|
-
});
|
|
7331
|
-
let params = new $OpenApi.Params({
|
|
7332
|
-
action: "DeleteAlertContactGroup",
|
|
7333
|
-
version: "2015-12-15",
|
|
7334
|
-
protocol: "HTTPS",
|
|
7335
|
-
pathname: `/alert/contact_groups`,
|
|
7336
|
-
method: "DELETE",
|
|
7337
|
-
authType: "AK",
|
|
7338
|
-
style: "ROA",
|
|
7339
|
-
reqBodyType: "json",
|
|
7340
|
-
bodyType: "none",
|
|
7341
|
-
});
|
|
7342
|
-
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
7343
|
-
}
|
|
7344
7234
|
async deleteCluster(ClusterId, request) {
|
|
7345
7235
|
let runtime = new $Util.RuntimeOptions({});
|
|
7346
7236
|
let headers = {};
|
|
@@ -8321,6 +8211,9 @@ class Client extends openapi_client_1.default {
|
|
|
8321
8211
|
if (!tea_util_1.default.isUnset(request.region)) {
|
|
8322
8212
|
query["Region"] = request.region;
|
|
8323
8213
|
}
|
|
8214
|
+
if (!tea_util_1.default.isUnset(request.runtime)) {
|
|
8215
|
+
query["runtime"] = request.runtime;
|
|
8216
|
+
}
|
|
8324
8217
|
let req = new $OpenApi.OpenApiRequest({
|
|
8325
8218
|
headers: headers,
|
|
8326
8219
|
query: openapi_util_1.default.query(query),
|
|
@@ -9476,29 +9369,6 @@ class Client extends openapi_client_1.default {
|
|
|
9476
9369
|
});
|
|
9477
9370
|
return $tea.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
9478
9371
|
}
|
|
9479
|
-
async startAlert(ClusterId) {
|
|
9480
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
9481
|
-
let headers = {};
|
|
9482
|
-
return await this.startAlertWithOptions(ClusterId, headers, runtime);
|
|
9483
|
-
}
|
|
9484
|
-
async startAlertWithOptions(ClusterId, headers, runtime) {
|
|
9485
|
-
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
9486
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
9487
|
-
headers: headers,
|
|
9488
|
-
});
|
|
9489
|
-
let params = new $OpenApi.Params({
|
|
9490
|
-
action: "StartAlert",
|
|
9491
|
-
version: "2015-12-15",
|
|
9492
|
-
protocol: "HTTPS",
|
|
9493
|
-
pathname: `/alert/${ClusterId}/alert_rule/start`,
|
|
9494
|
-
method: "POST",
|
|
9495
|
-
authType: "AK",
|
|
9496
|
-
style: "ROA",
|
|
9497
|
-
reqBodyType: "json",
|
|
9498
|
-
bodyType: "none",
|
|
9499
|
-
});
|
|
9500
|
-
return $tea.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
9501
|
-
}
|
|
9502
9372
|
async startWorkflow(request) {
|
|
9503
9373
|
let runtime = new $Util.RuntimeOptions({});
|
|
9504
9374
|
let headers = {};
|
|
@@ -9581,29 +9451,6 @@ class Client extends openapi_client_1.default {
|
|
|
9581
9451
|
});
|
|
9582
9452
|
return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
9583
9453
|
}
|
|
9584
|
-
async stopAlert(ClusterId) {
|
|
9585
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
9586
|
-
let headers = {};
|
|
9587
|
-
return await this.stopAlertWithOptions(ClusterId, headers, runtime);
|
|
9588
|
-
}
|
|
9589
|
-
async stopAlertWithOptions(ClusterId, headers, runtime) {
|
|
9590
|
-
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
9591
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
9592
|
-
headers: headers,
|
|
9593
|
-
});
|
|
9594
|
-
let params = new $OpenApi.Params({
|
|
9595
|
-
action: "StopAlert",
|
|
9596
|
-
version: "2015-12-15",
|
|
9597
|
-
protocol: "HTTPS",
|
|
9598
|
-
pathname: `/alert/${ClusterId}/alert_rule/stop`,
|
|
9599
|
-
method: "POST",
|
|
9600
|
-
authType: "AK",
|
|
9601
|
-
style: "ROA",
|
|
9602
|
-
reqBodyType: "json",
|
|
9603
|
-
bodyType: "none",
|
|
9604
|
-
});
|
|
9605
|
-
return $tea.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
9606
|
-
}
|
|
9607
9454
|
async tagResources(request) {
|
|
9608
9455
|
let runtime = new $Util.RuntimeOptions({});
|
|
9609
9456
|
let headers = {};
|
|
@@ -9706,29 +9553,6 @@ class Client extends openapi_client_1.default {
|
|
|
9706
9553
|
});
|
|
9707
9554
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
9708
9555
|
}
|
|
9709
|
-
async updateContactGroupForAlert(ClusterId) {
|
|
9710
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
9711
|
-
let headers = {};
|
|
9712
|
-
return await this.updateContactGroupForAlertWithOptions(ClusterId, headers, runtime);
|
|
9713
|
-
}
|
|
9714
|
-
async updateContactGroupForAlertWithOptions(ClusterId, headers, runtime) {
|
|
9715
|
-
ClusterId = openapi_util_1.default.getEncodeParam(ClusterId);
|
|
9716
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
9717
|
-
headers: headers,
|
|
9718
|
-
});
|
|
9719
|
-
let params = new $OpenApi.Params({
|
|
9720
|
-
action: "UpdateContactGroupForAlert",
|
|
9721
|
-
version: "2015-12-15",
|
|
9722
|
-
protocol: "HTTPS",
|
|
9723
|
-
pathname: `/alert/${ClusterId}/alert_rule/contact_groups`,
|
|
9724
|
-
method: "POST",
|
|
9725
|
-
authType: "AK",
|
|
9726
|
-
style: "ROA",
|
|
9727
|
-
reqBodyType: "json",
|
|
9728
|
-
bodyType: "none",
|
|
9729
|
-
});
|
|
9730
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
9731
|
-
}
|
|
9732
9556
|
async updateK8sClusterUserConfigExpire(ClusterId) {
|
|
9733
9557
|
let runtime = new $Util.RuntimeOptions({});
|
|
9734
9558
|
let headers = {};
|