@alicloud/cs20151215 4.7.7 → 4.7.9

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
@@ -356,7 +356,7 @@ export class MaintenanceWindow extends $tea.Model {
356
356
  enable?: boolean;
357
357
  /**
358
358
  * @example
359
- * 03:00:00Z
359
+ * 2020-10-15T12:31:00.000+08:00
360
360
  */
361
361
  maintenanceTime?: string;
362
362
  /**
@@ -1170,56 +1170,6 @@ export class CancelTaskResponse extends $tea.Model {
1170
1170
  }
1171
1171
  }
1172
1172
 
1173
- export class CancelWorkflowRequest extends $tea.Model {
1174
- /**
1175
- * @remarks
1176
- * The operation that you want to perform. Set the value to cancel.
1177
- *
1178
- * This parameter is required.
1179
- *
1180
- * @example
1181
- * cancel
1182
- */
1183
- action?: string;
1184
- static names(): { [key: string]: string } {
1185
- return {
1186
- action: 'action',
1187
- };
1188
- }
1189
-
1190
- static types(): { [key: string]: any } {
1191
- return {
1192
- action: 'string',
1193
- };
1194
- }
1195
-
1196
- constructor(map?: { [key: string]: any }) {
1197
- super(map);
1198
- }
1199
- }
1200
-
1201
- export class CancelWorkflowResponse extends $tea.Model {
1202
- headers?: { [key: string]: string };
1203
- statusCode?: number;
1204
- static names(): { [key: string]: string } {
1205
- return {
1206
- headers: 'headers',
1207
- statusCode: 'statusCode',
1208
- };
1209
- }
1210
-
1211
- static types(): { [key: string]: any } {
1212
- return {
1213
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1214
- statusCode: 'number',
1215
- };
1216
- }
1217
-
1218
- constructor(map?: { [key: string]: any }) {
1219
- super(map);
1220
- }
1221
- }
1222
-
1223
1173
  export class CheckControlPlaneLogEnableResponseBody extends $tea.Model {
1224
1174
  /**
1225
1175
  * @remarks
@@ -2178,6 +2128,7 @@ export class CreateClusterRequest extends $tea.Model {
2178
2128
  * Hello@1234
2179
2129
  */
2180
2130
  loginPassword?: string;
2131
+ maintenanceWindow?: MaintenanceWindow;
2181
2132
  /**
2182
2133
  * @remarks
2183
2134
  * Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
@@ -2375,6 +2326,7 @@ export class CreateClusterRequest extends $tea.Model {
2375
2326
  * @deprecated
2376
2327
  */
2377
2328
  numOfNodes?: number;
2329
+ operationPolicy?: CreateClusterRequestOperationPolicy;
2378
2330
  /**
2379
2331
  * @remarks
2380
2332
  * The type of OS. Valid values:
@@ -2852,6 +2804,7 @@ export class CreateClusterRequest extends $tea.Model {
2852
2804
  loadBalancerSpec: 'load_balancer_spec',
2853
2805
  loggingType: 'logging_type',
2854
2806
  loginPassword: 'login_password',
2807
+ maintenanceWindow: 'maintenance_window',
2855
2808
  masterAutoRenew: 'master_auto_renew',
2856
2809
  masterAutoRenewPeriod: 'master_auto_renew_period',
2857
2810
  masterCount: 'master_count',
@@ -2871,6 +2824,7 @@ export class CreateClusterRequest extends $tea.Model {
2871
2824
  nodePortRange: 'node_port_range',
2872
2825
  nodepools: 'nodepools',
2873
2826
  numOfNodes: 'num_of_nodes',
2827
+ operationPolicy: 'operation_policy',
2874
2828
  osType: 'os_type',
2875
2829
  period: 'period',
2876
2830
  periodUnit: 'period_unit',
@@ -2952,6 +2906,7 @@ export class CreateClusterRequest extends $tea.Model {
2952
2906
  loadBalancerSpec: 'string',
2953
2907
  loggingType: 'string',
2954
2908
  loginPassword: 'string',
2909
+ maintenanceWindow: MaintenanceWindow,
2955
2910
  masterAutoRenew: 'boolean',
2956
2911
  masterAutoRenewPeriod: 'number',
2957
2912
  masterCount: 'number',
@@ -2971,6 +2926,7 @@ export class CreateClusterRequest extends $tea.Model {
2971
2926
  nodePortRange: 'string',
2972
2927
  nodepools: { 'type': 'array', 'itemType': Nodepool },
2973
2928
  numOfNodes: 'number',
2929
+ operationPolicy: CreateClusterRequestOperationPolicy,
2974
2930
  osType: 'string',
2975
2931
  period: 'number',
2976
2932
  periodUnit: 'string',
@@ -4835,157 +4791,6 @@ export class DeployPolicyInstanceResponse extends $tea.Model {
4835
4791
  }
4836
4792
  }
4837
4793
 
4838
- export class DescirbeWorkflowResponseBody extends $tea.Model {
4839
- /**
4840
- * @remarks
4841
- * The time when the workflow was created.
4842
- *
4843
- * @example
4844
- * 2020-01-15 16:30:25 +0800 CST
4845
- */
4846
- createTime?: string;
4847
- /**
4848
- * @remarks
4849
- * The duration of the workflow.
4850
- *
4851
- * @example
4852
- * 1h15m33.529968361s
4853
- */
4854
- duration?: string;
4855
- /**
4856
- * @remarks
4857
- * The end time of the task.
4858
- *
4859
- * @example
4860
- * 0001-01-01 00:00:00 +0000 UTC
4861
- */
4862
- finishTime?: string;
4863
- /**
4864
- * @remarks
4865
- * The size of the input data.
4866
- *
4867
- * @example
4868
- * 0
4869
- */
4870
- inputDataSize?: string;
4871
- /**
4872
- * @remarks
4873
- * The name of the workflow.
4874
- *
4875
- * @example
4876
- * wgs-gpu-97xfn
4877
- */
4878
- jobName?: string;
4879
- /**
4880
- * @remarks
4881
- * The namespace to which the workflow belongs.
4882
- *
4883
- * @example
4884
- * 1171330362041663
4885
- */
4886
- jobNamespace?: string;
4887
- /**
4888
- * @remarks
4889
- * The size of the output data.
4890
- *
4891
- * @example
4892
- * 0
4893
- */
4894
- outputDataSize?: string;
4895
- /**
4896
- * @remarks
4897
- * The current state of the workflow.
4898
- *
4899
- * @example
4900
- * Running
4901
- */
4902
- status?: string;
4903
- /**
4904
- * @remarks
4905
- * The number of base pairs.
4906
- *
4907
- * @example
4908
- * 0
4909
- */
4910
- totalBases?: string;
4911
- /**
4912
- * @remarks
4913
- * The number of reads.
4914
- *
4915
- * @example
4916
- * 0
4917
- */
4918
- totalReads?: string;
4919
- /**
4920
- * @remarks
4921
- * The user input parameters.
4922
- *
4923
- * @example
4924
- * {\\"wgs_oss_region\\":\\"cn-shenzhen\\",\\"wgs_fastq_first_name\\":\\"fastq/huada/MGISEQ-200019SZ0002402\\",\\"wgs_fastq_second_name\\":\\"fastq/huada/MGISEQ-200019SZ0002402\\",\\"wgs_bucket_name\\":\\"gene-shenzhen\\",\\"wgs_vcf_file_name\\":\\"output/vcf/huada.vcf\\",\\"wgs_bam_file_name\\":\\"output/bam/huada.bam\\",\\"wgs_reference_file\\":\\"hg19\\",\\"wgs_service\\":\\"g\\"}
4925
- */
4926
- userInputData?: string;
4927
- static names(): { [key: string]: string } {
4928
- return {
4929
- createTime: 'create_time',
4930
- duration: 'duration',
4931
- finishTime: 'finish_time',
4932
- inputDataSize: 'input_data_size',
4933
- jobName: 'job_name',
4934
- jobNamespace: 'job_namespace',
4935
- outputDataSize: 'output_data_size',
4936
- status: 'status',
4937
- totalBases: 'total_bases',
4938
- totalReads: 'total_reads',
4939
- userInputData: 'user_input_data',
4940
- };
4941
- }
4942
-
4943
- static types(): { [key: string]: any } {
4944
- return {
4945
- createTime: 'string',
4946
- duration: 'string',
4947
- finishTime: 'string',
4948
- inputDataSize: 'string',
4949
- jobName: 'string',
4950
- jobNamespace: 'string',
4951
- outputDataSize: 'string',
4952
- status: 'string',
4953
- totalBases: 'string',
4954
- totalReads: 'string',
4955
- userInputData: 'string',
4956
- };
4957
- }
4958
-
4959
- constructor(map?: { [key: string]: any }) {
4960
- super(map);
4961
- }
4962
- }
4963
-
4964
- export class DescirbeWorkflowResponse extends $tea.Model {
4965
- headers?: { [key: string]: string };
4966
- statusCode?: number;
4967
- body?: DescirbeWorkflowResponseBody;
4968
- static names(): { [key: string]: string } {
4969
- return {
4970
- headers: 'headers',
4971
- statusCode: 'statusCode',
4972
- body: 'body',
4973
- };
4974
- }
4975
-
4976
- static types(): { [key: string]: any } {
4977
- return {
4978
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4979
- statusCode: 'number',
4980
- body: DescirbeWorkflowResponseBody,
4981
- };
4982
- }
4983
-
4984
- constructor(map?: { [key: string]: any }) {
4985
- super(map);
4986
- }
4987
- }
4988
-
4989
4794
  export class DescribeAddonRequest extends $tea.Model {
4990
4795
  /**
4991
4796
  * @remarks
@@ -5760,6 +5565,11 @@ export class DescribeClusterAttachScriptsResponse extends $tea.Model {
5760
5565
  }
5761
5566
 
5762
5567
  export class DescribeClusterDetailResponseBody extends $tea.Model {
5568
+ /**
5569
+ * @example
5570
+ * cluster.local
5571
+ */
5572
+ clusterDomain?: string;
5763
5573
  /**
5764
5574
  * @remarks
5765
5575
  * The cluster ID.
@@ -5789,6 +5599,11 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5789
5599
  * Kubernetes
5790
5600
  */
5791
5601
  clusterType?: string;
5602
+ /**
5603
+ * @example
5604
+ * 172.20.0.0/16
5605
+ */
5606
+ containerCidr?: string;
5792
5607
  /**
5793
5608
  * @remarks
5794
5609
  * The time when the cluster was created.
@@ -5837,6 +5652,11 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5837
5652
  * 1.16.6-aliyun.1
5838
5653
  */
5839
5654
  initVersion?: string;
5655
+ /**
5656
+ * @example
5657
+ * ipv4
5658
+ */
5659
+ ipStack?: string;
5840
5660
  /**
5841
5661
  * @remarks
5842
5662
  * The maintenance window of the cluster. This feature is available only in ACK Pro clusters.
@@ -5878,6 +5698,12 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5878
5698
  * 1.18.8-aliyun.1
5879
5699
  */
5880
5700
  nextVersion?: string;
5701
+ /**
5702
+ * @example
5703
+ * 26
5704
+ */
5705
+ nodeCidrMask?: string;
5706
+ operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
5881
5707
  /**
5882
5708
  * @remarks
5883
5709
  * The ROS parameters of the cluster.
@@ -5901,6 +5727,11 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5901
5727
  * Default
5902
5728
  */
5903
5729
  profile?: string;
5730
+ /**
5731
+ * @example
5732
+ * ipvs
5733
+ */
5734
+ proxyMode?: string;
5904
5735
  /**
5905
5736
  * @remarks
5906
5737
  * The region ID of the cluster.
@@ -5925,6 +5756,14 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5925
5756
  * sg-25yq****
5926
5757
  */
5927
5758
  securityGroupId?: string;
5759
+ /**
5760
+ * @remarks
5761
+ * This parameter is required.
5762
+ *
5763
+ * @example
5764
+ * 172.21.0.0/20
5765
+ */
5766
+ serviceCidr?: string;
5928
5767
  /**
5929
5768
  * @remarks
5930
5769
  * The number of nodes in the cluster. Master nodes and worker nodes are included.
@@ -5968,6 +5807,8 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5968
5807
  *
5969
5808
  * @example
5970
5809
  * 172.20.0.0/16
5810
+ *
5811
+ * @deprecated
5971
5812
  */
5972
5813
  subnetCidr?: string;
5973
5814
  /**
@@ -5975,6 +5816,11 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5975
5816
  * The resource tags of the cluster.
5976
5817
  */
5977
5818
  tags?: Tag[];
5819
+ /**
5820
+ * @example
5821
+ * Asia/Shanghai
5822
+ */
5823
+ timezone?: string;
5978
5824
  /**
5979
5825
  * @remarks
5980
5826
  * The time when the cluster was updated.
@@ -5997,8 +5843,11 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
5997
5843
  *
5998
5844
  * @example
5999
5845
  * vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
5846
+ *
5847
+ * @deprecated
6000
5848
  */
6001
5849
  vswitchId?: string;
5850
+ vswitchIds?: string[];
6002
5851
  /**
6003
5852
  * @remarks
6004
5853
  * The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage Elastic Compute Service (ECS) instances.
@@ -6014,34 +5863,43 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
6014
5863
  zoneId?: string;
6015
5864
  static names(): { [key: string]: string } {
6016
5865
  return {
5866
+ clusterDomain: 'cluster_domain',
6017
5867
  clusterId: 'cluster_id',
6018
5868
  clusterSpec: 'cluster_spec',
6019
5869
  clusterType: 'cluster_type',
5870
+ containerCidr: 'container_cidr',
6020
5871
  created: 'created',
6021
5872
  currentVersion: 'current_version',
6022
5873
  deletionProtection: 'deletion_protection',
6023
5874
  dockerVersion: 'docker_version',
6024
5875
  externalLoadbalancerId: 'external_loadbalancer_id',
6025
5876
  initVersion: 'init_version',
5877
+ ipStack: 'ip_stack',
6026
5878
  maintenanceWindow: 'maintenance_window',
6027
5879
  masterUrl: 'master_url',
6028
5880
  metaData: 'meta_data',
6029
5881
  name: 'name',
6030
5882
  networkMode: 'network_mode',
6031
5883
  nextVersion: 'next_version',
5884
+ nodeCidrMask: 'node_cidr_mask',
5885
+ operationPolicy: 'operation_policy',
6032
5886
  parameters: 'parameters',
6033
5887
  privateZone: 'private_zone',
6034
5888
  profile: 'profile',
5889
+ proxyMode: 'proxy_mode',
6035
5890
  regionId: 'region_id',
6036
5891
  resourceGroupId: 'resource_group_id',
6037
5892
  securityGroupId: 'security_group_id',
5893
+ serviceCidr: 'service_cidr',
6038
5894
  size: 'size',
6039
5895
  state: 'state',
6040
5896
  subnetCidr: 'subnet_cidr',
6041
5897
  tags: 'tags',
5898
+ timezone: 'timezone',
6042
5899
  updated: 'updated',
6043
5900
  vpcId: 'vpc_id',
6044
5901
  vswitchId: 'vswitch_id',
5902
+ vswitchIds: 'vswitch_ids',
6045
5903
  workerRamRoleName: 'worker_ram_role_name',
6046
5904
  zoneId: 'zone_id',
6047
5905
  };
@@ -6049,34 +5907,43 @@ export class DescribeClusterDetailResponseBody extends $tea.Model {
6049
5907
 
6050
5908
  static types(): { [key: string]: any } {
6051
5909
  return {
5910
+ clusterDomain: 'string',
6052
5911
  clusterId: 'string',
6053
5912
  clusterSpec: 'string',
6054
5913
  clusterType: 'string',
5914
+ containerCidr: 'string',
6055
5915
  created: 'string',
6056
5916
  currentVersion: 'string',
6057
5917
  deletionProtection: 'boolean',
6058
5918
  dockerVersion: 'string',
6059
5919
  externalLoadbalancerId: 'string',
6060
5920
  initVersion: 'string',
5921
+ ipStack: 'string',
6061
5922
  maintenanceWindow: MaintenanceWindow,
6062
5923
  masterUrl: 'string',
6063
5924
  metaData: 'string',
6064
5925
  name: 'string',
6065
5926
  networkMode: 'string',
6066
5927
  nextVersion: 'string',
5928
+ nodeCidrMask: 'string',
5929
+ operationPolicy: DescribeClusterDetailResponseBodyOperationPolicy,
6067
5930
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6068
5931
  privateZone: 'boolean',
6069
5932
  profile: 'string',
5933
+ proxyMode: 'string',
6070
5934
  regionId: 'string',
6071
5935
  resourceGroupId: 'string',
6072
5936
  securityGroupId: 'string',
5937
+ serviceCidr: 'string',
6073
5938
  size: 'number',
6074
5939
  state: 'string',
6075
5940
  subnetCidr: 'string',
6076
5941
  tags: { 'type': 'array', 'itemType': Tag },
5942
+ timezone: 'string',
6077
5943
  updated: 'string',
6078
5944
  vpcId: 'string',
6079
5945
  vswitchId: 'string',
5946
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
6080
5947
  workerRamRoleName: 'string',
6081
5948
  zoneId: 'string',
6082
5949
  };
@@ -9089,54 +8956,6 @@ export class DescribeUserQuotaResponse extends $tea.Model {
9089
8956
  }
9090
8957
  }
9091
8958
 
9092
- export class DescribeWorkflowsResponseBody extends $tea.Model {
9093
- /**
9094
- * @remarks
9095
- * The list of jobs.
9096
- */
9097
- jobs?: DescribeWorkflowsResponseBodyJobs[];
9098
- static names(): { [key: string]: string } {
9099
- return {
9100
- jobs: 'jobs',
9101
- };
9102
- }
9103
-
9104
- static types(): { [key: string]: any } {
9105
- return {
9106
- jobs: { 'type': 'array', 'itemType': DescribeWorkflowsResponseBodyJobs },
9107
- };
9108
- }
9109
-
9110
- constructor(map?: { [key: string]: any }) {
9111
- super(map);
9112
- }
9113
- }
9114
-
9115
- export class DescribeWorkflowsResponse extends $tea.Model {
9116
- headers?: { [key: string]: string };
9117
- statusCode?: number;
9118
- body?: DescribeWorkflowsResponseBody;
9119
- static names(): { [key: string]: string } {
9120
- return {
9121
- headers: 'headers',
9122
- statusCode: 'statusCode',
9123
- body: 'body',
9124
- };
9125
- }
9126
-
9127
- static types(): { [key: string]: any } {
9128
- return {
9129
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9130
- statusCode: 'number',
9131
- body: DescribeWorkflowsResponseBody,
9132
- };
9133
- }
9134
-
9135
- constructor(map?: { [key: string]: any }) {
9136
- super(map);
9137
- }
9138
- }
9139
-
9140
8959
  export class EdgeClusterAddEdgeMachineRequest extends $tea.Model {
9141
8960
  /**
9142
8961
  * @remarks
@@ -11094,6 +10913,7 @@ export class ModifyClusterRequest extends $tea.Model {
11094
10913
  * The storage configurations of system events.
11095
10914
  */
11096
10915
  systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
10916
+ vswitchIds?: string[];
11097
10917
  static names(): { [key: string]: string } {
11098
10918
  return {
11099
10919
  accessControlList: 'access_control_list',
@@ -11110,6 +10930,7 @@ export class ModifyClusterRequest extends $tea.Model {
11110
10930
  operationPolicy: 'operation_policy',
11111
10931
  resourceGroupId: 'resource_group_id',
11112
10932
  systemEventsLogging: 'system_events_logging',
10933
+ vswitchIds: 'vswitch_ids',
11113
10934
  };
11114
10935
  }
11115
10936
 
@@ -11129,6 +10950,7 @@ export class ModifyClusterRequest extends $tea.Model {
11129
10950
  operationPolicy: ModifyClusterRequestOperationPolicy,
11130
10951
  resourceGroupId: 'string',
11131
10952
  systemEventsLogging: ModifyClusterRequestSystemEventsLogging,
10953
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
11132
10954
  };
11133
10955
  }
11134
10956
 
@@ -12117,28 +11939,6 @@ export class RemoveNodePoolNodesResponse extends $tea.Model {
12117
11939
  }
12118
11940
  }
12119
11941
 
12120
- export class RemoveWorkflowResponse extends $tea.Model {
12121
- headers?: { [key: string]: string };
12122
- statusCode?: number;
12123
- static names(): { [key: string]: string } {
12124
- return {
12125
- headers: 'headers',
12126
- statusCode: 'statusCode',
12127
- };
12128
- }
12129
-
12130
- static types(): { [key: string]: any } {
12131
- return {
12132
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12133
- statusCode: 'number',
12134
- };
12135
- }
12136
-
12137
- constructor(map?: { [key: string]: any }) {
12138
- super(map);
12139
- }
12140
- }
12141
-
12142
11942
  export class RepairClusterNodePoolRequest extends $tea.Model {
12143
11943
  /**
12144
11944
  * @remarks
@@ -13134,269 +12934,6 @@ export class StartAlertResponse extends $tea.Model {
13134
12934
  }
13135
12935
  }
13136
12936
 
13137
- export class StartWorkflowRequest extends $tea.Model {
13138
- /**
13139
- * @remarks
13140
- * The name of the output BAM file.
13141
- *
13142
- * @example
13143
- * abc.bam
13144
- */
13145
- mappingBamOutFilename?: string;
13146
- /**
13147
- * @remarks
13148
- * The output path of the Binary Alignment Map (BAM) file.
13149
- *
13150
- * @example
13151
- * output/bamDirName
13152
- */
13153
- mappingBamOutPath?: string;
13154
- /**
13155
- * @remarks
13156
- * The name of the OSS bucket that stores the data of the mapping workflow.
13157
- *
13158
- * @example
13159
- * gene-shenzhen
13160
- */
13161
- mappingBucketName?: string;
13162
- /**
13163
- * @remarks
13164
- * The name of the first FASTQ file of the mapping workflow.
13165
- *
13166
- * @example
13167
- * MGISEQ2000_PCR-free_NA12878_1_V100003043_L01_1.fq.gz
13168
- */
13169
- mappingFastqFirstFilename?: string;
13170
- /**
13171
- * @remarks
13172
- * The path of the FASTQ files of the mapping workflow.
13173
- *
13174
- * @example
13175
- * fastq/MGISEQ2000
13176
- */
13177
- mappingFastqPath?: string;
13178
- /**
13179
- * @remarks
13180
- * The name of the second FASTQ file of the mapping workflow.
13181
- *
13182
- * @example
13183
- * MGISEQ2000_PCR-free_NA12878_1_V100003043_L01_2.fq.gz
13184
- */
13185
- mappingFastqSecondFilename?: string;
13186
- /**
13187
- * @remarks
13188
- * Specifies whether to mark duplicate values.
13189
- *
13190
- * @example
13191
- * true
13192
- */
13193
- mappingIsMarkDup?: string;
13194
- /**
13195
- * @remarks
13196
- * The region where the Object Storage Service (OSS) bucket that stores the data of the mapping workflow is deployed.
13197
- *
13198
- * @example
13199
- * cn-hangzhou
13200
- */
13201
- mappingOssRegion?: string;
13202
- /**
13203
- * @remarks
13204
- * The path of the reference files of the mapping workflow.
13205
- *
13206
- * @example
13207
- * reference/hg19
13208
- */
13209
- mappingReferencePath?: string;
13210
- /**
13211
- * @remarks
13212
- * The type of service-level agreement (SLA). Valid values:
13213
- *
13214
- * * s: the silver level (S-level). It requires 1 extra minute to process every 1.5 billion base pairs beyond the limit of 90 billion base pairs.
13215
- * * g: the gold level (G-level). It requires 1 extra minute to process every 2 billion base pairs beyond the limit of 90 billion base pairs.
13216
- * * p: the platinum level (P-level). It requires 1 extra minute to process every 3 billion base pairs beyond the limit of 90 billion base pairs.
13217
- *
13218
- * @example
13219
- * s
13220
- */
13221
- service?: string;
13222
- /**
13223
- * @remarks
13224
- * The name of the OSS bucket that stores the data of the WGS workflow.
13225
- *
13226
- * @example
13227
- * gene-shenzhen
13228
- */
13229
- wgsBucketName?: string;
13230
- /**
13231
- * @remarks
13232
- * The name of the first FASTQ file of the WGS workflow.
13233
- *
13234
- * @example
13235
- * MGISEQ2000_PCR-free_NA12878_1_V100003043_L01_1.fq.gz
13236
- */
13237
- wgsFastqFirstFilename?: string;
13238
- /**
13239
- * @remarks
13240
- * The path of the FASTQ files of the WGS workflow.
13241
- *
13242
- * @example
13243
- * fastq/MGISEQ2000
13244
- */
13245
- wgsFastqPath?: string;
13246
- /**
13247
- * @remarks
13248
- * The name of the second FASTQ file of the WGS workflow.
13249
- *
13250
- * @example
13251
- * MGISEQ2000_PCR-free_NA12878_1_V100003043_L01_2.fq.gz
13252
- */
13253
- wgsFastqSecondFilename?: string;
13254
- /**
13255
- * @remarks
13256
- * The region where the OSS bucket that stores the data of the whole genome sequencing (WGS) workflow is deployed.
13257
- *
13258
- * @example
13259
- * cn-shenzhen
13260
- */
13261
- wgsOssRegion?: string;
13262
- /**
13263
- * @remarks
13264
- * The path of the reference files of the WGS workflow.
13265
- *
13266
- * @example
13267
- * reference/hg19
13268
- */
13269
- wgsReferencePath?: string;
13270
- /**
13271
- * @remarks
13272
- * The name of the output VCF file.
13273
- *
13274
- * @example
13275
- * abc.vcf
13276
- */
13277
- wgsVcfOutFilename?: string;
13278
- /**
13279
- * @remarks
13280
- * The output path of the Variant Call Format (VCF) file.
13281
- *
13282
- * @example
13283
- * output/vcf
13284
- */
13285
- wgsVcfOutPath?: string;
13286
- /**
13287
- * @remarks
13288
- * The type of workflow. Valid values: wgs and mapping.
13289
- *
13290
- * This parameter is required.
13291
- *
13292
- * @example
13293
- * mapping
13294
- */
13295
- workflowType?: string;
13296
- static names(): { [key: string]: string } {
13297
- return {
13298
- mappingBamOutFilename: 'mapping_bam_out_filename',
13299
- mappingBamOutPath: 'mapping_bam_out_path',
13300
- mappingBucketName: 'mapping_bucket_name',
13301
- mappingFastqFirstFilename: 'mapping_fastq_first_filename',
13302
- mappingFastqPath: 'mapping_fastq_path',
13303
- mappingFastqSecondFilename: 'mapping_fastq_second_filename',
13304
- mappingIsMarkDup: 'mapping_is_mark_dup',
13305
- mappingOssRegion: 'mapping_oss_region',
13306
- mappingReferencePath: 'mapping_reference_path',
13307
- service: 'service',
13308
- wgsBucketName: 'wgs_bucket_name',
13309
- wgsFastqFirstFilename: 'wgs_fastq_first_filename',
13310
- wgsFastqPath: 'wgs_fastq_path',
13311
- wgsFastqSecondFilename: 'wgs_fastq_second_filename',
13312
- wgsOssRegion: 'wgs_oss_region',
13313
- wgsReferencePath: 'wgs_reference_path',
13314
- wgsVcfOutFilename: 'wgs_vcf_out_filename',
13315
- wgsVcfOutPath: 'wgs_vcf_out_path',
13316
- workflowType: 'workflow_type',
13317
- };
13318
- }
13319
-
13320
- static types(): { [key: string]: any } {
13321
- return {
13322
- mappingBamOutFilename: 'string',
13323
- mappingBamOutPath: 'string',
13324
- mappingBucketName: 'string',
13325
- mappingFastqFirstFilename: 'string',
13326
- mappingFastqPath: 'string',
13327
- mappingFastqSecondFilename: 'string',
13328
- mappingIsMarkDup: 'string',
13329
- mappingOssRegion: 'string',
13330
- mappingReferencePath: 'string',
13331
- service: 'string',
13332
- wgsBucketName: 'string',
13333
- wgsFastqFirstFilename: 'string',
13334
- wgsFastqPath: 'string',
13335
- wgsFastqSecondFilename: 'string',
13336
- wgsOssRegion: 'string',
13337
- wgsReferencePath: 'string',
13338
- wgsVcfOutFilename: 'string',
13339
- wgsVcfOutPath: 'string',
13340
- workflowType: 'string',
13341
- };
13342
- }
13343
-
13344
- constructor(map?: { [key: string]: any }) {
13345
- super(map);
13346
- }
13347
- }
13348
-
13349
- export class StartWorkflowResponseBody extends $tea.Model {
13350
- /**
13351
- * @remarks
13352
- * The name of the workflow.
13353
- *
13354
- * @example
13355
- * mapping-gpu-66xv7
13356
- */
13357
- jobName?: string;
13358
- static names(): { [key: string]: string } {
13359
- return {
13360
- jobName: 'JobName',
13361
- };
13362
- }
13363
-
13364
- static types(): { [key: string]: any } {
13365
- return {
13366
- jobName: 'string',
13367
- };
13368
- }
13369
-
13370
- constructor(map?: { [key: string]: any }) {
13371
- super(map);
13372
- }
13373
- }
13374
-
13375
- export class StartWorkflowResponse extends $tea.Model {
13376
- headers?: { [key: string]: string };
13377
- statusCode?: number;
13378
- body?: StartWorkflowResponseBody;
13379
- static names(): { [key: string]: string } {
13380
- return {
13381
- headers: 'headers',
13382
- statusCode: 'statusCode',
13383
- body: 'body',
13384
- };
13385
- }
13386
-
13387
- static types(): { [key: string]: any } {
13388
- return {
13389
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13390
- statusCode: 'number',
13391
- body: StartWorkflowResponseBody,
13392
- };
13393
- }
13394
-
13395
- constructor(map?: { [key: string]: any }) {
13396
- super(map);
13397
- }
13398
- }
13399
-
13400
12937
  export class StopAlertRequest extends $tea.Model {
13401
12938
  /**
13402
12939
  * @remarks
@@ -15916,6 +15453,47 @@ export class CheckServiceRoleResponseBodyRoles extends $tea.Model {
15916
15453
  }
15917
15454
  }
15918
15455
 
15456
+ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
15457
+ channel?: string;
15458
+ enabled?: boolean;
15459
+ static names(): { [key: string]: string } {
15460
+ return {
15461
+ channel: 'channel',
15462
+ enabled: 'enabled',
15463
+ };
15464
+ }
15465
+
15466
+ static types(): { [key: string]: any } {
15467
+ return {
15468
+ channel: 'string',
15469
+ enabled: 'boolean',
15470
+ };
15471
+ }
15472
+
15473
+ constructor(map?: { [key: string]: any }) {
15474
+ super(map);
15475
+ }
15476
+ }
15477
+
15478
+ export class CreateClusterRequestOperationPolicy extends $tea.Model {
15479
+ clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
15480
+ static names(): { [key: string]: string } {
15481
+ return {
15482
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
15483
+ };
15484
+ }
15485
+
15486
+ static types(): { [key: string]: any } {
15487
+ return {
15488
+ clusterAutoUpgrade: CreateClusterRequestOperationPolicyClusterAutoUpgrade,
15489
+ };
15490
+ }
15491
+
15492
+ constructor(map?: { [key: string]: any }) {
15493
+ super(map);
15494
+ }
15495
+ }
15496
+
15919
15497
  export class CreateClusterRequestWorkerDataDisks extends $tea.Model {
15920
15498
  /**
15921
15499
  * @remarks
@@ -17627,6 +17205,47 @@ export class DescribeAddonsResponseBodyComponentGroups extends $tea.Model {
17627
17205
  }
17628
17206
  }
17629
17207
 
17208
+ export class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
17209
+ channel?: string;
17210
+ enabled?: boolean;
17211
+ static names(): { [key: string]: string } {
17212
+ return {
17213
+ channel: 'channel',
17214
+ enabled: 'enabled',
17215
+ };
17216
+ }
17217
+
17218
+ static types(): { [key: string]: any } {
17219
+ return {
17220
+ channel: 'string',
17221
+ enabled: 'boolean',
17222
+ };
17223
+ }
17224
+
17225
+ constructor(map?: { [key: string]: any }) {
17226
+ super(map);
17227
+ }
17228
+ }
17229
+
17230
+ export class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
17231
+ clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
17232
+ static names(): { [key: string]: string } {
17233
+ return {
17234
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
17235
+ };
17236
+ }
17237
+
17238
+ static types(): { [key: string]: any } {
17239
+ return {
17240
+ clusterAutoUpgrade: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade,
17241
+ };
17242
+ }
17243
+
17244
+ constructor(map?: { [key: string]: any }) {
17245
+ super(map);
17246
+ }
17247
+ }
17248
+
17630
17249
  export class DescribeClusterEventsResponseBodyEventsData extends $tea.Model {
17631
17250
  /**
17632
17251
  * @remarks
@@ -21714,7 +21333,53 @@ export class DescribeClustersResponseBody extends $tea.Model {
21714
21333
  }
21715
21334
  }
21716
21335
 
21336
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
21337
+ channel?: string;
21338
+ enabled?: boolean;
21339
+ static names(): { [key: string]: string } {
21340
+ return {
21341
+ channel: 'channel',
21342
+ enabled: 'enabled',
21343
+ };
21344
+ }
21345
+
21346
+ static types(): { [key: string]: any } {
21347
+ return {
21348
+ channel: 'string',
21349
+ enabled: 'boolean',
21350
+ };
21351
+ }
21352
+
21353
+ constructor(map?: { [key: string]: any }) {
21354
+ super(map);
21355
+ }
21356
+ }
21357
+
21358
+ export class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
21359
+ clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
21360
+ static names(): { [key: string]: string } {
21361
+ return {
21362
+ clusterAutoUpgrade: 'cluster_auto_upgrade',
21363
+ };
21364
+ }
21365
+
21366
+ static types(): { [key: string]: any } {
21367
+ return {
21368
+ clusterAutoUpgrade: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade,
21369
+ };
21370
+ }
21371
+
21372
+ constructor(map?: { [key: string]: any }) {
21373
+ super(map);
21374
+ }
21375
+ }
21376
+
21717
21377
  export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21378
+ /**
21379
+ * @example
21380
+ * cluster.local
21381
+ */
21382
+ clusterDomain?: string;
21718
21383
  /**
21719
21384
  * @remarks
21720
21385
  * The cluster ID.
@@ -21744,6 +21409,11 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21744
21409
  * Kubernetes
21745
21410
  */
21746
21411
  clusterType?: string;
21412
+ /**
21413
+ * @example
21414
+ * 172.20.0.0/16
21415
+ */
21416
+ containerCidr?: string;
21747
21417
  /**
21748
21418
  * @remarks
21749
21419
  * The time when the cluster was created.
@@ -21799,6 +21469,11 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21799
21469
  * 1.16.9-aliyun.1
21800
21470
  */
21801
21471
  initVersion?: string;
21472
+ /**
21473
+ * @example
21474
+ * ipv4
21475
+ */
21476
+ ipStack?: string;
21802
21477
  /**
21803
21478
  * @remarks
21804
21479
  * The maintenance window of the cluster. This feature is available only for ACK managed clusters and ACK Serverless clusters.
@@ -21851,6 +21526,7 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21851
21526
  * 1.18.8-aliyun.1
21852
21527
  */
21853
21528
  nextVersion?: string;
21529
+ operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
21854
21530
  /**
21855
21531
  * @remarks
21856
21532
  * Indicates whether Alibaba Cloud DNS PrivateZone is enabled. Valid values:
@@ -21875,6 +21551,11 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21875
21551
  * Default
21876
21552
  */
21877
21553
  profile?: string;
21554
+ /**
21555
+ * @example
21556
+ * ipvs
21557
+ */
21558
+ proxyMode?: string;
21878
21559
  /**
21879
21560
  * @remarks
21880
21561
  * The region ID of the cluster.
@@ -21899,6 +21580,14 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21899
21580
  * sg-2vcgwsrwgt5mp0yi****
21900
21581
  */
21901
21582
  securityGroupId?: string;
21583
+ /**
21584
+ * @remarks
21585
+ * This parameter is required.
21586
+ *
21587
+ * @example
21588
+ * 172.21.0.0/20
21589
+ */
21590
+ serviceCidr?: string;
21902
21591
  /**
21903
21592
  * @remarks
21904
21593
  * The number of nodes in the cluster, including master nodes and worker nodes.
@@ -21940,6 +21629,8 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21940
21629
  *
21941
21630
  * @example
21942
21631
  * 172.21.0.0/16
21632
+ *
21633
+ * @deprecated
21943
21634
  */
21944
21635
  subnetCidr?: string;
21945
21636
  /**
@@ -21947,6 +21638,11 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21947
21638
  * The resource labels of the cluster.
21948
21639
  */
21949
21640
  tags?: Tag[];
21641
+ /**
21642
+ * @example
21643
+ * Asia/Shanghai
21644
+ */
21645
+ timezone?: string;
21950
21646
  /**
21951
21647
  * @remarks
21952
21648
  * The time when the cluster was updated.
@@ -21969,8 +21665,11 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21969
21665
  *
21970
21666
  * @example
21971
21667
  * vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma****
21668
+ *
21669
+ * @deprecated
21972
21670
  */
21973
21671
  vswitchId?: string;
21672
+ vswitchIds?: string[];
21974
21673
  /**
21975
21674
  * @remarks
21976
21675
  * The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage ECS instances.
@@ -21989,33 +21688,41 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
21989
21688
  zoneId?: string;
21990
21689
  static names(): { [key: string]: string } {
21991
21690
  return {
21691
+ clusterDomain: 'cluster_domain',
21992
21692
  clusterId: 'cluster_id',
21993
21693
  clusterSpec: 'cluster_spec',
21994
21694
  clusterType: 'cluster_type',
21695
+ containerCidr: 'container_cidr',
21995
21696
  created: 'created',
21996
21697
  currentVersion: 'current_version',
21997
21698
  deletionProtection: 'deletion_protection',
21998
21699
  dockerVersion: 'docker_version',
21999
21700
  externalLoadbalancerId: 'external_loadbalancer_id',
22000
21701
  initVersion: 'init_version',
21702
+ ipStack: 'ip_stack',
22001
21703
  maintenanceWindow: 'maintenance_window',
22002
21704
  masterUrl: 'master_url',
22003
21705
  metaData: 'meta_data',
22004
21706
  name: 'name',
22005
21707
  networkMode: 'network_mode',
22006
21708
  nextVersion: 'next_version',
21709
+ operationPolicy: 'operation_policy',
22007
21710
  privateZone: 'private_zone',
22008
21711
  profile: 'profile',
21712
+ proxyMode: 'proxy_mode',
22009
21713
  regionId: 'region_id',
22010
21714
  resourceGroupId: 'resource_group_id',
22011
21715
  securityGroupId: 'security_group_id',
21716
+ serviceCidr: 'service_cidr',
22012
21717
  size: 'size',
22013
21718
  state: 'state',
22014
21719
  subnetCidr: 'subnet_cidr',
22015
21720
  tags: 'tags',
21721
+ timezone: 'timezone',
22016
21722
  updated: 'updated',
22017
21723
  vpcId: 'vpc_id',
22018
21724
  vswitchId: 'vswitch_id',
21725
+ vswitchIds: 'vswitch_ids',
22019
21726
  workerRamRoleName: 'worker_ram_role_name',
22020
21727
  zoneId: 'zone_id',
22021
21728
  };
@@ -22023,33 +21730,41 @@ export class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
22023
21730
 
22024
21731
  static types(): { [key: string]: any } {
22025
21732
  return {
21733
+ clusterDomain: 'string',
22026
21734
  clusterId: 'string',
22027
21735
  clusterSpec: 'string',
22028
21736
  clusterType: 'string',
21737
+ containerCidr: 'string',
22029
21738
  created: 'string',
22030
21739
  currentVersion: 'string',
22031
21740
  deletionProtection: 'boolean',
22032
21741
  dockerVersion: 'string',
22033
21742
  externalLoadbalancerId: 'string',
22034
21743
  initVersion: 'string',
21744
+ ipStack: 'string',
22035
21745
  maintenanceWindow: MaintenanceWindow,
22036
21746
  masterUrl: 'string',
22037
21747
  metaData: 'string',
22038
21748
  name: 'string',
22039
21749
  networkMode: 'string',
22040
21750
  nextVersion: 'string',
21751
+ operationPolicy: DescribeClustersV1ResponseBodyClustersOperationPolicy,
22041
21752
  privateZone: 'boolean',
22042
21753
  profile: 'string',
21754
+ proxyMode: 'string',
22043
21755
  regionId: 'string',
22044
21756
  resourceGroupId: 'string',
22045
21757
  securityGroupId: 'string',
21758
+ serviceCidr: 'string',
22046
21759
  size: 'number',
22047
21760
  state: 'string',
22048
21761
  subnetCidr: 'string',
22049
21762
  tags: { 'type': 'array', 'itemType': Tag },
21763
+ timezone: 'string',
22050
21764
  updated: 'string',
22051
21765
  vpcId: 'string',
22052
21766
  vswitchId: 'string',
21767
+ vswitchIds: { 'type': 'array', 'itemType': 'string' },
22053
21768
  workerRamRoleName: 'string',
22054
21769
  zoneId: 'string',
22055
21770
  };
@@ -24331,52 +24046,6 @@ export class DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota extends $tea
24331
24046
  }
24332
24047
  }
24333
24048
 
24334
- export class DescribeWorkflowsResponseBodyJobs extends $tea.Model {
24335
- /**
24336
- * @remarks
24337
- * The cluster ID.
24338
- *
24339
- * @example
24340
- * cb1a7214cfc0b41d9bb086affc2d8f51c
24341
- */
24342
- clusterId?: string;
24343
- /**
24344
- * @remarks
24345
- * The time when the workflow was created.
24346
- *
24347
- * @example
24348
- * 2020-01-15T13:18:52Z
24349
- */
24350
- createTime?: string;
24351
- /**
24352
- * @remarks
24353
- * The name of the workflow.
24354
- *
24355
- * @example
24356
- * wgs-gpu-qb4dk
24357
- */
24358
- jobName?: string;
24359
- static names(): { [key: string]: string } {
24360
- return {
24361
- clusterId: 'cluster_id',
24362
- createTime: 'create_time',
24363
- jobName: 'job_name',
24364
- };
24365
- }
24366
-
24367
- static types(): { [key: string]: any } {
24368
- return {
24369
- clusterId: 'string',
24370
- createTime: 'string',
24371
- jobName: 'string',
24372
- };
24373
- }
24374
-
24375
- constructor(map?: { [key: string]: any }) {
24376
- super(map);
24377
- }
24378
- }
24379
-
24380
24049
  export class FixNodePoolVulsRequestRolloutPolicy extends $tea.Model {
24381
24050
  /**
24382
24051
  * @remarks
@@ -27690,57 +27359,6 @@ export default class Client extends OpenApi {
27690
27359
  return await this.cancelTaskWithOptions(taskId, headers, runtime);
27691
27360
  }
27692
27361
 
27693
- /**
27694
- * You can call the CancelWorkflow operation to cancel an ongoing workflow.
27695
- *
27696
- * @deprecated OpenAPI CancelWorkflow is deprecated
27697
- *
27698
- * @param request - CancelWorkflowRequest
27699
- * @param headers - map
27700
- * @param runtime - runtime options for this request RuntimeOptions
27701
- * @returns CancelWorkflowResponse
27702
- */
27703
- // Deprecated
27704
- async cancelWorkflowWithOptions(workflowName: string, request: CancelWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelWorkflowResponse> {
27705
- Util.validateModel(request);
27706
- let body : {[key: string ]: any} = { };
27707
- if (!Util.isUnset(request.action)) {
27708
- body["action"] = request.action;
27709
- }
27710
-
27711
- let req = new $OpenApi.OpenApiRequest({
27712
- headers: headers,
27713
- body: OpenApiUtil.parseToMap(body),
27714
- });
27715
- let params = new $OpenApi.Params({
27716
- action: "CancelWorkflow",
27717
- version: "2015-12-15",
27718
- protocol: "HTTPS",
27719
- pathname: `/gs/workflow/${OpenApiUtil.getEncodeParam(workflowName)}`,
27720
- method: "PUT",
27721
- authType: "AK",
27722
- style: "ROA",
27723
- reqBodyType: "json",
27724
- bodyType: "none",
27725
- });
27726
- return $tea.cast<CancelWorkflowResponse>(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
27727
- }
27728
-
27729
- /**
27730
- * You can call the CancelWorkflow operation to cancel an ongoing workflow.
27731
- *
27732
- * @deprecated OpenAPI CancelWorkflow is deprecated
27733
- *
27734
- * @param request - CancelWorkflowRequest
27735
- * @returns CancelWorkflowResponse
27736
- */
27737
- // Deprecated
27738
- async cancelWorkflow(workflowName: string, request: CancelWorkflowRequest): Promise<CancelWorkflowResponse> {
27739
- let runtime = new $Util.RuntimeOptions({ });
27740
- let headers : {[key: string ]: string} = { };
27741
- return await this.cancelWorkflowWithOptions(workflowName, request, headers, runtime);
27742
- }
27743
-
27744
27362
  /**
27745
27363
  * Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
27746
27364
  *
@@ -28200,6 +27818,10 @@ export default class Client extends OpenApi {
28200
27818
  body["login_password"] = request.loginPassword;
28201
27819
  }
28202
27820
 
27821
+ if (!Util.isUnset(request.maintenanceWindow)) {
27822
+ body["maintenance_window"] = request.maintenanceWindow;
27823
+ }
27824
+
28203
27825
  if (!Util.isUnset(request.masterAutoRenew)) {
28204
27826
  body["master_auto_renew"] = request.masterAutoRenew;
28205
27827
  }
@@ -28276,6 +27898,10 @@ export default class Client extends OpenApi {
28276
27898
  body["num_of_nodes"] = request.numOfNodes;
28277
27899
  }
28278
27900
 
27901
+ if (!Util.isUnset(request.operationPolicy)) {
27902
+ body["operation_policy"] = request.operationPolicy;
27903
+ }
27904
+
28279
27905
  if (!Util.isUnset(request.osType)) {
28280
27906
  body["os_type"] = request.osType;
28281
27907
  }
@@ -29368,47 +28994,6 @@ export default class Client extends OpenApi {
29368
28994
  return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
29369
28995
  }
29370
28996
 
29371
- /**
29372
- * You can call the DescirbeWorkflow operation to query detailed information about a workflow.
29373
- *
29374
- * @deprecated OpenAPI DescirbeWorkflow is deprecated
29375
- *
29376
- * @param headers - map
29377
- * @param runtime - runtime options for this request RuntimeOptions
29378
- * @returns DescirbeWorkflowResponse
29379
- */
29380
- // Deprecated
29381
- async descirbeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescirbeWorkflowResponse> {
29382
- let req = new $OpenApi.OpenApiRequest({
29383
- headers: headers,
29384
- });
29385
- let params = new $OpenApi.Params({
29386
- action: "DescirbeWorkflow",
29387
- version: "2015-12-15",
29388
- protocol: "HTTPS",
29389
- pathname: `/gs/workflow/${OpenApiUtil.getEncodeParam(workflowName)}`,
29390
- method: "GET",
29391
- authType: "AK",
29392
- style: "ROA",
29393
- reqBodyType: "json",
29394
- bodyType: "json",
29395
- });
29396
- return $tea.cast<DescirbeWorkflowResponse>(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
29397
- }
29398
-
29399
- /**
29400
- * You can call the DescirbeWorkflow operation to query detailed information about a workflow.
29401
- *
29402
- * @deprecated OpenAPI DescirbeWorkflow is deprecated
29403
- * @returns DescirbeWorkflowResponse
29404
- */
29405
- // Deprecated
29406
- async descirbeWorkflow(workflowName: string): Promise<DescirbeWorkflowResponse> {
29407
- let runtime = new $Util.RuntimeOptions({ });
29408
- let headers : {[key: string ]: string} = { };
29409
- return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
29410
- }
29411
-
29412
28997
  /**
29413
28998
  * Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
29414
28999
  *
@@ -31466,47 +31051,6 @@ export default class Client extends OpenApi {
31466
31051
  return await this.describeUserQuotaWithOptions(headers, runtime);
31467
31052
  }
31468
31053
 
31469
- /**
31470
- * You can call the DescribeWorkflows operation to query all workflows.
31471
- *
31472
- * @deprecated OpenAPI DescribeWorkflows is deprecated
31473
- *
31474
- * @param headers - map
31475
- * @param runtime - runtime options for this request RuntimeOptions
31476
- * @returns DescribeWorkflowsResponse
31477
- */
31478
- // Deprecated
31479
- async describeWorkflowsWithOptions(headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeWorkflowsResponse> {
31480
- let req = new $OpenApi.OpenApiRequest({
31481
- headers: headers,
31482
- });
31483
- let params = new $OpenApi.Params({
31484
- action: "DescribeWorkflows",
31485
- version: "2015-12-15",
31486
- protocol: "HTTPS",
31487
- pathname: `/gs/workflows`,
31488
- method: "GET",
31489
- authType: "AK",
31490
- style: "ROA",
31491
- reqBodyType: "json",
31492
- bodyType: "json",
31493
- });
31494
- return $tea.cast<DescribeWorkflowsResponse>(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
31495
- }
31496
-
31497
- /**
31498
- * You can call the DescribeWorkflows operation to query all workflows.
31499
- *
31500
- * @deprecated OpenAPI DescribeWorkflows is deprecated
31501
- * @returns DescribeWorkflowsResponse
31502
- */
31503
- // Deprecated
31504
- async describeWorkflows(): Promise<DescribeWorkflowsResponse> {
31505
- let runtime = new $Util.RuntimeOptions({ });
31506
- let headers : {[key: string ]: string} = { };
31507
- return await this.describeWorkflowsWithOptions(headers, runtime);
31508
- }
31509
-
31510
31054
  /**
31511
31055
  * You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
31512
31056
  *
@@ -32488,6 +32032,10 @@ export default class Client extends OpenApi {
32488
32032
  body["system_events_logging"] = request.systemEventsLogging;
32489
32033
  }
32490
32034
 
32035
+ if (!Util.isUnset(request.vswitchIds)) {
32036
+ body["vswitch_ids"] = request.vswitchIds;
32037
+ }
32038
+
32491
32039
  let req = new $OpenApi.OpenApiRequest({
32492
32040
  headers: headers,
32493
32041
  body: OpenApiUtil.parseToMap(body),
@@ -33173,47 +32721,6 @@ export default class Client extends OpenApi {
33173
32721
  return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
33174
32722
  }
33175
32723
 
33176
- /**
33177
- * You can call the RemoveWorkflow operation to delete a workflow.
33178
- *
33179
- * @deprecated OpenAPI RemoveWorkflow is deprecated
33180
- *
33181
- * @param headers - map
33182
- * @param runtime - runtime options for this request RuntimeOptions
33183
- * @returns RemoveWorkflowResponse
33184
- */
33185
- // Deprecated
33186
- async removeWorkflowWithOptions(workflowName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RemoveWorkflowResponse> {
33187
- let req = new $OpenApi.OpenApiRequest({
33188
- headers: headers,
33189
- });
33190
- let params = new $OpenApi.Params({
33191
- action: "RemoveWorkflow",
33192
- version: "2015-12-15",
33193
- protocol: "HTTPS",
33194
- pathname: `/gs/workflow/${OpenApiUtil.getEncodeParam(workflowName)}`,
33195
- method: "DELETE",
33196
- authType: "AK",
33197
- style: "ROA",
33198
- reqBodyType: "json",
33199
- bodyType: "none",
33200
- });
33201
- return $tea.cast<RemoveWorkflowResponse>(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
33202
- }
33203
-
33204
- /**
33205
- * You can call the RemoveWorkflow operation to delete a workflow.
33206
- *
33207
- * @deprecated OpenAPI RemoveWorkflow is deprecated
33208
- * @returns RemoveWorkflowResponse
33209
- */
33210
- // Deprecated
33211
- async removeWorkflow(workflowName: string): Promise<RemoveWorkflowResponse> {
33212
- let runtime = new $Util.RuntimeOptions({ });
33213
- let headers : {[key: string ]: string} = { };
33214
- return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
33215
- }
33216
-
33217
32724
  /**
33218
32725
  * Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
33219
32726
  *
@@ -33853,129 +33360,6 @@ export default class Client extends OpenApi {
33853
33360
  return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
33854
33361
  }
33855
33362
 
33856
- /**
33857
- * You can call the StartWorkflow operation to create a workflow.
33858
- *
33859
- * @deprecated OpenAPI StartWorkflow is deprecated
33860
- *
33861
- * @param request - StartWorkflowRequest
33862
- * @param headers - map
33863
- * @param runtime - runtime options for this request RuntimeOptions
33864
- * @returns StartWorkflowResponse
33865
- */
33866
- // Deprecated
33867
- async startWorkflowWithOptions(request: StartWorkflowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse> {
33868
- Util.validateModel(request);
33869
- let body : {[key: string ]: any} = { };
33870
- if (!Util.isUnset(request.mappingBamOutFilename)) {
33871
- body["mapping_bam_out_filename"] = request.mappingBamOutFilename;
33872
- }
33873
-
33874
- if (!Util.isUnset(request.mappingBamOutPath)) {
33875
- body["mapping_bam_out_path"] = request.mappingBamOutPath;
33876
- }
33877
-
33878
- if (!Util.isUnset(request.mappingBucketName)) {
33879
- body["mapping_bucket_name"] = request.mappingBucketName;
33880
- }
33881
-
33882
- if (!Util.isUnset(request.mappingFastqFirstFilename)) {
33883
- body["mapping_fastq_first_filename"] = request.mappingFastqFirstFilename;
33884
- }
33885
-
33886
- if (!Util.isUnset(request.mappingFastqPath)) {
33887
- body["mapping_fastq_path"] = request.mappingFastqPath;
33888
- }
33889
-
33890
- if (!Util.isUnset(request.mappingFastqSecondFilename)) {
33891
- body["mapping_fastq_second_filename"] = request.mappingFastqSecondFilename;
33892
- }
33893
-
33894
- if (!Util.isUnset(request.mappingIsMarkDup)) {
33895
- body["mapping_is_mark_dup"] = request.mappingIsMarkDup;
33896
- }
33897
-
33898
- if (!Util.isUnset(request.mappingOssRegion)) {
33899
- body["mapping_oss_region"] = request.mappingOssRegion;
33900
- }
33901
-
33902
- if (!Util.isUnset(request.mappingReferencePath)) {
33903
- body["mapping_reference_path"] = request.mappingReferencePath;
33904
- }
33905
-
33906
- if (!Util.isUnset(request.service)) {
33907
- body["service"] = request.service;
33908
- }
33909
-
33910
- if (!Util.isUnset(request.wgsBucketName)) {
33911
- body["wgs_bucket_name"] = request.wgsBucketName;
33912
- }
33913
-
33914
- if (!Util.isUnset(request.wgsFastqFirstFilename)) {
33915
- body["wgs_fastq_first_filename"] = request.wgsFastqFirstFilename;
33916
- }
33917
-
33918
- if (!Util.isUnset(request.wgsFastqPath)) {
33919
- body["wgs_fastq_path"] = request.wgsFastqPath;
33920
- }
33921
-
33922
- if (!Util.isUnset(request.wgsFastqSecondFilename)) {
33923
- body["wgs_fastq_second_filename"] = request.wgsFastqSecondFilename;
33924
- }
33925
-
33926
- if (!Util.isUnset(request.wgsOssRegion)) {
33927
- body["wgs_oss_region"] = request.wgsOssRegion;
33928
- }
33929
-
33930
- if (!Util.isUnset(request.wgsReferencePath)) {
33931
- body["wgs_reference_path"] = request.wgsReferencePath;
33932
- }
33933
-
33934
- if (!Util.isUnset(request.wgsVcfOutFilename)) {
33935
- body["wgs_vcf_out_filename"] = request.wgsVcfOutFilename;
33936
- }
33937
-
33938
- if (!Util.isUnset(request.wgsVcfOutPath)) {
33939
- body["wgs_vcf_out_path"] = request.wgsVcfOutPath;
33940
- }
33941
-
33942
- if (!Util.isUnset(request.workflowType)) {
33943
- body["workflow_type"] = request.workflowType;
33944
- }
33945
-
33946
- let req = new $OpenApi.OpenApiRequest({
33947
- headers: headers,
33948
- body: OpenApiUtil.parseToMap(body),
33949
- });
33950
- let params = new $OpenApi.Params({
33951
- action: "StartWorkflow",
33952
- version: "2015-12-15",
33953
- protocol: "HTTPS",
33954
- pathname: `/gs/workflow`,
33955
- method: "POST",
33956
- authType: "AK",
33957
- style: "ROA",
33958
- reqBodyType: "json",
33959
- bodyType: "json",
33960
- });
33961
- return $tea.cast<StartWorkflowResponse>(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
33962
- }
33963
-
33964
- /**
33965
- * You can call the StartWorkflow operation to create a workflow.
33966
- *
33967
- * @deprecated OpenAPI StartWorkflow is deprecated
33968
- *
33969
- * @param request - StartWorkflowRequest
33970
- * @returns StartWorkflowResponse
33971
- */
33972
- // Deprecated
33973
- async startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse> {
33974
- let runtime = new $Util.RuntimeOptions({ });
33975
- let headers : {[key: string ]: string} = { };
33976
- return await this.startWorkflowWithOptions(request, headers, runtime);
33977
- }
33978
-
33979
33363
  /**
33980
33364
  * You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
33981
33365
  *