@alicloud/cs20151215 4.7.11 → 4.8.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/src/client.ts CHANGED
@@ -6947,6 +6947,118 @@ export class DescribeClustersResponse extends $tea.Model {
6947
6947
  }
6948
6948
  }
6949
6949
 
6950
+ export class DescribeClustersForRegionRequest extends $tea.Model {
6951
+ /**
6952
+ * @example
6953
+ * c8155823d057948c69a****
6954
+ */
6955
+ clusterId?: string;
6956
+ /**
6957
+ * @example
6958
+ * ack.standard
6959
+ */
6960
+ clusterSpec?: string;
6961
+ /**
6962
+ * @example
6963
+ * Kubernetes
6964
+ */
6965
+ clusterType?: string;
6966
+ /**
6967
+ * @example
6968
+ * test-cluster
6969
+ */
6970
+ name?: string;
6971
+ /**
6972
+ * @example
6973
+ * 10
6974
+ */
6975
+ pageNumber?: number;
6976
+ /**
6977
+ * @example
6978
+ * 3
6979
+ */
6980
+ pageSize?: number;
6981
+ /**
6982
+ * @example
6983
+ * Serverless
6984
+ */
6985
+ profile?: string;
6986
+ static names(): { [key: string]: string } {
6987
+ return {
6988
+ clusterId: 'cluster_id',
6989
+ clusterSpec: 'cluster_spec',
6990
+ clusterType: 'cluster_type',
6991
+ name: 'name',
6992
+ pageNumber: 'page_number',
6993
+ pageSize: 'page_size',
6994
+ profile: 'profile',
6995
+ };
6996
+ }
6997
+
6998
+ static types(): { [key: string]: any } {
6999
+ return {
7000
+ clusterId: 'string',
7001
+ clusterSpec: 'string',
7002
+ clusterType: 'string',
7003
+ name: 'string',
7004
+ pageNumber: 'number',
7005
+ pageSize: 'number',
7006
+ profile: 'string',
7007
+ };
7008
+ }
7009
+
7010
+ constructor(map?: { [key: string]: any }) {
7011
+ super(map);
7012
+ }
7013
+ }
7014
+
7015
+ export class DescribeClustersForRegionResponseBody extends $tea.Model {
7016
+ clusters?: DescribeClustersForRegionResponseBodyClusters[];
7017
+ pageInfo?: DescribeClustersForRegionResponseBodyPageInfo;
7018
+ static names(): { [key: string]: string } {
7019
+ return {
7020
+ clusters: 'clusters',
7021
+ pageInfo: 'page_info',
7022
+ };
7023
+ }
7024
+
7025
+ static types(): { [key: string]: any } {
7026
+ return {
7027
+ clusters: { 'type': 'array', 'itemType': DescribeClustersForRegionResponseBodyClusters },
7028
+ pageInfo: DescribeClustersForRegionResponseBodyPageInfo,
7029
+ };
7030
+ }
7031
+
7032
+ constructor(map?: { [key: string]: any }) {
7033
+ super(map);
7034
+ }
7035
+ }
7036
+
7037
+ export class DescribeClustersForRegionResponse extends $tea.Model {
7038
+ headers?: { [key: string]: string };
7039
+ statusCode?: number;
7040
+ body?: DescribeClustersForRegionResponseBody;
7041
+ static names(): { [key: string]: string } {
7042
+ return {
7043
+ headers: 'headers',
7044
+ statusCode: 'statusCode',
7045
+ body: 'body',
7046
+ };
7047
+ }
7048
+
7049
+ static types(): { [key: string]: any } {
7050
+ return {
7051
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7052
+ statusCode: 'number',
7053
+ body: DescribeClustersForRegionResponseBody,
7054
+ };
7055
+ }
7056
+
7057
+ constructor(map?: { [key: string]: any }) {
7058
+ super(map);
7059
+ }
7060
+ }
7061
+
6950
7062
  export class DescribeClustersV1Request extends $tea.Model {
6951
7063
  /**
6952
7064
  * @remarks
@@ -7622,6 +7734,90 @@ export class DescribeEventsResponse extends $tea.Model {
7622
7734
  }
7623
7735
  }
7624
7736
 
7737
+ export class DescribeEventsForRegionRequest extends $tea.Model {
7738
+ /**
7739
+ * @example
7740
+ * cf62854ac2130470897be7a27ed1f****
7741
+ */
7742
+ clusterId?: string;
7743
+ /**
7744
+ * @example
7745
+ * 1
7746
+ */
7747
+ pageNumber?: number;
7748
+ /**
7749
+ * @example
7750
+ * 50
7751
+ */
7752
+ pageSize?: number;
7753
+ static names(): { [key: string]: string } {
7754
+ return {
7755
+ clusterId: 'cluster_id',
7756
+ pageNumber: 'page_number',
7757
+ pageSize: 'page_size',
7758
+ };
7759
+ }
7760
+
7761
+ static types(): { [key: string]: any } {
7762
+ return {
7763
+ clusterId: 'string',
7764
+ pageNumber: 'number',
7765
+ pageSize: 'number',
7766
+ };
7767
+ }
7768
+
7769
+ constructor(map?: { [key: string]: any }) {
7770
+ super(map);
7771
+ }
7772
+ }
7773
+
7774
+ export class DescribeEventsForRegionResponseBody extends $tea.Model {
7775
+ events?: DescribeEventsForRegionResponseBodyEvents[];
7776
+ pageInfo?: DescribeEventsForRegionResponseBodyPageInfo;
7777
+ static names(): { [key: string]: string } {
7778
+ return {
7779
+ events: 'events',
7780
+ pageInfo: 'page_info',
7781
+ };
7782
+ }
7783
+
7784
+ static types(): { [key: string]: any } {
7785
+ return {
7786
+ events: { 'type': 'array', 'itemType': DescribeEventsForRegionResponseBodyEvents },
7787
+ pageInfo: DescribeEventsForRegionResponseBodyPageInfo,
7788
+ };
7789
+ }
7790
+
7791
+ constructor(map?: { [key: string]: any }) {
7792
+ super(map);
7793
+ }
7794
+ }
7795
+
7796
+ export class DescribeEventsForRegionResponse extends $tea.Model {
7797
+ headers?: { [key: string]: string };
7798
+ statusCode?: number;
7799
+ body?: DescribeEventsForRegionResponseBody;
7800
+ static names(): { [key: string]: string } {
7801
+ return {
7802
+ headers: 'headers',
7803
+ statusCode: 'statusCode',
7804
+ body: 'body',
7805
+ };
7806
+ }
7807
+
7808
+ static types(): { [key: string]: any } {
7809
+ return {
7810
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7811
+ statusCode: 'number',
7812
+ body: DescribeEventsForRegionResponseBody,
7813
+ };
7814
+ }
7815
+
7816
+ constructor(map?: { [key: string]: any }) {
7817
+ super(map);
7818
+ }
7819
+ }
7820
+
7625
7821
  export class DescribeExternalAgentRequest extends $tea.Model {
7626
7822
  /**
7627
7823
  * @remarks
@@ -21487,101 +21683,324 @@ export class DescribeClustersResponseBody extends $tea.Model {
21487
21683
  }
21488
21684
  }
21489
21685
 
21490
- export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
21491
- /**
21492
- * @remarks
21493
- * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
21494
- *
21495
- * Valid values:
21496
- *
21497
- * * patch: the latest patch version.
21498
- * * stables: the second-latest minor version.
21499
- * * rapid: the latest minor version.
21500
- *
21501
- * @example
21502
- * patch
21503
- */
21504
- channel?: string;
21505
- /**
21506
- * @remarks
21507
- * Specifies whether to enable auto cluster update.
21508
- *
21509
- * @example
21510
- * true
21511
- */
21512
- enabled?: boolean;
21513
- static names(): { [key: string]: string } {
21514
- return {
21515
- channel: 'channel',
21516
- enabled: 'enabled',
21517
- };
21518
- }
21519
-
21520
- static types(): { [key: string]: any } {
21521
- return {
21522
- channel: 'string',
21523
- enabled: 'boolean',
21524
- };
21525
- }
21526
-
21527
- constructor(map?: { [key: string]: any }) {
21528
- super(map);
21529
- }
21530
- }
21531
-
21532
- export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
21533
- /**
21534
- * @remarks
21535
- * The configurations of auto cluster update.
21536
- */
21537
- clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
21538
- static names(): { [key: string]: string } {
21539
- return {
21540
- clusterAutoUpgrade: 'cluster_auto_upgrade',
21541
- };
21542
- }
21543
-
21544
- static types(): { [key: string]: any } {
21545
- return {
21546
- clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
21547
- };
21548
- }
21549
-
21550
- constructor(map?: { [key: string]: any }) {
21551
- super(map);
21552
- }
21553
- }
21554
-
21555
- export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21686
+ export class DescribeClustersForRegionResponseBodyClusters extends $tea.Model {
21556
21687
  /**
21557
- * @remarks
21558
- * The domain name of the cluster.
21559
- *
21560
21688
  * @example
21561
21689
  * cluster.local
21562
21690
  */
21563
21691
  clusterDomain?: string;
21564
21692
  /**
21565
- * @remarks
21566
- * The cluster ID.
21567
- *
21568
21693
  * @example
21569
- * c3fb96524f9274b4495df0f12a6b5****
21694
+ * c905d1364c2dd4b6284a3f41790c4****
21570
21695
  */
21571
21696
  clusterId?: string;
21572
21697
  /**
21573
- * @remarks
21574
- * After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
21575
- *
21576
- * * `ack.pro.small`: ACK Pro cluster.
21577
- * * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
21578
- *
21579
21698
  * @example
21580
21699
  * ack.standard
21581
21700
  */
21582
21701
  clusterSpec?: string;
21583
21702
  /**
21584
- * @remarks
21703
+ * @example
21704
+ * ManagedKubernetes
21705
+ */
21706
+ clusterType?: string;
21707
+ /**
21708
+ * @example
21709
+ * 172.20.0.0/16
21710
+ */
21711
+ containerCidr?: string;
21712
+ /**
21713
+ * @example
21714
+ * 2020-12-01T20:40:40+08:00
21715
+ */
21716
+ created?: string;
21717
+ /**
21718
+ * @example
21719
+ * 1.16.6-aliyun.1
21720
+ */
21721
+ currentVersion?: string;
21722
+ /**
21723
+ * @example
21724
+ * false
21725
+ */
21726
+ deletionProtection?: boolean;
21727
+ /**
21728
+ * @example
21729
+ * 1.16.6-aliyun.1
21730
+ */
21731
+ initVersion?: string;
21732
+ /**
21733
+ * @example
21734
+ * ipv4
21735
+ */
21736
+ ipStack?: string;
21737
+ /**
21738
+ * @example
21739
+ * test-cluster
21740
+ */
21741
+ name?: string;
21742
+ /**
21743
+ * @example
21744
+ * 1.18.8-aliyun.1
21745
+ */
21746
+ nextVersion?: string;
21747
+ /**
21748
+ * @example
21749
+ * Default
21750
+ */
21751
+ profile?: string;
21752
+ /**
21753
+ * @example
21754
+ * ipvs
21755
+ */
21756
+ proxyMode?: string;
21757
+ /**
21758
+ * @example
21759
+ * cn-beijing-a
21760
+ */
21761
+ regionId?: string;
21762
+ /**
21763
+ * @example
21764
+ * rg-acfmyvw3wjm****
21765
+ */
21766
+ resourceGroupId?: string;
21767
+ /**
21768
+ * @example
21769
+ * sg-2zeihch86ooz9io4****
21770
+ */
21771
+ securityGroupId?: string;
21772
+ /**
21773
+ * @remarks
21774
+ * This parameter is required.
21775
+ *
21776
+ * @example
21777
+ * 172.21.0.0/20
21778
+ */
21779
+ serviceCidr?: string;
21780
+ /**
21781
+ * @example
21782
+ * 2
21783
+ */
21784
+ size?: number;
21785
+ /**
21786
+ * @example
21787
+ * running
21788
+ */
21789
+ state?: string;
21790
+ tags?: Tag[];
21791
+ /**
21792
+ * @example
21793
+ * Asia/Shanghai
21794
+ */
21795
+ timezone?: string;
21796
+ /**
21797
+ * @example
21798
+ * 2020-12-08T15:37:00+08:00
21799
+ */
21800
+ updated?: string;
21801
+ /**
21802
+ * @example
21803
+ * vpc-2zeg8nf1ukc0fcmvq****
21804
+ */
21805
+ vpcId?: string;
21806
+ vswitchIds?: string[];
21807
+ static names(): { [key: string]: string } {
21808
+ return {
21809
+ clusterDomain: 'cluster_domain',
21810
+ clusterId: 'cluster_id',
21811
+ clusterSpec: 'cluster_spec',
21812
+ clusterType: 'cluster_type',
21813
+ containerCidr: 'container_cidr',
21814
+ created: 'created',
21815
+ currentVersion: 'current_version',
21816
+ deletionProtection: 'deletion_protection',
21817
+ initVersion: 'init_version',
21818
+ ipStack: 'ip_stack',
21819
+ name: 'name',
21820
+ nextVersion: 'next_version',
21821
+ profile: 'profile',
21822
+ proxyMode: 'proxy_mode',
21823
+ regionId: 'region_id',
21824
+ resourceGroupId: 'resource_group_id',
21825
+ securityGroupId: 'security_group_id',
21826
+ serviceCidr: 'service_cidr',
21827
+ size: 'size',
21828
+ state: 'state',
21829
+ tags: 'tags',
21830
+ timezone: 'timezone',
21831
+ updated: 'updated',
21832
+ vpcId: 'vpc_id',
21833
+ vswitchIds: 'vswitch_ids',
21834
+ };
21835
+ }
21836
+
21837
+ static types(): { [key: string]: any } {
21838
+ return {
21839
+ clusterDomain: 'string',
21840
+ clusterId: 'string',
21841
+ clusterSpec: 'string',
21842
+ clusterType: 'string',
21843
+ containerCidr: 'string',
21844
+ created: 'string',
21845
+ currentVersion: 'string',
21846
+ deletionProtection: 'boolean',
21847
+ initVersion: 'string',
21848
+ ipStack: 'string',
21849
+ name: 'string',
21850
+ nextVersion: 'string',
21851
+ profile: 'string',
21852
+ proxyMode: 'string',
21853
+ regionId: 'string',
21854
+ resourceGroupId: 'string',
21855
+ securityGroupId: 'string',
21856
+ serviceCidr: 'string',
21857
+ size: 'number',
21858
+ state: 'string',
21859
+ tags: { 'type': 'array', 'itemType': Tag },
21860
+ timezone: 'string',
21861
+ updated: 'string',
21862
+ vpcId: 'string',
21863
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
21864
+ };
21865
+ }
21866
+
21867
+ constructor(map?: { [key: string]: any }) {
21868
+ super(map);
21869
+ }
21870
+ }
21871
+
21872
+ export class DescribeClustersForRegionResponseBodyPageInfo extends $tea.Model {
21873
+ /**
21874
+ * @example
21875
+ * 1
21876
+ */
21877
+ pageNumber?: number;
21878
+ /**
21879
+ * @example
21880
+ * 10
21881
+ */
21882
+ pageSize?: number;
21883
+ /**
21884
+ * @example
21885
+ * 10
21886
+ */
21887
+ totalCount?: number;
21888
+ static names(): { [key: string]: string } {
21889
+ return {
21890
+ pageNumber: 'page_number',
21891
+ pageSize: 'page_size',
21892
+ totalCount: 'total_count',
21893
+ };
21894
+ }
21895
+
21896
+ static types(): { [key: string]: any } {
21897
+ return {
21898
+ pageNumber: 'number',
21899
+ pageSize: 'number',
21900
+ totalCount: 'number',
21901
+ };
21902
+ }
21903
+
21904
+ constructor(map?: { [key: string]: any }) {
21905
+ super(map);
21906
+ }
21907
+ }
21908
+
21909
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
21910
+ /**
21911
+ * @remarks
21912
+ * The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
21913
+ *
21914
+ * Valid values:
21915
+ *
21916
+ * * patch: the latest patch version.
21917
+ * * stables: the second-latest minor version.
21918
+ * * rapid: the latest minor version.
21919
+ *
21920
+ * @example
21921
+ * patch
21922
+ */
21923
+ channel?: string;
21924
+ /**
21925
+ * @remarks
21926
+ * Specifies whether to enable auto cluster update.
21927
+ *
21928
+ * @example
21929
+ * true
21930
+ */
21931
+ enabled?: boolean;
21932
+ static names(): { [key: string]: string } {
21933
+ return {
21934
+ channel: 'channel',
21935
+ enabled: 'enabled',
21936
+ };
21937
+ }
21938
+
21939
+ static types(): { [key: string]: any } {
21940
+ return {
21941
+ channel: 'string',
21942
+ enabled: 'boolean',
21943
+ };
21944
+ }
21945
+
21946
+ constructor(map?: { [key: string]: any }) {
21947
+ super(map);
21948
+ }
21949
+ }
21950
+
21951
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
21952
+ /**
21953
+ * @remarks
21954
+ * The configurations of auto cluster update.
21955
+ */
21956
+ clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
21957
+ static names(): { [key: string]: string } {
21958
+ return {
21959
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
21960
+ };
21961
+ }
21962
+
21963
+ static types(): { [key: string]: any } {
21964
+ return {
21965
+ clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
21966
+ };
21967
+ }
21968
+
21969
+ constructor(map?: { [key: string]: any }) {
21970
+ super(map);
21971
+ }
21972
+ }
21973
+
21974
+ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21975
+ /**
21976
+ * @remarks
21977
+ * The domain name of the cluster.
21978
+ *
21979
+ * @example
21980
+ * cluster.local
21981
+ */
21982
+ clusterDomain?: string;
21983
+ /**
21984
+ * @remarks
21985
+ * The cluster ID.
21986
+ *
21987
+ * @example
21988
+ * c3fb96524f9274b4495df0f12a6b5****
21989
+ */
21990
+ clusterId?: string;
21991
+ /**
21992
+ * @remarks
21993
+ * After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
21994
+ *
21995
+ * * `ack.pro.small`: ACK Pro cluster.
21996
+ * * `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected.
21997
+ *
21998
+ * @example
21999
+ * ack.standard
22000
+ */
22001
+ clusterSpec?: string;
22002
+ /**
22003
+ * @remarks
21585
22004
  * * `Kubernetes`: ACK dedicated cluster.
21586
22005
  * * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters.
21587
22006
  * * `ExternalKubernetes`: registered cluster.
@@ -22482,6 +22901,137 @@ export class DescribeEventsResponseBodyPageInfo extends $tea.Model {
22482
22901
  }
22483
22902
  }
22484
22903
 
22904
+ export class DescribeEventsForRegionResponseBodyEventsData extends $tea.Model {
22905
+ /**
22906
+ * @example
22907
+ * info
22908
+ */
22909
+ level?: string;
22910
+ /**
22911
+ * @example
22912
+ * Start to upgrade NodePool nodePool/nodePool-A
22913
+ */
22914
+ message?: string;
22915
+ /**
22916
+ * @example
22917
+ * Started
22918
+ */
22919
+ reason?: string;
22920
+ static names(): { [key: string]: string } {
22921
+ return {
22922
+ level: 'level',
22923
+ message: 'message',
22924
+ reason: 'reason',
22925
+ };
22926
+ }
22927
+
22928
+ static types(): { [key: string]: any } {
22929
+ return {
22930
+ level: 'string',
22931
+ message: 'string',
22932
+ reason: 'string',
22933
+ };
22934
+ }
22935
+
22936
+ constructor(map?: { [key: string]: any }) {
22937
+ super(map);
22938
+ }
22939
+ }
22940
+
22941
+ export class DescribeEventsForRegionResponseBodyEvents extends $tea.Model {
22942
+ /**
22943
+ * @example
22944
+ * cluster-id
22945
+ */
22946
+ clusterId?: string;
22947
+ data?: DescribeEventsForRegionResponseBodyEventsData;
22948
+ /**
22949
+ * @example
22950
+ * A234-1234-1234
22951
+ */
22952
+ eventId?: string;
22953
+ source?: string;
22954
+ /**
22955
+ * @example
22956
+ * nodePool-id
22957
+ */
22958
+ subject?: string;
22959
+ /**
22960
+ * @example
22961
+ * 2020-12-01T17:31:00Z
22962
+ */
22963
+ time?: string;
22964
+ /**
22965
+ * @example
22966
+ * nodePool_upgrade
22967
+ */
22968
+ type?: string;
22969
+ static names(): { [key: string]: string } {
22970
+ return {
22971
+ clusterId: 'cluster_id',
22972
+ data: 'data',
22973
+ eventId: 'event_id',
22974
+ source: 'source',
22975
+ subject: 'subject',
22976
+ time: 'time',
22977
+ type: 'type',
22978
+ };
22979
+ }
22980
+
22981
+ static types(): { [key: string]: any } {
22982
+ return {
22983
+ clusterId: 'string',
22984
+ data: DescribeEventsForRegionResponseBodyEventsData,
22985
+ eventId: 'string',
22986
+ source: 'string',
22987
+ subject: 'string',
22988
+ time: 'string',
22989
+ type: 'string',
22990
+ };
22991
+ }
22992
+
22993
+ constructor(map?: { [key: string]: any }) {
22994
+ super(map);
22995
+ }
22996
+ }
22997
+
22998
+ export class DescribeEventsForRegionResponseBodyPageInfo extends $tea.Model {
22999
+ /**
23000
+ * @example
23001
+ * 1
23002
+ */
23003
+ pageNumber?: number;
23004
+ /**
23005
+ * @example
23006
+ * 50
23007
+ */
23008
+ pageSize?: number;
23009
+ /**
23010
+ * @example
23011
+ * 3
23012
+ */
23013
+ totalCount?: number;
23014
+ static names(): { [key: string]: string } {
23015
+ return {
23016
+ pageNumber: 'page_number',
23017
+ pageSize: 'page_size',
23018
+ totalCount: 'total_count',
23019
+ };
23020
+ }
23021
+
23022
+ static types(): { [key: string]: any } {
23023
+ return {
23024
+ pageNumber: 'number',
23025
+ pageSize: 'number',
23026
+ totalCount: 'number',
23027
+ };
23028
+ }
23029
+
23030
+ constructor(map?: { [key: string]: any }) {
23031
+ super(map);
23032
+ }
23033
+ }
23034
+
22485
23035
  export class DescribeKubernetesVersionMetadataResponseBodyImages extends $tea.Model {
22486
23036
  /**
22487
23037
  * @remarks
@@ -30244,6 +30794,75 @@ export default class Client extends OpenApi {
30244
30794
  return await this.describeClustersWithOptions(request, headers, runtime);
30245
30795
  }
30246
30796
 
30797
+ /**
30798
+ * 查询指定地域内全部集群列表
30799
+ *
30800
+ * @param request - DescribeClustersForRegionRequest
30801
+ * @param headers - map
30802
+ * @param runtime - runtime options for this request RuntimeOptions
30803
+ * @returns DescribeClustersForRegionResponse
30804
+ */
30805
+ async describeClustersForRegionWithOptions(regionId: string, request: DescribeClustersForRegionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeClustersForRegionResponse> {
30806
+ Util.validateModel(request);
30807
+ let query : {[key: string ]: any} = { };
30808
+ if (!Util.isUnset(request.clusterId)) {
30809
+ query["cluster_id"] = request.clusterId;
30810
+ }
30811
+
30812
+ if (!Util.isUnset(request.clusterSpec)) {
30813
+ query["cluster_spec"] = request.clusterSpec;
30814
+ }
30815
+
30816
+ if (!Util.isUnset(request.clusterType)) {
30817
+ query["cluster_type"] = request.clusterType;
30818
+ }
30819
+
30820
+ if (!Util.isUnset(request.name)) {
30821
+ query["name"] = request.name;
30822
+ }
30823
+
30824
+ if (!Util.isUnset(request.pageNumber)) {
30825
+ query["page_number"] = request.pageNumber;
30826
+ }
30827
+
30828
+ if (!Util.isUnset(request.pageSize)) {
30829
+ query["page_size"] = request.pageSize;
30830
+ }
30831
+
30832
+ if (!Util.isUnset(request.profile)) {
30833
+ query["profile"] = request.profile;
30834
+ }
30835
+
30836
+ let req = new $OpenApi.OpenApiRequest({
30837
+ headers: headers,
30838
+ query: OpenApiUtil.query(query),
30839
+ });
30840
+ let params = new $OpenApi.Params({
30841
+ action: "DescribeClustersForRegion",
30842
+ version: "2015-12-15",
30843
+ protocol: "HTTPS",
30844
+ pathname: `/regions/${OpenApiUtil.getEncodeParam(regionId)}/clusters`,
30845
+ method: "GET",
30846
+ authType: "AK",
30847
+ style: "ROA",
30848
+ reqBodyType: "json",
30849
+ bodyType: "json",
30850
+ });
30851
+ return $tea.cast<DescribeClustersForRegionResponse>(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
30852
+ }
30853
+
30854
+ /**
30855
+ * 查询指定地域内全部集群列表
30856
+ *
30857
+ * @param request - DescribeClustersForRegionRequest
30858
+ * @returns DescribeClustersForRegionResponse
30859
+ */
30860
+ async describeClustersForRegion(regionId: string, request: DescribeClustersForRegionRequest): Promise<DescribeClustersForRegionResponse> {
30861
+ let runtime = new $Util.RuntimeOptions({ });
30862
+ let headers : {[key: string ]: string} = { };
30863
+ return await this.describeClustersForRegionWithOptions(regionId, request, headers, runtime);
30864
+ }
30865
+
30247
30866
  /**
30248
30867
  * Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
30249
30868
  *
@@ -30544,6 +31163,59 @@ export default class Client extends OpenApi {
30544
31163
  return await this.describeEventsWithOptions(request, headers, runtime);
30545
31164
  }
30546
31165
 
31166
+ /**
31167
+ * 查询指定地域内全部事件列表
31168
+ *
31169
+ * @param request - DescribeEventsForRegionRequest
31170
+ * @param headers - map
31171
+ * @param runtime - runtime options for this request RuntimeOptions
31172
+ * @returns DescribeEventsForRegionResponse
31173
+ */
31174
+ async describeEventsForRegionWithOptions(regionId: string, request: DescribeEventsForRegionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsForRegionResponse> {
31175
+ Util.validateModel(request);
31176
+ let query : {[key: string ]: any} = { };
31177
+ if (!Util.isUnset(request.clusterId)) {
31178
+ query["cluster_id"] = request.clusterId;
31179
+ }
31180
+
31181
+ if (!Util.isUnset(request.pageNumber)) {
31182
+ query["page_number"] = request.pageNumber;
31183
+ }
31184
+
31185
+ if (!Util.isUnset(request.pageSize)) {
31186
+ query["page_size"] = request.pageSize;
31187
+ }
31188
+
31189
+ let req = new $OpenApi.OpenApiRequest({
31190
+ headers: headers,
31191
+ query: OpenApiUtil.query(query),
31192
+ });
31193
+ let params = new $OpenApi.Params({
31194
+ action: "DescribeEventsForRegion",
31195
+ version: "2015-12-15",
31196
+ protocol: "HTTPS",
31197
+ pathname: `/regions/${OpenApiUtil.getEncodeParam(regionId)}/events`,
31198
+ method: "GET",
31199
+ authType: "AK",
31200
+ style: "ROA",
31201
+ reqBodyType: "json",
31202
+ bodyType: "json",
31203
+ });
31204
+ return $tea.cast<DescribeEventsForRegionResponse>(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
31205
+ }
31206
+
31207
+ /**
31208
+ * 查询指定地域内全部事件列表
31209
+ *
31210
+ * @param request - DescribeEventsForRegionRequest
31211
+ * @returns DescribeEventsForRegionResponse
31212
+ */
31213
+ async describeEventsForRegion(regionId: string, request: DescribeEventsForRegionRequest): Promise<DescribeEventsForRegionResponse> {
31214
+ let runtime = new $Util.RuntimeOptions({ });
31215
+ let headers : {[key: string ]: string} = { };
31216
+ return await this.describeEventsForRegionWithOptions(regionId, request, headers, runtime);
31217
+ }
31218
+
30547
31219
  /**
30548
31220
  * Queries the proxy configurations of a registered cluster based on the cluster ID.
30549
31221
  *