10000 Generated csharp 2022-01-01 for pai-dsw. · aliyun/alibabacloud-csharp-sdk@4a976bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a976bb

Browse files
committed
Generated csharp 2022-01-01 for pai-dsw.
1 parent af1e7af commit 4a976bb

8 files changed

+98
-12
lines changed

pai-dsw-20220101/ChangeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-14 Version: 1.5.13
2+
- Generated csharp 2022-01-01 for pai-dsw.
3+
14
2025-04-22 Version: 1.5.12
25
- Update API ListEcsSpecs: add response parameters Body.EcsSpecs.$.GPUMemorySize.
36
- Update API ListEcsSpecs: add response parameters Body.EcsSpecs.$.SpotStockStatus.

pai-dsw-20220101/core/Client.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@ public async Task<GetUserConfigResponse> GetUserConfigAsync()
28232823

28242824
/// <term><b>Summary:</b></term>
28252825
/// <summary>
2826-
/// <para>获取ECS规格列表</para>
2826+
/// <para>Queries a list of specifications of ECS instances.</para>
28272827
/// </summary>
28282828
///
28292829
/// <param name="request">
@@ -2885,7 +2885,7 @@ public ListEcsSpecsResponse ListEcsSpecsWithOptions(ListEcsSpecsRequest request,
28852885

28862886
/// <term><b>Summary:</b></term>
28872887
/// <summary>
2888-
/// <para>获取ECS规格列表</para>
2888+
/// <para>Queries a list of specifications of ECS instances.</para>
28892889
/// </summary>
28902890
///
28912891
/// <param name="request">
@@ -2947,7 +2947,7 @@ public async Task<ListEcsSpecsResponse> ListEcsSpecsWithOptionsAsync(ListEcsSpec
29472947

29482948
/// <term><b>Summary:</b></term>
29492949
/// <summary>
2950-
/// <para>获取ECS规格列表</para>
2950+
/// <para>Queries a list of specifications of ECS instances.</para>
29512951
/// </summary>
29522952
///
29532953
/// <param name="request">
@@ -2966,7 +2966,7 @@ public ListEcsSpecsResponse ListEcsSpecs(ListEcsSpecsRequest request)
29662966

29672967
/// <term><b>Summary:</b></term>
29682968
/// <summary>
2969-
/// <para>获取ECS规格列表</para>
2969+
/// <para>Queries a list of specifications of ECS instances.</para>
29702970
/// </summary>
29712971
///
29722972
/// <param name="request">

pai-dsw-20220101/core/Models/CreateInstanceRequest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public class CreateInstanceRequestDatasets : TeaModel {
247247
public string OptionType { get; set; }
248248

249249
/// <summary>
250-
/// <para>The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see <a href="https://help.aliyun.com/zh/pai/user-guide/read-and-write-dataset-data">DSW mount configurations</a>.</para>
250+
/// <para>The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see <a href="https://www.alibabacloud.com/help/en/pai/user-guide/read-and-write-dataset-data">DSW mount configurations</a>.</para>
251251
///
252252
/// <b>Example:</b>
253253
/// <para>{

pai-dsw-20220101/core/Models/ListEcsSpecsRequest.cs

+18-1
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,27 @@ namespace AlibabaCloud.SDK.Pai_dsw20220101.Models
1010
{
1111
public class ListEcsSpecsRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The accelerator type.</para>
14+
/// <list type="bullet">
15+
/// <item><description>CPU: Only CPU computing is used.</description></item>
16+
/// <item><description>GPU: GPUs are used to accelerate computing.</description></item>
17+
/// </list>
1318
/// <para>This parameter is required.</para>
1419
///
1520
/// <b>Example:</b>
16-
/// <para>PRIVATE</para>
21+
/// <para>CPU</para>
1722
/// </summary>
1823
[NameInMap("AcceleratorType")]
1924
[Validation(Required=false)]
2025
public string AcceleratorType { get; set; }
2126

2227
/// <summary>
28+
/// <para>The sorting order. Valid values:</para>
29+
/// <list type="bullet">
30+
/// <item><description>ASC</description></item>
31+
/// <item><description>DESC</description></item>
32+
/// </list>
33+
///
2334
/// <b>Example:</b>
2435
/// <para>DESC</para>
2536
/// </summary>
@@ -28,6 +39,8 @@ public class ListEcsSpecsRequest : TeaModel {
2839
public string Order { get; set; }
2940

3041
/// <summary>
42+
/// <para>The page number. Pages start from page 1. Default value: 1.</para>
43+
///
3144
/// <b>Example:</b>
3245
/// <para>1</para>
3346
/// </summary>
@@ -36,6 +49,8 @@ public class ListEcsSpecsRequest : TeaModel {
3649
public long? PageNumber { get; set; }
3750

3851
/// <summary>
52+
/// <para>The number of entries per page.</para>
53+
///
3954
/// <b>Example:</b>
4055
/// <para>10</para>
4156
/// </summary>
@@ -44,6 +59,8 @@ public class ListEcsSpecsRequest : TeaModel {
4459
public long? PageSize { get; set; }
4560

4661
/// <summary>
62+
/// <para>The field by which the query results are sorted. Set the value to gmtCreate.</para>
63+
///
4764
/// <b>Example:</b>
4865
/// <para>gmtCreate</para>
4966
/// </summary>

pai-dsw-20220101/core/Models/ListEcsSpecsResponseBody.cs

+67-1
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,29 @@ namespace AlibabaCloud.SDK.Pai_dsw20220101.Models
1010
{
1111
public class ListEcsSpecsResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>The status code. Valid values:</para>
14+
/// <list type="bullet">
15+
/// <item><description>InternalError: an internal error. All errors, except for parameter validation errors, are classified as internal errors.</description></item>
16+
/// <item><description>ValidationError: a parameter validation error.</description></item>
17+
/// </list>
18+
///
1319
/// <b>Example:</b>
1420
/// <para>null</para>
1521
/// </summary>
1622
[NameInMap("Code")]
1723
[Validation(Required=false)]
1824
public string Code { get; set; }
1925

26+
/// <summary>
27+
/// <para>The specifications of the ECS instances returned on this page.</para>
28+
/// </summary>
2029
[NameInMap("EcsSpecs")]
2130
[Validation(Required=false)]
2231
public List<ListEcsSpecsResponseBodyEcsSpecs> EcsSpecs { get; set; }
2332
public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
2433
/// <summary>
34+
/// <para>The accelerator type.</para>
35+
///
2536
/// <b>Example:</b>
2637
/// <para>CPU</para>
2738
/// </summary>
@@ -30,6 +41,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
3041
public string AcceleratorType { get; set; }
3142

3243
/// <summary>
44+
/// <para>The number of vCPUs.</para>
45+
///
3346
/// <b>Example:</b>
3447
/// <para>32</para>
3548
/// </summary>
@@ -38,6 +51,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
3851
public long? CPU { get; set; }
3952

4053
/// <summary>
54+
/// <para>The currency unit.</para>
55+
///
4156
/// <b>Example:</b>
4257
/// <para>CNY</para>
4358
/// </summary>
@@ -46,6 +61,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
4661
public string Currency { get; set; }
4762

4863
/// <summary>
64+
/// <para>The number of GPUs.</para>
65+
///
4966
/// <b>Example:</b>
5067
/// <para>4</para>
5168
/// </summary>
@@ -58,6 +75,15 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
5875
public float? GPUMemorySize { get; set; }
5976

6077
/// <summary>
78+
/// <para>The GPU type. Valid values:</para>
79+
/// <list type="bullet">
80+
/// <item><description>V100</description></item>
81+
/// <item><description>A100</description></item>
82+
/// <item><description>A10</description></item>
83+
/// <item><description>T4</description></item>
84+
/// <item><description>P100</description></item>
85+
/// </list>
86+
///
6187
/// <b>Example:</b>
6288
/// <para>v100</para>
6389
/// </summary>
@@ -66,6 +92,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
6692
public string GPUType { get; set; }
6793

6894
/// <summary>
95+
/// <para>The inbound bandwidth of the instance.</para>
96+
///
6997
/// <b>Example:</b>
7098
/// <para>5120000</para>
7199
/// </summary>
@@ -74,6 +102,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
74102
public long? InstanceBandwidthRx { get; set; }
75103

76104
/// <summary>
105+
/// <para>The instance type.</para>
106+
///
77107
/// <b>Example:</b>
78108
/// <para>ecs.gn5-c28g1.7xlarge</para>
79109
/// </summary>
@@ -82,6 +112,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
82112
public string InstanceType { get; set; }
83113

84114
/// <summary>
115+
/// <para>Indicates whether the resource was available.</para>
116+
///
85117
/// <b>Example:</b>
86118
/// <para>True</para>
87119
/// </summary>
@@ -90,6 +122,8 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
90122
public bool? IsAvailable { get; set; }
91123

92124
/// <summary>
125+
/// <para>The labels of the ECS specification.</para>
126+
///
93127
/// <b>Example:</b>
94128
/// <para>{\&quot;foo\&quot;: \&quot;bar\&quot;}</para>
95129
/// </summary>
@@ -98,20 +132,30 @@ public class ListEcsSpecsResponseBodyEcsSpecs : TeaModel {
98132
public List<ListEcsSpecsResponseBodyEcsSpecsLabels> Labels { get; set; }
99133
public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
100134
/// <summary>
135+
/// <para>The label key added to the ECS specification.</para>
136+
///
101137
/// <b>Example:</b>
102-
/// <para>stsTokenOwner</para>
138+
/// <para>SupportResourcePackDeduction</para>
103139
/// </summary>
104140
[NameInMap("Key")]
105141
[Validation(Required=false)]
106142
public string Key { get; set; }
107143

144+
/// <summary>
145+
/// <para>The label value added to the ECS specification.</para>
146+
///
147+
/// <b>Example:</b>
148+
/// <para>true</para>
149+
/// </summary>
108150
[NameInMap("Value")]
109151
[Validation(Required=false)]
110152
public string Value { get; set; }
111153

112154
}
113155

114156
/// <summary>
157+
/// <para>The memory size. Unit: GB.</para>
158+
///
115159
/// <b>Example:</b>
116160
/// <para>32</para>
117161
/// </summary>
@@ -120,6 +164,8 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
120164
public float? Memory { get; set; }
121165

122166
/// <summary>
167+
/// <para>The price.</para>
168+
///
123169
/// <b>Example:</b>
124170
/// <para>22.8</para>
125171
/// </summary>
@@ -132,6 +178,8 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
132178
public string SpotStockStatus { get; set; }
133179

134180
/// <summary>
181+
/// <para>The size of the system disk. Unit: GB.</para>
182+
///
135183
/// <b>Example:</b>
136184
/// <para>500</para>
137185
/// </summary>
@@ -142,6 +190,12 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
142190
}
143191

144192
/// <summary>
193+
/// <para>The HTTP status code. Valid values:</para>
194+
/// <list type="bullet">
195+
/// <item><description>400</description></item>
196+
/// <item><description>404</description></item>
197+
/// </list>
198+
///
145199
/// <b>Example:</b>
146200
/// <para>null</para>
147201
/// </summary>
@@ -150,6 +204,8 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
150204
public int? HttpStatusCode { get; set; }
151205

152206
/// <summary>
207+
/// <para>The response message.</para>
208+
///
153209
/// <b>Example:</b>
154210
/// <para>&quot;XXX&quot;</para>
155211
/// </summary>
@@ -158,6 +214,8 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
158214
public string Message { get; set; }
159215

160216
/// <summary>
217+
/// <para>The request ID.</para>
218+
///
161219
/// <b>Example:</b>
162220
/// <para>E7D55162-4489-1619-AAF5-3F97D5FCA948</para>
163221
/// </summary>
@@ -166,6 +224,12 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
166224
public string RequestId { get; set; }
167225

168226
/// <summary>
227+
/// <para>Indicates whether the request was successful. Valid values:</para>
228+
/// <list type="bullet">
229+
/// <item><description>true</description></item>
230+
/// <item><description>false</description></item>
231+
/// </list>
232+
///
169233
/// <b>Example:</b>
170234
/// <para>true</para>
171235
/// </summary>
@@ -174,6 +238,8 @@ public class ListEcsSpecsResponseBodyEcsSpecsLabels : TeaModel {
174238
public bool? Success { get; set; }
175239

176240
/// <summary>
241+
/// <para>The total number of ECS instances.</para>
242+
///
177243
/// <b>Example:</b>
178244
/// <para>35</para>
179245
/// </summary>

pai-dsw-20220101/core/Models/UpdateInstanceRequest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public class UpdateInstanceRequestDatasets : TeaModel {
188188
public string OptionType { get; set; }
189189

190190
/// <summary>
191-
/// <para>The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see <a href="https://help.aliyun.com/zh/pai/user-guide/read-and-write-dataset-data">DSW mount configurations</a>.</para>
191+
/// <para>The custom dataset mount options. Only OSS is supported. You cannot specify OptionType at the same time. For more information, see <a href="https://www.alibabacloud.com/help/en/pai/user-guide/read-and-write-dataset-data">DSW mount configurations</a>.</para>
192192
///
193193
/// <b>Example:</b>
194194
/// <para>{

pai-dsw-20220101/core/Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: ComVisible(false)]
2121

2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("7497a410-1f38-11f0-8029-459980121d6c")]
23+
[assembly: Guid("f64d6a40-309e-11f0-8827-87ef6341f7c0")]
2424

2525
// Version information for an assembly consists of the following four values:
2626
//
@@ -29,5 +29,5 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("1.5.11.0")]
33-
[assembly: AssemblyFileVersion("1.5.11.0")]
32+
[assembly: AssemblyVersion("1.5.12.0")]
33+
[assembly: AssemblyFileVersion("1.5.12.0")]

pai-dsw-20220101/core/pai-dsw.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
99
<AssemblyName>AlibabaCloud.SDK.Pai-dsw20220101</AssemblyName>
10-
<Version>1.5.12</Version>
10+
<Version>1.5.13</Version>
1111
<LangVersion>5</LangVersion>
1212
<Authors>Alibaba Cloud</Authors>
1313
<Description>Alibaba Cloud pai-dsw (20220101) SDK Library for .NET</Description>

0 commit comments

Comments
 (0)
0