Skip to content

Commit 32ae947

Browse files
committed
GrantUserPermission suppoert RamRole.
1 parent d592629 commit 32ae947

27 files changed

+248
-211
lines changed

adcp-20220101/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-05-22 Version: 1.0.6
2+
- GrantUserPermission suppoert RamRole.
3+
4+
15
2023-04-27 Version: 1.0.5
26
- Add Policy API.
37

adcp-20220101/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-adcp20220101</artifactId>
6-
<version>1.0.5</version>
6+
<version>1.0.6</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-adcp20220101</name>
99
<description>Alibaba Cloud adcp (20220101) Async SDK for Java

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/AttachClusterToHubRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private Builder(AttachClusterToHubRequest request) {
8484
}
8585

8686
/**
87-
* Specifies whether to associate the clusters with Service Mesh (ASM) instances. Valid values:
87+
* The operation that you want to perform. Set the value to **AttachClusterToHub**.
8888
*/
8989
public Builder attachToMesh(Boolean attachToMesh) {
9090
this.putQueryParameter("AttachToMesh", attachToMesh);
@@ -93,7 +93,7 @@ public Builder attachToMesh(Boolean attachToMesh) {
9393
}
9494

9595
/**
96-
* The ID of the master instance.
96+
* The ID of the task.
9797
*/
9898
public Builder clusterId(String clusterId) {
9999
this.putQueryParameter("ClusterId", clusterId);
@@ -102,7 +102,7 @@ public Builder clusterId(String clusterId) {
102102
}
103103

104104
/**
105-
* A JSON string that can be parsed into a string array. The string specifies the clusters that you want to associate with the master instance.
105+
* The ID of the request.
106106
*/
107107
public Builder clusterIds(String clusterIds) {
108108
this.putBodyParameter("ClusterIds", clusterIds);

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/AttachClusterToHubResponseBody.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,31 +74,31 @@ public static final class Builder {
7474
private String taskId;
7575

7676
/**
77-
* The ID of the master instance.
77+
* You can call the AttachClusterToHub operation to associate an Container Service for Kubernetes (ACK) cluster with a master instance of ACK One.
7878
*/
7979
public Builder clusterId(String clusterId) {
8080
this.clusterId = clusterId;
8181
return this;
8282
}
8383

8484
/**
85-
* A list of the IDs of the clusters that you want to associate with the master instance.
85+
* Zhishi
8686
*/
8787
public Builder managedClusterIds(java.util.List < String > managedClusterIds) {
8888
this.managedClusterIds = managedClusterIds;
8989
return this;
9090
}
9191

9292
/**
93-
* The ID of the request.
93+
* Example 1
9494
*/
9595
public Builder requestId(String requestId) {
9696
this.requestId = requestId;
9797
return this;
9898
}
9999

100100
/**
101-
* The ID of the task.
101+
* TaskId.
102102
*/
103103
public Builder taskId(String taskId) {
104104
this.taskId = taskId;

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/DeletePolicyInstanceRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private Builder(DeletePolicyInstanceRequest request) {
8484
}
8585

8686
/**
87-
* ClusterId.
87+
* The ID of the master instance.
8888
*/
8989
public Builder clusterId(String clusterId) {
9090
this.putQueryParameter("ClusterId", clusterId);
@@ -93,7 +93,7 @@ public Builder clusterId(String clusterId) {
9393
}
9494

9595
/**
96-
* ClusterIds.
96+
* A array of JSON strings. The JSON strings in the array indicate the IDs of the associated clusters for which the policy is deleted.
9797
*/
9898
public Builder clusterIds(java.util.List < String > clusterIds) {
9999
String clusterIdsShrink = shrink(clusterIds, "ClusterIds", "json");
@@ -103,7 +103,7 @@ public Builder clusterIds(java.util.List < String > clusterIds) {
103103
}
104104

105105
/**
106-
* PolicyName.
106+
* The name of the policy.
107107
*/
108108
public Builder policyName(String policyName) {
109109
this.putQueryParameter("PolicyName", policyName);

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/DeletePolicyInstanceResponseBody.java

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

4040
/**
41-
* Id of the request
41+
* The request ID.
4242
*/
4343
public Builder requestId(String requestId) {
4444
this.requestId = requestId;

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/DeployPolicyInstanceRequest.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private Builder(DeployPolicyInstanceRequest request) {
114114
}
115115

116116
/**
117-
* ClusterId.
117+
* The ID of the master instance.
118118
*/
119119
public Builder clusterId(String clusterId) {
120120
this.putQueryParameter("ClusterId", clusterId);
@@ -123,7 +123,7 @@ public Builder clusterId(String clusterId) {
123123
}
124124

125125
/**
126-
* ClusterIds.
126+
* An array of JSON strings. The JSON strings in the array indicate the IDs of the associated clusters in which the policy instance is deployed.
127127
*/
128128
public Builder clusterIds(java.util.List < String > clusterIds) {
129129
String clusterIdsShrink = shrink(clusterIds, "ClusterIds", "json");
@@ -133,7 +133,7 @@ public Builder clusterIds(java.util.List < String > clusterIds) {
133133
}
134134

135135
/**
136-
* Namespaces.
136+
* A list of namespaces.
137137
*/
138138
public Builder namespaces(java.util.List < String > namespaces) {
139139
String namespacesShrink = shrink(namespaces, "Namespaces", "json");
@@ -143,7 +143,11 @@ public Builder namespaces(java.util.List < String > namespaces) {
143143
}
144144

145145
/**
146-
* PolicyAction.
146+
* The action of the policy. Valid values:
147+
* <p>
148+
*
149+
* * deny: blocks deployments that match the policy.
150+
* * warn: generates alerts for deployments that match the policy.
147151
*/
148152
public Builder policyAction(String policyAction) {
149153
this.putQueryParameter("PolicyAction", policyAction);
@@ -152,7 +156,7 @@ public Builder policyAction(String policyAction) {
152156
}
153157

154158
/**
155-
* PolicyName.
159+
* The name of the policy.
156160
*/
157161
public Builder policyName(String policyName) {
158162
this.putQueryParameter("PolicyName", policyName);

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/DeployPolicyInstanceResponseBody.java

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

4040
/**
41-
* Id of the request
41+
* The request ID.
4242
*/
4343
public Builder requestId(String requestId) {
4444
this.requestId = requestId;

adcp-20220101/src/main/java/com/aliyun/sdk/service/adcp20220101/models/DescribeHubClustersRequest.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,7 @@ private Builder(DescribeHubClustersRequest request) {
5454
}
5555

5656
/**
57-
* The scenario where master instances are used. Valid values:
58-
* <p>
59-
*
60-
* * `Default`: standard scenarios.
61-
* * `XFlow`: workflow scenarios.
62-
*
63-
* Default value: `Default`.
57+
* Profile.
6458
*/
6559
public Builder profile(String profile) {
6660
this.putQueryParameter("Profile", profile);

0 commit comments

Comments
 (0)