Skip to content

Commit 03314e6

Browse files
committed
Support API DisconnectAndroidInstance.
1 parent 1251d6b commit 03314e6

File tree

122 files changed

+4352
-229
lines changed

Some content is hidden

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

122 files changed

+4352
-229
lines changed

eds-aic-20230930/ChangeLog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2025-02-26 Version: 4.1.0
2+
- Support API DisconnectAndroidInstance.
3+
- Support API EndCoordination.
4+
- Support API GenerateCoordinationCode.
5+
- Support API SetAdbSecure.
6+
- Update API CreateAndroidInstanceGroup: add param EnableIpv6.
7+
- Update API CreateAndroidInstanceGroup: add param Ipv6Bandwidth.
8+
- Update API CreateAndroidInstanceGroup: add param Tag.
9+
- Update API CreateApp: add param CustomAppInfo.
10+
- Update API DescribeAndroidInstances: update response param.
11+
- Update API SendFile: update param UploadEndpoint.
12+
13+
114
2025-01-23 Version: 4.0.0
215
- Support API CreateScreenshot.
316
- Update API CheckResourceStock: update param AcpSpecId.

eds-aic-20230930/core/Client.cs

Lines changed: 1492 additions & 220 deletions
Large diffs are not rendered by default.

eds-aic-20230930/core/Models/AttachKeyPairRequest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99
namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class AttachKeyPairRequest : TeaModel {
12+
/// <summary>
13+
/// <para>The IDs of the cloud phone instances. You can specify a maximum of 50 cloud phone instances.</para>
14+
/// </summary>
1215
[NameInMap("InstanceIds")]
1316
[Validation(Required=false)]
1417
public List<string> InstanceIds { get; set; }
1518

1619
/// <summary>
20+
/// <para>The ID of the ADB key pair.</para>
1721
/// <para>This parameter is required.</para>
1822
///
1923
/// <b>Example:</b>

eds-aic-20230930/core/Models/AttachKeyPairResponseBody.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,23 @@
99
namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class AttachKeyPairResponseBody : TeaModel {
12+
/// <summary>
13+
/// <para>The object that is returned.</para>
14+
/// </summary>
1215
[NameInMap("Data")]
1316
[Validation(Required=false)]
1417
public AttachKeyPairResponseBodyData Data { get; set; }
1518
public class AttachKeyPairResponseBodyData : TeaModel {
19+
/// <summary>
20+
/// <para>The IDs of the cloud phone instances to which the ADB key pair is successfully attached.</para>
21+
/// </summary>
1622
[NameInMap("AttachedInstanceIds")]
1723
[Validation(Required=false)]
1824
public List<string> AttachedInstanceIds { get; set; }
1925

2026
/// <summary>
27+
/// <para>The number of the cloud phone instances to which the ADB key pair failed to be attached.</para>
28+
///
2129
/// <b>Example:</b>
2230
/// <para>0</para>
2331
/// </summary>
@@ -26,6 +34,8 @@ public class AttachKeyPairResponseBodyData : TeaModel {
2634
public int? FailCount { get; set; }
2735

2836
/// <summary>
37+
/// <para>The ID of the ADB key pair.</para>
38+
///
2939
/// <b>Example:</b>
3040
/// <para>kp-6v2q33ae4tw3a****</para>
3141
/// </summary>
@@ -34,6 +44,8 @@ public class AttachKeyPairResponseBodyData : TeaModel {
3444
public string KeyPairId { get; set; }
3545

3646
/// <summary>
47+
/// <para>The total number of the cloud phone instances.</para>
48+
///
3749
/// <b>Example:</b>
3850
/// <para>100</para>
3951
/// </summary>
@@ -44,6 +56,8 @@ public class AttachKeyPairResponseBodyData : TeaModel {
4456
}
4557

4658
/// <summary>
59+
/// <para>The ID of the request.</para>
60+
///
4761
/// <b>Example:</b>
4862
/// <para>69BCBBE4-FCF2-59B8-AD9D-531EB422****</para>
4963
/// </summary>

eds-aic-20230930/core/Models/AuthorizeAndroidInstanceRequest.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99
namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class AuthorizeAndroidInstanceRequest : TeaModel {
12+
/// <summary>
13+
/// <para>List of instance IDs.</para>
14+
/// </summary>
1215
[NameInMap("AndroidInstanceIds")]
1316
[Validation(Required=false)]
1417
public List<string> AndroidInstanceIds { get; set; }
1518

1619
/// <summary>
20+
/// <para>User ID to be assigned.</para>
21+
///
1722
/// <b>Example:</b>
1823
/// <para>test</para>
1924
/// </summary>
@@ -22,6 +27,8 @@ public class AuthorizeAndroidInstanceRequest : TeaModel {
2227
public string AuthorizeUserId { get; set; }
2328

2429
/// <summary>
30+
/// <para>User ID to be unassigned.</para>
31+
///
2532
/// <b>Example:</b>
2633
/// <para>test</para>
2734
/// </summary>

eds-aic-20230930/core/Models/AuthorizeAndroidInstanceResponseBody.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class AuthorizeAndroidInstanceResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>Request ID.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>1A923337-44D9-5CAD-9A53-95084BD4****</para>
1517
/// </summary>

eds-aic-20230930/core/Models/BackupFileRequest.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,40 +10,74 @@ namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class BackupFileRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The IDs of the instances.</para>
1314
/// <para>This parameter is required.</para>
1415
/// </summary>
1516
[NameInMap("AndroidInstanceIdList")]
1617
[Validation(Required=false)]
1718
public List<string> AndroidInstanceIdList { get; set; }
1819

20+
/// <summary>
21+
/// <para>Whether all data is to be backed up.</para>
22+
///
23+
/// <b>Example:</b>
24+
/// <para>true</para>
25+
/// </summary>
1926
[NameInMap("BackupAll")]
2027
[Validation(Required=false)]
2128
public bool? BackupAll { get; set; }
2229

30+
/// <summary>
31+
/// <para>Backup file name.</para>
32+
///
33+
/// <b>Example:</b>
34+
/// <para>defaultBackupFile</para>
35+
/// </summary>
2336
[NameInMap("BackupFileName")]
2437
[Validation(Required=false)]
2538
public string BackupFileName { get; set; }
2639

2740
/// <summary>
41+
/// <para>The OSS path of the backup file.</para>
42+
/// <remarks>
43+
/// <para> To upload a backup file to an OSS bucket, you must obtain the name of the bucket. When calling the describeBuckets operation to retrieve a bucket name, you must also call the ossObjectList operation to obtain the object key. Combine these to form the full path: oss://${bucketName}/${key}.</para>
44+
/// </remarks>
2845
/// <para>This parameter is required.</para>
2946
/// </summary>
3047
[NameInMap("BackupFilePath")]
3148
[Validation(Required=false)]
3249
public string BackupFilePath { get; set; }
3350

51+
/// <summary>
52+
/// <para>The description of the backup file.</para>
53+
///
54+
/// <b>Example:</b>
55+
/// <para>This is a backup file description.</para>
56+
/// </summary>
3457
[NameInMap("Description")]
3558
[Validation(Required=false)]
3659
public string Description { get; set; }
3760

61+
/// <summary>
62+
/// <para>List of apps to be backed up.</para>
63+
/// </summary>
3864
[NameInMap("SourceAppList")]
3965
[Validation(Required=false)]
4066
public List<string> SourceAppList { get; set; }
4167

68+
/// <summary>
69+
/// <para>The paths to the source files.</para>
70+
/// </summary>
4271
[NameInMap("SourceFilePathList")]
4372
[Validation(Required=false)]
4473
public List<string> SourceFilePathList { get; set; }
4574

4675
/// <summary>
76+
/// <para>The endpoint of the OSS bucket to which you want to upload the backup file.</para>
77+
/// <remarks>
78+
/// <para>: When calling the DescribeBuckets operation to query buckets, retrieve the IntranetEndpoint value if the cloud phone and the OSS bucket are in the same region. If they are in different regions, retrieve the ExtranetEndpoint value instead.</para>
79+
/// </remarks>
80+
///
4781
/// <b>Example:</b>
4882
/// <para>oss-cn-shanghai-internal.aliyuncs.com</para>
4983
/// </summary>
@@ -52,6 +86,12 @@ public class BackupFileRequest : TeaModel {
5286
public string UploadEndpoint { get; set; }
5387

5488
/// <summary>
89+
/// <para>The type of the backup.</para>
90+
/// <para>Valid values:</para>
91+
/// <list type="bullet">
92+
/// <item><description>OSS: uploads the backup file to an OSS bucket.</description></item>
93+
/// </list>
94+
///
5595
/// <b>Example:</b>
5696
/// <para>OSS</para>
5797
/// </summary>

eds-aic-20230930/core/Models/BackupFileResponseBody.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,84 @@
99
namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class BackupFileResponseBody : TeaModel {
12+
/// <summary>
13+
/// <para>The total number of entries returned.</para>
14+
///
15+
/// <b>Example:</b>
16+
/// <para>100</para>
17+
/// </summary>
1218
[NameInMap("Count")]
1319
[Validation(Required=false)]
1420
public long? Count { get; set; }
1521

1622
/// <summary>
23+
/// <para>The objects that are returned.</para>
24+
///
1725
/// <b>Example:</b>
1826
/// <para>6C8439B9-7DBF-57F4-92AE-55A9B9D3****</para>
1927
/// </summary>
2028
[NameInMap("Data")]
2129
[Validation(Required=false)]
2230
public List<BackupFileResponseBodyData> Data { get; set; }
2331
public class BackupFileResponseBodyData : TeaModel {
32+
/// <summary>
33+
/// <para>Instance id.</para>
34+
///
35+
/// <b>Example:</b>
36+
/// <para>acp-34pqe4r0kd9kn****</para>
37+
/// </summary>
2438
[NameInMap("AndroidInstanceId")]
2539
[Validation(Required=false)]
2640
public string AndroidInstanceId { get; set; }
2741

42+
/// <summary>
43+
/// <para>Backup file id.</para>
44+
///
45+
/// <b>Example:</b>
46+
/// <para>bf-b0qbg3pbpjkn7****</para>
47+
/// </summary>
2848
[NameInMap("BackupFileId")]
2949
[Validation(Required=false)]
3050
public string BackupFileId { get; set; }
3151

52+
/// <summary>
53+
/// <para>Backup file name.</para>
54+
///
55+
/// <b>Example:</b>
56+
/// <para>a-58ftsoo90p0qa****.ab</para>
57+
/// </summary>
3258
[NameInMap("BackupFileName")]
3359
[Validation(Required=false)]
3460
public string BackupFileName { get; set; }
3561

62+
/// <summary>
63+
/// <para>The task ID.</para>
64+
///
65+
/// <b>Example:</b>
66+
/// <para>t-22ex666a5mco5****</para>
67+
/// </summary>
3668
[NameInMap("TaskId")]
3769
[Validation(Required=false)]
3870
public string TaskId { get; set; }
3971

4072
}
4173

4274
/// <summary>
75+
/// <para>The ID of the request.</para>
76+
///
4377
/// <b>Example:</b>
4478
/// <para>6C8439B9-7DBF-57F4-92AE-55A9B9D3****</para>
4579
/// </summary>
4680
[NameInMap("RequestId")]
4781
[Validation(Required=false)]
4882
public string RequestId { get; set; }
4983

84+
/// <summary>
85+
/// <para>The batch task ID.</para>
86+
///
87+
/// <b>Example:</b>
88+
/// <para>t-22ex666a5mco5****</para>
89+
/// </summary>
5090
[NameInMap("TaskId")]
5191
[Validation(Required=false)]
5292
public string TaskId { get; set; }

eds-aic-20230930/core/Models/BatchGetAcpConnectionTicketRequest.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace AlibabaCloud.SDK.Eds_aic20230930.Models
1010
{
1111
public class BatchGetAcpConnectionTicketRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The ID of the user to whom the cloud phone instance is assigned.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>user</para>
1517
/// </summary>
@@ -18,22 +20,32 @@ public class BatchGetAcpConnectionTicketRequest : TeaModel {
1820
public string EndUserId { get; set; }
1921

2022
/// <summary>
23+
/// <para>The ID of the instance group.</para>
24+
///
2125
/// <b>Example:</b>
2226
/// <para>ag-25nt4kk9whjh****</para>
2327
/// </summary>
2428
[NameInMap("InstanceGroupId")]
2529
[Validation(Required=false)]
2630
public string InstanceGroupId { get; set; }
2731

32+
/// <summary>
33+
/// <para>The IDs of the cloud phone instances. You can specify 1 to 100 IDs of cloud phone instances.</para>
34+
/// </summary>
2835
[NameInMap("InstanceIds")]
2936
[Validation(Required=false)]
3037
public List<string> InstanceIds { get; set; }
3138

39+
/// <summary>
40+
/// <para>The instance connection tasks.</para>
41+
/// </summary>
3242
[NameInMap("InstanceTasks")]
3343
[Validation(Required=false)]
3444
public List<BatchGetAcpConnectionTicketRequestInstanceTasks> InstanceTasks { get; set; }
3545
public class BatchGetAcpConnectionTicketRequestInstanceTasks : TeaModel {
3646
/// <summary>
47+
/// <para>The ID of the cloud phone instance.</para>
48+
///
3749
/// <b>Example:</b>
3850
/// <para>acp-fkuit0cmyfvzz****</para>
3951
/// </summary>
@@ -42,6 +54,8 @@ public class BatchGetAcpConnectionTicketRequestInstanceTasks : TeaModel {
4254
public string InstanceId { get; set; }
4355

4456
/// <summary>
57+
/// <para>The ID of the task.</para>
58+
///
4559
/// <b>Example:</b>
4660
/// <para>cn-hangzhou@c9f5c2e8-f5c4-4b01-8602-000cae94****</para>
4761
/// </summary>

0 commit comments

Comments
 (0)