@alicloud/appstream-center20210901 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +356 -70
- package/dist/client.js +737 -74
- package/dist/client.js.map +1 -1
- package/dist/models/ApproveOtaTaskRequest.d.ts +2 -2
- package/dist/models/ApproveOtaTaskResponseBody.d.ts +1 -1
- package/dist/models/AuthorizeInstanceGroupRequest.d.ts +24 -14
- package/dist/models/AuthorizeInstanceGroupRequest.js +2 -0
- package/dist/models/AuthorizeInstanceGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeInstanceGroupResponseBody.d.ts +1 -1
- package/dist/models/AuthorizeInstanceGroupShrinkRequest.d.ts +22 -12
- package/dist/models/AuthorizeInstanceGroupShrinkRequest.js +2 -0
- package/dist/models/AuthorizeInstanceGroupShrinkRequest.js.map +1 -1
- package/dist/models/AuthorizeUsersForAppRequest.d.ts +104 -0
- package/dist/models/AuthorizeUsersForAppRequest.js +98 -0
- package/dist/models/AuthorizeUsersForAppRequest.js.map +1 -0
- package/dist/models/AuthorizeUsersForAppResponse.d.ts +19 -0
- package/dist/models/AuthorizeUsersForAppResponse.js +69 -0
- package/dist/models/AuthorizeUsersForAppResponse.js.map +1 -0
- package/dist/models/AuthorizeUsersForAppResponseBody.d.ts +21 -0
- package/dist/models/AuthorizeUsersForAppResponseBody.js +58 -0
- package/dist/models/AuthorizeUsersForAppResponseBody.js.map +1 -0
- package/dist/models/AuthorizeUsersForAppShrinkRequest.d.ts +71 -0
- package/dist/models/AuthorizeUsersForAppShrinkRequest.js +74 -0
- package/dist/models/AuthorizeUsersForAppShrinkRequest.js.map +1 -0
- package/dist/models/CreateAppInstanceGroupRequest.d.ts +63 -63
- package/dist/models/CreateAppInstanceGroupShrinkRequest.d.ts +14 -14
- package/dist/models/CreateBrowserInstanceGroupRequest.d.ts +1140 -0
- package/dist/models/CreateBrowserInstanceGroupRequest.js +609 -0
- package/dist/models/CreateBrowserInstanceGroupRequest.js.map +1 -0
- package/dist/models/CreateBrowserInstanceGroupResponse.d.ts +19 -0
- package/dist/models/CreateBrowserInstanceGroupResponse.js +69 -0
- package/dist/models/CreateBrowserInstanceGroupResponse.js.map +1 -0
- package/dist/models/CreateBrowserInstanceGroupResponseBody.d.ts +54 -0
- package/dist/models/CreateBrowserInstanceGroupResponseBody.js +84 -0
- package/dist/models/CreateBrowserInstanceGroupResponseBody.js.map +1 -0
- package/dist/models/CreateBrowserInstanceGroupShrinkRequest.d.ts +247 -0
- package/dist/models/CreateBrowserInstanceGroupShrinkRequest.js +113 -0
- package/dist/models/CreateBrowserInstanceGroupShrinkRequest.js.map +1 -0
- package/dist/models/CreateImageByInstanceRequest.d.ts +29 -4
- package/dist/models/CreateImageByInstanceRequest.js.map +1 -1
- package/dist/models/CreateImageByInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateModelTemplateRequest.d.ts +6 -3
- package/dist/models/CreateModelTemplateRequest.js.map +1 -1
- package/dist/models/CreateWuyingServerRequest.d.ts +69 -22
- package/dist/models/CreateWuyingServerRequest.js +4 -0
- package/dist/models/CreateWuyingServerRequest.js.map +1 -1
- package/dist/models/DeleteImageResponseBody.d.ts +4 -7
- package/dist/models/DeleteImageResponseBody.js.map +1 -1
- package/dist/models/DescribeWuyingServerEipInfoRequest.d.ts +2 -2
- package/dist/models/DescribeWuyingServerEipInfoResponseBody.d.ts +8 -1
- package/dist/models/DescribeWuyingServerEipInfoResponseBody.js.map +1 -1
- package/dist/models/DescribeWuyingServerRequest.d.ts +1 -1
- package/dist/models/DescribeWuyingServerResponseBody.d.ts +20 -12
- package/dist/models/DescribeWuyingServerResponseBody.js +2 -0
- package/dist/models/DescribeWuyingServerResponseBody.js.map +1 -1
- package/dist/models/GetAppInstanceGroupRequest.d.ts +1 -1
- package/dist/models/GetAppInstanceGroupResponseBody.d.ts +25 -18
- package/dist/models/GetAppInstanceGroupResponseBody.js.map +1 -1
- package/dist/models/GetBrowserInstanceGroupRequest.d.ts +21 -0
- package/dist/models/GetBrowserInstanceGroupRequest.js +58 -0
- package/dist/models/GetBrowserInstanceGroupRequest.js.map +1 -0
- package/dist/models/GetBrowserInstanceGroupResponse.d.ts +19 -0
- package/dist/models/GetBrowserInstanceGroupResponse.js +69 -0
- package/dist/models/GetBrowserInstanceGroupResponse.js.map +1 -0
- package/dist/models/GetBrowserInstanceGroupResponseBody.d.ts +1061 -0
- package/dist/models/GetBrowserInstanceGroupResponseBody.js +598 -0
- package/dist/models/GetBrowserInstanceGroupResponseBody.js.map +1 -0
- package/dist/models/GetConnectionTicketRequest.d.ts +23 -9
- package/dist/models/GetConnectionTicketRequest.js +2 -0
- package/dist/models/GetConnectionTicketRequest.js.map +1 -1
- package/dist/models/GetConnectionTicketResponseBody.d.ts +5 -2
- package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
- package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +11 -5
- package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
- package/dist/models/ListAppInstanceGroupRequest.d.ts +9 -3
- package/dist/models/ListAppInstanceGroupRequest.js.map +1 -1
- package/dist/models/ListAppInstanceGroupResponseBody.d.ts +24 -17
- package/dist/models/ListAppInstanceGroupResponseBody.js.map +1 -1
- package/dist/models/ListAppInstancesRequest.d.ts +4 -4
- package/dist/models/ListAppInstancesResponseBody.d.ts +20 -6
- package/dist/models/ListAppInstancesResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.d.ts +106 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js +72 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js.map +1 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.d.ts +19 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js +69 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js.map +1 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.d.ts +195 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js +134 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js.map +1 -0
- package/dist/models/ListAuthorizedUserGroupsRequest.d.ts +9 -3
- package/dist/models/ListAuthorizedUserGroupsRequest.js +2 -0
- package/dist/models/ListAuthorizedUserGroupsRequest.js.map +1 -1
- package/dist/models/ListAuthorizedUserGroupsResponseBody.d.ts +10 -2
- package/dist/models/ListAuthorizedUserGroupsResponseBody.js +2 -0
- package/dist/models/ListAuthorizedUserGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizedUsersRequest.d.ts +99 -0
- package/dist/models/ListAuthorizedUsersRequest.js +74 -0
- package/dist/models/ListAuthorizedUsersRequest.js.map +1 -0
- package/dist/models/ListAuthorizedUsersResponse.d.ts +19 -0
- package/dist/models/ListAuthorizedUsersResponse.js +69 -0
- package/dist/models/ListAuthorizedUsersResponse.js.map +1 -0
- package/dist/models/ListAuthorizedUsersResponseBody.d.ts +151 -0
- package/dist/models/ListAuthorizedUsersResponseBody.js +109 -0
- package/dist/models/ListAuthorizedUsersResponseBody.js.map +1 -0
- package/dist/models/ListBrowserInstanceGroupRequest.d.ts +146 -0
- package/dist/models/ListBrowserInstanceGroupRequest.js +115 -0
- package/dist/models/ListBrowserInstanceGroupRequest.js.map +1 -0
- package/dist/models/ListBrowserInstanceGroupResponse.d.ts +19 -0
- package/dist/models/ListBrowserInstanceGroupResponse.js +69 -0
- package/dist/models/ListBrowserInstanceGroupResponse.js.map +1 -0
- package/dist/models/ListBrowserInstanceGroupResponseBody.d.ts +705 -0
- package/dist/models/ListBrowserInstanceGroupResponseBody.js +470 -0
- package/dist/models/ListBrowserInstanceGroupResponseBody.js.map +1 -0
- package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +9 -9
- package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +19 -10
- package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
- package/dist/models/ListLlmTemplatesRequest.d.ts +11 -3
- package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
- package/dist/models/ListLlmTemplatesResponseBody.d.ts +36 -9
- package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +11 -3
- package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
- package/dist/models/ListModelProviderEndpointsRequest.d.ts +28 -0
- package/dist/models/ListModelProviderEndpointsRequest.js.map +1 -1
- package/dist/models/ListModelProviderEndpointsResponseBody.d.ts +71 -0
- package/dist/models/ListModelProviderEndpointsResponseBody.js.map +1 -1
- package/dist/models/ListModelProviderTemplatesRequest.d.ts +3 -3
- package/dist/models/ListModelProviderTemplatesResponseBody.d.ts +3 -3
- package/dist/models/ListModelProviderTemplatesShrinkRequest.d.ts +3 -3
- package/dist/models/ListModelTemplatesRequest.d.ts +9 -8
- package/dist/models/ListModelTemplatesRequest.js.map +1 -1
- package/dist/models/ListModelTemplatesResponseBody.d.ts +19 -6
- package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListModelTemplatesShrinkRequest.d.ts +9 -8
- package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
- package/dist/models/ListNodeInstanceTypeRequest.d.ts +22 -1
- package/dist/models/ListNodeInstanceTypeRequest.js.map +1 -1
- package/dist/models/ListNodeInstanceTypeResponseBody.d.ts +2 -2
- package/dist/models/ListOtaTaskRequest.d.ts +1 -1
- package/dist/models/ListTenantConfigResponseBody.d.ts +8 -0
- package/dist/models/ListTenantConfigResponseBody.js.map +1 -1
- package/dist/models/ListWuyingServerResponseBody.d.ts +41 -23
- package/dist/models/ListWuyingServerResponseBody.js +4 -0
- package/dist/models/ListWuyingServerResponseBody.js.map +1 -1
- package/dist/models/ModifyAppInstanceGroupAttributeRequest.d.ts +24 -6
- package/dist/models/ModifyAppInstanceGroupAttributeRequest.js.map +1 -1
- package/dist/models/ModifyAppInstanceGroupAttributeResponseBody.d.ts +2 -2
- package/dist/models/ModifyAppInstanceGroupAttributeShrinkRequest.d.ts +4 -4
- package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +60 -21
- package/dist/models/ModifyBrowserInstanceGroupRequest.js +2 -0
- package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
- package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +8 -0
- package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js +2 -0
- package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolAmountRequest.d.ts +5 -2
- package/dist/models/ModifyNodePoolAmountRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolAmountShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyWuyingServerAttributeRequest.d.ts +15 -0
- package/dist/models/ModifyWuyingServerAttributeRequest.js +2 -0
- package/dist/models/ModifyWuyingServerAttributeRequest.js.map +1 -1
- package/dist/models/RenewAppInstanceGroupRequest.d.ts +29 -11
- package/dist/models/RenewAppInstanceGroupRequest.js.map +1 -1
- package/dist/models/RenewAppInstanceGroupShrinkRequest.d.ts +29 -11
- package/dist/models/RenewAppInstanceGroupShrinkRequest.js.map +1 -1
- package/dist/models/RenewWuyingServerRequest.d.ts +3 -0
- package/dist/models/RenewWuyingServerRequest.js.map +1 -1
- package/dist/models/RestartWuyingServerRequest.d.ts +7 -0
- package/dist/models/RestartWuyingServerRequest.js.map +1 -1
- package/dist/models/StartWuyingServerRequest.d.ts +7 -0
- package/dist/models/StartWuyingServerRequest.js.map +1 -1
- package/dist/models/StopWuyingServerRequest.d.ts +8 -4
- package/dist/models/StopWuyingServerRequest.js.map +1 -1
- package/dist/models/UpdateModelTemplateRequest.d.ts +5 -2
- package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
- package/dist/models/model.d.ts +75 -0
- package/dist/models/model.js +160 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +833 -74
- package/src/models/ApproveOtaTaskRequest.ts +2 -2
- package/src/models/ApproveOtaTaskResponseBody.ts +1 -1
- package/src/models/AuthorizeInstanceGroupRequest.ts +26 -14
- package/src/models/AuthorizeInstanceGroupResponseBody.ts +1 -1
- package/src/models/AuthorizeInstanceGroupShrinkRequest.ts +24 -12
- package/src/models/AuthorizeUsersForAppRequest.ts +148 -0
- package/src/models/AuthorizeUsersForAppResponse.ts +40 -0
- package/src/models/AuthorizeUsersForAppResponseBody.ts +34 -0
- package/src/models/AuthorizeUsersForAppShrinkRequest.ts +100 -0
- package/src/models/CreateAppInstanceGroupRequest.ts +63 -63
- package/src/models/CreateAppInstanceGroupShrinkRequest.ts +14 -14
- package/src/models/CreateBrowserInstanceGroupRequest.ts +1542 -0
- package/src/models/CreateBrowserInstanceGroupResponse.ts +40 -0
- package/src/models/CreateBrowserInstanceGroupResponseBody.ts +84 -0
- package/src/models/CreateBrowserInstanceGroupShrinkRequest.ts +315 -0
- package/src/models/CreateImageByInstanceRequest.ts +29 -4
- package/src/models/CreateImageByInstanceResponseBody.ts +2 -2
- package/src/models/CreateModelTemplateRequest.ts +6 -3
- package/src/models/CreateWuyingServerRequest.ts +73 -22
- package/src/models/DeleteImageResponseBody.ts +4 -7
- package/src/models/DescribeWuyingServerEipInfoRequest.ts +2 -2
- package/src/models/DescribeWuyingServerEipInfoResponseBody.ts +8 -1
- package/src/models/DescribeWuyingServerRequest.ts +1 -1
- package/src/models/DescribeWuyingServerResponseBody.ts +22 -12
- package/src/models/GetAppInstanceGroupRequest.ts +1 -1
- package/src/models/GetAppInstanceGroupResponseBody.ts +25 -18
- package/src/models/GetBrowserInstanceGroupRequest.ts +34 -0
- package/src/models/GetBrowserInstanceGroupResponse.ts +40 -0
- package/src/models/GetBrowserInstanceGroupResponseBody.ts +1461 -0
- package/src/models/GetConnectionTicketRequest.ts +25 -9
- package/src/models/GetConnectionTicketResponseBody.ts +5 -2
- package/src/models/GetRuntimeModelConfigResponseBody.ts +11 -5
- package/src/models/ListAppInstanceGroupRequest.ts +9 -3
- package/src/models/ListAppInstanceGroupResponseBody.ts +24 -17
- package/src/models/ListAppInstancesRequest.ts +4 -4
- package/src/models/ListAppInstancesResponseBody.ts +20 -6
- package/src/models/ListAuthorizedAppInstanceGroupByUserRequest.ts +133 -0
- package/src/models/ListAuthorizedAppInstanceGroupByUserResponse.ts +40 -0
- package/src/models/ListAuthorizedAppInstanceGroupByUserResponseBody.ts +266 -0
- package/src/models/ListAuthorizedUserGroupsRequest.ts +11 -3
- package/src/models/ListAuthorizedUserGroupsResponseBody.ts +12 -2
- package/src/models/ListAuthorizedUsersRequest.ts +128 -0
- package/src/models/ListAuthorizedUsersResponse.ts +40 -0
- package/src/models/ListAuthorizedUsersResponseBody.ts +206 -0
- package/src/models/ListBrowserInstanceGroupRequest.ts +207 -0
- package/src/models/ListBrowserInstanceGroupResponse.ts +40 -0
- package/src/models/ListBrowserInstanceGroupResponseBody.ts +1004 -0
- package/src/models/ListDesktopAgentRuntimeRequest.ts +9 -9
- package/src/models/ListDesktopAgentRuntimeResponseBody.ts +19 -10
- package/src/models/ListLlmTemplatesRequest.ts +11 -3
- package/src/models/ListLlmTemplatesResponseBody.ts +36 -9
- package/src/models/ListLlmTemplatesShrinkRequest.ts +11 -3
- package/src/models/ListModelProviderEndpointsRequest.ts +28 -0
- package/src/models/ListModelProviderEndpointsResponseBody.ts +71 -0
- package/src/models/ListModelProviderTemplatesRequest.ts +3 -3
- package/src/models/ListModelProviderTemplatesResponseBody.ts +3 -3
- package/src/models/ListModelProviderTemplatesShrinkRequest.ts +3 -3
- package/src/models/ListModelTemplatesRequest.ts +9 -8
- package/src/models/ListModelTemplatesResponseBody.ts +19 -6
- package/src/models/ListModelTemplatesShrinkRequest.ts +9 -8
- package/src/models/ListNodeInstanceTypeRequest.ts +22 -1
- package/src/models/ListNodeInstanceTypeResponseBody.ts +2 -2
- package/src/models/ListOtaTaskRequest.ts +1 -1
- package/src/models/ListTenantConfigResponseBody.ts +8 -0
- package/src/models/ListWuyingServerResponseBody.ts +45 -23
- package/src/models/ModifyAppInstanceGroupAttributeRequest.ts +24 -6
- package/src/models/ModifyAppInstanceGroupAttributeResponseBody.ts +2 -2
- package/src/models/ModifyAppInstanceGroupAttributeShrinkRequest.ts +4 -4
- package/src/models/ModifyBrowserInstanceGroupRequest.ts +62 -21
- package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +10 -0
- package/src/models/ModifyNodePoolAmountRequest.ts +5 -2
- package/src/models/ModifyNodePoolAmountShrinkRequest.ts +1 -1
- package/src/models/ModifyWuyingServerAttributeRequest.ts +17 -0
- package/src/models/RenewAppInstanceGroupRequest.ts +29 -11
- package/src/models/RenewAppInstanceGroupShrinkRequest.ts +29 -11
- package/src/models/RenewWuyingServerRequest.ts +3 -0
- package/src/models/RestartWuyingServerRequest.ts +7 -0
- package/src/models/StartWuyingServerRequest.ts +7 -0
- package/src/models/StopWuyingServerRequest.ts +8 -4
- package/src/models/UpdateModelTemplateRequest.ts +5 -2
- package/src/models/model.ts +75 -0
package/src/client.ts
CHANGED
|
@@ -12,10 +12,6 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
|
-
this._endpointMap = {
|
|
16
|
-
'cn-shanghai': "appstream-center.cn-shanghai.aliyuncs.com",
|
|
17
|
-
'ap-southeast-1': "appstream-center.ap-southeast-1.aliyuncs.com",
|
|
18
|
-
};
|
|
19
15
|
this.checkConfig(config);
|
|
20
16
|
this._endpoint = this.getEndpoint("appstream-center", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
21
17
|
}
|
|
@@ -34,7 +30,7 @@ export default class Client extends OpenApi {
|
|
|
34
30
|
}
|
|
35
31
|
|
|
36
32
|
/**
|
|
37
|
-
* Sets the execution time for an
|
|
33
|
+
* Sets the execution time for an OTA upgrade.
|
|
38
34
|
*
|
|
39
35
|
* @param request - ApproveOtaTaskRequest
|
|
40
36
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -81,7 +77,7 @@ export default class Client extends OpenApi {
|
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
/**
|
|
84
|
-
* Sets the execution time for an
|
|
80
|
+
* Sets the execution time for an OTA upgrade.
|
|
85
81
|
*
|
|
86
82
|
* @param request - ApproveOtaTaskRequest
|
|
87
83
|
* @returns ApproveOtaTaskResponse
|
|
@@ -138,10 +134,10 @@ export default class Client extends OpenApi {
|
|
|
138
134
|
}
|
|
139
135
|
|
|
140
136
|
/**
|
|
141
|
-
*
|
|
137
|
+
* Adds or removes assigned users for a delivery group. Only users added as assigned users can access cloud applications.
|
|
142
138
|
*
|
|
143
139
|
* @remarks
|
|
144
|
-
* >
|
|
140
|
+
* > After you change assigned users, the selected users receive notification emails. Changes typically take about 2 minutes to take effect on the client.
|
|
145
141
|
*
|
|
146
142
|
* @param tmpReq - AuthorizeInstanceGroupRequest
|
|
147
143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -160,6 +156,10 @@ export default class Client extends OpenApi {
|
|
|
160
156
|
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
161
157
|
}
|
|
162
158
|
|
|
159
|
+
if (!$dara.isNull(request.appInstanceGroupSetId)) {
|
|
160
|
+
body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
163
|
if (!$dara.isNull(request.appInstancePersistentId)) {
|
|
164
164
|
body["AppInstancePersistentId"] = request.appInstancePersistentId;
|
|
165
165
|
}
|
|
@@ -215,10 +215,10 @@ export default class Client extends OpenApi {
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Adds or removes assigned users for a delivery group. Only users added as assigned users can access cloud applications.
|
|
219
219
|
*
|
|
220
220
|
* @remarks
|
|
221
|
-
* >
|
|
221
|
+
* > After you change assigned users, the selected users receive notification emails. Changes typically take about 2 minutes to take effect on the client.
|
|
222
222
|
*
|
|
223
223
|
* @param request - AuthorizeInstanceGroupRequest
|
|
224
224
|
* @returns AuthorizeInstanceGroupResponse
|
|
@@ -228,6 +228,110 @@ export default class Client extends OpenApi {
|
|
|
228
228
|
return await this.authorizeInstanceGroupWithOptions(request, runtime);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Adds or removes authorized users for a specified application deployed in a delivery group. Only authorized users can access the application.
|
|
233
|
+
*
|
|
234
|
+
* @remarks
|
|
235
|
+
* ## Operation description
|
|
236
|
+
* This operation manages user authorization for a delivery group at the application level. The authorization result applies only to the application specified by AppId and does not affect the authorization of other applications in the delivery group. To authorize users for an entire delivery group, call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation.
|
|
237
|
+
* ## Before you begin
|
|
238
|
+
* - The delivery group is created, and **the application specified by AppId is deployed in the image used by the delivery group**. Otherwise, the error code `InvalidAppId.NotFound` is returned.
|
|
239
|
+
* - The delivery group **has not been added to a delivery group set that is in effect**. A delivery group that has been added to a set cannot be authorized individually. You must authorize it through the set. Otherwise, the error code `InvalidAppInstanceGroup.AuthorizeBlockedBySet` is returned.
|
|
240
|
+
* - If the workspace to which the delivery group belongs is an Active Directory (AD) workspace, **you must specify UserMeta**, with `UserMeta.Type` set to `ad` and `UserMeta.AdDomain` matching the AD domain bound to the workspace.
|
|
241
|
+
* - If the delivery group has been authorized through user groups and mixed authorization of users and user groups is not supported, you cannot authorize by user. Otherwise, the error code `AuthAppInstanceGroup.MixNotSupported` is returned.
|
|
242
|
+
* ## Parameter description
|
|
243
|
+
* - **At least one of AuthorizeUserIds and UnAuthorizeUserIds must be specified.** You can also specify both. If both are empty, this invocation does not change any authorization.
|
|
244
|
+
* - When adding authorizations, the sum of the currently authorized users for the application and the users to be added cannot exceed the authorized user quota for the application. If the quota is exceeded, the error code `ExceedAppAuthUserQuota` is returned. Removing authorizations is not subject to quota limits.
|
|
245
|
+
* ## Call sequence
|
|
246
|
+
* 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications in the delivery group (AppId in the Apps list).
|
|
247
|
+
* 2. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the usernames of the users to be authorized or unauthorized.
|
|
248
|
+
* 3. Call this operation to complete the authorization change.
|
|
249
|
+
* > After the authorization is changed, the selected users receive a notification email. It typically takes about 2 minutes for the change to take effect on the client.
|
|
250
|
+
*
|
|
251
|
+
* @param tmpReq - AuthorizeUsersForAppRequest
|
|
252
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
253
|
+
* @returns AuthorizeUsersForAppResponse
|
|
254
|
+
*/
|
|
255
|
+
async authorizeUsersForAppWithOptions(tmpReq: $_model.AuthorizeUsersForAppRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeUsersForAppResponse> {
|
|
256
|
+
tmpReq.validate();
|
|
257
|
+
let request = new $_model.AuthorizeUsersForAppShrinkRequest({ });
|
|
258
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
259
|
+
if (!$dara.isNull(tmpReq.userMeta)) {
|
|
260
|
+
request.userMetaShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userMeta, "UserMeta", "json");
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
let query = { };
|
|
264
|
+
if (!$dara.isNull(request.appId)) {
|
|
265
|
+
query["AppId"] = request.appId;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
let body : {[key: string ]: any} = { };
|
|
269
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
270
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (!$dara.isNull(request.authorizeUserIds)) {
|
|
274
|
+
body["AuthorizeUserIds"] = request.authorizeUserIds;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (!$dara.isNull(request.productType)) {
|
|
278
|
+
body["ProductType"] = request.productType;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (!$dara.isNull(request.unAuthorizeUserIds)) {
|
|
282
|
+
body["UnAuthorizeUserIds"] = request.unAuthorizeUserIds;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (!$dara.isNull(request.userMetaShrink)) {
|
|
286
|
+
body["UserMeta"] = request.userMetaShrink;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
290
|
+
query: OpenApiUtil.query(query),
|
|
291
|
+
body: OpenApiUtil.parseToMap(body),
|
|
292
|
+
});
|
|
293
|
+
let params = new $OpenApiUtil.Params({
|
|
294
|
+
action: "AuthorizeUsersForApp",
|
|
295
|
+
version: "2021-09-01",
|
|
296
|
+
protocol: "HTTPS",
|
|
297
|
+
pathname: "/",
|
|
298
|
+
method: "POST",
|
|
299
|
+
authType: "AK",
|
|
300
|
+
style: "RPC",
|
|
301
|
+
reqBodyType: "formData",
|
|
302
|
+
bodyType: "json",
|
|
303
|
+
});
|
|
304
|
+
return $dara.cast<$_model.AuthorizeUsersForAppResponse>(await this.callApi(params, req, runtime), new $_model.AuthorizeUsersForAppResponse({}));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Adds or removes authorized users for a specified application deployed in a delivery group. Only authorized users can access the application.
|
|
309
|
+
*
|
|
310
|
+
* @remarks
|
|
311
|
+
* ## Operation description
|
|
312
|
+
* This operation manages user authorization for a delivery group at the application level. The authorization result applies only to the application specified by AppId and does not affect the authorization of other applications in the delivery group. To authorize users for an entire delivery group, call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation.
|
|
313
|
+
* ## Before you begin
|
|
314
|
+
* - The delivery group is created, and **the application specified by AppId is deployed in the image used by the delivery group**. Otherwise, the error code `InvalidAppId.NotFound` is returned.
|
|
315
|
+
* - The delivery group **has not been added to a delivery group set that is in effect**. A delivery group that has been added to a set cannot be authorized individually. You must authorize it through the set. Otherwise, the error code `InvalidAppInstanceGroup.AuthorizeBlockedBySet` is returned.
|
|
316
|
+
* - If the workspace to which the delivery group belongs is an Active Directory (AD) workspace, **you must specify UserMeta**, with `UserMeta.Type` set to `ad` and `UserMeta.AdDomain` matching the AD domain bound to the workspace.
|
|
317
|
+
* - If the delivery group has been authorized through user groups and mixed authorization of users and user groups is not supported, you cannot authorize by user. Otherwise, the error code `AuthAppInstanceGroup.MixNotSupported` is returned.
|
|
318
|
+
* ## Parameter description
|
|
319
|
+
* - **At least one of AuthorizeUserIds and UnAuthorizeUserIds must be specified.** You can also specify both. If both are empty, this invocation does not change any authorization.
|
|
320
|
+
* - When adding authorizations, the sum of the currently authorized users for the application and the users to be added cannot exceed the authorized user quota for the application. If the quota is exceeded, the error code `ExceedAppAuthUserQuota` is returned. Removing authorizations is not subject to quota limits.
|
|
321
|
+
* ## Call sequence
|
|
322
|
+
* 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications in the delivery group (AppId in the Apps list).
|
|
323
|
+
* 2. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the usernames of the users to be authorized or unauthorized.
|
|
324
|
+
* 3. Call this operation to complete the authorization change.
|
|
325
|
+
* > After the authorization is changed, the selected users receive a notification email. It typically takes about 2 minutes for the change to take effect on the client.
|
|
326
|
+
*
|
|
327
|
+
* @param request - AuthorizeUsersForAppRequest
|
|
328
|
+
* @returns AuthorizeUsersForAppResponse
|
|
329
|
+
*/
|
|
330
|
+
async authorizeUsersForApp(request: $_model.AuthorizeUsersForAppRequest): Promise<$_model.AuthorizeUsersForAppResponse> {
|
|
331
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
332
|
+
return await this.authorizeUsersForAppWithOptions(request, runtime);
|
|
333
|
+
}
|
|
334
|
+
|
|
231
335
|
/**
|
|
232
336
|
* Creates LLM templates in batches.
|
|
233
337
|
*
|
|
@@ -482,8 +586,8 @@ export default class Client extends OpenApi {
|
|
|
482
586
|
* Creates a delivery group.
|
|
483
587
|
*
|
|
484
588
|
* @remarks
|
|
485
|
-
*
|
|
486
|
-
* A delivery group is a logical grouping for delivering cloud applications to end users. It includes underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
|
|
589
|
+
* Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp.
|
|
590
|
+
* A delivery group is a logical grouping for delivering cloud applications to end users. It includes the underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
|
|
487
591
|
*
|
|
488
592
|
* @param tmpReq - CreateAppInstanceGroupRequest
|
|
489
593
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -661,8 +765,8 @@ export default class Client extends OpenApi {
|
|
|
661
765
|
* Creates a delivery group.
|
|
662
766
|
*
|
|
663
767
|
* @remarks
|
|
664
|
-
*
|
|
665
|
-
* A delivery group is a logical grouping for delivering cloud applications to end users. It includes underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
|
|
768
|
+
* Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp.
|
|
769
|
+
* A delivery group is a logical grouping for delivering cloud applications to end users. It includes the underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
|
|
666
770
|
*
|
|
667
771
|
* @param request - CreateAppInstanceGroupRequest
|
|
668
772
|
* @returns CreateAppInstanceGroupResponse
|
|
@@ -673,7 +777,231 @@ export default class Client extends OpenApi {
|
|
|
673
777
|
}
|
|
674
778
|
|
|
675
779
|
/**
|
|
676
|
-
* Creates a
|
|
780
|
+
* Creates a cloud browser group that is billed by monthly active users (MAU).
|
|
781
|
+
*
|
|
782
|
+
* @remarks
|
|
783
|
+
* ## Before you begin
|
|
784
|
+
* - Prepare an available office network, image, and instance type in the target business region. Make sure that the account has the required browser configurations and resource quotas.
|
|
785
|
+
* - Specify `CloudBrowserName` and `BizRegionId`. Set `OsType` to `Windows`.
|
|
786
|
+
* - Authorized users must be created in advance and must match the account type. Authorized user groups must belong to the current account and match the account type of the office network.
|
|
787
|
+
* - **`Users` and `UserGroupIds` cannot both be non-empty.**
|
|
788
|
+
* ## MAU billing parameters
|
|
789
|
+
* - Set `ChargeType` to `PostPaid`.
|
|
790
|
+
* - **Set `SubPayType` to `mau` explicitly. Omitting this field does not enable MAU billing.**
|
|
791
|
+
* - Set `ChargeResourceMode` to `AppInstance`.
|
|
792
|
+
* - Do not specify `Period`, `PeriodUnit`, `AppPackageType`, `AutoPay`, `AutoRenew`, or `NodePool`.
|
|
793
|
+
* ## Post-call processing
|
|
794
|
+
* **A successful response does not indicate that the browser resources are ready.** After creation, query the browser group status and confirm that the group is connectable before use.
|
|
795
|
+
* This operation creates a new cloud browser group. You do not need to create a delivery group in advance.
|
|
796
|
+
* ## Example description
|
|
797
|
+
* The example values of fields are provided to demonstrate how to specify the fields. Replace resource identifiers with actual values under your account. Capacity examples do not represent default values or upper limits.
|
|
798
|
+
* An example value of `-` indicates that the field does not need to be specified. Omit the corresponding parameter when you call the operation. Do not pass the character `-`.
|
|
799
|
+
*
|
|
800
|
+
* @param tmpReq - CreateBrowserInstanceGroupRequest
|
|
801
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
802
|
+
* @returns CreateBrowserInstanceGroupResponse
|
|
803
|
+
*/
|
|
804
|
+
async createBrowserInstanceGroupWithOptions(tmpReq: $_model.CreateBrowserInstanceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBrowserInstanceGroupResponse> {
|
|
805
|
+
tmpReq.validate();
|
|
806
|
+
let request = new $_model.CreateBrowserInstanceGroupShrinkRequest({ });
|
|
807
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
808
|
+
if (!$dara.isNull(tmpReq.browserConfig)) {
|
|
809
|
+
request.browserConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.browserConfig, "BrowserConfig", "json");
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
if (!$dara.isNull(tmpReq.network)) {
|
|
813
|
+
request.networkShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.network, "Network", "json");
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
if (!$dara.isNull(tmpReq.nodePool)) {
|
|
817
|
+
request.nodePoolShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nodePool, "NodePool", "json");
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
if (!$dara.isNull(tmpReq.policy)) {
|
|
821
|
+
request.policyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.policy, "Policy", "json");
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
if (!$dara.isNull(tmpReq.securityPolicy)) {
|
|
825
|
+
request.securityPolicyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.securityPolicy, "SecurityPolicy", "json");
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
if (!$dara.isNull(tmpReq.storagePolicy)) {
|
|
829
|
+
request.storagePolicyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.storagePolicy, "StoragePolicy", "json");
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
if (!$dara.isNull(tmpReq.tag)) {
|
|
833
|
+
request.tagShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
if (!$dara.isNull(tmpReq.timers)) {
|
|
837
|
+
request.timersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.timers, "Timers", "json");
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
if (!$dara.isNull(tmpReq.userInfo)) {
|
|
841
|
+
request.userInfoShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
if (!$dara.isNull(tmpReq.users)) {
|
|
845
|
+
request.usersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.users, "Users", "json");
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
let body : {[key: string ]: any} = { };
|
|
849
|
+
if (!$dara.isNull(request.appPackageType)) {
|
|
850
|
+
body["AppPackageType"] = request.appPackageType;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
if (!$dara.isNull(request.authNotificationEnabled)) {
|
|
854
|
+
body["AuthNotificationEnabled"] = request.authNotificationEnabled;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
if (!$dara.isNull(request.autoPay)) {
|
|
858
|
+
body["AutoPay"] = request.autoPay;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
if (!$dara.isNull(request.autoRenew)) {
|
|
862
|
+
body["AutoRenew"] = request.autoRenew;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
866
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
if (!$dara.isNull(request.browserConfigShrink)) {
|
|
870
|
+
body["BrowserConfig"] = request.browserConfigShrink;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
if (!$dara.isNull(request.chargeResourceMode)) {
|
|
874
|
+
body["ChargeResourceMode"] = request.chargeResourceMode;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
878
|
+
body["ChargeType"] = request.chargeType;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
if (!$dara.isNull(request.cloudBrowserName)) {
|
|
882
|
+
body["CloudBrowserName"] = request.cloudBrowserName;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
if (!$dara.isNull(request.imageId)) {
|
|
886
|
+
body["ImageId"] = request.imageId;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
if (!$dara.isNull(request.instanceType)) {
|
|
890
|
+
body["InstanceType"] = request.instanceType;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
if (!$dara.isNull(request.maxAmount)) {
|
|
894
|
+
body["MaxAmount"] = request.maxAmount;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
if (!$dara.isNull(request.networkShrink)) {
|
|
898
|
+
body["Network"] = request.networkShrink;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
if (!$dara.isNull(request.nodePoolShrink)) {
|
|
902
|
+
body["NodePool"] = request.nodePoolShrink;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
if (!$dara.isNull(request.osType)) {
|
|
906
|
+
body["OsType"] = request.osType;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
if (!$dara.isNull(request.period)) {
|
|
910
|
+
body["Period"] = request.period;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
if (!$dara.isNull(request.periodUnit)) {
|
|
914
|
+
body["PeriodUnit"] = request.periodUnit;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
if (!$dara.isNull(request.policyShrink)) {
|
|
918
|
+
body["Policy"] = request.policyShrink;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
if (!$dara.isNull(request.promotionId)) {
|
|
922
|
+
body["PromotionId"] = request.promotionId;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
if (!$dara.isNull(request.securityPolicyShrink)) {
|
|
926
|
+
body["SecurityPolicy"] = request.securityPolicyShrink;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
if (!$dara.isNull(request.storagePolicyShrink)) {
|
|
930
|
+
body["StoragePolicy"] = request.storagePolicyShrink;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
if (!$dara.isNull(request.subPayType)) {
|
|
934
|
+
body["SubPayType"] = request.subPayType;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
if (!$dara.isNull(request.tagShrink)) {
|
|
938
|
+
body["Tag"] = request.tagShrink;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
if (!$dara.isNull(request.timersShrink)) {
|
|
942
|
+
body["Timers"] = request.timersShrink;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
if (!$dara.isNull(request.userGroupIds)) {
|
|
946
|
+
body["UserGroupIds"] = request.userGroupIds;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
if (!$dara.isNull(request.userInfoShrink)) {
|
|
950
|
+
body["UserInfo"] = request.userInfoShrink;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
if (!$dara.isNull(request.usersShrink)) {
|
|
954
|
+
body["Users"] = request.usersShrink;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
958
|
+
body: OpenApiUtil.parseToMap(body),
|
|
959
|
+
});
|
|
960
|
+
let params = new $OpenApiUtil.Params({
|
|
961
|
+
action: "CreateBrowserInstanceGroup",
|
|
962
|
+
version: "2021-09-01",
|
|
963
|
+
protocol: "HTTPS",
|
|
964
|
+
pathname: "/",
|
|
965
|
+
method: "POST",
|
|
966
|
+
authType: "AK",
|
|
967
|
+
style: "RPC",
|
|
968
|
+
reqBodyType: "formData",
|
|
969
|
+
bodyType: "json",
|
|
970
|
+
});
|
|
971
|
+
return $dara.cast<$_model.CreateBrowserInstanceGroupResponse>(await this.callApi(params, req, runtime), new $_model.CreateBrowserInstanceGroupResponse({}));
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Creates a cloud browser group that is billed by monthly active users (MAU).
|
|
976
|
+
*
|
|
977
|
+
* @remarks
|
|
978
|
+
* ## Before you begin
|
|
979
|
+
* - Prepare an available office network, image, and instance type in the target business region. Make sure that the account has the required browser configurations and resource quotas.
|
|
980
|
+
* - Specify `CloudBrowserName` and `BizRegionId`. Set `OsType` to `Windows`.
|
|
981
|
+
* - Authorized users must be created in advance and must match the account type. Authorized user groups must belong to the current account and match the account type of the office network.
|
|
982
|
+
* - **`Users` and `UserGroupIds` cannot both be non-empty.**
|
|
983
|
+
* ## MAU billing parameters
|
|
984
|
+
* - Set `ChargeType` to `PostPaid`.
|
|
985
|
+
* - **Set `SubPayType` to `mau` explicitly. Omitting this field does not enable MAU billing.**
|
|
986
|
+
* - Set `ChargeResourceMode` to `AppInstance`.
|
|
987
|
+
* - Do not specify `Period`, `PeriodUnit`, `AppPackageType`, `AutoPay`, `AutoRenew`, or `NodePool`.
|
|
988
|
+
* ## Post-call processing
|
|
989
|
+
* **A successful response does not indicate that the browser resources are ready.** After creation, query the browser group status and confirm that the group is connectable before use.
|
|
990
|
+
* This operation creates a new cloud browser group. You do not need to create a delivery group in advance.
|
|
991
|
+
* ## Example description
|
|
992
|
+
* The example values of fields are provided to demonstrate how to specify the fields. Replace resource identifiers with actual values under your account. Capacity examples do not represent default values or upper limits.
|
|
993
|
+
* An example value of `-` indicates that the field does not need to be specified. Omit the corresponding parameter when you call the operation. Do not pass the character `-`.
|
|
994
|
+
*
|
|
995
|
+
* @param request - CreateBrowserInstanceGroupRequest
|
|
996
|
+
* @returns CreateBrowserInstanceGroupResponse
|
|
997
|
+
*/
|
|
998
|
+
async createBrowserInstanceGroup(request: $_model.CreateBrowserInstanceGroupRequest): Promise<$_model.CreateBrowserInstanceGroupResponse> {
|
|
999
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1000
|
+
return await this.createBrowserInstanceGroupWithOptions(request, runtime);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Creates a custom image from a deployed WUYING instance. You can use the custom image to quickly create more WUYING instances with the same configurations, without having to repeatedly configure the instance environment each time.
|
|
677
1005
|
*
|
|
678
1006
|
* @param request - CreateImageByInstanceRequest
|
|
679
1007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -746,7 +1074,7 @@ export default class Client extends OpenApi {
|
|
|
746
1074
|
}
|
|
747
1075
|
|
|
748
1076
|
/**
|
|
749
|
-
* Creates a custom image from a deployed WUYING instance to quickly create more instances with the same
|
|
1077
|
+
* Creates a custom image from a deployed WUYING instance. You can use the custom image to quickly create more WUYING instances with the same configurations, without having to repeatedly configure the instance environment each time.
|
|
750
1078
|
*
|
|
751
1079
|
* @param request - CreateImageByInstanceRequest
|
|
752
1080
|
* @returns CreateImageByInstanceResponse
|
|
@@ -893,11 +1221,11 @@ export default class Client extends OpenApi {
|
|
|
893
1221
|
}
|
|
894
1222
|
|
|
895
1223
|
/**
|
|
896
|
-
* Creates a model
|
|
1224
|
+
* Creates a model template.
|
|
897
1225
|
*
|
|
898
1226
|
* @remarks
|
|
899
|
-
* You can create a model group in the
|
|
900
|
-
* Make sure that you are familiar with the operations and usage of the
|
|
1227
|
+
* You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After model creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
|
|
1228
|
+
* Make sure that you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
|
|
901
1229
|
*
|
|
902
1230
|
* @param request - CreateModelTemplateRequest
|
|
903
1231
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -948,11 +1276,11 @@ export default class Client extends OpenApi {
|
|
|
948
1276
|
}
|
|
949
1277
|
|
|
950
1278
|
/**
|
|
951
|
-
* Creates a model
|
|
1279
|
+
* Creates a model template.
|
|
952
1280
|
*
|
|
953
1281
|
* @remarks
|
|
954
|
-
* You can create a model group in the
|
|
955
|
-
* Make sure that you are familiar with the operations and usage of the
|
|
1282
|
+
* You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After model creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
|
|
1283
|
+
* Make sure that you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
|
|
956
1284
|
*
|
|
957
1285
|
* @param request - CreateModelTemplateRequest
|
|
958
1286
|
* @returns CreateModelTemplateResponse
|
|
@@ -967,7 +1295,7 @@ export default class Client extends OpenApi {
|
|
|
967
1295
|
*
|
|
968
1296
|
* @remarks
|
|
969
1297
|
* 1. A project corresponds to the resource configuration module in the CloudFlow console.
|
|
970
|
-
* 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice>
|
|
1298
|
+
* 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> and bindss it at the same time.
|
|
971
1299
|
* 3. This operation succeeds only when the default version of the Content is in an available state.
|
|
972
1300
|
*
|
|
973
1301
|
* @param request - CreateWuyingServerRequest
|
|
@@ -1006,6 +1334,14 @@ export default class Client extends OpenApi {
|
|
|
1006
1334
|
bodyFlat["DataDisk"] = request.dataDisk;
|
|
1007
1335
|
}
|
|
1008
1336
|
|
|
1337
|
+
if (!$dara.isNull(request.erdmaEnabled)) {
|
|
1338
|
+
body["ErdmaEnabled"] = request.erdmaEnabled;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
if (!$dara.isNull(request.gpuDriverVersion)) {
|
|
1342
|
+
body["GpuDriverVersion"] = request.gpuDriverVersion;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1009
1345
|
if (!$dara.isNull(request.hostName)) {
|
|
1010
1346
|
body["HostName"] = request.hostName;
|
|
1011
1347
|
}
|
|
@@ -1112,7 +1448,7 @@ export default class Client extends OpenApi {
|
|
|
1112
1448
|
*
|
|
1113
1449
|
* @remarks
|
|
1114
1450
|
* 1. A project corresponds to the resource configuration module in the CloudFlow console.
|
|
1115
|
-
* 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice>
|
|
1451
|
+
* 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> and bindss it at the same time.
|
|
1116
1452
|
* 3. This operation succeeds only when the default version of the Content is in an available state.
|
|
1117
1453
|
*
|
|
1118
1454
|
* @param request - CreateWuyingServerRequest
|
|
@@ -1237,8 +1573,8 @@ export default class Client extends OpenApi {
|
|
|
1237
1573
|
* @remarks
|
|
1238
1574
|
* - You can delete only custom images that belong to your account.
|
|
1239
1575
|
* - For images associated with WUYING Cloud Computer Pool, WUYING Cloud Application, or WUYING Workspace product lines, ensure that no WUYING instances are using the image before you delete it.
|
|
1240
|
-
* - If a WUYING Cloud Desktop template references
|
|
1241
|
-
* - For images that span multiple regions, deleting the image removes
|
|
1576
|
+
* - If a WUYING Cloud Desktop template references an image, the template is also deleted when the image is deleted.
|
|
1577
|
+
* - For images that span multiple regions, deleting the image removes the image from all regions.
|
|
1242
1578
|
*
|
|
1243
1579
|
* @param request - DeleteImageRequest
|
|
1244
1580
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1274,8 +1610,8 @@ export default class Client extends OpenApi {
|
|
|
1274
1610
|
* @remarks
|
|
1275
1611
|
* - You can delete only custom images that belong to your account.
|
|
1276
1612
|
* - For images associated with WUYING Cloud Computer Pool, WUYING Cloud Application, or WUYING Workspace product lines, ensure that no WUYING instances are using the image before you delete it.
|
|
1277
|
-
* - If a WUYING Cloud Desktop template references
|
|
1278
|
-
* - For images that span multiple regions, deleting the image removes
|
|
1613
|
+
* - If a WUYING Cloud Desktop template references an image, the template is also deleted when the image is deleted.
|
|
1614
|
+
* - For images that span multiple regions, deleting the image removes the image from all regions.
|
|
1279
1615
|
*
|
|
1280
1616
|
* @param request - DeleteImageRequest
|
|
1281
1617
|
* @returns DeleteImageResponse
|
|
@@ -1551,7 +1887,7 @@ export default class Client extends OpenApi {
|
|
|
1551
1887
|
}
|
|
1552
1888
|
|
|
1553
1889
|
/**
|
|
1554
|
-
* Queries the details of a development
|
|
1890
|
+
* Queries the details of a development host.
|
|
1555
1891
|
*
|
|
1556
1892
|
* @param request - DescribeWuyingServerRequest
|
|
1557
1893
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1582,7 +1918,7 @@ export default class Client extends OpenApi {
|
|
|
1582
1918
|
}
|
|
1583
1919
|
|
|
1584
1920
|
/**
|
|
1585
|
-
* Queries the details of a development
|
|
1921
|
+
* Queries the details of a development host.
|
|
1586
1922
|
*
|
|
1587
1923
|
* @param request - DescribeWuyingServerRequest
|
|
1588
1924
|
* @returns DescribeWuyingServerResponse
|
|
@@ -1685,12 +2021,78 @@ export default class Client extends OpenApi {
|
|
|
1685
2021
|
}
|
|
1686
2022
|
|
|
1687
2023
|
/**
|
|
1688
|
-
*
|
|
2024
|
+
* Queries the configuration, status, and authorization statistics of a specified cloud browser group.
|
|
1689
2025
|
*
|
|
1690
2026
|
* @remarks
|
|
1691
|
-
* This
|
|
1692
|
-
*
|
|
1693
|
-
*
|
|
2027
|
+
* This topic describes the query usage for the monthly active user (MAU) billing scenario.
|
|
2028
|
+
* ## Before you begin
|
|
2029
|
+
* Obtain the cloud browser group ID under the current account. Call `ListBrowserInstanceGroup` to retrieve the ID.
|
|
2030
|
+
* ## Response
|
|
2031
|
+
* The response includes the current configuration, status, and authorization statistics of the browser group. The details return up to 20 bookmarks and 20 website access entries. To retrieve the complete lists, call `ListBrowserBookmarks` and `ListBrowserRestrictedURLs`.
|
|
2032
|
+
* ## What to do next
|
|
2033
|
+
* This operation only queries configurations and does not modify resources. After you read the returned status, perform the connection or management operation that corresponds to the status.
|
|
2034
|
+
* ## Example description
|
|
2035
|
+
* The `-` value in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual string returned by the operation. Sample resource IDs are masked. Use the actual query results when you call this operation.
|
|
2036
|
+
*
|
|
2037
|
+
* @param request - GetBrowserInstanceGroupRequest
|
|
2038
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2039
|
+
* @returns GetBrowserInstanceGroupResponse
|
|
2040
|
+
*/
|
|
2041
|
+
async getBrowserInstanceGroupWithOptions(request: $_model.GetBrowserInstanceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetBrowserInstanceGroupResponse> {
|
|
2042
|
+
request.validate();
|
|
2043
|
+
let query = OpenApiUtil.query(request.toMap());
|
|
2044
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2045
|
+
query: OpenApiUtil.query(query),
|
|
2046
|
+
});
|
|
2047
|
+
let params = new $OpenApiUtil.Params({
|
|
2048
|
+
action: "GetBrowserInstanceGroup",
|
|
2049
|
+
version: "2021-09-01",
|
|
2050
|
+
protocol: "HTTPS",
|
|
2051
|
+
pathname: "/",
|
|
2052
|
+
method: "GET",
|
|
2053
|
+
authType: "AK",
|
|
2054
|
+
style: "RPC",
|
|
2055
|
+
reqBodyType: "formData",
|
|
2056
|
+
bodyType: "json",
|
|
2057
|
+
});
|
|
2058
|
+
return $dara.cast<$_model.GetBrowserInstanceGroupResponse>(await this.callApi(params, req, runtime), new $_model.GetBrowserInstanceGroupResponse({}));
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* Queries the configuration, status, and authorization statistics of a specified cloud browser group.
|
|
2063
|
+
*
|
|
2064
|
+
* @remarks
|
|
2065
|
+
* This topic describes the query usage for the monthly active user (MAU) billing scenario.
|
|
2066
|
+
* ## Before you begin
|
|
2067
|
+
* Obtain the cloud browser group ID under the current account. Call `ListBrowserInstanceGroup` to retrieve the ID.
|
|
2068
|
+
* ## Response
|
|
2069
|
+
* The response includes the current configuration, status, and authorization statistics of the browser group. The details return up to 20 bookmarks and 20 website access entries. To retrieve the complete lists, call `ListBrowserBookmarks` and `ListBrowserRestrictedURLs`.
|
|
2070
|
+
* ## What to do next
|
|
2071
|
+
* This operation only queries configurations and does not modify resources. After you read the returned status, perform the connection or management operation that corresponds to the status.
|
|
2072
|
+
* ## Example description
|
|
2073
|
+
* The `-` value in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual string returned by the operation. Sample resource IDs are masked. Use the actual query results when you call this operation.
|
|
2074
|
+
*
|
|
2075
|
+
* @param request - GetBrowserInstanceGroupRequest
|
|
2076
|
+
* @returns GetBrowserInstanceGroupResponse
|
|
2077
|
+
*/
|
|
2078
|
+
async getBrowserInstanceGroup(request: $_model.GetBrowserInstanceGroupRequest): Promise<$_model.GetBrowserInstanceGroupResponse> {
|
|
2079
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2080
|
+
return await this.getBrowserInstanceGroupWithOptions(request, runtime);
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* Retrieves the connection credential for a cloud application.
|
|
2085
|
+
*
|
|
2086
|
+
* @remarks
|
|
2087
|
+
* Call protocol description: operation_type: polling, required_steps: 1.
|
|
2088
|
+
* This operation may require multiple calls (at least one) to obtain the connection credential.
|
|
2089
|
+
* On the first call, an application instance is allocated to the specified convenience account and the application is started. If a Ticket is returned, the result is obtained synchronously. If a startup task ID (`TaskId`) is returned, subsequent calls are required.
|
|
2090
|
+
* On subsequent calls, include the `TaskId` request parameter to invoke the operation and query whether the node is complete. When the returned node status (`TaskStatus`) is completed (`Finished`), the connection credential (`Ticket`) is also returned.
|
|
2091
|
+
* > Prerequisites
|
|
2092
|
+
* > - Before calling this operation, make sure that you have created a delivery group and authorized users for the delivery group:
|
|
2093
|
+
* > - 1. The API for creating a delivery group is CreateAppInstanceGroup. For more information about the parameters, see the corresponding API documentation.
|
|
2094
|
+
* > - 2. You can call the ListAppInstanceGroup operation to query the list of delivery groups. If the corresponding delivery group is not found, verify that the delivery group has been created and that the authentication credentials belong to the correct tenant.
|
|
2095
|
+
* > - 3. The API for authorizing users for a delivery group is AuthorizeInstanceGroup. For more information about the parameters, see the corresponding API documentation.
|
|
1694
2096
|
*
|
|
1695
2097
|
* @param request - GetConnectionTicketRequest
|
|
1696
2098
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1711,6 +2113,10 @@ export default class Client extends OpenApi {
|
|
|
1711
2113
|
body["AppInstanceGroupIdList"] = request.appInstanceGroupIdList;
|
|
1712
2114
|
}
|
|
1713
2115
|
|
|
2116
|
+
if (!$dara.isNull(request.appInstanceGroupSetId)) {
|
|
2117
|
+
body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
1714
2120
|
if (!$dara.isNull(request.appInstanceId)) {
|
|
1715
2121
|
body["AppInstanceId"] = request.appInstanceId;
|
|
1716
2122
|
}
|
|
@@ -1769,12 +2175,18 @@ export default class Client extends OpenApi {
|
|
|
1769
2175
|
}
|
|
1770
2176
|
|
|
1771
2177
|
/**
|
|
1772
|
-
* Retrieves connection
|
|
2178
|
+
* Retrieves the connection credential for a cloud application.
|
|
1773
2179
|
*
|
|
1774
2180
|
* @remarks
|
|
1775
|
-
*
|
|
1776
|
-
*
|
|
1777
|
-
* On
|
|
2181
|
+
* Call protocol description: operation_type: polling, required_steps: 1.
|
|
2182
|
+
* This operation may require multiple calls (at least one) to obtain the connection credential.
|
|
2183
|
+
* On the first call, an application instance is allocated to the specified convenience account and the application is started. If a Ticket is returned, the result is obtained synchronously. If a startup task ID (`TaskId`) is returned, subsequent calls are required.
|
|
2184
|
+
* On subsequent calls, include the `TaskId` request parameter to invoke the operation and query whether the node is complete. When the returned node status (`TaskStatus`) is completed (`Finished`), the connection credential (`Ticket`) is also returned.
|
|
2185
|
+
* > Prerequisites
|
|
2186
|
+
* > - Before calling this operation, make sure that you have created a delivery group and authorized users for the delivery group:
|
|
2187
|
+
* > - 1. The API for creating a delivery group is CreateAppInstanceGroup. For more information about the parameters, see the corresponding API documentation.
|
|
2188
|
+
* > - 2. You can call the ListAppInstanceGroup operation to query the list of delivery groups. If the corresponding delivery group is not found, verify that the delivery group has been created and that the authentication credentials belong to the correct tenant.
|
|
2189
|
+
* > - 3. The API for authorizing users for a delivery group is AuthorizeInstanceGroup. For more information about the parameters, see the corresponding API documentation.
|
|
1778
2190
|
*
|
|
1779
2191
|
* @param request - GetConnectionTicketRequest
|
|
1780
2192
|
* @returns GetConnectionTicketResponse
|
|
@@ -2164,7 +2576,7 @@ export default class Client extends OpenApi {
|
|
|
2164
2576
|
* Queries the model configuration details of a cloud computer.
|
|
2165
2577
|
*
|
|
2166
2578
|
* @remarks
|
|
2167
|
-
* You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After
|
|
2579
|
+
* You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After you enable the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
|
|
2168
2580
|
*
|
|
2169
2581
|
* @param request - GetRuntimeModelConfigRequest
|
|
2170
2582
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2214,7 +2626,7 @@ export default class Client extends OpenApi {
|
|
|
2214
2626
|
* Queries the model configuration details of a cloud computer.
|
|
2215
2627
|
*
|
|
2216
2628
|
* @remarks
|
|
2217
|
-
* You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After
|
|
2629
|
+
* You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After you enable the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
|
|
2218
2630
|
*
|
|
2219
2631
|
* @param request - GetRuntimeModelConfigRequest
|
|
2220
2632
|
* @returns GetRuntimeModelConfigResponse
|
|
@@ -2225,7 +2637,7 @@ export default class Client extends OpenApi {
|
|
|
2225
2637
|
}
|
|
2226
2638
|
|
|
2227
2639
|
/**
|
|
2228
|
-
* Queries the details of multiple delivery groups that meet specified conditions
|
|
2640
|
+
* Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
|
|
2229
2641
|
*
|
|
2230
2642
|
* @param request - ListAppInstanceGroupRequest
|
|
2231
2643
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2310,7 +2722,7 @@ export default class Client extends OpenApi {
|
|
|
2310
2722
|
}
|
|
2311
2723
|
|
|
2312
2724
|
/**
|
|
2313
|
-
* Queries the details of multiple delivery groups that meet specified conditions
|
|
2725
|
+
* Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
|
|
2314
2726
|
*
|
|
2315
2727
|
* @param request - ListAppInstanceGroupRequest
|
|
2316
2728
|
* @returns ListAppInstanceGroupResponse
|
|
@@ -2321,7 +2733,7 @@ export default class Client extends OpenApi {
|
|
|
2321
2733
|
}
|
|
2322
2734
|
|
|
2323
2735
|
/**
|
|
2324
|
-
* Queries the details of session instances in a delivery group, including instance
|
|
2736
|
+
* Queries the details of session instances in a delivery group, including instance IDs, instance statuses, creation time, update time, session statuses, and public IP addresses of primary network interface controllers (NICs).
|
|
2325
2737
|
*
|
|
2326
2738
|
* @param request - ListAppInstancesRequest
|
|
2327
2739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2382,7 +2794,7 @@ export default class Client extends OpenApi {
|
|
|
2382
2794
|
}
|
|
2383
2795
|
|
|
2384
2796
|
/**
|
|
2385
|
-
* Queries the details of session instances in a delivery group, including instance
|
|
2797
|
+
* Queries the details of session instances in a delivery group, including instance IDs, instance statuses, creation time, update time, session statuses, and public IP addresses of primary network interface controllers (NICs).
|
|
2386
2798
|
*
|
|
2387
2799
|
* @param request - ListAppInstancesRequest
|
|
2388
2800
|
* @returns ListAppInstancesResponse
|
|
@@ -2392,6 +2804,114 @@ export default class Client extends OpenApi {
|
|
|
2392
2804
|
return await this.listAppInstancesWithOptions(request, runtime);
|
|
2393
2805
|
}
|
|
2394
2806
|
|
|
2807
|
+
/**
|
|
2808
|
+
* Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
|
|
2809
|
+
*
|
|
2810
|
+
* @remarks
|
|
2811
|
+
* ## Operation description
|
|
2812
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
|
|
2813
|
+
* Scope of returned results:
|
|
2814
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
2815
|
+
* - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
|
|
2816
|
+
* - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
|
|
2817
|
+
* ## Before you begin
|
|
2818
|
+
* - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
|
|
2819
|
+
* ## Parameter description
|
|
2820
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
|
|
2821
|
+
* - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
|
|
2822
|
+
* - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
|
|
2823
|
+
* - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
2824
|
+
* ## Call sequence
|
|
2825
|
+
* 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
|
|
2826
|
+
* 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
|
|
2827
|
+
* 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
|
|
2828
|
+
*
|
|
2829
|
+
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
2830
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2831
|
+
* @returns ListAuthorizedAppInstanceGroupByUserResponse
|
|
2832
|
+
*/
|
|
2833
|
+
async listAuthorizedAppInstanceGroupByUserWithOptions(request: $_model.ListAuthorizedAppInstanceGroupByUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuthorizedAppInstanceGroupByUserResponse> {
|
|
2834
|
+
request.validate();
|
|
2835
|
+
let query = { };
|
|
2836
|
+
if (!$dara.isNull(request.appId)) {
|
|
2837
|
+
query["AppId"] = request.appId;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
2841
|
+
query["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
if (!$dara.isNull(request.appInstanceGroupName)) {
|
|
2845
|
+
query["AppInstanceGroupName"] = request.appInstanceGroupName;
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
if (!$dara.isNull(request.appName)) {
|
|
2849
|
+
query["AppName"] = request.appName;
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
2853
|
+
query["EndUserId"] = request.endUserId;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2857
|
+
query["PageNumber"] = request.pageNumber;
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2861
|
+
query["PageSize"] = request.pageSize;
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
if (!$dara.isNull(request.productType)) {
|
|
2865
|
+
query["ProductType"] = request.productType;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2869
|
+
query: OpenApiUtil.query(query),
|
|
2870
|
+
});
|
|
2871
|
+
let params = new $OpenApiUtil.Params({
|
|
2872
|
+
action: "ListAuthorizedAppInstanceGroupByUser",
|
|
2873
|
+
version: "2021-09-01",
|
|
2874
|
+
protocol: "HTTPS",
|
|
2875
|
+
pathname: "/",
|
|
2876
|
+
method: "POST",
|
|
2877
|
+
authType: "AK",
|
|
2878
|
+
style: "RPC",
|
|
2879
|
+
reqBodyType: "formData",
|
|
2880
|
+
bodyType: "json",
|
|
2881
|
+
});
|
|
2882
|
+
return $dara.cast<$_model.ListAuthorizedAppInstanceGroupByUserResponse>(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppInstanceGroupByUserResponse({}));
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
|
|
2887
|
+
*
|
|
2888
|
+
* @remarks
|
|
2889
|
+
* ## Operation description
|
|
2890
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
|
|
2891
|
+
* Scope of returned results:
|
|
2892
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
2893
|
+
* - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
|
|
2894
|
+
* - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
|
|
2895
|
+
* ## Before you begin
|
|
2896
|
+
* - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
|
|
2897
|
+
* ## Parameter description
|
|
2898
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
|
|
2899
|
+
* - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
|
|
2900
|
+
* - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
|
|
2901
|
+
* - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
2902
|
+
* ## Call sequence
|
|
2903
|
+
* 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
|
|
2904
|
+
* 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
|
|
2905
|
+
* 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
|
|
2906
|
+
*
|
|
2907
|
+
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
2908
|
+
* @returns ListAuthorizedAppInstanceGroupByUserResponse
|
|
2909
|
+
*/
|
|
2910
|
+
async listAuthorizedAppInstanceGroupByUser(request: $_model.ListAuthorizedAppInstanceGroupByUserRequest): Promise<$_model.ListAuthorizedAppInstanceGroupByUserResponse> {
|
|
2911
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2912
|
+
return await this.listAuthorizedAppInstanceGroupByUserWithOptions(request, runtime);
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2395
2915
|
/**
|
|
2396
2916
|
* Queries the list of user groups authorized by a specified delivery group.
|
|
2397
2917
|
*
|
|
@@ -2406,6 +2926,10 @@ export default class Client extends OpenApi {
|
|
|
2406
2926
|
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
2407
2927
|
}
|
|
2408
2928
|
|
|
2929
|
+
if (!$dara.isNull(request.appInstanceGroupSetId)) {
|
|
2930
|
+
body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2409
2933
|
if (!$dara.isNull(request.groupId)) {
|
|
2410
2934
|
body["GroupId"] = request.groupId;
|
|
2411
2935
|
}
|
|
@@ -2454,6 +2978,108 @@ export default class Client extends OpenApi {
|
|
|
2454
2978
|
return await this.listAuthorizedUserGroupsWithOptions(request, runtime);
|
|
2455
2979
|
}
|
|
2456
2980
|
|
|
2981
|
+
/**
|
|
2982
|
+
* Queries authorized users of a cloud browser group with paging.
|
|
2983
|
+
*
|
|
2984
|
+
* @remarks
|
|
2985
|
+
* ## Before you begin
|
|
2986
|
+
* - The target cloud browser group or delivery group set must be created, belong to the current account, and match the specified `ProductType`.
|
|
2987
|
+
* - When querying authorized users of cloud browsers, set `ProductType` to `CloudBrowser`.
|
|
2988
|
+
* - **Specify either `AppInstanceGroupId` or `AppInstanceGroupSetId`, but not both.**
|
|
2989
|
+
* ## Query notes
|
|
2990
|
+
* - This operation returns authorization relationships and does not indicate whether users are currently online or sessions are connected.
|
|
2991
|
+
* - When querying by set, omit `AppId` and `AppInstancePersistentId`.
|
|
2992
|
+
* - Use `PageNumber` and `PageSize` for pagination and check `TotalCount` to determine whether to continue querying.
|
|
2993
|
+
* ## Example notes
|
|
2994
|
+
* The examples show how to set the fields. Replace resource identifiers with actual values in your account.
|
|
2995
|
+
* An example value of `-` indicates that the parameter does not need to be set. Omit the corresponding parameter when calling the operation. Do not pass the character `-`.
|
|
2996
|
+
*
|
|
2997
|
+
* @param request - ListAuthorizedUsersRequest
|
|
2998
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2999
|
+
* @returns ListAuthorizedUsersResponse
|
|
3000
|
+
*/
|
|
3001
|
+
async listAuthorizedUsersWithOptions(request: $_model.ListAuthorizedUsersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuthorizedUsersResponse> {
|
|
3002
|
+
request.validate();
|
|
3003
|
+
let query = { };
|
|
3004
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
3005
|
+
query["EndUserId"] = request.endUserId;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
if (!$dara.isNull(request.userIdFuzzy)) {
|
|
3009
|
+
query["UserIdFuzzy"] = request.userIdFuzzy;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
let body : {[key: string ]: any} = { };
|
|
3013
|
+
if (!$dara.isNull(request.appId)) {
|
|
3014
|
+
body["AppId"] = request.appId;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
3018
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
if (!$dara.isNull(request.appInstanceGroupSetId)) {
|
|
3022
|
+
body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
if (!$dara.isNull(request.appInstancePersistentId)) {
|
|
3026
|
+
body["AppInstancePersistentId"] = request.appInstancePersistentId;
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3030
|
+
body["PageNumber"] = request.pageNumber;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3034
|
+
body["PageSize"] = request.pageSize;
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
if (!$dara.isNull(request.productType)) {
|
|
3038
|
+
body["ProductType"] = request.productType;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3042
|
+
query: OpenApiUtil.query(query),
|
|
3043
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3044
|
+
});
|
|
3045
|
+
let params = new $OpenApiUtil.Params({
|
|
3046
|
+
action: "ListAuthorizedUsers",
|
|
3047
|
+
version: "2021-09-01",
|
|
3048
|
+
protocol: "HTTPS",
|
|
3049
|
+
pathname: "/",
|
|
3050
|
+
method: "POST",
|
|
3051
|
+
authType: "AK",
|
|
3052
|
+
style: "RPC",
|
|
3053
|
+
reqBodyType: "formData",
|
|
3054
|
+
bodyType: "json",
|
|
3055
|
+
});
|
|
3056
|
+
return $dara.cast<$_model.ListAuthorizedUsersResponse>(await this.callApi(params, req, runtime), new $_model.ListAuthorizedUsersResponse({}));
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* Queries authorized users of a cloud browser group with paging.
|
|
3061
|
+
*
|
|
3062
|
+
* @remarks
|
|
3063
|
+
* ## Before you begin
|
|
3064
|
+
* - The target cloud browser group or delivery group set must be created, belong to the current account, and match the specified `ProductType`.
|
|
3065
|
+
* - When querying authorized users of cloud browsers, set `ProductType` to `CloudBrowser`.
|
|
3066
|
+
* - **Specify either `AppInstanceGroupId` or `AppInstanceGroupSetId`, but not both.**
|
|
3067
|
+
* ## Query notes
|
|
3068
|
+
* - This operation returns authorization relationships and does not indicate whether users are currently online or sessions are connected.
|
|
3069
|
+
* - When querying by set, omit `AppId` and `AppInstancePersistentId`.
|
|
3070
|
+
* - Use `PageNumber` and `PageSize` for pagination and check `TotalCount` to determine whether to continue querying.
|
|
3071
|
+
* ## Example notes
|
|
3072
|
+
* The examples show how to set the fields. Replace resource identifiers with actual values in your account.
|
|
3073
|
+
* An example value of `-` indicates that the parameter does not need to be set. Omit the corresponding parameter when calling the operation. Do not pass the character `-`.
|
|
3074
|
+
*
|
|
3075
|
+
* @param request - ListAuthorizedUsersRequest
|
|
3076
|
+
* @returns ListAuthorizedUsersResponse
|
|
3077
|
+
*/
|
|
3078
|
+
async listAuthorizedUsers(request: $_model.ListAuthorizedUsersRequest): Promise<$_model.ListAuthorizedUsersResponse> {
|
|
3079
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3080
|
+
return await this.listAuthorizedUsersWithOptions(request, runtime);
|
|
3081
|
+
}
|
|
3082
|
+
|
|
2457
3083
|
/**
|
|
2458
3084
|
* Queries the bindng information between users and resources.
|
|
2459
3085
|
*
|
|
@@ -2520,6 +3146,125 @@ export default class Client extends OpenApi {
|
|
|
2520
3146
|
return await this.listBindInfoWithOptions(request, runtime);
|
|
2521
3147
|
}
|
|
2522
3148
|
|
|
3149
|
+
/**
|
|
3150
|
+
* Queries cloud browser groups and their current status by paging.
|
|
3151
|
+
*
|
|
3152
|
+
* @remarks
|
|
3153
|
+
* This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
|
|
3154
|
+
* ## Query conditions
|
|
3155
|
+
* You can filter by browser group identity, name, business region, office network, set, authorized user group, and status. Only one status value can be specified at a time.
|
|
3156
|
+
* ## Paging
|
|
3157
|
+
* Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
|
|
3158
|
+
* ## What to do next
|
|
3159
|
+
* To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
|
|
3160
|
+
* ## Example notes
|
|
3161
|
+
* The `-` in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual character string returned by the operation. Resource identities in the examples are masked. Use the actual query results in your environment.
|
|
3162
|
+
*
|
|
3163
|
+
* @param request - ListBrowserInstanceGroupRequest
|
|
3164
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3165
|
+
* @returns ListBrowserInstanceGroupResponse
|
|
3166
|
+
*/
|
|
3167
|
+
async listBrowserInstanceGroupWithOptions(request: $_model.ListBrowserInstanceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBrowserInstanceGroupResponse> {
|
|
3168
|
+
request.validate();
|
|
3169
|
+
let query = { };
|
|
3170
|
+
if (!$dara.isNull(request.appInstanceGroupSetId)) {
|
|
3171
|
+
query["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
3175
|
+
query["BizRegionId"] = request.bizRegionId;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
if (!$dara.isNull(request.browserInstanceGroupId)) {
|
|
3179
|
+
query["BrowserInstanceGroupId"] = request.browserInstanceGroupId;
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
if (!$dara.isNull(request.browserInstanceGroupName)) {
|
|
3183
|
+
query["BrowserInstanceGroupName"] = request.browserInstanceGroupName;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
if (!$dara.isNull(request.cloudBrowserName)) {
|
|
3187
|
+
query["CloudBrowserName"] = request.cloudBrowserName;
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
3191
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3195
|
+
query["PageNumber"] = request.pageNumber;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3199
|
+
query["PageSize"] = request.pageSize;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
if (!$dara.isNull(request.tag)) {
|
|
3203
|
+
query["Tag"] = request.tag;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
if (!$dara.isNull(request.tier)) {
|
|
3207
|
+
query["Tier"] = request.tier;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
let body : {[key: string ]: any} = { };
|
|
3211
|
+
if (!$dara.isNull(request.excludedUserGroupIds)) {
|
|
3212
|
+
body["ExcludedUserGroupIds"] = request.excludedUserGroupIds;
|
|
3213
|
+
}
|
|
3214
|
+
|
|
3215
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
3216
|
+
if (!$dara.isNull(request.status)) {
|
|
3217
|
+
bodyFlat["Status"] = request.status;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
if (!$dara.isNull(request.userGroupIds)) {
|
|
3221
|
+
body["UserGroupIds"] = request.userGroupIds;
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
body = {
|
|
3225
|
+
...body,
|
|
3226
|
+
...OpenApiUtil.query(bodyFlat),
|
|
3227
|
+
};
|
|
3228
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3229
|
+
query: OpenApiUtil.query(query),
|
|
3230
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3231
|
+
});
|
|
3232
|
+
let params = new $OpenApiUtil.Params({
|
|
3233
|
+
action: "ListBrowserInstanceGroup",
|
|
3234
|
+
version: "2021-09-01",
|
|
3235
|
+
protocol: "HTTPS",
|
|
3236
|
+
pathname: "/",
|
|
3237
|
+
method: "POST",
|
|
3238
|
+
authType: "AK",
|
|
3239
|
+
style: "RPC",
|
|
3240
|
+
reqBodyType: "formData",
|
|
3241
|
+
bodyType: "json",
|
|
3242
|
+
});
|
|
3243
|
+
return $dara.cast<$_model.ListBrowserInstanceGroupResponse>(await this.callApi(params, req, runtime), new $_model.ListBrowserInstanceGroupResponse({}));
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* Queries cloud browser groups and their current status by paging.
|
|
3248
|
+
*
|
|
3249
|
+
* @remarks
|
|
3250
|
+
* This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
|
|
3251
|
+
* ## Query conditions
|
|
3252
|
+
* You can filter by browser group identity, name, business region, office network, set, authorized user group, and status. Only one status value can be specified at a time.
|
|
3253
|
+
* ## Paging
|
|
3254
|
+
* Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
|
|
3255
|
+
* ## What to do next
|
|
3256
|
+
* To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
|
|
3257
|
+
* ## Example notes
|
|
3258
|
+
* The `-` in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual character string returned by the operation. Resource identities in the examples are masked. Use the actual query results in your environment.
|
|
3259
|
+
*
|
|
3260
|
+
* @param request - ListBrowserInstanceGroupRequest
|
|
3261
|
+
* @returns ListBrowserInstanceGroupResponse
|
|
3262
|
+
*/
|
|
3263
|
+
async listBrowserInstanceGroup(request: $_model.ListBrowserInstanceGroupRequest): Promise<$_model.ListBrowserInstanceGroupResponse> {
|
|
3264
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3265
|
+
return await this.listBrowserInstanceGroupWithOptions(request, runtime);
|
|
3266
|
+
}
|
|
3267
|
+
|
|
2523
3268
|
/**
|
|
2524
3269
|
* Queries the list of desktop agent runtimes.
|
|
2525
3270
|
*
|
|
@@ -2798,8 +3543,8 @@ export default class Client extends OpenApi {
|
|
|
2798
3543
|
* Queries the list of LLM templates.
|
|
2799
3544
|
*
|
|
2800
3545
|
* @remarks
|
|
2801
|
-
* You can query the list of model templates under a model provider template in the
|
|
2802
|
-
* Before using this operation, make sure you are familiar with the operations and usage of the
|
|
3546
|
+
* You can query the list of model templates under a model provider template in the WUYING Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically pinned to the top.
|
|
3547
|
+
* Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
|
|
2803
3548
|
*
|
|
2804
3549
|
* @param tmpReq - ListLlmTemplatesRequest
|
|
2805
3550
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2867,8 +3612,8 @@ export default class Client extends OpenApi {
|
|
|
2867
3612
|
* Queries the list of LLM templates.
|
|
2868
3613
|
*
|
|
2869
3614
|
* @remarks
|
|
2870
|
-
* You can query the list of model templates under a model provider template in the
|
|
2871
|
-
* Before using this operation, make sure you are familiar with the operations and usage of the
|
|
3615
|
+
* You can query the list of model templates under a model provider template in the WUYING Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically pinned to the top.
|
|
3616
|
+
* Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
|
|
2872
3617
|
*
|
|
2873
3618
|
* @param request - ListLlmTemplatesRequest
|
|
2874
3619
|
* @returns ListLlmTemplatesResponse
|
|
@@ -2936,8 +3681,8 @@ export default class Client extends OpenApi {
|
|
|
2936
3681
|
* Queries the list of model provider templates.
|
|
2937
3682
|
*
|
|
2938
3683
|
* @remarks
|
|
2939
|
-
* You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center.
|
|
2940
|
-
* Before
|
|
3684
|
+
* You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. You can filter results by provider name, model group ID, and provider template ID. Paging is supported.
|
|
3685
|
+
* Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
|
|
2941
3686
|
*
|
|
2942
3687
|
* @param tmpReq - ListModelProviderTemplatesRequest
|
|
2943
3688
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3005,8 +3750,8 @@ export default class Client extends OpenApi {
|
|
|
3005
3750
|
* Queries the list of model provider templates.
|
|
3006
3751
|
*
|
|
3007
3752
|
* @remarks
|
|
3008
|
-
* You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center.
|
|
3009
|
-
* Before
|
|
3753
|
+
* You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. You can filter results by provider name, model group ID, and provider template ID. Paging is supported.
|
|
3754
|
+
* Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
|
|
3010
3755
|
*
|
|
3011
3756
|
* @param request - ListModelProviderTemplatesRequest
|
|
3012
3757
|
* @returns ListModelProviderTemplatesResponse
|
|
@@ -3079,11 +3824,11 @@ export default class Client extends OpenApi {
|
|
|
3079
3824
|
}
|
|
3080
3825
|
|
|
3081
3826
|
/**
|
|
3082
|
-
* Queries
|
|
3827
|
+
* Queries a list of model templates.
|
|
3083
3828
|
*
|
|
3084
3829
|
* @remarks
|
|
3085
|
-
* You can query the model groups created in the
|
|
3086
|
-
* Before using this operation, make sure you are familiar with the operations and usage of the
|
|
3830
|
+
* You can use paged query to retrieve the list of model groups created in the Wuying Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether models have been configured. Paging is supported.
|
|
3831
|
+
* Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
|
|
3087
3832
|
*
|
|
3088
3833
|
* @param tmpReq - ListModelTemplatesRequest
|
|
3089
3834
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3164,11 +3909,11 @@ export default class Client extends OpenApi {
|
|
|
3164
3909
|
}
|
|
3165
3910
|
|
|
3166
3911
|
/**
|
|
3167
|
-
* Queries
|
|
3912
|
+
* Queries a list of model templates.
|
|
3168
3913
|
*
|
|
3169
3914
|
* @remarks
|
|
3170
|
-
* You can query the model groups created in the
|
|
3171
|
-
* Before using this operation, make sure you are familiar with the operations and usage of the
|
|
3915
|
+
* You can use paged query to retrieve the list of model groups created in the Wuying Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether models have been configured. Paging is supported.
|
|
3916
|
+
* Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
|
|
3172
3917
|
*
|
|
3173
3918
|
* @param request - ListModelTemplatesRequest
|
|
3174
3919
|
* @returns ListModelTemplatesResponse
|
|
@@ -3592,10 +4337,10 @@ export default class Client extends OpenApi {
|
|
|
3592
4337
|
}
|
|
3593
4338
|
|
|
3594
4339
|
/**
|
|
3595
|
-
* Queries
|
|
4340
|
+
* Queries a list of workstations.
|
|
3596
4341
|
*
|
|
3597
4342
|
* @remarks
|
|
3598
|
-
* Retrieves
|
|
4343
|
+
* Retrieves a list of WUYING workstations.
|
|
3599
4344
|
*
|
|
3600
4345
|
* @param request - ListWuyingServerRequest
|
|
3601
4346
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3711,10 +4456,10 @@ export default class Client extends OpenApi {
|
|
|
3711
4456
|
}
|
|
3712
4457
|
|
|
3713
4458
|
/**
|
|
3714
|
-
* Queries
|
|
4459
|
+
* Queries a list of workstations.
|
|
3715
4460
|
*
|
|
3716
4461
|
* @remarks
|
|
3717
|
-
* Retrieves
|
|
4462
|
+
* Retrieves a list of WUYING workstations.
|
|
3718
4463
|
*
|
|
3719
4464
|
* @param request - ListWuyingServerRequest
|
|
3720
4465
|
* @returns ListWuyingServerResponse
|
|
@@ -3777,7 +4522,7 @@ export default class Client extends OpenApi {
|
|
|
3777
4522
|
}
|
|
3778
4523
|
|
|
3779
4524
|
/**
|
|
3780
|
-
* Modifies the
|
|
4525
|
+
* Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
|
|
3781
4526
|
*
|
|
3782
4527
|
* @param tmpReq - ModifyAppInstanceGroupAttributeRequest
|
|
3783
4528
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3868,7 +4613,7 @@ export default class Client extends OpenApi {
|
|
|
3868
4613
|
}
|
|
3869
4614
|
|
|
3870
4615
|
/**
|
|
3871
|
-
* Modifies the
|
|
4616
|
+
* Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
|
|
3872
4617
|
*
|
|
3873
4618
|
* @param request - ModifyAppInstanceGroupAttributeRequest
|
|
3874
4619
|
* @returns ModifyAppInstanceGroupAttributeResponse
|
|
@@ -3986,6 +4731,10 @@ export default class Client extends OpenApi {
|
|
|
3986
4731
|
}
|
|
3987
4732
|
|
|
3988
4733
|
let body : {[key: string ]: any} = { };
|
|
4734
|
+
if (!$dara.isNull(request.authNotificationEnabled)) {
|
|
4735
|
+
body["AuthNotificationEnabled"] = request.authNotificationEnabled;
|
|
4736
|
+
}
|
|
4737
|
+
|
|
3989
4738
|
if (!$dara.isNull(request.cloudBrowserName)) {
|
|
3990
4739
|
body["CloudBrowserName"] = request.cloudBrowserName;
|
|
3991
4740
|
}
|
|
@@ -4220,6 +4969,10 @@ export default class Client extends OpenApi {
|
|
|
4220
4969
|
async modifyWuyingServerAttributeWithOptions(request: $_model.ModifyWuyingServerAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyWuyingServerAttributeResponse> {
|
|
4221
4970
|
request.validate();
|
|
4222
4971
|
let body : {[key: string ]: any} = { };
|
|
4972
|
+
if (!$dara.isNull(request.erdmaEnabled)) {
|
|
4973
|
+
body["ErdmaEnabled"] = request.erdmaEnabled;
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4223
4976
|
if (!$dara.isNull(request.password)) {
|
|
4224
4977
|
body["Password"] = request.password;
|
|
4225
4978
|
}
|
|
@@ -4505,6 +5258,8 @@ export default class Client extends OpenApi {
|
|
|
4505
5258
|
*
|
|
4506
5259
|
* @remarks
|
|
4507
5260
|
* Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING Workspace.
|
|
5261
|
+
* > Prerequisites:
|
|
5262
|
+
* > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
|
|
4508
5263
|
*
|
|
4509
5264
|
* @param tmpReq - RenewAppInstanceGroupRequest
|
|
4510
5265
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4577,6 +5332,8 @@ export default class Client extends OpenApi {
|
|
|
4577
5332
|
*
|
|
4578
5333
|
* @remarks
|
|
4579
5334
|
* Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING Workspace.
|
|
5335
|
+
* > Prerequisites:
|
|
5336
|
+
* > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
|
|
4580
5337
|
*
|
|
4581
5338
|
* @param request - RenewAppInstanceGroupRequest
|
|
4582
5339
|
* @returns RenewAppInstanceGroupResponse
|
|
@@ -4645,7 +5402,7 @@ export default class Client extends OpenApi {
|
|
|
4645
5402
|
}
|
|
4646
5403
|
|
|
4647
5404
|
/**
|
|
4648
|
-
* Restarts a
|
|
5405
|
+
* Restarts a workstation.
|
|
4649
5406
|
*
|
|
4650
5407
|
* @param request - RestartWuyingServerRequest
|
|
4651
5408
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4685,7 +5442,7 @@ export default class Client extends OpenApi {
|
|
|
4685
5442
|
}
|
|
4686
5443
|
|
|
4687
5444
|
/**
|
|
4688
|
-
* Restarts a
|
|
5445
|
+
* Restarts a workstation.
|
|
4689
5446
|
*
|
|
4690
5447
|
* @param request - RestartWuyingServerRequest
|
|
4691
5448
|
* @returns RestartWuyingServerResponse
|
|
@@ -5071,8 +5828,9 @@ export default class Client extends OpenApi {
|
|
|
5071
5828
|
* Updates the image of a delivery group.
|
|
5072
5829
|
*
|
|
5073
5830
|
* @remarks
|
|
5074
|
-
* >Warning: After the image update starts, sessions of end users accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
|
|
5075
|
-
* >
|
|
5831
|
+
* >Warning: After the image update starts, sessions of end users who are accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
|
|
5832
|
+
* > Before calling this API, the delivery group must be in the PUBLISHED, DEPLOYED, or MAINTAIN_FAILED state. You can call GetAppInstanceGroup to query the current state of the delivery group.
|
|
5833
|
+
* > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
|
|
5076
5834
|
*
|
|
5077
5835
|
* @param request - UpdateAppInstanceGroupImageRequest
|
|
5078
5836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5118,8 +5876,9 @@ export default class Client extends OpenApi {
|
|
|
5118
5876
|
* Updates the image of a delivery group.
|
|
5119
5877
|
*
|
|
5120
5878
|
* @remarks
|
|
5121
|
-
* >Warning: After the image update starts, sessions of end users accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
|
|
5122
|
-
* >
|
|
5879
|
+
* >Warning: After the image update starts, sessions of end users who are accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
|
|
5880
|
+
* > Before calling this API, the delivery group must be in the PUBLISHED, DEPLOYED, or MAINTAIN_FAILED state. You can call GetAppInstanceGroup to query the current state of the delivery group.
|
|
5881
|
+
* > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
|
|
5123
5882
|
*
|
|
5124
5883
|
* @param request - UpdateAppInstanceGroupImageRequest
|
|
5125
5884
|
* @returns UpdateAppInstanceGroupImageResponse
|
|
@@ -5207,8 +5966,8 @@ export default class Client extends OpenApi {
|
|
|
5207
5966
|
* Updates a model template.
|
|
5208
5967
|
*
|
|
5209
5968
|
* @remarks
|
|
5210
|
-
* You can update a model group that has been created in the
|
|
5211
|
-
* Before
|
|
5969
|
+
* You can update a model group that has been created in the Wuying Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
|
|
5970
|
+
* Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
|
|
5212
5971
|
*
|
|
5213
5972
|
* @param request - UpdateModelTemplateRequest
|
|
5214
5973
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5258,8 +6017,8 @@ export default class Client extends OpenApi {
|
|
|
5258
6017
|
* Updates a model template.
|
|
5259
6018
|
*
|
|
5260
6019
|
* @remarks
|
|
5261
|
-
* You can update a model group that has been created in the
|
|
5262
|
-
* Before
|
|
6020
|
+
* You can update a model group that has been created in the Wuying Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
|
|
6021
|
+
* Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
|
|
5263
6022
|
*
|
|
5264
6023
|
* @param request - UpdateModelTemplateRequest
|
|
5265
6024
|
* @returns UpdateModelTemplateResponse
|