8000 Support API AbolishPipelineRun. · aliyun/alibabacloud-csharp-sdk@b73d7e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit b73d7e7

Browse files
committed
Support API AbolishPipelineRun.
1 parent 3026e61 commit b73d7e7

26 files changed

+1608
-3735
lines changed

dataworks-public-20240518/ChangeLog.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2025-05-09 Version: 4.0.0
2+
- Support API Abol 9E81 ishPipelineRun.
3+
- Support API CreatePipelineRun.
4+
- Support API ExecPipelineRunStage.
5+
- Support API GetPipelineRun.
6+
- Support API ListPipelineRuns.
7+
- Delete API AbolishDeployment.
8+
- Delete API CreateDeployment.
9+
- Delete API ExecDeploymentStage.
10+
- Delete API GetDeployment.
11+
- Delete API ListDeployments.
12+
- Update API CreateResource: add request parameters ResourceFile.
13+
- Update API UpdateResource: add request parameters ResourceFile.
14+
15+
116
2025-04-14 Version: 3.2.0
217
- Support API AddEntityIntoMetaCollection.
318
- Support API CreateLineageRelationship.

dataworks-public-20240518/core/Client.cs

+1,364-3,652
Large diffs are not rendered by default.

dataworks-public-20240518/core/Models/AbolishDeploymentRequest.cs renamed to dataworks-public-20240518/core/Models/AbolishPipelineRunRequest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class AbolishDeploymentRequest : TeaModel {
11+
public class AbolishPipelineRunRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The ID of the process.</para>
1414
/// <para>This parameter is required.</para>
@@ -22,7 +22,7 @@ public class AbolishDeploymentRequest : TeaModel {
2222

2323
/// <summary>
2424
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID.</para>
25-
/// <para>You can use this parameter to specify the DataWorks workspace on which you want to perform the API operation.</para>
25+
/// <para>You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.</para>
2626
/// <para>This parameter is required.</para>
2727
///
2828
/// <b>Example:</b>

dataworks-public-20240518/core/Models/CreateDeploymentResponse.cs renamed to dataworks-public-20240518/core/Models/AbolishPipelineRunResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class CreateDeploymentResponse : TeaModel {
11+
public class AbolishPipelineRunResponse : TeaModel {
1212
[NameInMap("headers")]
1313
[Validation(Required=false)]
1414
public Dictionary<string, string> Headers { get; set; }
@@ -19,7 +19,7 @@ public class CreateDeploymentResponse : TeaModel {
1919

2020
[NameInMap("body")]
2121
[Validation(Required=false)]
22-
public CreateDeploymentResponseBody Body { get; set; }
22+
public AbolishPipelineRunResponseBody Body { get; set; }
2323

2424
}
2525

dataworks-public-20240518/core/Models/AbolishDeploymentResponseBody.cs renamed to dataworks-public-20240518/core/Models/AbolishPipelineRunResponseBody.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class AbolishDeploymentResponseBody : TeaModel {
11+
public class AbolishPipelineRunResponseBody : TeaModel {
1212
/// <summary>
1313
/// <para>The request ID.</para>
1414
///

dataworks-public-20240518/core/Models/CreateNodeRequest.cs

+1-1
Large diffs are not rendered by default.

dataworks-public-20240518/core/Models/CreateDeploymentRequest.cs renamed to dataworks-public-20240518/core/Models/CreatePipelineRunRequest.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class CreateDeploymentRequest : TeaModel {
11+
public class CreatePipelineRunRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The description of the process.</para>
1414
///
@@ -31,8 +31,7 @@ public class CreateDeploymentRequest : TeaModel {
3131
public List<string> ObjectIds { get; set; }
3232

3333
/// <summary>
34-
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID.</para>
35-
/// <para>You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.</para>
34+
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.</para>
3635
/// <para>This parameter is required.</para>
3736
///
3837
/// <b>Example:</b>

dataworks-public-20240518/core/Models/AbolishDeploymentResponse.cs renamed to dataworks-public-20240518/core/Models/CreatePipelineRunResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class AbolishDeploymentResponse : TeaModel {
11+
public class CreatePipelineRunResponse : TeaModel {
1212
[NameInMap("headers")]
1313
[Validation(Required=false)]
1414
public Dictionary<string, string> Headers { get; set; }
@@ -19,7 +19,7 @@ public class AbolishDeploymentResponse : TeaModel {
1919

2020
[NameInMap("body")]
2121
[Validation(Required=false)]
22-
public AbolishDeploymentResponseBody Body { get; set; }
22+
public CreatePipelineRunResponseBody Body { get; set; }
2323

2424
}
2525

dataworks-public-20240518/core/Models/CreateDeploymentResponseBody.cs renamed to dataworks-public-20240518/core/Models/CreatePipelineRunResponseBody.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class CreateDeploymentResponseBody : TeaModel {
11+
public class CreatePipelineRunResponseBody : TeaModel {
1212
/// <summary>
1313
/// <para>The ID of the process.</para>
1414
///

dataworks-public-20240518/core/Models/CreateDeploymentShrinkRequest.cs renamed to dataworks-public-20240518/core/Models/CreatePipelineRunShrinkRequest.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class CreateDeploymentShrinkRequest : TeaModel {
11+
public class CreatePipelineRunShrinkRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The description of the process.</para>
1414
///
@@ -31,8 +31,7 @@ public class CreateDeploymentShrinkRequest : TeaModel {
3131
public string ObjectIdsShrink { get; set; }
3232

3333
/// <summary>
34-
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID.</para>
35-
/// <para>You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.</para>
34+
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.</para>
3635
/// <para>This parameter is required.</para>
3736
///
3837
/// <b>Example:</b>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
10+
{
11+
public class CreateResourceAdvanceRequest : TeaModel {
12+
/// <summary>
13+
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID.</para>
14+
/// <para>This parameter is required.</para>
15+
///
16+
/// <b>Example:</b>
17+
/// <para>123456</para>
18+
/// </summary>
19+
[NameInMap("ProjectId")]
20+
[Validation(Required=false)]
21+
public long? ProjectId { get; set; }
22+
23+
[NameInMap("ResourceFile")]
24+
[Validation(Required=false)]
25+
public Stream ResourceFileObject { get; set; }
26+
27+
/// <summary>
28+
/// <para>The FlowSpec field information about the file resource. For more information, see <a href="https://github.com/aliyun/dataworks-spec/blob/master/README_zh_CN.md">FlowSpec</a>.</para>
29+
/// <para>This parameter is required.</para>
30+
///
31+
/// <b>Example:</b>
32+
/// <para>{
33+
/// &quot;version&quot;: &quot;1.1.0&quot;,
34+
/// &quot;kind&quot;: &quot;Resource&quot;,
35+
/// &quot;spec&quot;: {
36+
/// &quot;fileResources&quot;: [
37+
/// {
38+
/// &quot;name&quot;: &quot;OpenAPITestResource.py&quot;,
39+
/// &quot;script&quot;: {
40+
/// &quot;content&quot;: &quot;&quot;,
41+
/// &quot;path&quot;: &quot;XX/OpenAPITest/ResourcesTest/OpenAPITestResource.py&quot;,
42+
/// &quot;runtime&quot;: {
43+
/// &quot;command&quot;: &quot;ODPS_PYTHON&quot;
44+
/// }
45+
/// },
46+
/// &quot;type&quot;: &quot;python&quot;,
47+
/// &quot;file&quot;: {
48+
/// &quot;storage&quot;: {}
49+
/// },
50+
/// &quot;datasource&quot;: {
51+
/// &quot;name&quot;: &quot;odps_first&quot;,
52+
/// &quot;type&quot;: &quot;odps&quot;
53+
/// }
54+
/// }
55+
/// ]
56+
/// }
57+
/// }</para>
58+
/// </summary>
59+
[NameInMap("Spec")]
60+
[Validation(Required=false)]
61+
public string Spec { get; set; }
62+
63+
}
64+
65+
}

dataworks-public-20240518/core/Models/CreateResourceRequest.cs

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ public class CreateResourceRequest : TeaModel {
2020
[Validation(Required=false)]
2121
public long? ProjectId { get; set; }
2222

23+
[NameInMap("ResourceFile")]
24+
[Validation(Required=false)]
25+
public string ResourceFile { get; set; }
26+
2327
/// <summary>
2428
/// <para>The FlowSpec field information about the file resource. For more information, see <a href="https://github.com/aliyun/dataworks-spec/blob/master/README_zh_CN.md">FlowSpec</a>.</para>
2529
/// <para>This parameter is required.</para>

dataworks-public-20240518/core/Models/ExecDeploymentStageRequest.cs renamed to dataworks-public-20240518/core/Models/ExecPipelineRunStageRequest.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class ExecDeploymentStageRequest : TeaModel {
11+
public class ExecPipelineRunStageRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The code of the stage in the process. You can call the GetDeployment operation to query the code.</para>
1414
/// <para>This parameter is required.</para>
@@ -32,8 +32,7 @@ public class ExecDeploymentStageRequest : TeaModel {
3232
public string Id { get; set; }
3333

3434
/// <summary>
35-
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to obtain the ID.</para>
36-
/// <para>You can use this parameter to specify the DataWorks workspace on which you want to perform the API operation.</para>
35+
/// <para>The DataWorks workspace ID. You can log on to the <a href="https://workbench.data.aliyun.com/console">DataWorks console</a> and go to the Workspace page to query the ID.</para>
3736
/// <para>This parameter is required.</para>
3837
///
3938
/// <b>Example:</b>

dataworks-public-20240518/core/Models/ExecDeploymentStageResponse.cs renamed to dataworks-public-20240518/core/Models/ExecPipelineRunStageResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class ExecDeploymentStageResponse : TeaModel {
11+
public class ExecPipelineRunStageResponse : TeaModel {
1212
[NameInMap("headers")]
1313
[Validation(Required=false)]
1414
public Dictionary<string, string> Headers { get; set; }
@@ -19,7 +19,7 @@ public class ExecDeploymentStageResponse : TeaModel {
1919

2020
[NameInMap("body")]
2121
[Validation(Required=false)]
22-
public ExecDeploymentStageResponseBody Body { get; set; }
22+
public ExecPipelineRunStageResponseBody Body { get; set; }
2323

2424
}
2525

dataworks-public-20240518/core/Models/ExecDeploymentStageResponseBody.cs renamed to dataworks-public-20240518/core/Models/ExecPipelineRunStageResponseBody.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class ExecDeploymentStageResponseBody : TeaModel {
11+
public class ExecPipelineRunStageResponseBody : TeaModel {
1212
/// <summary>
1313
/// <para>The request ID.</para>
1414
///

dataworks-public-20240518/core/Models/GetDeploymentRequest.cs renamed to dataworks-public-20240518/core/Models/GetPipelineRunRequest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class GetDeploymentRequest : TeaModel {
11+
public class GetPipelineRunRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The ID of the process.</para>
1414
/// <para>This parameter is required.</para>
1515
///
1616
/// <b>Example:</b>
17-
/// <para>a7ef0634-20ec-4a7c-a214-54020f91XXXX</para>
17+
/// <para>a7ef0634-20ec-4a7c-a214-54020f****</para>
1818
/// </summary>
1919
[NameInMap("Id")]
2020
[Validation(Required=false)]

dataworks-public-20240518/core/Models/GetDeploymentResponse.cs renamed to dataworks-public-20240518/core/Models/GetPipelineRunResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class GetDeploymentResponse : TeaModel {
11+
public class GetPipelineRunResponse : TeaModel {
1212
[NameInMap("headers")]
1313
[Validation(Required=false)]
1414
public Dictionary<string, string> Headers { get; set; }
@@ -19,7 +19,7 @@ public class GetDeploymentResponse : TeaModel {
1919

2020
[NameInMap("body")]
2121
[Validation(Required=false)]
22-
public GetDeploymentResponseBody Body { get; set; }
22+
public GetPipelineRunResponseBody Body { get; set; }
2323

2424
}
2525

dataworks-public-20240518/core/Models/GetDeploymentResponseBody.cs renamed to dataworks-public-20240518/core/Models/GetPipelineRunResponseBody.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class GetDeploymentResponseBody : TeaModel {
11+
public class GetPipelineRunResponseBody : TeaModel {
1212
/// <summary>
1313
/// <para>The information about the process.</para>
1414
/// </summary>
1515
[NameInMap("Pipeline")]
1616
[Validation(Required=false)]
17-
public GetDeploymentResponseBodyPipeline Pipeline { get; set; }
18-
public class GetDeploymentResponseBodyPipeline : TeaModel {
17+
public GetPipelineRunResponseBodyPipeline Pipeline { get; set; }
18+
public class GetPipelineRunResponseBodyPipeline : TeaModel {
1919
/// <summary>
2020
/// <para>The time when the process was created. This value is a UNIX timestamp.</para>
2121
///
@@ -37,7 +37,7 @@ public class GetDeploymentResponseBodyPipeline : TeaModel {
3737
public string Creator { get; set; }
3838

3939
/// <summary>
40-
/// <para>The ID of the process.</para>
40+
/// <para>The process ID.</para>
4141
///
4242
/// <b>Example:</b>
4343
/// <para>a7ef0634-20ec-4a7c-a214-54020f91XXXX</para>
@@ -81,8 +81,8 @@ public class GetDeploymentResponseBodyPipeline : TeaModel {
8181
/// </summary>
8282
[NameInMap("Stages")]
8383
[Validation(Required=false)]
84-
public List<GetDeploymentResponseBodyPipelineStages> Stages { get; set; }
85-
public class GetDeploymentResponseBodyPipelineStages : TeaModel {
84+
public List<GetPipelineRunResponseBodyPipelineStages> Stages { get; set; }
85+
public class GetPipelineRunResponseBodyPipelineStages : TeaModel {
8686
/// <summary>
8787
/// <para>The code of the stage.</para>
8888
///
@@ -143,7 +143,7 @@ public class GetDeploymentResponseBodyPipelineStages : TeaModel {
143143
/// </list>
144144
///
145145
/// <b>Example:</b>
146-
/// <para>INIT</para>
146+
/// <para>Running</para>
147147
/// </summary>
148148
[NameInMap("Status")]
149149
[Validation(Required=false)]
@@ -171,7 +171,7 @@ public class GetDeploymentResponseBodyPipelineStages : TeaModel {
171171
/// </list>
172172
///
173173
/// <b>Example:</b>
174-
/// <para>BUILD</para>
174+
/// <para>Check</para>
175175
/// </summary>
176176
[NameInMap("Type")]
177177
[Validation(Required=false)]
@@ -192,7 +192,7 @@ public class GetDeploymentResponseBodyPipelineStages : TeaModel {
192192
/// </list>
193193
///
194194
/// <b>Example:</b>
195-
/// <para>RUNNING</para>
195+
/// <para>Running</para>
196196
/// </summary>
197197
[NameInMap("Status")]
198198
[Validation(Required=false)]

dataworks-public-20240518/core/Models/ListDeploymentsRequest.cs renamed to dataworks-public-20240518/core/Models/ListPipelineRunsRequest.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class ListDeploymentsRequest : TeaModel {
11+
public class ListPipelineRunsRequest : TeaModel {
1212
/// <summary>
1313
/// <para>The ID of the user who creates the processes. This parameter specifies a filter condition.</para>
1414
///
1515
/// <b>Example:</b>
16-
/// <para>110755000425XXXX</para>
16+
/// <para>110755000425****</para>
1717
/// </summary>
1818
[NameInMap("Creator")]
1919
[Validation(Required=false)]
@@ -64,7 +64,7 @@ public class ListDeploymentsRequest : TeaModel {
6464
/// </list>
6565
///
6666
/// <b>Example:</b>
67-
/// <para>RUNNING</para>
67+
/// <para>Running</para>
6868
/// </summary>
6969
[NameInMap("Status")]
7070
[Validation(Required=false)]

dataworks-public-20240518/core/Models/ListDeploymentsResponse.cs renamed to dataworks-public-20240518/core/Models/ListPipelineRunsResponse.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace AlibabaCloud.SDK.Dataworks_public20240518.Models
1010
{
11-
public class ListDeploymentsResponse : TeaModel {
11+
public class ListPipelineRunsResponse : TeaModel {
1212
[NameInMap("headers")]
1313
[Validation(Required=false)]
1414
public Dictionary<string, string> Headers { get; set; }
@@ -19,7 +19,7 @@ public class ListDeploymentsResponse : TeaModel {
1919

2020
[NameInMap("body")]
2121
[Validation(Required=false)]
22-
public ListDeploymentsResponseBody Body { get; set; }
22+
public ListPipelineRunsResponseBody Body { get; set; }
2323

2424
}
2525

0 commit comments

Comments
 (0)
0