Skip to content

Commit 255eb4f

Browse files
committed
Generated java-async 2020-09-30 for ecd.
1 parent 4fa7d3b commit 255eb4f

19 files changed

+1032
-604
lines changed

ecd-20200930/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-02-25 Version: 4.0.24
2+
- Generated java-async 2020-09-30 for ecd.
3+
14
2025-02-17 Version: 4.0.23
25
- Generated java-async 2020-09-30 for ecd.
36

ecd-20200930/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-ecd20200930</artifactId>
6-
<version>4.0.23</version>
6+
<version>4.0.24</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-ecd20200930</name>
99
<description>Alibaba Cloud ecd (20200930) Async SDK for Java

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/AsyncClient.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static AsyncClient create() {
352352

353353
/**
354354
* <b>description</b> :
355-
* <p>A policy is a set of security rules that are used to control security configurations when end users use cloud desktops. A policy contains basic features, such as USB redirection and watermarking, and other features, such as security group control. For more information, see <a href="https://help.aliyun.com/document_detail/189345.html">Policy overview</a>.</p>
355+
* <p>A cloud computer policy is a collection of rules to manage cloud computers in performance and security. For example, you can create a basic policy that involves the disk mapping, USB redirection, watermarking features and rules such as DNS rules. For more information, see <a href="https://help.aliyun.com/document_detail/189345.html">Policy overview</a>.</p>
356356
*
357357
* @param request the request parameters of CreatePolicyGroup CreatePolicyGroupRequest
358358
* @return CreatePolicyGroupResponse
@@ -513,6 +513,12 @@ static AsyncClient create() {
513513
CompletableFuture<DeleteOfficeSitesResponse> deleteOfficeSites(DeleteOfficeSitesRequest request);
514514

515515
/**
516+
* <b>description</b> :
517+
* <p> You cannot delete the cloud computer policy created by the Elastic Desktop Service (EDS) system.</p>
518+
* <ul>
519+
* <li>You cannot delete the cloud computer policies that are associated with cloud computers.</li>
520+
* </ul>
521+
*
516522
* @param request the request parameters of DeletePolicyGroups DeletePolicyGroupsRequest
517523
* @return DeletePolicyGroupsResponse
518524
*/
@@ -1279,7 +1285,7 @@ static AsyncClient create() {
12791285

12801286
/**
12811287
* <b>description</b> :
1282-
* <p>The cloud desktops that you want to restart by calling this operation must be in the Running state.</p>
1288+
* <p>The cloud computers for which you want to change their policies must be in the Running state.</p>
12831289
*
12841290
* @param request the request parameters of ModifyDesktopsPolicyGroup ModifyDesktopsPolicyGroupRequest
12851291
* @return ModifyDesktopsPolicyGroupResponse
@@ -1391,6 +1397,12 @@ static AsyncClient create() {
13911397
*/
13921398
CompletableFuture<ModifyOfficeSiteCrossDesktopAccessResponse> modifyOfficeSiteCrossDesktopAccess(ModifyOfficeSiteCrossDesktopAccessRequest request);
13931399

1400+
/**
1401+
* @param request the request parameters of ModifyOfficeSiteDnsInfo ModifyOfficeSiteDnsInfoRequest
1402+
* @return ModifyOfficeSiteDnsInfoResponse
1403+
*/
1404+
CompletableFuture<ModifyOfficeSiteDnsInfoResponse> modifyOfficeSiteDnsInfo(ModifyOfficeSiteDnsInfoRequest request);
1405+
13941406
/**
13951407
* @param request the request parameters of ModifyOfficeSiteMfaEnabled ModifyOfficeSiteMfaEnabledRequest
13961408
* @return ModifyOfficeSiteMfaEnabledResponse

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/DefaultAsyncClient.java

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ public CompletableFuture<CreateNetworkPackageResponse> createNetworkPackage(Crea
864864

865865
/**
866866
* <b>description</b> :
867-
* <p>A policy is a set of security rules that are used to control security configurations when end users use cloud desktops. A policy contains basic features, such as USB redirection and watermarking, and other features, such as security group control. For more information, see <a href="https://help.aliyun.com/document_detail/189345.html">Policy overview</a>.</p>
867+
* <p>A cloud computer policy is a collection of rules to manage cloud computers in performance and security. For example, you can create a basic policy that involves the disk mapping, USB redirection, watermarking features and rules such as DNS rules. For more information, see <a href="https://help.aliyun.com/document_detail/189345.html">Policy overview</a>.</p>
868868
*
869869
* @param request the request parameters of CreatePolicyGroup CreatePolicyGroupRequest
870870
* @return CreatePolicyGroupResponse
@@ -1253,6 +1253,12 @@ public CompletableFuture<DeleteOfficeSitesResponse> deleteOfficeSites(DeleteOffi
12531253
}
12541254

12551255
/**
1256+
* <b>description</b> :
1257+
* <p> You cannot delete the cloud computer policy created by the Elastic Desktop Service (EDS) system.</p>
1258+
* <ul>
1259+
* <li>You cannot delete the cloud computer policies that are associated with cloud computers.</li>
1260+
* </ul>
1261+
*
12561262
* @param request the request parameters of DeletePolicyGroups DeletePolicyGroupsRequest
12571263
* @return DeletePolicyGroupsResponse
12581264
*/
@@ -3291,7 +3297,7 @@ public CompletableFuture<ModifyDesktopTimerResponse> modifyDesktopTimer(ModifyDe
32913297

32923298
/**
32933299
* <b>description</b> :
3294-
* <p>The cloud desktops that you want to restart by calling this operation must be in the Running state.</p>
3300+
* <p>The cloud computers for which you want to change their policies must be in the Running state.</p>
32953301
*
32963302
* @param request the request parameters of ModifyDesktopsPolicyGroup ModifyDesktopsPolicyGroupRequest
32973303
* @return ModifyDesktopsPolicyGroupResponse
@@ -3523,6 +3529,24 @@ public CompletableFuture<ModifyOfficeSiteCrossDesktopAccessResponse> modifyOffic
35233529
}
35243530
}
35253531

3532+
/**
3533+
* @param request the request parameters of ModifyOfficeSiteDnsInfo ModifyOfficeSiteDnsInfoRequest
3534+
* @return ModifyOfficeSiteDnsInfoResponse
3535+
*/
3536+
@Override
3537+
public CompletableFuture<ModifyOfficeSiteDnsInfoResponse> modifyOfficeSiteDnsInfo(ModifyOfficeSiteDnsInfoRequest request) {
3538+
try {
3539+
this.handler.validateRequestModel(request);
3540+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ModifyOfficeSiteDnsInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
3541+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ModifyOfficeSiteDnsInfoResponse.create());
3542+
return this.handler.execute(params);
3543+
} catch (Exception e) {
3544+
CompletableFuture<ModifyOfficeSiteDnsInfoResponse> future = new CompletableFuture<>();
3545+
future.completeExceptionally(e);
3546+
return future;
3547+
}
3548+
}
3549+
35263550
/**
35273551
* @param request the request parameters of ModifyOfficeSiteMfaEnabled ModifyOfficeSiteMfaEnabledRequest
35283552
* @return ModifyOfficeSiteMfaEnabledResponse

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/ClonePolicyGroupRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private Builder(ClonePolicyGroupRequest request) {
9090
}
9191

9292
/**
93-
* <p>The name of the policy.</p>
93+
* <p>The name of the cloud computer policy that you want to create.</p>
9494
* <p>This parameter is required.</p>
9595
*
9696
* <strong>example:</strong>
@@ -103,7 +103,7 @@ public Builder name(String name) {
103103
}
104104

105105
/**
106-
* <p>The ID of the policy that you want to clone.</p>
106+
* <p>The ID of the destination cloud computer policy that you want to clone.</p>
107107
* <p>This parameter is required.</p>
108108
*
109109
* <strong>example:</strong>
@@ -116,7 +116,7 @@ public Builder policyGroupId(String policyGroupId) {
116116
}
117117

118118
/**
119-
* <p>The ID of the region.</p>
119+
* <p>The region ID. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the regions supported by Elastic Desktop Service (EDS).</p>
120120
* <p>This parameter is required.</p>
121121
*
122122
* <strong>example:</strong>

ecd-20200930/src/main/java/com/aliyun/sdk/service/ecd20200930/models/ClonePolicyGroupResponseBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static final class Builder {
5555
private String requestId;
5656

5757
/**
58-
* <p>The ID of the new policy.</p>
58+
* <p>The ID of the new cloud computer policy.</p>
5959
*
6060
* <strong>example:</strong>
6161
* <p>pg-7jcaznnx6go6n****</p>

0 commit comments

Comments
 (0)