@alicloud/dataworks-public20240518 2.2.0 → 2.2.1
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 +87 -3
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +87 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -4851,6 +4851,10 @@ export class GetNodeResponse extends $tea.Model {
|
|
|
4851
4851
|
export class GetProjectRequest extends $tea.Model {
|
|
4852
4852
|
/**
|
|
4853
4853
|
* @remarks
|
|
4854
|
+
* The DataWorks workspace ID. You can log on to the [DataWorks console](https://dataworks.console.aliyun.com/workspace/list) and go to the Workspace page to query the ID.
|
|
4855
|
+
*
|
|
4856
|
+
* You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.
|
|
4857
|
+
*
|
|
4854
4858
|
* This parameter is required.
|
|
4855
4859
|
*
|
|
4856
4860
|
* @example
|
|
@@ -4875,8 +4879,15 @@ export class GetProjectRequest extends $tea.Model {
|
|
|
4875
4879
|
}
|
|
4876
4880
|
|
|
4877
4881
|
export class GetProjectResponseBody extends $tea.Model {
|
|
4882
|
+
/**
|
|
4883
|
+
* @remarks
|
|
4884
|
+
* The information about the workspace.
|
|
4885
|
+
*/
|
|
4878
4886
|
project?: GetProjectResponseBodyProject;
|
|
4879
4887
|
/**
|
|
4888
|
+
* @remarks
|
|
4889
|
+
* The request ID.
|
|
4890
|
+
*
|
|
4880
4891
|
* @example
|
|
4881
4892
|
* 22C97E95-F023-56B5-8852-B1A77A17XXXX
|
|
4882
4893
|
*/
|
|
@@ -16416,11 +16427,17 @@ export class GetNodeResponseBodyNode extends $tea.Model {
|
|
|
16416
16427
|
|
|
16417
16428
|
export class GetProjectResponseBodyProjectAliyunResourceTags extends $tea.Model {
|
|
16418
16429
|
/**
|
|
16430
|
+
* @remarks
|
|
16431
|
+
* The tag key.
|
|
16432
|
+
*
|
|
16419
16433
|
* @example
|
|
16420
16434
|
* batch
|
|
16421
16435
|
*/
|
|
16422
16436
|
key?: string;
|
|
16423
16437
|
/**
|
|
16438
|
+
* @remarks
|
|
16439
|
+
* The tag value.
|
|
16440
|
+
*
|
|
16424
16441
|
* @example
|
|
16425
16442
|
* blue
|
|
16426
16443
|
*/
|
|
@@ -16446,44 +16463,111 @@ export class GetProjectResponseBodyProjectAliyunResourceTags extends $tea.Model
|
|
|
16446
16463
|
|
|
16447
16464
|
export class GetProjectResponseBodyProject extends $tea.Model {
|
|
16448
16465
|
/**
|
|
16466
|
+
* @remarks
|
|
16467
|
+
* The ID of the Alibaba Cloud resource group to which the workspace belongs.
|
|
16468
|
+
*
|
|
16449
16469
|
* @example
|
|
16450
16470
|
* rg-acfmzbn7pti3zfa
|
|
16451
16471
|
*/
|
|
16452
16472
|
aliyunResourceGroupId?: string;
|
|
16473
|
+
/**
|
|
16474
|
+
* @remarks
|
|
16475
|
+
* The tags.
|
|
16476
|
+
*/
|
|
16453
16477
|
aliyunResourceTags?: GetProjectResponseBodyProjectAliyunResourceTags[];
|
|
16478
|
+
/**
|
|
16479
|
+
* @remarks
|
|
16480
|
+
* The description of the workspace.
|
|
16481
|
+
*/
|
|
16454
16482
|
description?: string;
|
|
16455
16483
|
/**
|
|
16484
|
+
* @remarks
|
|
16485
|
+
* Indicates whether the development environment is enabled. Valid values:
|
|
16486
|
+
*
|
|
16487
|
+
* * true: The development environment is enabled. In this case, the development environment is isolated from the production environment in the workspace.
|
|
16488
|
+
* * false: The development environment is disabled. In this case, only the production environment is used in the workspace.
|
|
16489
|
+
*
|
|
16456
16490
|
* @example
|
|
16457
16491
|
* true
|
|
16458
16492
|
*/
|
|
16459
16493
|
devEnvironmentEnabled?: boolean;
|
|
16460
16494
|
/**
|
|
16495
|
+
* @remarks
|
|
16496
|
+
* Indicates whether the Develop role is disabled. Valid values:
|
|
16497
|
+
*
|
|
16498
|
+
* * false
|
|
16499
|
+
* * true
|
|
16500
|
+
*
|
|
16461
16501
|
* @example
|
|
16462
16502
|
* false
|
|
16463
16503
|
*/
|
|
16464
16504
|
devRoleDisabled?: boolean;
|
|
16505
|
+
/**
|
|
16506
|
+
* @remarks
|
|
16507
|
+
* The display name of the workspace.
|
|
16508
|
+
*/
|
|
16465
16509
|
displayName?: string;
|
|
16466
16510
|
/**
|
|
16511
|
+
* @remarks
|
|
16512
|
+
* The workspace ID.
|
|
16513
|
+
*
|
|
16467
16514
|
* @example
|
|
16468
16515
|
* 28477242
|
|
16469
16516
|
*/
|
|
16470
16517
|
id?: number;
|
|
16471
16518
|
/**
|
|
16519
|
+
* @remarks
|
|
16520
|
+
* The name of the workspace.
|
|
16521
|
+
*
|
|
16472
16522
|
* @example
|
|
16473
16523
|
* sora_finance
|
|
16474
16524
|
*/
|
|
16475
16525
|
name?: string;
|
|
16476
16526
|
/**
|
|
16527
|
+
* @remarks
|
|
16528
|
+
* The ID of the Alibaba Cloud account to which the workspace belongs.
|
|
16529
|
+
*
|
|
16477
16530
|
* @example
|
|
16478
16531
|
* 207947397706614299
|
|
16479
16532
|
*/
|
|
16480
16533
|
owner?: string;
|
|
16481
16534
|
/**
|
|
16535
|
+
* @remarks
|
|
16536
|
+
* Indicates whether scheduling of Platform for AI (PAI) tasks is enabled. Valid values:
|
|
16537
|
+
*
|
|
16538
|
+
* * true: Scheduling of PAI tasks is enabled. In this case, you can create a PAI node in a DataWorks workspace and configure scheduling properties for the node to implement periodic scheduling of PAI tasks.
|
|
16539
|
+
* * false: Scheduling of PAI tasks is disabled.
|
|
16540
|
+
*
|
|
16482
16541
|
* @example
|
|
16483
16542
|
* true
|
|
16484
16543
|
*/
|
|
16485
16544
|
paiTaskEnabled?: boolean;
|
|
16486
16545
|
/**
|
|
16546
|
+
* @remarks
|
|
16547
|
+
* The status of the workspace. Valid values:
|
|
16548
|
+
*
|
|
16549
|
+
* * Available
|
|
16550
|
+
* * Initializing
|
|
16551
|
+
* * InitFailed
|
|
16552
|
+
* * Forbidden
|
|
16553
|
+
* * Deleting
|
|
16554
|
+
* * DeleteFailed
|
|
16555
|
+
* * Frozen
|
|
16556
|
+
* * Updating
|
|
16557
|
+
* * UpdateFailed
|
|
16558
|
+
*
|
|
16559
|
+
* <!---->
|
|
16560
|
+
*
|
|
16561
|
+
* *
|
|
16562
|
+
* *
|
|
16563
|
+
* *
|
|
16564
|
+
* *
|
|
16565
|
+
* *
|
|
16566
|
+
* *
|
|
16567
|
+
* *
|
|
16568
|
+
* *
|
|
16569
|
+
* *
|
|
16570
|
+
*
|
|
16487
16571
|
* @example
|
|
16488
16572
|
* Available
|
|
16489
16573
|
*/
|
|
@@ -18087,7 +18171,7 @@ export class GetTaskInstanceResponseBodyTaskInstance extends $tea.Model {
|
|
|
18087
18171
|
projectId?: number;
|
|
18088
18172
|
/**
|
|
18089
18173
|
* @example
|
|
18090
|
-
* AllAllowed
|
|
18174
|
+
* AllAllowed
|
|
18091
18175
|
*/
|
|
18092
18176
|
rerunMode?: string;
|
|
18093
18177
|
/**
|
|
@@ -29763,7 +29847,7 @@ export default class Client extends OpenApi {
|
|
|
29763
29847
|
}
|
|
29764
29848
|
|
|
29765
29849
|
/**
|
|
29766
|
-
*
|
|
29850
|
+
* Queries the information about a DataWorks workspace.
|
|
29767
29851
|
*
|
|
29768
29852
|
* @param request - GetProjectRequest
|
|
29769
29853
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29790,7 +29874,7 @@ export default class Client extends OpenApi {
|
|
|
29790
29874
|
}
|
|
29791
29875
|
|
|
29792
29876
|
/**
|
|
29793
|
-
*
|
|
29877
|
+
* Queries the information about a DataWorks workspace.
|
|
29794
29878
|
*
|
|
29795
29879
|
* @param request - GetProjectRequest
|
|
29796
29880
|
* @returns GetProjectResponse
|