Skip to content

Commit 211277d

Browse files
committed
Support API CreateBandwidthResourcePackages.
1 parent b96585e commit 211277d

File tree

67 files changed

+2732
-480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2732
-480
lines changed

ecd-20200930/ChangeLog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2025-03-04 Version: 4.7.0
2+
- Support API CreateBandwidthResourcePackages.
3+
- Update API DescribeDesktopsInGroup: add param CustomEndTimePeriod.
4+
- Update API DescribeDesktopsInGroup: add param CustomStartTimePeriod.
5+
- Update API DescribePolicyGroups: add param PageNumber.
6+
- Update API DescribePolicyGroups: add param PageSize.
7+
- Update API DescribePolicyGroups: update response param.
8+
- Update API ModifyDiskSpec: add param ResellerOwnerUid.
9+
- Update API RenewNetworkPackages: add param AutoRenew.
10+
11+
112
2025-02-25 Version: 4.6.0
213
- Support API ModifyOfficeSiteDnsInfo.
314
- Update API CreatePolicyGroup: update param DomainResolveRule.

ecd-20200930/core/Client.cs

Lines changed: 386 additions & 112 deletions
Large diffs are not rendered by default.

ecd-20200930/core/Models/BindConfigGroupRequest.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
1010
{
1111
public class BindConfigGroupRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The ID of the configuration group.</para>
1314
/// <para>This parameter is required.</para>
1415
///
1516
/// <b>Example:</b>
@@ -20,6 +21,8 @@ public class BindConfigGroupRequest : TeaModel {
2021
public string GroupId { get; set; }
2122

2223
/// <summary>
24+
/// <para>The ID of the region. Set the value to <c>cn-shanghai</c>.</para>
25+
///
2326
/// <b>Example:</b>
2427
/// <para>cn-hangzhou</para>
2528
/// </summary>
@@ -28,13 +31,20 @@ public class BindConfigGroupRequest : TeaModel {
2831
public string RegionId { get; set; }
2932

3033
/// <summary>
34+
/// <para>The resources to which you want to bind the configuration group.</para>
3135
/// <para>This parameter is required.</para>
3236
/// </summary>
3337
[NameInMap("ResourceInfos")]
3438
[Validation(Required=false)]
3539
public List<BindConfigGroupRequestResourceInfos> ResourceInfos { get; set; }
3640
public class BindConfigGroupRequestResourceInfos : TeaModel {
3741
/// <summary>
42+
/// <para>The service type of the resource.</para>
43+
/// <para>Valid value:</para>
44+
/// <list type="bullet">
45+
/// <item><description>CLOUD_DESKTOP: the cloud computer service.</description></item>
46+
/// </list>
47+
///
3848
/// <b>Example:</b>
3949
/// <para>CLOUD_DESKTOP</para>
4050
/// </summary>
@@ -43,6 +53,8 @@ public class BindConfigGroupRequestResourceInfos : TeaModel {
4353
public string ProductType { get; set; }
4454

4555
/// <summary>
56+
/// <para>The ID of the resource.</para>
57+
///
4658
/// <b>Example:</b>
4759
/// <para>ecd-1bo4xotjvwyon****</para>
4860
/// </summary>
@@ -51,6 +63,8 @@ public class BindConfigGroupRequestResourceInfos : TeaModel {
5163
public string ResourceId { get; set; }
5264

5365
/// <summary>
66+
/// <para>The region ID of the resource.</para>
67+
///
5468
/// <b>Example:</b>
5569
/// <para>cn-hangzhou</para>
5670
/// </summary>
@@ -59,6 +73,13 @@ public class BindConfigGroupRequestResourceInfos : TeaModel {
5973
public string ResourceRegionId { get; set; }
6074

6175
/// <summary>
76+
/// <para>The type of the resource.</para>
77+
/// <para>Valid values:</para>
78+
/// <list type="bullet">
79+
/// <item><description>RESOURCE_GROUP: the resource group</description></item>
80+
/// <item><description>CLOUD_DESKTOP: the cloud computer service.</description></item>
81+
/// </list>
82+
///
6283
/// <b>Example:</b>
6384
/// <para>CLOUD_DESKTOP</para>
6485
/// </summary>

ecd-20200930/core/Models/BindConfigGroupResponseBody.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
1010
{
1111
public class BindConfigGroupResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>The ID of the configuration group.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>ccg-0chlk9b65lj****</para>
1517
/// </summary>
@@ -18,6 +20,8 @@ public class BindConfigGroupResponseBody : TeaModel {
1820
public string GroupId { get; set; }
1921

2022
/// <summary>
23+
/// <para>The ID of the request.</para>
24+
///
2125
/// <b>Example:</b>
2226
/// <para>E54EB497-D7B7-5F04-B744-D8DFA7B******</para>
2327
/// </summary>

ecd-20200930/core/Models/CreateADConnectorOfficeSiteRequest.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,22 @@ public class CreateADConnectorOfficeSiteRequest : TeaModel {
1919
[Validation(Required=false)]
2020
public string AdHostname { get; set; }
2121

22+
/// <summary>
23+
/// <para>The hostname of the backup domain controller.</para>
24+
///
25+
/// <b>Example:</b>
26+
/// <para>dc002</para>
27+
/// </summary>
2228
[NameInMap("BackupDCHostname")]
2329
[Validation(Required=false)]
2430
public string BackupDCHostname { get; set; }
2531

32+
/// <summary>
33+
/// <para>The DNS address of the backup domain controller.</para>
34+
///
35+
/// <b>Example:</b>
36+
/// <para>192.168.2.100</para>
37+
/// </summary>
2638
[NameInMap("BackupDns")]
2739
[Validation(Required=false)]
2840
public string BackupDns { get; set; }
@@ -275,6 +287,9 @@ public class CreateADConnectorOfficeSiteRequest : TeaModel {
275287
[Validation(Required=false)]
276288
public string SubDomainName { get; set; }
277289

290+
/// <summary>
291+
/// <para>The array of the vSwitch IDs.</para>
292+
/// </summary>
278293
[NameInMap("VSwitchId")]
279294
[Validation(Required=false)]
280295
public List<string> VSwitchId { get; set; }
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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.Ecd20200930.Models
10+
{
11+
public class CreateBandwidthResourcePackagesRequest : TeaModel {
12+
/// <summary>
13+
/// <para>The number of the data transfer plans that you want to create at the same time. Valid values: 1 to 20. Default value: 1.</para>
14+
///
15+
/// <b>Example:</b>
16+
/// <para>1</para>
17+
/// </summary>
18+
[NameInMap("Amount")]
19+
[Validation(Required=false)]
20+
public int? Amount { get; set; }
21+
22+
/// <summary>
23+
/// <para>Specifies whether to enable the auto-payment feature.</para>
24+
///
25+
/// <b>Example:</b>
26+
/// <para>true</para>
27+
/// </summary>
28+
[NameInMap("AutoPay")]
29+
[Validation(Required=false)]
30+
public bool? AutoPay { get; set; }
31+
32+
/// <summary>
33+
/// <para>The size of the data transfer plan. Valid values: 10 to 1000. Unit: GiB.</para>
34+
/// <para>This parameter is required.</para>
35+
///
36+
/// <b>Example:</b>
37+
/// <para>100</para>
38+
/// </summary>
39+
[NameInMap("PackageSize")]
40+
[Validation(Required=false)]
41+
public int? PackageSize { get; set; }
42+
43+
/// <summary>
44+
/// <para>The subscription duration. The valid values of this parameter vary based on the value of <c>PeriodUnit</c>.</para>
45+
/// <list type="bullet">
46+
/// <item><description>If <c>PeriodUnit</c> is set to <c>Month</c>, the valid values of Period are 1, 3, and 6.</description></item>
47+
/// <item><description>If <c>PeriodUnit</c> is set to <c>Year</c>, the valid value of Period is 1.</description></item>
48+
/// </list>
49+
/// <para>Default value: 1.</para>
50+
///
51+
/// <b>Example:</b>
52+
/// <para>1</para>
53+
/// </summary>
54+
[NameInMap("Period")]
55+
[Validation(Required=false)]
56+
public int? Period { get; set; }
57+
58+
/// <summary>
59+
/// <para>The unit of the subscription duration.</para>
60+
/// <para>Valid values:</para>
61+
/// <list type="bullet">
62+
/// <item><description>Month (default)</description></item>
63+
/// <item><description>Year</description></item>
64+
/// </list>
65+
///
66+
/// <b>Example:</b>
67+
/// <para>Month</para>
68+
/// </summary>
69+
[NameInMap("PeriodUnit")]
70+
[Validation(Required=false)]
71+
public string PeriodUnit { get; set; }
72+
73+
/// <summary>
74+
/// <para>The ID of the promotional activity.</para>
75+
///
76+
/// <b>Example:</b>
77+
/// <para>youhuiquan_promotion_option_id_for_blank</para>
78+
/// </summary>
79+
[NameInMap("PromotionId")]
80+
[Validation(Required=false)]
81+
public string PromotionId { get; set; }
82+
83+
/// <summary>
84+
/// <para>The ID of the region. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.</para>
85+
/// <para>This parameter is required.</para>
86+
///
87+
/// <b>Example:</b>
88+
/// <para>cn-hangzhou</para>
89+
/// </summary>
90+
[NameInMap("RegionId")]
91+
[Validation(Required=false)]
92+
public string RegionId { get; set; }
93+
94+
}
95+
96+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.Ecd20200930.Models
10+
{
11+
public class CreateBandwidthResourcePackagesResponse : TeaModel {
12+
[NameInMap("headers")]
13+
[Validation(Required=false)]
14+
public Dictionary<string, string> Headers { get; set; }
15+
16+
[NameInMap("statusCode")]
17+
[Validation(Required=false)]
18+
public int? StatusCode { get; set; }
19+
20+
[NameInMap("body")]
21+
[Validation(Required=false)]
22+
public CreateBandwidthResourcePackagesResponseBody Body { get; set; }
23+
24+
}
25+
26+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.Ecd20200930.Models
10+
{
11+
public class CreateBandwidthResourcePackagesResponseBody : TeaModel {
12+
/// <summary>
13+
/// <para>The ID of the order.</para>
14+
///
15+
/// <b>Example:</b>
16+
/// <para>24251717783****</para>
17+
/// </summary>
18+
[NameInMap("OrderId")]
19+
[Validation(Required=false)]
20+
public long? OrderId { get; set; }
21+
22+
/// <summary>
23+
/// <para>The ID of a request.</para>
24+
///
25+
/// <b>Example:</b>
26+
/// <para>AE7B699F-625C-587E-BC5F-1395CA969681</para>
27+
/// </summary>
28+
[NameInMap("RequestId")]
29+
[Validation(Required=false)]
30+
public string RequestId { get; set; }
31+
32+
}
33+
34+
}

0 commit comments

Comments
 (0)