tencentcloud-sdk-nodejs-dlc 4.1.277 → 4.1.280
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/package.json
CHANGED
|
@@ -643,7 +643,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
643
643
|
/**
|
|
644
644
|
* 创建tdlc spark作业
|
|
645
645
|
*/
|
|
646
|
-
CreateSparkAppForTDLC(req
|
|
646
|
+
CreateSparkAppForTDLC(req: CreateSparkAppForTDLCRequest, cb?: (error: string, rep: CreateSparkAppForTDLCResponse) => void): Promise<CreateSparkAppForTDLCResponse>;
|
|
647
647
|
/**
|
|
648
648
|
* 本接口(RegisterThirdPartyAccessUser)用于开通第三方平台访问
|
|
649
649
|
*/
|
|
@@ -12834,7 +12834,128 @@ export interface DescribeWorkGroupsRequest {
|
|
|
12834
12834
|
/**
|
|
12835
12835
|
* CreateSparkAppForTDLC请求参数结构体
|
|
12836
12836
|
*/
|
|
12837
|
-
export
|
|
12837
|
+
export interface CreateSparkAppForTDLCRequest {
|
|
12838
|
+
/**
|
|
12839
|
+
* <p>spark作业名</p>
|
|
12840
|
+
*/
|
|
12841
|
+
AppName: string;
|
|
12842
|
+
/**
|
|
12843
|
+
* <p>spark作业类型,1代表spark jar作业,2代表spark streaming作业</p>
|
|
12844
|
+
*/
|
|
12845
|
+
AppType: number;
|
|
12846
|
+
/**
|
|
12847
|
+
* <p>执行spark作业的数据引擎名称</p>
|
|
12848
|
+
*/
|
|
12849
|
+
DataEngine: string;
|
|
12850
|
+
/**
|
|
12851
|
+
* <p>spark作业程序包文件路径</p>
|
|
12852
|
+
*/
|
|
12853
|
+
AppFile: string;
|
|
12854
|
+
/**
|
|
12855
|
+
* <p>数据访问策略,CAM Role arn,控制台通过数据作业—>作业配置获取,SDK通过DescribeUserRoles接口获取对应的值;</p>
|
|
12856
|
+
*/
|
|
12857
|
+
RoleArn: number;
|
|
12858
|
+
/**
|
|
12859
|
+
* <p>指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
12860
|
+
*/
|
|
12861
|
+
AppDriverSize: string;
|
|
12862
|
+
/**
|
|
12863
|
+
* <p>指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
|
|
12864
|
+
*/
|
|
12865
|
+
AppExecutorSize: string;
|
|
12866
|
+
/**
|
|
12867
|
+
* <p>spark作业executor个数</p>
|
|
12868
|
+
*/
|
|
12869
|
+
AppExecutorNums: number;
|
|
12870
|
+
/**
|
|
12871
|
+
* <p>该字段已下线,请使用字段Datasource</p>
|
|
12872
|
+
*/
|
|
12873
|
+
Eni?: string;
|
|
12874
|
+
/**
|
|
12875
|
+
* <p>spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
12876
|
+
*/
|
|
12877
|
+
IsLocal?: string;
|
|
12878
|
+
/**
|
|
12879
|
+
* <p>spark作业主类</p>
|
|
12880
|
+
*/
|
|
12881
|
+
MainClass?: string;
|
|
12882
|
+
/**
|
|
12883
|
+
* <p>spark配置,以换行符分隔</p>
|
|
12884
|
+
*/
|
|
12885
|
+
AppConf?: string;
|
|
12886
|
+
/**
|
|
12887
|
+
* <p>spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
12888
|
+
*/
|
|
12889
|
+
IsLocalJars?: string;
|
|
12890
|
+
/**
|
|
12891
|
+
* <p>spark 作业依赖jar包(--jars),以逗号分隔</p>
|
|
12892
|
+
*/
|
|
12893
|
+
AppJars?: string;
|
|
12894
|
+
/**
|
|
12895
|
+
* <p>spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
12896
|
+
*/
|
|
12897
|
+
IsLocalFiles?: string;
|
|
12898
|
+
/**
|
|
12899
|
+
* <p>spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔</p>
|
|
12900
|
+
*/
|
|
12901
|
+
AppFiles?: string;
|
|
12902
|
+
/**
|
|
12903
|
+
* <p>spark作业程序入参,空格分割</p>
|
|
12904
|
+
*/
|
|
12905
|
+
CmdArgs?: string;
|
|
12906
|
+
/**
|
|
12907
|
+
* <p>最大重试次数,只对spark流任务生效</p>
|
|
12908
|
+
*/
|
|
12909
|
+
MaxRetries?: number;
|
|
12910
|
+
/**
|
|
12911
|
+
* <p>数据源名称</p>
|
|
12912
|
+
*/
|
|
12913
|
+
DataSource?: string;
|
|
12914
|
+
/**
|
|
12915
|
+
* <p>pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
12916
|
+
*/
|
|
12917
|
+
IsLocalPythonFiles?: string;
|
|
12918
|
+
/**
|
|
12919
|
+
* <p>pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔</p>
|
|
12920
|
+
*/
|
|
12921
|
+
AppPythonFiles?: string;
|
|
12922
|
+
/**
|
|
12923
|
+
* <p>spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
|
|
12924
|
+
*/
|
|
12925
|
+
IsLocalArchives?: string;
|
|
12926
|
+
/**
|
|
12927
|
+
* <p>spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔</p>
|
|
12928
|
+
*/
|
|
12929
|
+
AppArchives?: string;
|
|
12930
|
+
/**
|
|
12931
|
+
* <p>Spark Image 版本号</p>
|
|
12932
|
+
*/
|
|
12933
|
+
SparkImage?: string;
|
|
12934
|
+
/**
|
|
12935
|
+
* <p>Spark Image 版本名称</p>
|
|
12936
|
+
*/
|
|
12937
|
+
SparkImageVersion?: string;
|
|
12938
|
+
/**
|
|
12939
|
+
* <p>指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums</p>
|
|
12940
|
+
*/
|
|
12941
|
+
AppExecutorMaxNumbers?: number;
|
|
12942
|
+
/**
|
|
12943
|
+
* <p>关联dlc查询脚本id</p>
|
|
12944
|
+
*/
|
|
12945
|
+
SessionId?: string;
|
|
12946
|
+
/**
|
|
12947
|
+
* <p>任务资源配置是否继承集群模板,0(默认)不继承,1:继承</p>
|
|
12948
|
+
*/
|
|
12949
|
+
IsInherit?: number;
|
|
12950
|
+
/**
|
|
12951
|
+
* <p>是否使用session脚本的sql运行任务:false:否,true:是</p>
|
|
12952
|
+
*/
|
|
12953
|
+
IsSessionStarted?: boolean;
|
|
12954
|
+
/**
|
|
12955
|
+
* <p>依赖包信息</p>
|
|
12956
|
+
*/
|
|
12957
|
+
DependencyPackages?: Array<DependencyPackage>;
|
|
12958
|
+
}
|
|
12838
12959
|
/**
|
|
12839
12960
|
* LockMetaData请求参数结构体
|
|
12840
12961
|
*/
|