@alicloud/cs20151215 3.0.0 → 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 +148 -2
- package/dist/client.js +1309 -92
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1383 -92
package/dist/client.d.ts
CHANGED
|
@@ -241,6 +241,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
241
241
|
customSan?: string;
|
|
242
242
|
deletionProtection?: boolean;
|
|
243
243
|
disableRollback?: boolean;
|
|
244
|
+
enableRrsa?: boolean;
|
|
244
245
|
encryptionProviderKey?: string;
|
|
245
246
|
endpointPublicAccess?: boolean;
|
|
246
247
|
formatDisk?: boolean;
|
|
@@ -251,6 +252,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
251
252
|
keepInstanceName?: boolean;
|
|
252
253
|
keyPair?: string;
|
|
253
254
|
kubernetesVersion?: string;
|
|
255
|
+
loadBalancerSpec?: string;
|
|
254
256
|
loggingType?: string;
|
|
255
257
|
loginPassword?: string;
|
|
256
258
|
masterAutoRenew?: boolean;
|
|
@@ -349,8 +351,11 @@ export declare class CreateClusterResponse extends $tea.Model {
|
|
|
349
351
|
export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
350
352
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
351
353
|
count?: number;
|
|
354
|
+
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
355
|
+
interconnectMode?: string;
|
|
352
356
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
353
357
|
management?: CreateClusterNodePoolRequestManagement;
|
|
358
|
+
maxNodes?: number;
|
|
354
359
|
nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
|
|
355
360
|
scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
|
|
356
361
|
teeConfig?: CreateClusterNodePoolRequestTeeConfig;
|
|
@@ -720,10 +725,35 @@ export declare class DeleteKubernetesTriggerResponse extends $tea.Model {
|
|
|
720
725
|
[key: string]: any;
|
|
721
726
|
});
|
|
722
727
|
}
|
|
728
|
+
export declare class DeletePolicyInstanceRequest extends $tea.Model {
|
|
729
|
+
instanceName?: string;
|
|
730
|
+
static names(): {
|
|
731
|
+
[key: string]: string;
|
|
732
|
+
};
|
|
733
|
+
static types(): {
|
|
734
|
+
[key: string]: any;
|
|
735
|
+
};
|
|
736
|
+
constructor(map?: {
|
|
737
|
+
[key: string]: any;
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
export declare class DeletePolicyInstanceResponseBody extends $tea.Model {
|
|
741
|
+
instances?: string[];
|
|
742
|
+
static names(): {
|
|
743
|
+
[key: string]: string;
|
|
744
|
+
};
|
|
745
|
+
static types(): {
|
|
746
|
+
[key: string]: any;
|
|
747
|
+
};
|
|
748
|
+
constructor(map?: {
|
|
749
|
+
[key: string]: any;
|
|
750
|
+
});
|
|
751
|
+
}
|
|
723
752
|
export declare class DeletePolicyInstanceResponse extends $tea.Model {
|
|
724
753
|
headers: {
|
|
725
754
|
[key: string]: string;
|
|
726
755
|
};
|
|
756
|
+
body: DeletePolicyInstanceResponseBody;
|
|
727
757
|
static names(): {
|
|
728
758
|
[key: string]: string;
|
|
729
759
|
};
|
|
@@ -778,10 +808,23 @@ export declare class DeployPolicyInstanceRequest extends $tea.Model {
|
|
|
778
808
|
[key: string]: any;
|
|
779
809
|
});
|
|
780
810
|
}
|
|
811
|
+
export declare class DeployPolicyInstanceResponseBody extends $tea.Model {
|
|
812
|
+
instances?: string[];
|
|
813
|
+
static names(): {
|
|
814
|
+
[key: string]: string;
|
|
815
|
+
};
|
|
816
|
+
static types(): {
|
|
817
|
+
[key: string]: any;
|
|
818
|
+
};
|
|
819
|
+
constructor(map?: {
|
|
820
|
+
[key: string]: any;
|
|
821
|
+
});
|
|
822
|
+
}
|
|
781
823
|
export declare class DeployPolicyInstanceResponse extends $tea.Model {
|
|
782
824
|
headers: {
|
|
783
825
|
[key: string]: string;
|
|
784
826
|
};
|
|
827
|
+
body: DeployPolicyInstanceResponseBody;
|
|
785
828
|
static names(): {
|
|
786
829
|
[key: string]: string;
|
|
787
830
|
};
|
|
@@ -1095,8 +1138,11 @@ export declare class DescribeClusterNamespacesResponse extends $tea.Model {
|
|
|
1095
1138
|
}
|
|
1096
1139
|
export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Model {
|
|
1097
1140
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
1141
|
+
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
1142
|
+
interconnectMode?: string;
|
|
1098
1143
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
1099
1144
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
1145
|
+
maxNodes?: number;
|
|
1100
1146
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
1101
1147
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
1102
1148
|
status?: DescribeClusterNodePoolDetailResponseBodyStatus;
|
|
@@ -1588,6 +1634,7 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
1588
1634
|
kubernetesVersion?: string;
|
|
1589
1635
|
profile?: string;
|
|
1590
1636
|
region?: string;
|
|
1637
|
+
runtime?: string;
|
|
1591
1638
|
static names(): {
|
|
1592
1639
|
[key: string]: string;
|
|
1593
1640
|
};
|
|
@@ -2191,6 +2238,7 @@ export declare class ModifyClusterRequest extends $tea.Model {
|
|
|
2191
2238
|
apiServerEip?: boolean;
|
|
2192
2239
|
apiServerEipId?: string;
|
|
2193
2240
|
deletionProtection?: boolean;
|
|
2241
|
+
enableRrsa?: boolean;
|
|
2194
2242
|
ingressDomainRebinding?: string;
|
|
2195
2243
|
ingressLoadbalancerId?: string;
|
|
2196
2244
|
instanceDeletionProtection?: boolean;
|
|
@@ -2376,10 +2424,23 @@ export declare class ModifyPolicyInstanceRequest extends $tea.Model {
|
|
|
2376
2424
|
[key: string]: any;
|
|
2377
2425
|
});
|
|
2378
2426
|
}
|
|
2427
|
+
export declare class ModifyPolicyInstanceResponseBody extends $tea.Model {
|
|
2428
|
+
instances?: string[];
|
|
2429
|
+
static names(): {
|
|
2430
|
+
[key: string]: string;
|
|
2431
|
+
};
|
|
2432
|
+
static types(): {
|
|
2433
|
+
[key: string]: any;
|
|
2434
|
+
};
|
|
2435
|
+
constructor(map?: {
|
|
2436
|
+
[key: string]: any;
|
|
2437
|
+
});
|
|
2438
|
+
}
|
|
2379
2439
|
export declare class ModifyPolicyInstanceResponse extends $tea.Model {
|
|
2380
2440
|
headers: {
|
|
2381
2441
|
[key: string]: string;
|
|
2382
2442
|
};
|
|
2443
|
+
body: ModifyPolicyInstanceResponseBody;
|
|
2383
2444
|
static names(): {
|
|
2384
2445
|
[key: string]: string;
|
|
2385
2446
|
};
|
|
@@ -2759,10 +2820,23 @@ export declare class TagResourcesRequest extends $tea.Model {
|
|
|
2759
2820
|
[key: string]: any;
|
|
2760
2821
|
});
|
|
2761
2822
|
}
|
|
2823
|
+
export declare class TagResourcesResponseBody extends $tea.Model {
|
|
2824
|
+
requestId?: string;
|
|
2825
|
+
static names(): {
|
|
2826
|
+
[key: string]: string;
|
|
2827
|
+
};
|
|
2828
|
+
static types(): {
|
|
2829
|
+
[key: string]: any;
|
|
2830
|
+
};
|
|
2831
|
+
constructor(map?: {
|
|
2832
|
+
[key: string]: any;
|
|
2833
|
+
});
|
|
2834
|
+
}
|
|
2762
2835
|
export declare class TagResourcesResponse extends $tea.Model {
|
|
2763
2836
|
headers: {
|
|
2764
2837
|
[key: string]: string;
|
|
2765
2838
|
};
|
|
2839
|
+
body: TagResourcesResponseBody;
|
|
2766
2840
|
static names(): {
|
|
2767
2841
|
[key: string]: string;
|
|
2768
2842
|
};
|
|
@@ -2800,6 +2874,7 @@ export declare class UnInstallClusterAddonsResponse extends $tea.Model {
|
|
|
2800
2874
|
});
|
|
2801
2875
|
}
|
|
2802
2876
|
export declare class UntagResourcesRequest extends $tea.Model {
|
|
2877
|
+
all?: boolean;
|
|
2803
2878
|
regionId?: string;
|
|
2804
2879
|
resourceIds?: string[];
|
|
2805
2880
|
resourceType?: string;
|
|
@@ -2814,10 +2889,23 @@ export declare class UntagResourcesRequest extends $tea.Model {
|
|
|
2814
2889
|
[key: string]: any;
|
|
2815
2890
|
});
|
|
2816
2891
|
}
|
|
2892
|
+
export declare class UntagResourcesResponseBody extends $tea.Model {
|
|
2893
|
+
requestId?: string;
|
|
2894
|
+
static names(): {
|
|
2895
|
+
[key: string]: string;
|
|
2896
|
+
};
|
|
2897
|
+
static types(): {
|
|
2898
|
+
[key: string]: any;
|
|
2899
|
+
};
|
|
2900
|
+
constructor(map?: {
|
|
2901
|
+
[key: string]: any;
|
|
2902
|
+
});
|
|
2903
|
+
}
|
|
2817
2904
|
export declare class UntagResourcesResponse extends $tea.Model {
|
|
2818
2905
|
headers: {
|
|
2819
2906
|
[key: string]: string;
|
|
2820
2907
|
};
|
|
2908
|
+
body: UntagResourcesResponseBody;
|
|
2821
2909
|
static names(): {
|
|
2822
2910
|
[key: string]: string;
|
|
2823
2911
|
};
|
|
@@ -2989,10 +3077,27 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
2989
3077
|
[key: string]: any;
|
|
2990
3078
|
});
|
|
2991
3079
|
}
|
|
3080
|
+
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $tea.Model {
|
|
3081
|
+
bandwidth?: number;
|
|
3082
|
+
ccnId?: string;
|
|
3083
|
+
ccnRegionId?: string;
|
|
3084
|
+
cenId?: string;
|
|
3085
|
+
improvedPeriod?: string;
|
|
3086
|
+
static names(): {
|
|
3087
|
+
[key: string]: string;
|
|
3088
|
+
};
|
|
3089
|
+
static types(): {
|
|
3090
|
+
[key: string]: any;
|
|
3091
|
+
};
|
|
3092
|
+
constructor(map?: {
|
|
3093
|
+
[key: string]: any;
|
|
3094
|
+
});
|
|
3095
|
+
}
|
|
2992
3096
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.Model {
|
|
2993
3097
|
cmsEnabled?: boolean;
|
|
2994
3098
|
cpuPolicy?: string;
|
|
2995
3099
|
labels?: Tag[];
|
|
3100
|
+
nodeNameMode?: string;
|
|
2996
3101
|
runtime?: string;
|
|
2997
3102
|
runtimeVersion?: string;
|
|
2998
3103
|
taints?: Taint[];
|
|
@@ -3039,6 +3144,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
3039
3144
|
export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model {
|
|
3040
3145
|
name?: string;
|
|
3041
3146
|
resourceGroupId?: string;
|
|
3147
|
+
type?: string;
|
|
3042
3148
|
static names(): {
|
|
3043
3149
|
[key: string]: string;
|
|
3044
3150
|
};
|
|
@@ -3080,6 +3186,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
3080
3186
|
autoRenewPeriod?: number;
|
|
3081
3187
|
compensateWithOnDemand?: boolean;
|
|
3082
3188
|
dataDisks?: DataDisk[];
|
|
3189
|
+
deploymentsetId?: string;
|
|
3083
3190
|
imageId?: string;
|
|
3084
3191
|
imageType?: string;
|
|
3085
3192
|
instanceChargeType?: string;
|
|
@@ -3189,10 +3296,27 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extend
|
|
|
3189
3296
|
[key: string]: any;
|
|
3190
3297
|
});
|
|
3191
3298
|
}
|
|
3299
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends $tea.Model {
|
|
3300
|
+
bandwidth?: number;
|
|
3301
|
+
ccnId?: string;
|
|
3302
|
+
ccnRegionId?: string;
|
|
3303
|
+
cenId?: string;
|
|
3304
|
+
improvedPeriod?: string;
|
|
3305
|
+
static names(): {
|
|
3306
|
+
[key: string]: string;
|
|
3307
|
+
};
|
|
3308
|
+
static types(): {
|
|
3309
|
+
[key: string]: any;
|
|
3310
|
+
};
|
|
3311
|
+
constructor(map?: {
|
|
3312
|
+
[key: string]: any;
|
|
3313
|
+
});
|
|
3314
|
+
}
|
|
3192
3315
|
export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $tea.Model {
|
|
3193
3316
|
cmsEnabled?: boolean;
|
|
3194
3317
|
cpuPolicy?: string;
|
|
3195
3318
|
labels?: Tag[];
|
|
3319
|
+
nodeNameMode?: string;
|
|
3196
3320
|
runtime?: string;
|
|
3197
3321
|
runtimeVersion?: string;
|
|
3198
3322
|
taints?: Taint[];
|
|
@@ -3273,6 +3397,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
3273
3397
|
autoRenewPeriod?: number;
|
|
3274
3398
|
compensateWithOnDemand?: boolean;
|
|
3275
3399
|
dataDisks?: DataDisk[];
|
|
3400
|
+
deploymentsetId?: string;
|
|
3276
3401
|
imageId?: string;
|
|
3277
3402
|
instanceChargeType?: string;
|
|
3278
3403
|
instanceTypes?: string[];
|
|
@@ -3360,10 +3485,27 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
3360
3485
|
[key: string]: any;
|
|
3361
3486
|
});
|
|
3362
3487
|
}
|
|
3488
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $tea.Model {
|
|
3489
|
+
bandwidth?: number;
|
|
3490
|
+
ccnId?: string;
|
|
3491
|
+
ccnRegionId?: string;
|
|
3492
|
+
cenId?: string;
|
|
3493
|
+
improvedPeriod?: string;
|
|
3494
|
+
static names(): {
|
|
3495
|
+
[key: string]: string;
|
|
3496
|
+
};
|
|
3497
|
+
static types(): {
|
|
3498
|
+
[key: string]: any;
|
|
3499
|
+
};
|
|
3500
|
+
constructor(map?: {
|
|
3501
|
+
[key: string]: any;
|
|
3502
|
+
});
|
|
3503
|
+
}
|
|
3363
3504
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $tea.Model {
|
|
3364
3505
|
cmsEnabled?: boolean;
|
|
3365
3506
|
cpuPolicy?: string;
|
|
3366
3507
|
labels?: Tag[];
|
|
3508
|
+
nodeNameMode?: string;
|
|
3367
3509
|
runtime?: string;
|
|
3368
3510
|
runtimeVersion?: string;
|
|
3369
3511
|
taints?: Taint[];
|
|
@@ -3444,6 +3586,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
3444
3586
|
autoRenewPeriod?: number;
|
|
3445
3587
|
compensateWithOnDemand?: boolean;
|
|
3446
3588
|
dataDisks?: DataDisk[];
|
|
3589
|
+
deploymentsetId?: string;
|
|
3447
3590
|
imageId?: string;
|
|
3448
3591
|
instanceChargeType?: string;
|
|
3449
3592
|
instanceTypes?: string[];
|
|
@@ -3515,8 +3658,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig exte
|
|
|
3515
3658
|
}
|
|
3516
3659
|
export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.Model {
|
|
3517
3660
|
autoScaling?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling;
|
|
3661
|
+
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
3662
|
+
interconnectMode?: string;
|
|
3518
3663
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
3519
3664
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
3665
|
+
maxNodes?: number;
|
|
3520
3666
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
3521
3667
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
3522
3668
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
@@ -4528,8 +4674,8 @@ export default class Client extends OpenApi {
|
|
|
4528
4674
|
deleteKubernetesTriggerWithOptions(Id: string, headers: {
|
|
4529
4675
|
[key: string]: string;
|
|
4530
4676
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteKubernetesTriggerResponse>;
|
|
4531
|
-
deletePolicyInstance(clusterId: string, policyName: string,
|
|
4532
|
-
deletePolicyInstanceWithOptions(clusterId: string, policyName: string,
|
|
4677
|
+
deletePolicyInstance(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest): Promise<DeletePolicyInstanceResponse>;
|
|
4678
|
+
deletePolicyInstanceWithOptions(clusterId: string, policyName: string, request: DeletePolicyInstanceRequest, headers: {
|
|
4533
4679
|
[key: string]: string;
|
|
4534
4680
|
}, runtime: $Util.RuntimeOptions): Promise<DeletePolicyInstanceResponse>;
|
|
4535
4681
|
deleteTemplate(TemplateId: string): Promise<DeleteTemplateResponse>;
|