@alicloud/appstream-center20210901 5.10.0 → 5.10.1
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 +60 -56
- package/dist/client.js +66 -56
- package/dist/client.js.map +1 -1
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.d.ts +28 -20
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js +2 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js.map +1 -1
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.d.ts +34 -21
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js +4 -0
- package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js.map +1 -1
- package/dist/models/ListPublishedAppInstanceGroupRequest.d.ts +28 -20
- package/dist/models/ListPublishedAppInstanceGroupRequest.js +2 -0
- package/dist/models/ListPublishedAppInstanceGroupRequest.js.map +1 -1
- package/dist/models/ListPublishedAppInstanceGroupResponseBody.d.ts +35 -22
- package/dist/models/ListPublishedAppInstanceGroupResponseBody.js +4 -0
- package/dist/models/ListPublishedAppInstanceGroupResponseBody.js.map +1 -1
- package/dist/models/ModifyShareImageRequest.d.ts +17 -0
- package/dist/models/ModifyShareImageRequest.js.map +1 -1
- package/dist/models/ModifyShareImageResponseBody.d.ts +15 -0
- package/dist/models/ModifyShareImageResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +68 -56
- package/src/models/ListAuthorizedAppInstanceGroupByUserRequest.ts +30 -20
- package/src/models/ListAuthorizedAppInstanceGroupByUserResponseBody.ts +38 -21
- package/src/models/ListPublishedAppInstanceGroupRequest.ts +30 -20
- package/src/models/ListPublishedAppInstanceGroupResponseBody.ts +39 -22
- package/src/models/ModifyShareImageRequest.ts +17 -0
- package/src/models/ModifyShareImageResponseBody.ts +15 -0
package/dist/client.d.ts
CHANGED
|
@@ -892,26 +892,26 @@ export default class Client extends OpenApi {
|
|
|
892
892
|
*/
|
|
893
893
|
listAppsByAppInstanceGroupId(request: $_model.ListAppsByAppInstanceGroupIdRequest): Promise<$_model.ListAppsByAppInstanceGroupIdResponse>;
|
|
894
894
|
/**
|
|
895
|
-
*
|
|
895
|
+
* Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
|
|
896
896
|
*
|
|
897
897
|
* @remarks
|
|
898
898
|
* ## Operation description
|
|
899
|
-
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**.
|
|
900
|
-
*
|
|
901
|
-
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records
|
|
902
|
-
* - Only delivery groups
|
|
903
|
-
* - Results are sorted in
|
|
899
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
|
|
900
|
+
* Return scope:
|
|
901
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
902
|
+
* - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
|
|
903
|
+
* - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
|
|
904
904
|
* ## Before you begin
|
|
905
|
-
* -
|
|
906
|
-
* ##
|
|
907
|
-
* - **ProductType and EndUserId are required**. If ProductType is not specified, the
|
|
908
|
-
* - EndUserId
|
|
909
|
-
* - PageNumber starts from 1. Valid values
|
|
910
|
-
* - If the user
|
|
905
|
+
* - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
|
|
906
|
+
* ## Metric description
|
|
907
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
|
|
908
|
+
* - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
|
|
909
|
+
* - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
|
|
910
|
+
* - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
911
911
|
* ## Call sequence
|
|
912
912
|
* 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.
|
|
913
|
-
* 2. Call this operation to query the delivery groups authorized
|
|
914
|
-
* 3. To obtain
|
|
913
|
+
* 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
|
|
914
|
+
* 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
|
|
915
915
|
*
|
|
916
916
|
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
917
917
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -919,26 +919,26 @@ export default class Client extends OpenApi {
|
|
|
919
919
|
*/
|
|
920
920
|
listAuthorizedAppInstanceGroupByUserWithOptions(request: $_model.ListAuthorizedAppInstanceGroupByUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuthorizedAppInstanceGroupByUserResponse>;
|
|
921
921
|
/**
|
|
922
|
-
*
|
|
922
|
+
* Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
|
|
923
923
|
*
|
|
924
924
|
* @remarks
|
|
925
925
|
* ## Operation description
|
|
926
|
-
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**.
|
|
927
|
-
*
|
|
928
|
-
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records
|
|
929
|
-
* - Only delivery groups
|
|
930
|
-
* - Results are sorted in
|
|
926
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
|
|
927
|
+
* Return scope:
|
|
928
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
929
|
+
* - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
|
|
930
|
+
* - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
|
|
931
931
|
* ## Before you begin
|
|
932
|
-
* -
|
|
933
|
-
* ##
|
|
934
|
-
* - **ProductType and EndUserId are required**. If ProductType is not specified, the
|
|
935
|
-
* - EndUserId
|
|
936
|
-
* - PageNumber starts from 1. Valid values
|
|
937
|
-
* - If the user
|
|
932
|
+
* - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
|
|
933
|
+
* ## Metric description
|
|
934
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
|
|
935
|
+
* - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
|
|
936
|
+
* - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
|
|
937
|
+
* - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
938
938
|
* ## Call sequence
|
|
939
939
|
* 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.
|
|
940
|
-
* 2. Call this operation to query the delivery groups authorized
|
|
941
|
-
* 3. To obtain
|
|
940
|
+
* 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
|
|
941
|
+
* 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
|
|
942
942
|
*
|
|
943
943
|
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
944
944
|
* @returns ListAuthorizedAppInstanceGroupByUserResponse
|
|
@@ -1339,23 +1339,23 @@ export default class Client extends OpenApi {
|
|
|
1339
1339
|
*/
|
|
1340
1340
|
listPersistentAppInstances(request: $_model.ListPersistentAppInstancesRequest): Promise<$_model.ListPersistentAppInstancesResponse>;
|
|
1341
1341
|
/**
|
|
1342
|
-
* Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging
|
|
1342
|
+
* Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
|
|
1343
1343
|
*
|
|
1344
1344
|
* @remarks
|
|
1345
|
-
* ##
|
|
1346
|
-
* When
|
|
1347
|
-
*
|
|
1345
|
+
* ## Prerequisites
|
|
1346
|
+
* When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
|
|
1347
|
+
* Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
|
|
1348
1348
|
* ## Query and pagination
|
|
1349
|
-
* - **You must explicitly
|
|
1350
|
-
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support
|
|
1351
|
-
* - If an optional filter parameter is not specified or is set to an empty string,
|
|
1352
|
-
* - `ExcludeUserId`
|
|
1353
|
-
* - `AppId` and `AppName` only filter delivery groups
|
|
1354
|
-
* ##
|
|
1355
|
-
* 1.
|
|
1356
|
-
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the
|
|
1357
|
-
* 3. To
|
|
1358
|
-
* The masked
|
|
1349
|
+
* - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
|
|
1350
|
+
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
|
|
1351
|
+
* - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
|
|
1352
|
+
* - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
|
|
1353
|
+
* - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
|
|
1354
|
+
* ## Invocation sequence
|
|
1355
|
+
* 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
|
|
1356
|
+
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
|
|
1357
|
+
* 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
|
|
1358
|
+
* The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
|
|
1359
1359
|
*
|
|
1360
1360
|
* @param request - ListPublishedAppInstanceGroupRequest
|
|
1361
1361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1363,23 +1363,23 @@ export default class Client extends OpenApi {
|
|
|
1363
1363
|
*/
|
|
1364
1364
|
listPublishedAppInstanceGroupWithOptions(request: $_model.ListPublishedAppInstanceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPublishedAppInstanceGroupResponse>;
|
|
1365
1365
|
/**
|
|
1366
|
-
* Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging
|
|
1366
|
+
* Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
|
|
1367
1367
|
*
|
|
1368
1368
|
* @remarks
|
|
1369
|
-
* ##
|
|
1370
|
-
* When
|
|
1371
|
-
*
|
|
1369
|
+
* ## Prerequisites
|
|
1370
|
+
* When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
|
|
1371
|
+
* Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
|
|
1372
1372
|
* ## Query and pagination
|
|
1373
|
-
* - **You must explicitly
|
|
1374
|
-
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support
|
|
1375
|
-
* - If an optional filter parameter is not specified or is set to an empty string,
|
|
1376
|
-
* - `ExcludeUserId`
|
|
1377
|
-
* - `AppId` and `AppName` only filter delivery groups
|
|
1378
|
-
* ##
|
|
1379
|
-
* 1.
|
|
1380
|
-
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the
|
|
1381
|
-
* 3. To
|
|
1382
|
-
* The masked
|
|
1373
|
+
* - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
|
|
1374
|
+
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
|
|
1375
|
+
* - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
|
|
1376
|
+
* - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
|
|
1377
|
+
* - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
|
|
1378
|
+
* ## Invocation sequence
|
|
1379
|
+
* 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
|
|
1380
|
+
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
|
|
1381
|
+
* 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
|
|
1382
|
+
* The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
|
|
1383
1383
|
*
|
|
1384
1384
|
* @param request - ListPublishedAppInstanceGroupRequest
|
|
1385
1385
|
* @returns ListPublishedAppInstanceGroupResponse
|
|
@@ -1722,12 +1722,16 @@ export default class Client extends OpenApi {
|
|
|
1722
1722
|
*/
|
|
1723
1723
|
modifyNodePoolAttribute(request: $_model.ModifyNodePoolAttributeRequest): Promise<$_model.ModifyNodePoolAttributeResponse>;
|
|
1724
1724
|
/**
|
|
1725
|
+
* Shares an image with other WUYING users or cancels the sharing of a shared image.
|
|
1726
|
+
*
|
|
1725
1727
|
* @param request - ModifyShareImageRequest
|
|
1726
1728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1727
1729
|
* @returns ModifyShareImageResponse
|
|
1728
1730
|
*/
|
|
1729
1731
|
modifyShareImageWithOptions(request: $_model.ModifyShareImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyShareImageResponse>;
|
|
1730
1732
|
/**
|
|
1733
|
+
* Shares an image with other WUYING users or cancels the sharing of a shared image.
|
|
1734
|
+
*
|
|
1731
1735
|
* @param request - ModifyShareImageRequest
|
|
1732
1736
|
* @returns ModifyShareImageResponse
|
|
1733
1737
|
*/
|
package/dist/client.js
CHANGED
|
@@ -2574,26 +2574,26 @@ class Client extends openapi_core_1.default {
|
|
|
2574
2574
|
return await this.listAppsByAppInstanceGroupIdWithOptions(request, runtime);
|
|
2575
2575
|
}
|
|
2576
2576
|
/**
|
|
2577
|
-
*
|
|
2577
|
+
* Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
|
|
2578
2578
|
*
|
|
2579
2579
|
* @remarks
|
|
2580
2580
|
* ## Operation description
|
|
2581
|
-
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**.
|
|
2582
|
-
*
|
|
2583
|
-
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records
|
|
2584
|
-
* - Only delivery groups
|
|
2585
|
-
* - Results are sorted in
|
|
2581
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
|
|
2582
|
+
* Return scope:
|
|
2583
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
2584
|
+
* - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
|
|
2585
|
+
* - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
|
|
2586
2586
|
* ## Before you begin
|
|
2587
|
-
* -
|
|
2588
|
-
* ##
|
|
2589
|
-
* - **ProductType and EndUserId are required**. If ProductType is not specified, the
|
|
2590
|
-
* - EndUserId
|
|
2591
|
-
* - PageNumber starts from 1. Valid values
|
|
2592
|
-
* - If the user
|
|
2587
|
+
* - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
|
|
2588
|
+
* ## Metric description
|
|
2589
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
|
|
2590
|
+
* - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
|
|
2591
|
+
* - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
|
|
2592
|
+
* - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
2593
2593
|
* ## Call sequence
|
|
2594
2594
|
* 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.
|
|
2595
|
-
* 2. Call this operation to query the delivery groups authorized
|
|
2596
|
-
* 3. To obtain
|
|
2595
|
+
* 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
|
|
2596
|
+
* 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
|
|
2597
2597
|
*
|
|
2598
2598
|
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
2599
2599
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2617,6 +2617,9 @@ class Client extends openapi_core_1.default {
|
|
|
2617
2617
|
if (!$dara.isNull(request.endUserId)) {
|
|
2618
2618
|
query["EndUserId"] = request.endUserId;
|
|
2619
2619
|
}
|
|
2620
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
2621
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
2622
|
+
}
|
|
2620
2623
|
if (!$dara.isNull(request.pageNumber)) {
|
|
2621
2624
|
query["PageNumber"] = request.pageNumber;
|
|
2622
2625
|
}
|
|
@@ -2643,26 +2646,26 @@ class Client extends openapi_core_1.default {
|
|
|
2643
2646
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppInstanceGroupByUserResponse({}));
|
|
2644
2647
|
}
|
|
2645
2648
|
/**
|
|
2646
|
-
*
|
|
2649
|
+
* Performs a paging query on the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, and application name.
|
|
2647
2650
|
*
|
|
2648
2651
|
* @remarks
|
|
2649
2652
|
* ## Operation description
|
|
2650
|
-
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**.
|
|
2651
|
-
*
|
|
2652
|
-
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records
|
|
2653
|
-
* - Only delivery groups
|
|
2654
|
-
* - Results are sorted in
|
|
2653
|
+
* This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. It returns the basic information of each delivery group (such as ID, name, status, region, creation time, and expiration time) and the list of applications deployed in the delivery group.
|
|
2654
|
+
* Return scope:
|
|
2655
|
+
* - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records of individual application authorizations granted through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
|
|
2656
|
+
* - Only delivery groups that match the specified ProductType and are not deleted are returned. If no applications are deployed in the delivery group image, the delivery group is not returned.
|
|
2657
|
+
* - Results are sorted in descending order based on the update time of the authorization records. The most recently authorized or modified delivery groups are listed first.
|
|
2655
2658
|
* ## Before you begin
|
|
2656
|
-
* -
|
|
2657
|
-
* ##
|
|
2658
|
-
* - **ProductType and EndUserId are required**. If ProductType is not specified, the
|
|
2659
|
-
* - EndUserId
|
|
2660
|
-
* - PageNumber starts from 1. Valid values
|
|
2661
|
-
* - If the user
|
|
2659
|
+
* - The [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation has been called to authorize the delivery group to the user.
|
|
2660
|
+
* ## Metric description
|
|
2661
|
+
* - **ProductType and EndUserId are required**. If ProductType is not specified, the `InvalidParameter.ProductType` error code is returned. If EndUserId is not specified, the `InvalidParameter.UserId` error code is returned.
|
|
2662
|
+
* - EndUserId uses **exact match** based on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName use **fuzzy match** (a match is hit if the string is contained). If multiple filter conditions are specified, all conditions must be met.
|
|
2663
|
+
* - PageNumber starts from 1. Valid values for PageSize: 1 to 100.
|
|
2664
|
+
* - If the user does not have any authorization delivery groups that meet the conditional requirements, the operation returns a normal response: AppInstanceGroupModels is an empty list and TotalCount is 0.
|
|
2662
2665
|
* ## Call sequence
|
|
2663
2666
|
* 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.
|
|
2664
|
-
* 2. Call this operation to query the delivery groups authorized
|
|
2665
|
-
* 3. To obtain
|
|
2667
|
+
* 2. Call this operation to query the delivery groups authorized for the user and the applications deployed in the delivery groups.
|
|
2668
|
+
* 3. To obtain the application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation by using the returned AppInstanceGroupId and the AppId in Apps.
|
|
2666
2669
|
*
|
|
2667
2670
|
* @param request - ListAuthorizedAppInstanceGroupByUserRequest
|
|
2668
2671
|
* @returns ListAuthorizedAppInstanceGroupByUserResponse
|
|
@@ -3905,23 +3908,23 @@ class Client extends openapi_core_1.default {
|
|
|
3905
3908
|
return await this.listPersistentAppInstancesWithOptions(request, runtime);
|
|
3906
3909
|
}
|
|
3907
3910
|
/**
|
|
3908
|
-
* Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging
|
|
3911
|
+
* Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
|
|
3909
3912
|
*
|
|
3910
3913
|
* @remarks
|
|
3911
|
-
* ##
|
|
3912
|
-
* When
|
|
3913
|
-
*
|
|
3914
|
+
* ## Prerequisites
|
|
3915
|
+
* When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
|
|
3916
|
+
* Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
|
|
3914
3917
|
* ## Query and pagination
|
|
3915
|
-
* - **You must explicitly
|
|
3916
|
-
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support
|
|
3917
|
-
* - If an optional filter parameter is not specified or is set to an empty string,
|
|
3918
|
-
* - `ExcludeUserId`
|
|
3919
|
-
* - `AppId` and `AppName` only filter delivery groups
|
|
3920
|
-
* ##
|
|
3921
|
-
* 1.
|
|
3922
|
-
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the
|
|
3923
|
-
* 3. To
|
|
3924
|
-
* The masked
|
|
3918
|
+
* - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
|
|
3919
|
+
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
|
|
3920
|
+
* - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
|
|
3921
|
+
* - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
|
|
3922
|
+
* - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
|
|
3923
|
+
* ## Invocation sequence
|
|
3924
|
+
* 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
|
|
3925
|
+
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
|
|
3926
|
+
* 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
|
|
3927
|
+
* The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
|
|
3925
3928
|
*
|
|
3926
3929
|
* @param request - ListPublishedAppInstanceGroupRequest
|
|
3927
3930
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3945,6 +3948,9 @@ class Client extends openapi_core_1.default {
|
|
|
3945
3948
|
if (!$dara.isNull(request.excludeUserId)) {
|
|
3946
3949
|
query["ExcludeUserId"] = request.excludeUserId;
|
|
3947
3950
|
}
|
|
3951
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
3952
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
3953
|
+
}
|
|
3948
3954
|
if (!$dara.isNull(request.pageNumber)) {
|
|
3949
3955
|
query["PageNumber"] = request.pageNumber;
|
|
3950
3956
|
}
|
|
@@ -3971,23 +3977,23 @@ class Client extends openapi_core_1.default {
|
|
|
3971
3977
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishedAppInstanceGroupResponse({}));
|
|
3972
3978
|
}
|
|
3973
3979
|
/**
|
|
3974
|
-
* Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging
|
|
3980
|
+
* Queries the published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging, and supports filtering by delivery group, application, and user authorization status.
|
|
3975
3981
|
*
|
|
3976
3982
|
* @remarks
|
|
3977
|
-
* ##
|
|
3978
|
-
* When
|
|
3979
|
-
*
|
|
3983
|
+
* ## Prerequisites
|
|
3984
|
+
* When you call this operation as a RAM user or by using STS credentials, you must have the `appstreaming:ListPublishedAppInstanceGroup` permission.
|
|
3985
|
+
* Only delivery groups that are in the published state and have deployed applications in their images are included in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
|
|
3980
3986
|
* ## Query and pagination
|
|
3981
|
-
* - **You must explicitly
|
|
3982
|
-
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support
|
|
3983
|
-
* - If an optional filter parameter is not specified or is set to an empty string,
|
|
3984
|
-
* - `ExcludeUserId`
|
|
3985
|
-
* - `AppId` and `AppName` only filter delivery groups
|
|
3986
|
-
* ##
|
|
3987
|
-
* 1.
|
|
3988
|
-
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the
|
|
3989
|
-
* 3. To
|
|
3990
|
-
* The masked
|
|
3987
|
+
* - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** The page number starts from `1`, and the number of entries per page ranges from `1` to `100`.
|
|
3988
|
+
* - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support partial matching. You can specify them individually or in combination. If multiple conditions are specified, all conditions must be met. If both `AppId` and `AppName` are specified, they must be met by the same application.
|
|
3989
|
+
* - If an optional filter parameter is not specified or is set to an empty string, the results are not filtered by this condition. The query results are sorted in descending order of the delivery group creation time. A delivery group is not returned multiple times even if it contains multiple matched applications.
|
|
3990
|
+
* - `ExcludeUserId` is used to exclude delivery groups for which all applications have been directly authorized to a specified user. It cannot be used to determine whether the user has no access permissions at all.
|
|
3991
|
+
* - `AppId` and `AppName` only filter delivery groups and **do not restrict the returned `Apps` list to the matched applications**.
|
|
3992
|
+
* ## Invocation sequence
|
|
3993
|
+
* 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For common scenarios of Wuying Cloud App, set `ProductType` to `CloudApp`.
|
|
3994
|
+
* 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged, and increment `PageNumber`. If no delivery groups match the conditions, the total count is `0` and the list is empty. If the page number exceeds the range of the current results, the list may also be empty, but the total count still represents the total number of all matched delivery groups.
|
|
3995
|
+
* 3. To obtain the details of a single delivery group, pass the complete `AppInstanceGroupId` returned and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
|
|
3996
|
+
* The masked identity in the examples is used to demonstrate the format. Replace it with your actual identity when you invoke the operation.
|
|
3991
3997
|
*
|
|
3992
3998
|
* @param request - ListPublishedAppInstanceGroupRequest
|
|
3993
3999
|
* @returns ListPublishedAppInstanceGroupResponse
|
|
@@ -4887,6 +4893,8 @@ class Client extends openapi_core_1.default {
|
|
|
4887
4893
|
return await this.modifyNodePoolAttributeWithOptions(request, runtime);
|
|
4888
4894
|
}
|
|
4889
4895
|
/**
|
|
4896
|
+
* Shares an image with other WUYING users or cancels the sharing of a shared image.
|
|
4897
|
+
*
|
|
4890
4898
|
* @param request - ModifyShareImageRequest
|
|
4891
4899
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4892
4900
|
* @returns ModifyShareImageResponse
|
|
@@ -4926,6 +4934,8 @@ class Client extends openapi_core_1.default {
|
|
|
4926
4934
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyShareImageResponse({}));
|
|
4927
4935
|
}
|
|
4928
4936
|
/**
|
|
4937
|
+
* Shares an image with other WUYING users or cancels the sharing of a shared image.
|
|
4938
|
+
*
|
|
4929
4939
|
* @param request - ModifyShareImageRequest
|
|
4930
4940
|
* @returns ModifyShareImageResponse
|
|
4931
4941
|
*/
|