@@ -3289,6 +3289,162 @@ public async Task<GetDataLakeTableResponse> GetDataLakeTableAsync(GetDataLakeTab
32893289 return await GetDataLakeTableWithOptionsAsync ( request , runtime ) ;
32903290 }
32913291
3292+ /// <term><b>Summary:</b></term>
3293+ /// <summary>
3294+ /// <para>调度运行Notebook文件</para>
3295+ /// </summary>
3296+ ///
3297+ /// <param name="request">
3298+ /// GetNotebookAndSubmitTaskRequest
3299+ /// </param>
3300+ /// <param name="runtime">
3301+ /// runtime options for this request RuntimeOptions
3302+ /// </param>
3303+ ///
3304+ /// <returns>
3305+ /// GetNotebookAndSubmitTaskResponse
3306+ /// </returns>
3307+ public GetNotebookAndSubmitTaskResponse GetNotebookAndSubmitTaskWithOptions ( GetNotebookAndSubmitTaskRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
3308+ {
3309+ AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
3310+ Dictionary < string , object > query = new Dictionary < string , object > ( ) { } ;
3311+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . WorkspaceId ) )
3312+ {
3313+ query [ "WorkspaceId" ] = request . WorkspaceId ;
3314+ }
3315+ Dictionary < string , object > body = new Dictionary < string , object > ( ) { } ;
3316+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Params ) )
3317+ {
3318+ body [ "Params" ] = request . Params ;
3319+ }
3320+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Path ) )
3321+ {
3322+ body [ "Path" ] = request . Path ;
3323+ }
3324+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Retry ) )
3325+ {
3326+ body [ "Retry" ] = request . Retry ;
3327+ }
3328+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . SessionId ) )
3329+ {
3330+ body [ "SessionId" ] = request . SessionId ;
3331+ }
3332+ AlibabaCloud . OpenApiClient . Models . OpenApiRequest req = new AlibabaCloud . OpenApiClient . Models . OpenApiRequest
3333+ {
3334+ Query = AlibabaCloud . OpenApiUtil . Client . Query ( query ) ,
3335+ Body = AlibabaCloud . OpenApiUtil . Client . ParseToMap ( body ) ,
3336+ } ;
3337+ AlibabaCloud . OpenApiClient . Models . Params params_ = new AlibabaCloud . OpenApiClient . Models . Params
3338+ {
3339+ Action = "GetNotebookAndSubmitTask" ,
3340+ Version = "2025年04月14日" ,
3341+ Protocol = "HTTPS" ,
3342+ Pathname = "/" ,
3343+ Method = "POST" ,
3344+ AuthType = "AK" ,
3345+ Style = "RPC" ,
3346+ ReqBodyType = "formData" ,
3347+ BodyType = "json" ,
3348+ } ;
3349+ return TeaModel . ToObject < GetNotebookAndSubmitTaskResponse > ( CallApi ( params_ , req , runtime ) ) ;
3350+ }
3351+ 3352+ /// <term><b>Summary:</b></term>
3353+ /// <summary>
3354+ /// <para>调度运行Notebook文件</para>
3355+ /// </summary>
3356+ ///
3357+ /// <param name="request">
3358+ /// GetNotebookAndSubmitTaskRequest
3359+ /// </param>
3360+ /// <param name="runtime">
3361+ /// runtime options for this request RuntimeOptions
3362+ /// </param>
3363+ ///
3364+ /// <returns>
3365+ /// GetNotebookAndSubmitTaskResponse
3366+ /// </returns>
3367+ public async Task < GetNotebookAndSubmitTaskResponse > GetNotebookAndSubmitTaskWithOptionsAsync ( GetNotebookAndSubmitTaskRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
3368+ {
3369+ AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
3370+ Dictionary < string , object > query = new Dictionary < string , object > ( ) { } ;
3371+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . WorkspaceId ) )
3372+ {
3373+ query [ "WorkspaceId" ] = request . WorkspaceId ;
3374+ }
3375+ Dictionary < string , object > body = new Dictionary < string , object > ( ) { } ;
3376+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Params ) )
3377+ {
3378+ body [ "Params" ] = request . Params ;
3379+ }
3380+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Path ) )
3381+ {
3382+ body [ "Path" ] = request . Path ;
3383+ }
3384+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . Retry ) )
3385+ {
3386+ body [ "Retry" ] = request . Retry ;
3387+ }
3388+ if ( ! AlibabaCloud . TeaUtil . Common . IsUnset ( request . SessionId ) )
3389+ {
3390+ body [ "SessionId" ] = request . SessionId ;
3391+ }
3392+ AlibabaCloud . OpenApiClient . Models . OpenApiRequest req = new AlibabaCloud . OpenApiClient . Models . OpenApiRequest
3393+ {
3394+ Query = AlibabaCloud . OpenApiUtil . Client . Query ( query ) ,
3395+ Body = AlibabaCloud . OpenApiUtil . Client . ParseToMap ( body ) ,
3396+ } ;
3397+ AlibabaCloud . OpenApiClient . Models . Params params_ = new AlibabaCloud . OpenApiClient . Models . Params
3398+ {
3399+ Action = "GetNotebookAndSubmitTask" ,
3400+ Version = "2025年04月14日" ,
3401+ Protocol = "HTTPS" ,
3402+ Pathname = "/" ,
3403+ Method = "POST" ,
3404+ AuthType = "AK" ,
3405+ Style = "RPC" ,
3406+ ReqBodyType = "formData" ,
3407+ BodyType = "json" ,
3408+ } ;
3409+ return TeaModel . ToObject < GetNotebookAndSubmitTaskResponse > ( await CallApiAsync ( params_ , req , runtime ) ) ;
3410+ }
3411+ 3412+ /// <term><b>Summary:</b></term>
3413+ /// <summary>
3414+ /// <para>调度运行Notebook文件</para>
3415+ /// </summary>
3416+ ///
3417+ /// <param name="request">
3418+ /// GetNotebookAndSubmitTaskRequest
3419+ /// </param>
3420+ ///
3421+ /// <returns>
3422+ /// GetNotebookAndSubmitTaskResponse
3423+ /// </returns>
3424+ public GetNotebookAndSubmitTaskResponse GetNotebookAndSubmitTask ( GetNotebookAndSubmitTaskRequest request )
3425+ {
3426+ AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
3427+ return GetNotebookAndSubmitTaskWithOptions ( request , runtime ) ;
3428+ }
3429+ 3430+ /// <term><b>Summary:</b></term>
3431+ /// <summary>
3432+ /// <para>调度运行Notebook文件</para>
3433+ /// </summary>
3434+ ///
3435+ /// <param name="request">
3436+ /// GetNotebookAndSubmitTaskRequest
3437+ /// </param>
3438+ ///
3439+ /// <returns>
3440+ /// GetNotebookAndSubmitTaskResponse
3441+ /// </returns>
3442+ public async Task < GetNotebookAndSubmitTaskResponse > GetNotebookAndSubmitTaskAsync ( GetNotebookAndSubmitTaskRequest request )
3443+ {
3444+ AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
3445+ return await GetNotebookAndSubmitTaskWithOptionsAsync ( request , runtime ) ;
3446+ }
3447+ 32923448 /// <term><b>Summary:</b></term>
32933449 /// <summary>
32943450 /// <para>列出资源Airflow</para>
0 commit comments