@alicloud/appstream-center20210901 5.12.0 → 5.13.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 +237 -132
- package/dist/client.js +414 -132
- package/dist/client.js.map +1 -1
- package/dist/models/BuilderImageByParentRequest.d.ts +56 -56
- package/dist/models/BuilderImageByParentResponseBody.d.ts +5 -5
- package/dist/models/BuilderImageByParentShrinkRequest.d.ts +56 -56
- package/dist/models/CreateAndBindAppRequest.d.ts +9 -9
- package/dist/models/CreateAndBindAppResponseBody.d.ts +9 -9
- package/dist/models/CreateExportTaskRequest.d.ts +51 -0
- package/dist/models/CreateExportTaskRequest.js +65 -0
- package/dist/models/CreateExportTaskRequest.js.map +1 -0
- package/dist/models/CreateExportTaskResponse.d.ts +19 -0
- package/dist/models/CreateExportTaskResponse.js +69 -0
- package/dist/models/CreateExportTaskResponse.js.map +1 -0
- package/dist/models/CreateExportTaskResponseBody.d.ts +94 -0
- package/dist/models/CreateExportTaskResponseBody.js +94 -0
- package/dist/models/CreateExportTaskResponseBody.js.map +1 -0
- package/dist/models/DeleteAdaptorRequest.d.ts +5 -5
- package/dist/models/DeleteAdaptorResponseBody.d.ts +4 -4
- package/dist/models/DeleteAppRequest.d.ts +2 -2
- package/dist/models/DeleteAppResponseBody.d.ts +4 -4
- package/dist/models/DescribeExportTasksRequest.d.ts +51 -0
- package/dist/models/DescribeExportTasksRequest.js +64 -0
- package/dist/models/DescribeExportTasksRequest.js.map +1 -0
- package/dist/models/DescribeExportTasksResponse.d.ts +19 -0
- package/dist/models/DescribeExportTasksResponse.js +69 -0
- package/dist/models/DescribeExportTasksResponse.js.map +1 -0
- package/dist/models/DescribeExportTasksResponseBody.d.ts +132 -0
- package/dist/models/DescribeExportTasksResponseBody.js +102 -0
- package/dist/models/DescribeExportTasksResponseBody.js.map +1 -0
- package/dist/models/GetAgentRuntimeStatisticRequest.d.ts +49 -0
- package/dist/models/GetAgentRuntimeStatisticRequest.js +64 -0
- package/dist/models/GetAgentRuntimeStatisticRequest.js.map +1 -0
- package/dist/models/GetAgentRuntimeStatisticResponse.d.ts +19 -0
- package/dist/models/GetAgentRuntimeStatisticResponse.js +69 -0
- package/dist/models/GetAgentRuntimeStatisticResponse.js.map +1 -0
- package/dist/models/GetAgentRuntimeStatisticResponseBody.d.ts +110 -0
- package/dist/models/GetAgentRuntimeStatisticResponseBody.js +98 -0
- package/dist/models/GetAgentRuntimeStatisticResponseBody.js.map +1 -0
- package/dist/models/GetAuthCodeRequest.d.ts +24 -26
- package/dist/models/GetAuthCodeRequest.js.map +1 -1
- package/dist/models/GetAuthCodeResponseBody.d.ts +10 -14
- package/dist/models/GetAuthCodeResponseBody.js.map +1 -1
- package/dist/models/GetResourceGroupAgentModelSettingsRequest.d.ts +48 -0
- package/dist/models/GetResourceGroupAgentModelSettingsRequest.js +67 -0
- package/dist/models/GetResourceGroupAgentModelSettingsRequest.js.map +1 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponse.d.ts +19 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponse.js +69 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponse.js.map +1 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponseBody.d.ts +70 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponseBody.js +88 -0
- package/dist/models/GetResourceGroupAgentModelSettingsResponseBody.js.map +1 -0
- package/dist/models/GetResourceModifyPriceRequest.d.ts +6 -6
- package/dist/models/GetResourceModifyPriceResponseBody.d.ts +14 -14
- package/dist/models/GetResourceQuotaRequest.d.ts +7 -7
- package/dist/models/GetResourceQuotaResponseBody.d.ts +5 -5
- package/dist/models/GetTaskRequest.d.ts +14 -12
- package/dist/models/GetTaskRequest.js.map +1 -1
- package/dist/models/GetTaskResponseBody.d.ts +64 -58
- package/dist/models/GetTaskResponseBody.js.map +1 -1
- package/dist/models/ListAppInstanceTypeRequest.d.ts +18 -18
- package/dist/models/ListAppInstanceTypeResponseBody.d.ts +15 -15
- package/dist/models/ListAppRequest.d.ts +50 -50
- package/dist/models/ListAppResponseBody.d.ts +48 -48
- package/dist/models/ListAppShrinkRequest.d.ts +50 -50
- package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +17 -19
- package/dist/models/ListDesktopAgentRuntimeRequest.js.map +1 -1
- package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +29 -21
- package/dist/models/ListDesktopAgentRuntimeResponseBody.js +2 -0
- package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
- package/dist/models/ListModelProviderLlmCodesRequest.d.ts +83 -0
- package/dist/models/ListModelProviderLlmCodesRequest.js +80 -0
- package/dist/models/ListModelProviderLlmCodesRequest.js.map +1 -0
- package/dist/models/ListModelProviderLlmCodesResponse.d.ts +19 -0
- package/dist/models/ListModelProviderLlmCodesResponse.js +69 -0
- package/dist/models/ListModelProviderLlmCodesResponse.js.map +1 -0
- package/dist/models/ListModelProviderLlmCodesResponseBody.d.ts +281 -0
- package/dist/models/ListModelProviderLlmCodesResponseBody.js +244 -0
- package/dist/models/ListModelProviderLlmCodesResponseBody.js.map +1 -0
- package/dist/models/ListRegionIdRequest.d.ts +7 -6
- package/dist/models/ListRegionIdRequest.js.map +1 -1
- package/dist/models/ListRegionIdResponseBody.d.ts +3 -3
- package/dist/models/ListTaskStepRequest.d.ts +3 -2
- package/dist/models/ListTaskStepRequest.js.map +1 -1
- package/dist/models/ListTaskStepResponseBody.d.ts +32 -31
- package/dist/models/ListTaskStepResponseBody.js.map +1 -1
- package/dist/models/ModifyAppInstanceGroupChargeTypeRequest.d.ts +20 -20
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponseBody.d.ts +3 -3
- package/dist/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.d.ts +20 -20
- package/dist/models/UnbindAppRequest.d.ts +3 -3
- package/dist/models/UnbindAppResponseBody.d.ts +3 -3
- package/dist/models/UpdateAdaptorRequest.d.ts +4 -4
- package/dist/models/UpdateAdaptorResponseBody.d.ts +2 -2
- package/dist/models/UpdateAdaptorShrinkRequest.d.ts +4 -4
- package/dist/models/UpdateImageRequest.d.ts +3 -3
- package/dist/models/UpdateImageResponseBody.d.ts +4 -4
- package/dist/models/UpdateImageTaskRequest.d.ts +20 -20
- package/dist/models/UpdateImageTaskResponseBody.d.ts +2 -2
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +448 -132
- package/src/models/BuilderImageByParentRequest.ts +56 -56
- package/src/models/BuilderImageByParentResponseBody.ts +5 -5
- package/src/models/BuilderImageByParentShrinkRequest.ts +56 -56
- package/src/models/CreateAndBindAppRequest.ts +9 -9
- package/src/models/CreateAndBindAppResponseBody.ts +9 -9
- package/src/models/CreateExportTaskRequest.ts +71 -0
- package/src/models/CreateExportTaskResponse.ts +40 -0
- package/src/models/CreateExportTaskResponseBody.ts +134 -0
- package/src/models/DeleteAdaptorRequest.ts +5 -5
- package/src/models/DeleteAdaptorResponseBody.ts +4 -4
- package/src/models/DeleteAppRequest.ts +2 -2
- package/src/models/DeleteAppResponseBody.ts +4 -4
- package/src/models/DescribeExportTasksRequest.ts +70 -0
- package/src/models/DescribeExportTasksResponse.ts +40 -0
- package/src/models/DescribeExportTasksResponseBody.ts +180 -0
- package/src/models/GetAgentRuntimeStatisticRequest.ts +68 -0
- package/src/models/GetAgentRuntimeStatisticResponse.ts +40 -0
- package/src/models/GetAgentRuntimeStatisticResponseBody.ts +154 -0
- package/src/models/GetAuthCodeRequest.ts +24 -26
- package/src/models/GetAuthCodeResponseBody.ts +10 -14
- package/src/models/GetResourceGroupAgentModelSettingsRequest.ts +70 -0
- package/src/models/GetResourceGroupAgentModelSettingsResponse.ts +40 -0
- package/src/models/GetResourceGroupAgentModelSettingsResponseBody.ts +104 -0
- package/src/models/GetResourceModifyPriceRequest.ts +6 -6
- package/src/models/GetResourceModifyPriceResponseBody.ts +14 -14
- package/src/models/GetResourceQuotaRequest.ts +7 -7
- package/src/models/GetResourceQuotaResponseBody.ts +5 -5
- package/src/models/GetTaskRequest.ts +14 -12
- package/src/models/GetTaskResponseBody.ts +64 -58
- package/src/models/ListAppInstanceTypeRequest.ts +18 -18
- package/src/models/ListAppInstanceTypeResponseBody.ts +15 -15
- package/src/models/ListAppRequest.ts +50 -50
- package/src/models/ListAppResponseBody.ts +48 -48
- package/src/models/ListAppShrinkRequest.ts +50 -50
- package/src/models/ListDesktopAgentRuntimeRequest.ts +17 -19
- package/src/models/ListDesktopAgentRuntimeResponseBody.ts +31 -21
- package/src/models/ListModelProviderLlmCodesRequest.ts +118 -0
- package/src/models/ListModelProviderLlmCodesResponse.ts +40 -0
- package/src/models/ListModelProviderLlmCodesResponseBody.ts +424 -0
- package/src/models/ListRegionIdRequest.ts +7 -6
- package/src/models/ListRegionIdResponseBody.ts +3 -3
- package/src/models/ListTaskStepRequest.ts +3 -2
- package/src/models/ListTaskStepResponseBody.ts +32 -31
- package/src/models/ModifyAppInstanceGroupChargeTypeRequest.ts +20 -20
- package/src/models/ModifyAppInstanceGroupChargeTypeResponseBody.ts +3 -3
- package/src/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.ts +20 -20
- package/src/models/UnbindAppRequest.ts +3 -3
- package/src/models/UnbindAppResponseBody.ts +3 -3
- package/src/models/UpdateAdaptorRequest.ts +4 -4
- package/src/models/UpdateAdaptorResponseBody.ts +2 -2
- package/src/models/UpdateAdaptorShrinkRequest.ts +4 -4
- package/src/models/UpdateImageRequest.ts +3 -3
- package/src/models/UpdateImageResponseBody.ts +4 -4
- package/src/models/UpdateImageTaskRequest.ts +20 -20
- package/src/models/UpdateImageTaskResponseBody.ts +2 -2
- package/src/models/model.ts +25 -0
package/dist/client.js
CHANGED
|
@@ -389,7 +389,7 @@ class Client extends openapi_core_1.default {
|
|
|
389
389
|
* Creates a custom image based on an existing image and starts an image creation task.
|
|
390
390
|
*
|
|
391
391
|
* @remarks
|
|
392
|
-
* Before you call this operation, make sure that the parent image is available and
|
|
392
|
+
* Before you call this operation, make sure that the parent image is available and an available image distribution record exists in the region where the image is created.
|
|
393
393
|
* 1. Call ListImage to obtain the parent image ID.
|
|
394
394
|
* 2. Specify the creation mode, disk capacity, and resource type, and then call this operation.
|
|
395
395
|
* 3. Save the returned ImageId, VersionId, and TaskId.
|
|
@@ -490,7 +490,7 @@ class Client extends openapi_core_1.default {
|
|
|
490
490
|
* Creates a custom image based on an existing image and starts an image creation task.
|
|
491
491
|
*
|
|
492
492
|
* @remarks
|
|
493
|
-
* Before you call this operation, make sure that the parent image is available and
|
|
493
|
+
* Before you call this operation, make sure that the parent image is available and an available image distribution record exists in the region where the image is created.
|
|
494
494
|
* 1. Call ListImage to obtain the parent image ID.
|
|
495
495
|
* 2. Specify the creation mode, disk capacity, and resource type, and then call this operation.
|
|
496
496
|
* 3. Save the returned ImageId, VersionId, and TaskId.
|
|
@@ -681,7 +681,7 @@ class Client extends openapi_core_1.default {
|
|
|
681
681
|
*
|
|
682
682
|
* @remarks
|
|
683
683
|
* Only custom images and community images that can be managed by the current account are supported. If VersionId is omitted, the current active version of the image is used. If specified, the version must belong to the image specified by ImageId.
|
|
684
|
-
* Call ListImage
|
|
684
|
+
* Call ListImage to select an image first. After the application is created, save the returned AppId, AppVersionId, ImageId, and VersionId. To dissociate the application, call UnbindApp.
|
|
685
685
|
*
|
|
686
686
|
* @param request - CreateAndBindAppRequest
|
|
687
687
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -732,7 +732,7 @@ class Client extends openapi_core_1.default {
|
|
|
732
732
|
*
|
|
733
733
|
* @remarks
|
|
734
734
|
* Only custom images and community images that can be managed by the current account are supported. If VersionId is omitted, the current active version of the image is used. If specified, the version must belong to the image specified by ImageId.
|
|
735
|
-
* Call ListImage
|
|
735
|
+
* Call ListImage to select an image first. After the application is created, save the returned AppId, AppVersionId, ImageId, and VersionId. To dissociate the application, call UnbindApp.
|
|
736
736
|
*
|
|
737
737
|
* @param request - CreateAndBindAppRequest
|
|
738
738
|
* @returns CreateAndBindAppResponse
|
|
@@ -1082,6 +1082,63 @@ class Client extends openapi_core_1.default {
|
|
|
1082
1082
|
let runtime = new $dara.RuntimeOptions({});
|
|
1083
1083
|
return await this.createBrowserInstanceGroupWithOptions(request, runtime);
|
|
1084
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Creates an asynchronous export task to export the WUYING server list, user usage report, cloud browser bookmarks, or URL whitelist.
|
|
1087
|
+
*
|
|
1088
|
+
* @remarks
|
|
1089
|
+
* Creates an export task and returns the task ID and initial status. The exported file is not returned synchronously.
|
|
1090
|
+
* After the task is created, save the TaskId and call DescribeExportTasks to query the task status and progress. A polling interval of 5 to 10 seconds is recommended. When the status is FINISHED, use the DownloadUrl in the latest query result to download the XLSX file. When the status is FAILED, check the ErrorMsg and stop polling.
|
|
1091
|
+
* The task is valid for 24 hours after creation. The download URL has an independent signature validity period of up to 1 hour, which does not exceed the remaining validity period of the task. Query the latest URL before downloading. You cannot obtain a valid download URL after the task expires.
|
|
1092
|
+
* Exporting the WUYING server list only accepts the filter fields listed in QueryParamJson. Pagination is controlled by the server, and a single task can export up to 100,000 records. Exporting cloud browser bookmarks and the URL whitelist exports the complete list of the target delivery group, regardless of list search terms or the current page. The system verifies the delivery group ownership and product type before execution. Data is paginated during execution, and no consistent snapshot is provided. A successful creation does not guarantee that subsequent verification, querying, or file generation will succeed.
|
|
1093
|
+
*
|
|
1094
|
+
* @param request - CreateExportTaskRequest
|
|
1095
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1096
|
+
* @returns CreateExportTaskResponse
|
|
1097
|
+
*/
|
|
1098
|
+
async createExportTaskWithOptions(request, runtime) {
|
|
1099
|
+
request.validate();
|
|
1100
|
+
let body = {};
|
|
1101
|
+
if (!$dara.isNull(request.exportFields)) {
|
|
1102
|
+
body["ExportFields"] = request.exportFields;
|
|
1103
|
+
}
|
|
1104
|
+
if (!$dara.isNull(request.queryParamJson)) {
|
|
1105
|
+
body["QueryParamJson"] = request.queryParamJson;
|
|
1106
|
+
}
|
|
1107
|
+
if (!$dara.isNull(request.taskType)) {
|
|
1108
|
+
body["TaskType"] = request.taskType;
|
|
1109
|
+
}
|
|
1110
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1111
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1112
|
+
});
|
|
1113
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1114
|
+
action: "CreateExportTask",
|
|
1115
|
+
version: "2021-09-01",
|
|
1116
|
+
protocol: "HTTPS",
|
|
1117
|
+
pathname: "/",
|
|
1118
|
+
method: "POST",
|
|
1119
|
+
authType: "AK",
|
|
1120
|
+
style: "RPC",
|
|
1121
|
+
reqBodyType: "formData",
|
|
1122
|
+
bodyType: "json",
|
|
1123
|
+
});
|
|
1124
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateExportTaskResponse({}));
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Creates an asynchronous export task to export the WUYING server list, user usage report, cloud browser bookmarks, or URL whitelist.
|
|
1128
|
+
*
|
|
1129
|
+
* @remarks
|
|
1130
|
+
* Creates an export task and returns the task ID and initial status. The exported file is not returned synchronously.
|
|
1131
|
+
* After the task is created, save the TaskId and call DescribeExportTasks to query the task status and progress. A polling interval of 5 to 10 seconds is recommended. When the status is FINISHED, use the DownloadUrl in the latest query result to download the XLSX file. When the status is FAILED, check the ErrorMsg and stop polling.
|
|
1132
|
+
* The task is valid for 24 hours after creation. The download URL has an independent signature validity period of up to 1 hour, which does not exceed the remaining validity period of the task. Query the latest URL before downloading. You cannot obtain a valid download URL after the task expires.
|
|
1133
|
+
* Exporting the WUYING server list only accepts the filter fields listed in QueryParamJson. Pagination is controlled by the server, and a single task can export up to 100,000 records. Exporting cloud browser bookmarks and the URL whitelist exports the complete list of the target delivery group, regardless of list search terms or the current page. The system verifies the delivery group ownership and product type before execution. Data is paginated during execution, and no consistent snapshot is provided. A successful creation does not guarantee that subsequent verification, querying, or file generation will succeed.
|
|
1134
|
+
*
|
|
1135
|
+
* @param request - CreateExportTaskRequest
|
|
1136
|
+
* @returns CreateExportTaskResponse
|
|
1137
|
+
*/
|
|
1138
|
+
async createExportTask(request) {
|
|
1139
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1140
|
+
return await this.createExportTaskWithOptions(request, runtime);
|
|
1141
|
+
}
|
|
1085
1142
|
/**
|
|
1086
1143
|
* 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.
|
|
1087
1144
|
*
|
|
@@ -1470,13 +1527,13 @@ class Client extends openapi_core_1.default {
|
|
|
1470
1527
|
return await this.createWuyingServerWithOptions(request, runtime);
|
|
1471
1528
|
}
|
|
1472
1529
|
/**
|
|
1473
|
-
* Deletes a specified application
|
|
1530
|
+
* Deletes a specified application adaptation, or dissociates the adaptation from a specified image version.
|
|
1474
1531
|
*
|
|
1475
1532
|
* @remarks
|
|
1476
|
-
* *Confirm the deletion scope.**
|
|
1477
|
-
* - If both ImageId and VersionId are specified:
|
|
1478
|
-
* - If ImageId and VersionId are not both specified:
|
|
1479
|
-
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application
|
|
1533
|
+
* *Confirm the deletion scope first.**
|
|
1534
|
+
* - If both ImageId and VersionId are specified: only the association between the adaptation and the specified image version is dissociated.
|
|
1535
|
+
* - If ImageId and VersionId are not both specified: the adaptation deletion process starts. The adaptation cannot be deleted if it is still referenced by multiple images. If the application still has other adaptations, the application cannot be deleted along with it.
|
|
1536
|
+
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application adaptation.** Verify these identifiers by querying the application and image first.
|
|
1480
1537
|
*
|
|
1481
1538
|
* @param request - DeleteAdaptorRequest
|
|
1482
1539
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1517,13 +1574,13 @@ class Client extends openapi_core_1.default {
|
|
|
1517
1574
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAdaptorResponse({}));
|
|
1518
1575
|
}
|
|
1519
1576
|
/**
|
|
1520
|
-
* Deletes a specified application
|
|
1577
|
+
* Deletes a specified application adaptation, or dissociates the adaptation from a specified image version.
|
|
1521
1578
|
*
|
|
1522
1579
|
* @remarks
|
|
1523
|
-
* *Confirm the deletion scope.**
|
|
1524
|
-
* - If both ImageId and VersionId are specified:
|
|
1525
|
-
* - If ImageId and VersionId are not both specified:
|
|
1526
|
-
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application
|
|
1580
|
+
* *Confirm the deletion scope first.**
|
|
1581
|
+
* - If both ImageId and VersionId are specified: only the association between the adaptation and the specified image version is dissociated.
|
|
1582
|
+
* - If ImageId and VersionId are not both specified: the adaptation deletion process starts. The adaptation cannot be deleted if it is still referenced by multiple images. If the application still has other adaptations, the application cannot be deleted along with it.
|
|
1583
|
+
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application adaptation.** Verify these identifiers by querying the application and image first.
|
|
1527
1584
|
*
|
|
1528
1585
|
* @param request - DeleteAdaptorRequest
|
|
1529
1586
|
* @returns DeleteAdaptorResponse
|
|
@@ -1538,7 +1595,7 @@ class Client extends openapi_core_1.default {
|
|
|
1538
1595
|
* @remarks
|
|
1539
1596
|
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1540
1597
|
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1541
|
-
* 2. Use UnbindApp or DeleteAdaptor to dissociate related image associations.
|
|
1598
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate the related image associations.
|
|
1542
1599
|
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1543
1600
|
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1544
1601
|
*
|
|
@@ -1577,7 +1634,7 @@ class Client extends openapi_core_1.default {
|
|
|
1577
1634
|
* @remarks
|
|
1578
1635
|
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1579
1636
|
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1580
|
-
* 2. Use UnbindApp or DeleteAdaptor to dissociate related image associations.
|
|
1637
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate the related image associations.
|
|
1581
1638
|
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1582
1639
|
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1583
1640
|
*
|
|
@@ -2068,6 +2125,70 @@ class Client extends openapi_core_1.default {
|
|
|
2068
2125
|
let runtime = new $dara.RuntimeOptions({});
|
|
2069
2126
|
return await this.describeEventsWithOptions(request, runtime);
|
|
2070
2127
|
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Queries the execution status, progress, and download URLs of export tasks by using paging.
|
|
2130
|
+
*
|
|
2131
|
+
* @remarks
|
|
2132
|
+
* Calls this operation to use paging to query the export tasks under the current Alibaba Cloud account to obtain the task status, execution progress, export file names, and download URLs. Export tasks are created by calling CreateExportTask. This operation only reads task information and does not create, modify, or retry tasks.
|
|
2133
|
+
* The query results are returned in descending order of task creation time, with the most recently created tasks listed first. Only tasks in the INIT, RUNNING, FINISHED, and FAILED states are returned. Tasks marked as EXPIRED are not included in the results.
|
|
2134
|
+
* When polling a single task by TaskId, set PageNumber to 1 and PageSize to 1, set the polling interval to 5 to 10 seconds, and stop polling after the task enters the FINISHED or FAILED state.
|
|
2135
|
+
* A task is valid for 24 hours after creation and is marked as expired by a background task after 25 hours. Therefore, within the 24- to 25-hour window, a FINISHED task may still be queried, but its DownloadUrl is empty. After a task is marked as expired, the query result is an empty array.
|
|
2136
|
+
* If the query result is an empty array, it may be because there are no visible tasks under the current account, the task type does not match, the page number is out of bounds, or the tasks have expired. This operation always returns an array structure and does not return an error when the query result is empty.
|
|
2137
|
+
* DownloadUrl is an OSS pre-signed URL. The default maximum validity period is 1 hour and does not exceed the remaining validity period of the task. The server automatically refreshes the URL when it is about to expire. Use the URL returned by the most recent query for downloading and do not cache the initially returned URL for a long time.
|
|
2138
|
+
*
|
|
2139
|
+
* @param request - DescribeExportTasksRequest
|
|
2140
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2141
|
+
* @returns DescribeExportTasksResponse
|
|
2142
|
+
*/
|
|
2143
|
+
async describeExportTasksWithOptions(request, runtime) {
|
|
2144
|
+
request.validate();
|
|
2145
|
+
let body = {};
|
|
2146
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2147
|
+
body["PageNumber"] = request.pageNumber;
|
|
2148
|
+
}
|
|
2149
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2150
|
+
body["PageSize"] = request.pageSize;
|
|
2151
|
+
}
|
|
2152
|
+
if (!$dara.isNull(request.taskId)) {
|
|
2153
|
+
body["TaskId"] = request.taskId;
|
|
2154
|
+
}
|
|
2155
|
+
if (!$dara.isNull(request.taskType)) {
|
|
2156
|
+
body["TaskType"] = request.taskType;
|
|
2157
|
+
}
|
|
2158
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2159
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2160
|
+
});
|
|
2161
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2162
|
+
action: "DescribeExportTasks",
|
|
2163
|
+
version: "2021-09-01",
|
|
2164
|
+
protocol: "HTTPS",
|
|
2165
|
+
pathname: "/",
|
|
2166
|
+
method: "POST",
|
|
2167
|
+
authType: "AK",
|
|
2168
|
+
style: "RPC",
|
|
2169
|
+
reqBodyType: "formData",
|
|
2170
|
+
bodyType: "json",
|
|
2171
|
+
});
|
|
2172
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeExportTasksResponse({}));
|
|
2173
|
+
}
|
|
2174
|
+
/**
|
|
2175
|
+
* Queries the execution status, progress, and download URLs of export tasks by using paging.
|
|
2176
|
+
*
|
|
2177
|
+
* @remarks
|
|
2178
|
+
* Calls this operation to use paging to query the export tasks under the current Alibaba Cloud account to obtain the task status, execution progress, export file names, and download URLs. Export tasks are created by calling CreateExportTask. This operation only reads task information and does not create, modify, or retry tasks.
|
|
2179
|
+
* The query results are returned in descending order of task creation time, with the most recently created tasks listed first. Only tasks in the INIT, RUNNING, FINISHED, and FAILED states are returned. Tasks marked as EXPIRED are not included in the results.
|
|
2180
|
+
* When polling a single task by TaskId, set PageNumber to 1 and PageSize to 1, set the polling interval to 5 to 10 seconds, and stop polling after the task enters the FINISHED or FAILED state.
|
|
2181
|
+
* A task is valid for 24 hours after creation and is marked as expired by a background task after 25 hours. Therefore, within the 24- to 25-hour window, a FINISHED task may still be queried, but its DownloadUrl is empty. After a task is marked as expired, the query result is an empty array.
|
|
2182
|
+
* If the query result is an empty array, it may be because there are no visible tasks under the current account, the task type does not match, the page number is out of bounds, or the tasks have expired. This operation always returns an array structure and does not return an error when the query result is empty.
|
|
2183
|
+
* DownloadUrl is an OSS pre-signed URL. The default maximum validity period is 1 hour and does not exceed the remaining validity period of the task. The server automatically refreshes the URL when it is about to expire. Use the URL returned by the most recent query for downloading and do not cache the initially returned URL for a long time.
|
|
2184
|
+
*
|
|
2185
|
+
* @param request - DescribeExportTasksRequest
|
|
2186
|
+
* @returns DescribeExportTasksResponse
|
|
2187
|
+
*/
|
|
2188
|
+
async describeExportTasks(request) {
|
|
2189
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2190
|
+
return await this.describeExportTasksWithOptions(request, runtime);
|
|
2191
|
+
}
|
|
2071
2192
|
/**
|
|
2072
2193
|
* Queries the details of a development host.
|
|
2073
2194
|
*
|
|
@@ -2149,6 +2270,54 @@ class Client extends openapi_core_1.default {
|
|
|
2149
2270
|
let runtime = new $dara.RuntimeOptions({});
|
|
2150
2271
|
return await this.describeWuyingServerEipInfoWithOptions(request, runtime);
|
|
2151
2272
|
}
|
|
2273
|
+
/**
|
|
2274
|
+
* Queries the statistics of runtimes of a specified type under the current Alibaba Cloud account, grouped by agent platform and agent provider, including the total number of runtimes, the number of runtimes without model configurations, the number of runtimes without channel configurations, the number of risky runtimes, and the number of expired runtimes.
|
|
2275
|
+
*
|
|
2276
|
+
* @param request - GetAgentRuntimeStatisticRequest
|
|
2277
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2278
|
+
* @returns GetAgentRuntimeStatisticResponse
|
|
2279
|
+
*/
|
|
2280
|
+
async getAgentRuntimeStatisticWithOptions(request, runtime) {
|
|
2281
|
+
request.validate();
|
|
2282
|
+
let query = {};
|
|
2283
|
+
if (!$dara.isNull(request.agentPlatform)) {
|
|
2284
|
+
query["AgentPlatform"] = request.agentPlatform;
|
|
2285
|
+
}
|
|
2286
|
+
if (!$dara.isNull(request.agentProvider)) {
|
|
2287
|
+
query["AgentProvider"] = request.agentProvider;
|
|
2288
|
+
}
|
|
2289
|
+
if (!$dara.isNull(request.bizType)) {
|
|
2290
|
+
query["BizType"] = request.bizType;
|
|
2291
|
+
}
|
|
2292
|
+
if (!$dara.isNull(request.runtimeType)) {
|
|
2293
|
+
query["RuntimeType"] = request.runtimeType;
|
|
2294
|
+
}
|
|
2295
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2296
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2297
|
+
});
|
|
2298
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2299
|
+
action: "GetAgentRuntimeStatistic",
|
|
2300
|
+
version: "2021-09-01",
|
|
2301
|
+
protocol: "HTTPS",
|
|
2302
|
+
pathname: "/",
|
|
2303
|
+
method: "POST",
|
|
2304
|
+
authType: "AK",
|
|
2305
|
+
style: "RPC",
|
|
2306
|
+
reqBodyType: "formData",
|
|
2307
|
+
bodyType: "json",
|
|
2308
|
+
});
|
|
2309
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentRuntimeStatisticResponse({}));
|
|
2310
|
+
}
|
|
2311
|
+
/**
|
|
2312
|
+
* Queries the statistics of runtimes of a specified type under the current Alibaba Cloud account, grouped by agent platform and agent provider, including the total number of runtimes, the number of runtimes without model configurations, the number of runtimes without channel configurations, the number of risky runtimes, and the number of expired runtimes.
|
|
2313
|
+
*
|
|
2314
|
+
* @param request - GetAgentRuntimeStatisticRequest
|
|
2315
|
+
* @returns GetAgentRuntimeStatisticResponse
|
|
2316
|
+
*/
|
|
2317
|
+
async getAgentRuntimeStatistic(request) {
|
|
2318
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2319
|
+
return await this.getAgentRuntimeStatisticWithOptions(request, runtime);
|
|
2320
|
+
}
|
|
2152
2321
|
/**
|
|
2153
2322
|
* Queries the details of a specified delivery group.
|
|
2154
2323
|
*
|
|
@@ -2192,12 +2361,12 @@ class Client extends openapi_core_1.default {
|
|
|
2192
2361
|
return await this.getAppInstanceGroupWithOptions(request, runtime);
|
|
2193
2362
|
}
|
|
2194
2363
|
/**
|
|
2195
|
-
* Retrieves the connection authorization code and required resource information for an existing image or application
|
|
2364
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application creation task.
|
|
2196
2365
|
*
|
|
2197
2366
|
* @remarks
|
|
2198
|
-
* Before calling this operation, you must create a task, and the
|
|
2199
|
-
* 1. Obtain TaskId and
|
|
2200
|
-
* 2. Specify ResourceType to obtain the connection information for the
|
|
2367
|
+
* Before calling this operation, you must create a task, and the creation or validation resources corresponding to the task must be available.
|
|
2368
|
+
* 1. Obtain the TaskId and actual TaskType from the response of the task creation operation or GetTask.
|
|
2369
|
+
* 2. Specify ResourceType to obtain the connection information for the creation or validation environment.
|
|
2201
2370
|
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
2202
2371
|
* The authorization code is a sensitive connection credential. Do not record it in public documents or logs. When specifying AppId, you must also specify the matching AppVersionId.
|
|
2203
2372
|
*
|
|
@@ -2243,12 +2412,12 @@ class Client extends openapi_core_1.default {
|
|
|
2243
2412
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuthCodeResponse({}));
|
|
2244
2413
|
}
|
|
2245
2414
|
/**
|
|
2246
|
-
* Retrieves the connection authorization code and required resource information for an existing image or application
|
|
2415
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application creation task.
|
|
2247
2416
|
*
|
|
2248
2417
|
* @remarks
|
|
2249
|
-
* Before calling this operation, you must create a task, and the
|
|
2250
|
-
* 1. Obtain TaskId and
|
|
2251
|
-
* 2. Specify ResourceType to obtain the connection information for the
|
|
2418
|
+
* Before calling this operation, you must create a task, and the creation or validation resources corresponding to the task must be available.
|
|
2419
|
+
* 1. Obtain the TaskId and actual TaskType from the response of the task creation operation or GetTask.
|
|
2420
|
+
* 2. Specify ResourceType to obtain the connection information for the creation or validation environment.
|
|
2252
2421
|
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
2253
2422
|
* The authorization code is a sensitive connection credential. Do not record it in public documents or logs. When specifying AppId, you must also specify the matching AppVersionId.
|
|
2254
2423
|
*
|
|
@@ -2591,25 +2760,73 @@ class Client extends openapi_core_1.default {
|
|
|
2591
2760
|
return await this.getOtaTaskByTaskIdWithOptions(request, runtime);
|
|
2592
2761
|
}
|
|
2593
2762
|
/**
|
|
2594
|
-
* Queries the
|
|
2763
|
+
* Queries the model settings of resource groups.
|
|
2764
|
+
*
|
|
2765
|
+
* @param request - GetResourceGroupAgentModelSettingsRequest
|
|
2766
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2767
|
+
* @returns GetResourceGroupAgentModelSettingsResponse
|
|
2768
|
+
*/
|
|
2769
|
+
async getResourceGroupAgentModelSettingsWithOptions(request, runtime) {
|
|
2770
|
+
request.validate();
|
|
2771
|
+
let query = {};
|
|
2772
|
+
if (!$dara.isNull(request.agentPlatform)) {
|
|
2773
|
+
query["AgentPlatform"] = request.agentPlatform;
|
|
2774
|
+
}
|
|
2775
|
+
if (!$dara.isNull(request.agentProvider)) {
|
|
2776
|
+
query["AgentProvider"] = request.agentProvider;
|
|
2777
|
+
}
|
|
2778
|
+
if (!$dara.isNull(request.bizType)) {
|
|
2779
|
+
query["BizType"] = request.bizType;
|
|
2780
|
+
}
|
|
2781
|
+
if (!$dara.isNull(request.resourceGroupIds)) {
|
|
2782
|
+
query["ResourceGroupIds"] = request.resourceGroupIds;
|
|
2783
|
+
}
|
|
2784
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2785
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2786
|
+
});
|
|
2787
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2788
|
+
action: "GetResourceGroupAgentModelSettings",
|
|
2789
|
+
version: "2021-09-01",
|
|
2790
|
+
protocol: "HTTPS",
|
|
2791
|
+
pathname: "/",
|
|
2792
|
+
method: "POST",
|
|
2793
|
+
authType: "AK",
|
|
2794
|
+
style: "RPC",
|
|
2795
|
+
reqBodyType: "formData",
|
|
2796
|
+
bodyType: "json",
|
|
2797
|
+
});
|
|
2798
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceGroupAgentModelSettingsResponse({}));
|
|
2799
|
+
}
|
|
2800
|
+
/**
|
|
2801
|
+
* Queries the model settings of resource groups.
|
|
2802
|
+
*
|
|
2803
|
+
* @param request - GetResourceGroupAgentModelSettingsRequest
|
|
2804
|
+
* @returns GetResourceGroupAgentModelSettingsResponse
|
|
2805
|
+
*/
|
|
2806
|
+
async getResourceGroupAgentModelSettings(request) {
|
|
2807
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2808
|
+
return await this.getResourceGroupAgentModelSettingsWithOptions(request, runtime);
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* Queries the pricing and discount information required to scale out a subscription delivery group to a specified total number of nodes.
|
|
2595
2812
|
*
|
|
2596
2813
|
* @remarks
|
|
2597
|
-
* This operation queries the resource scale-out
|
|
2598
|
-
* **
|
|
2814
|
+
* This operation queries the resource scale-out price of an existing delivery group. A successful call returns only a quote and does not create an order or add nodes.
|
|
2815
|
+
* **Verify the following conditions before you call this operation:**
|
|
2599
2816
|
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
2600
|
-
* - The product type is
|
|
2817
|
+
* - The product type is WUYING Cloud App or Cloud Browser, and the billing method is subscription and billed by node. Pay-as-you-go or browser groups billed by monthly active user (MAU) are not supported.
|
|
2601
2818
|
* - The order status of the delivery group is normal, a resource node pool is associated, and no paid but ineffective renewal or scale-in orders exist.
|
|
2602
|
-
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the corresponding region, product, and billing method
|
|
2819
|
+
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the account in the corresponding region, product, and billing method.
|
|
2603
2820
|
* **Parameter relationships:**
|
|
2604
|
-
* - ProductType, AppInstanceGroupId, and Amount are all required
|
|
2821
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required and must be specified together.
|
|
2605
2822
|
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
2606
|
-
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be
|
|
2607
|
-
* **
|
|
2608
|
-
* 1.
|
|
2609
|
-
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the
|
|
2610
|
-
* 3. After confirming the quote, if you
|
|
2823
|
+
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be specified.
|
|
2824
|
+
* **Procedure:**
|
|
2825
|
+
* 1. Confirm the target delivery group and the current number of purchased nodes. For common scenarios of cloud apps, you can first invoke [ListAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/ListAppInstanceGroup) to obtain the identity, and then invoke [GetAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/GetAppInstanceGroup) to query the configuration and `NodePool.NodeAmount`.
|
|
2826
|
+
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the price, coupons, and pricing rules.
|
|
2827
|
+
* 3. After confirming the quote, if you want to execute the scale-out, you can invoke [ModifyNodePoolAmount](https://api.aliyun.com/document/appstream-center/2021-09-01/ModifyNodePoolAmount) and specify the target total number in `NodePool.NodeAmount` as required by the operation. **A successful price inquiry does not mean that an order is created or the scale-out is completed.**
|
|
2611
2828
|
* **Example scenario:**
|
|
2612
|
-
* If a cloud app delivery group currently has 1 purchased subscription node and
|
|
2829
|
+
* If a cloud app delivery group currently has 1 purchased subscription node and you want to scale out to 2 nodes, specify ProductType=CloudApp, the AppInstanceGroupId of the delivery group, and Amount=2. Replace the masked resource IDs with the actual values under the current account. The example quantities do not represent default values or quota limits. The price examples only illustrate the relationship among the original price, discount amount, and final price, and do not represent the fixed selling price of the specifications.
|
|
2613
2830
|
*
|
|
2614
2831
|
* @param request - GetResourceModifyPriceRequest
|
|
2615
2832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2644,25 +2861,25 @@ class Client extends openapi_core_1.default {
|
|
|
2644
2861
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceModifyPriceResponse({}));
|
|
2645
2862
|
}
|
|
2646
2863
|
/**
|
|
2647
|
-
* Queries the pricing and discount information
|
|
2864
|
+
* Queries the pricing and discount information required to scale out a subscription delivery group to a specified total number of nodes.
|
|
2648
2865
|
*
|
|
2649
2866
|
* @remarks
|
|
2650
|
-
* This operation queries the resource scale-out
|
|
2651
|
-
* **
|
|
2867
|
+
* This operation queries the resource scale-out price of an existing delivery group. A successful call returns only a quote and does not create an order or add nodes.
|
|
2868
|
+
* **Verify the following conditions before you call this operation:**
|
|
2652
2869
|
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
2653
|
-
* - The product type is
|
|
2870
|
+
* - The product type is WUYING Cloud App or Cloud Browser, and the billing method is subscription and billed by node. Pay-as-you-go or browser groups billed by monthly active user (MAU) are not supported.
|
|
2654
2871
|
* - The order status of the delivery group is normal, a resource node pool is associated, and no paid but ineffective renewal or scale-in orders exist.
|
|
2655
|
-
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the corresponding region, product, and billing method
|
|
2872
|
+
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the account in the corresponding region, product, and billing method.
|
|
2656
2873
|
* **Parameter relationships:**
|
|
2657
|
-
* - ProductType, AppInstanceGroupId, and Amount are all required
|
|
2874
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required and must be specified together.
|
|
2658
2875
|
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
2659
|
-
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be
|
|
2660
|
-
* **
|
|
2661
|
-
* 1.
|
|
2662
|
-
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the
|
|
2663
|
-
* 3. After confirming the quote, if you
|
|
2876
|
+
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be specified.
|
|
2877
|
+
* **Procedure:**
|
|
2878
|
+
* 1. Confirm the target delivery group and the current number of purchased nodes. For common scenarios of cloud apps, you can first invoke [ListAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/ListAppInstanceGroup) to obtain the identity, and then invoke [GetAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/GetAppInstanceGroup) to query the configuration and `NodePool.NodeAmount`.
|
|
2879
|
+
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the price, coupons, and pricing rules.
|
|
2880
|
+
* 3. After confirming the quote, if you want to execute the scale-out, you can invoke [ModifyNodePoolAmount](https://api.aliyun.com/document/appstream-center/2021-09-01/ModifyNodePoolAmount) and specify the target total number in `NodePool.NodeAmount` as required by the operation. **A successful price inquiry does not mean that an order is created or the scale-out is completed.**
|
|
2664
2881
|
* **Example scenario:**
|
|
2665
|
-
* If a cloud app delivery group currently has 1 purchased subscription node and
|
|
2882
|
+
* If a cloud app delivery group currently has 1 purchased subscription node and you want to scale out to 2 nodes, specify ProductType=CloudApp, the AppInstanceGroupId of the delivery group, and Amount=2. Replace the masked resource IDs with the actual values under the current account. The example quantities do not represent default values or quota limits. The price examples only illustrate the relationship among the original price, discount amount, and final price, and do not represent the fixed selling price of the specifications.
|
|
2666
2883
|
*
|
|
2667
2884
|
* @param request - GetResourceModifyPriceRequest
|
|
2668
2885
|
* @returns GetResourceModifyPriceResponse
|
|
@@ -2737,15 +2954,15 @@ class Client extends openapi_core_1.default {
|
|
|
2737
2954
|
* @remarks
|
|
2738
2955
|
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
2739
2956
|
* **Parameter relationships:**
|
|
2740
|
-
* -
|
|
2741
|
-
* -
|
|
2957
|
+
* - ResourceType and ProductType are required.
|
|
2958
|
+
* - BizRegionId and ChargeType are optional query conditions and can be specified at the same time. They must be consistent with subsequent purchase or authorization operations.
|
|
2742
2959
|
* - If the region or billing method is omitted, the general quota for the corresponding dimension is queried. The quotas of different regions or billing methods are not added together.
|
|
2743
2960
|
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
2744
2961
|
* **Call sequence:**
|
|
2745
|
-
* 1. Select the resource type, product, business region, and billing method
|
|
2746
|
-
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before
|
|
2747
|
-
* 3. Query the current usage in combination with the resources, and then verify the current operation
|
|
2748
|
-
*
|
|
2962
|
+
* 1. Select the resource type, product, business region, and billing method for the payer based on subsequent business needs.
|
|
2963
|
+
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before authorizing an authorized user, and query `PoolNodeAmount` before purchasing or scaling out nodes.
|
|
2964
|
+
* 3. Query the current usage in combination with the resources, and then verify the current operation through subsequent creation, authorization, or scale-out operations. **This query does not reserve quotas or guarantee the success of subsequent purchases.**
|
|
2965
|
+
* Data=2147483647 indicates that no smaller quota limit is obtained in this query. It does not mean that the physical inventory is unlimited.
|
|
2749
2966
|
*
|
|
2750
2967
|
* @param request - GetResourceQuotaRequest
|
|
2751
2968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2788,15 +3005,15 @@ class Client extends openapi_core_1.default {
|
|
|
2788
3005
|
* @remarks
|
|
2789
3006
|
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
2790
3007
|
* **Parameter relationships:**
|
|
2791
|
-
* -
|
|
2792
|
-
* -
|
|
3008
|
+
* - ResourceType and ProductType are required.
|
|
3009
|
+
* - BizRegionId and ChargeType are optional query conditions and can be specified at the same time. They must be consistent with subsequent purchase or authorization operations.
|
|
2793
3010
|
* - If the region or billing method is omitted, the general quota for the corresponding dimension is queried. The quotas of different regions or billing methods are not added together.
|
|
2794
3011
|
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
2795
3012
|
* **Call sequence:**
|
|
2796
|
-
* 1. Select the resource type, product, business region, and billing method
|
|
2797
|
-
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before
|
|
2798
|
-
* 3. Query the current usage in combination with the resources, and then verify the current operation
|
|
2799
|
-
*
|
|
3013
|
+
* 1. Select the resource type, product, business region, and billing method for the payer based on subsequent business needs.
|
|
3014
|
+
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before authorizing an authorized user, and query `PoolNodeAmount` before purchasing or scaling out nodes.
|
|
3015
|
+
* 3. Query the current usage in combination with the resources, and then verify the current operation through subsequent creation, authorization, or scale-out operations. **This query does not reserve quotas or guarantee the success of subsequent purchases.**
|
|
3016
|
+
* Data=2147483647 indicates that no smaller quota limit is obtained in this query. It does not mean that the physical inventory is unlimited.
|
|
2800
3017
|
*
|
|
2801
3018
|
* @param request - GetResourceQuotaRequest
|
|
2802
3019
|
* @returns GetResourceQuotaResponse
|
|
@@ -2977,9 +3194,9 @@ class Client extends openapi_core_1.default {
|
|
|
2977
3194
|
*
|
|
2978
3195
|
* @remarks
|
|
2979
3196
|
* Supports two query methods:
|
|
2980
|
-
* - **
|
|
2981
|
-
* - **
|
|
2982
|
-
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not
|
|
3197
|
+
* - **By task ID**: Pass the TaskId parameter. This method takes precedence over querying by resource information.
|
|
3198
|
+
* - **By resource**: Omit the TaskId parameter, and pass the EntityId, EntityType, and TaskCategory parameters at the same time. You can use the EntityVersionId parameter to specify the resource version.
|
|
3199
|
+
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not mean the entire task is successful. You can call the ListTaskStep operation to query the names and categories of image creation and application adaptation steps.
|
|
2983
3200
|
*
|
|
2984
3201
|
* @param request - GetTaskRequest
|
|
2985
3202
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3027,9 +3244,9 @@ class Client extends openapi_core_1.default {
|
|
|
3027
3244
|
*
|
|
3028
3245
|
* @remarks
|
|
3029
3246
|
* Supports two query methods:
|
|
3030
|
-
* - **
|
|
3031
|
-
* - **
|
|
3032
|
-
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not
|
|
3247
|
+
* - **By task ID**: Pass the TaskId parameter. This method takes precedence over querying by resource information.
|
|
3248
|
+
* - **By resource**: Omit the TaskId parameter, and pass the EntityId, EntityType, and TaskCategory parameters at the same time. You can use the EntityVersionId parameter to specify the resource version.
|
|
3249
|
+
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not mean the entire task is successful. You can call the ListTaskStep operation to query the names and categories of image creation and application adaptation steps.
|
|
3033
3250
|
*
|
|
3034
3251
|
* @param request - GetTaskRequest
|
|
3035
3252
|
* @returns GetTaskResponse
|
|
@@ -3039,11 +3256,11 @@ class Client extends openapi_core_1.default {
|
|
|
3039
3256
|
return await this.getTaskWithOptions(request, runtime);
|
|
3040
3257
|
}
|
|
3041
3258
|
/**
|
|
3042
|
-
*
|
|
3259
|
+
* Queries the valid applications of the current account by paging based on conditions such as the application ID, name, type, and associated product.
|
|
3043
3260
|
*
|
|
3044
3261
|
* @remarks
|
|
3045
|
-
* When multiple filter conditions are specified
|
|
3046
|
-
* If PageSize is omitted, the value is 10.
|
|
3262
|
+
* When multiple filter conditions are specified at the same time, they take effect together. AppName supports contains matching. When a single-value filter and the corresponding list filter are specified at the same time, the intersection is used. To avoid empty results, specify only one of the forms.
|
|
3263
|
+
* If PageSize is omitted, the value is 10. Start from 1 for PageNumber and query page by page until the number of retrieved records reaches Count. Before deleting an application, check Deletable.
|
|
3047
3264
|
*
|
|
3048
3265
|
* @param tmpReq - ListAppRequest
|
|
3049
3266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3113,11 +3330,11 @@ class Client extends openapi_core_1.default {
|
|
|
3113
3330
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppResponse({}));
|
|
3114
3331
|
}
|
|
3115
3332
|
/**
|
|
3116
|
-
*
|
|
3333
|
+
* Queries the valid applications of the current account by paging based on conditions such as the application ID, name, type, and associated product.
|
|
3117
3334
|
*
|
|
3118
3335
|
* @remarks
|
|
3119
|
-
* When multiple filter conditions are specified
|
|
3120
|
-
* If PageSize is omitted, the value is 10.
|
|
3336
|
+
* When multiple filter conditions are specified at the same time, they take effect together. AppName supports contains matching. When a single-value filter and the corresponding list filter are specified at the same time, the intersection is used. To avoid empty results, specify only one of the forms.
|
|
3337
|
+
* If PageSize is omitted, the value is 10. Start from 1 for PageNumber and query page by page until the number of retrieved records reaches Count. Before deleting an application, check Deletable.
|
|
3121
3338
|
*
|
|
3122
3339
|
* @param request - ListAppRequest
|
|
3123
3340
|
* @returns ListAppResponse
|
|
@@ -3210,19 +3427,19 @@ class Client extends openapi_core_1.default {
|
|
|
3210
3427
|
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
3211
3428
|
*
|
|
3212
3429
|
* @remarks
|
|
3213
|
-
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types
|
|
3430
|
+
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types for the account and the business region. An empty result does not indicate a request failure.
|
|
3214
3431
|
* **Filtering and pagination:**
|
|
3215
|
-
* - ProductType is required. Explicitly specify BizRegionId
|
|
3216
|
-
* - If BizRegionId is not provided, the region of the current request is used. You can call [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) to obtain the business region.
|
|
3217
|
-
* -
|
|
3218
|
-
* -
|
|
3219
|
-
* - PageNumber
|
|
3432
|
+
* - `ProductType` is required. Explicitly specify `BizRegionId`, `PageNumber`, and `PageSize`.
|
|
3433
|
+
* - If `BizRegionId` is not provided, the region of the current request is used. You can call the [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) operation to obtain the business region.
|
|
3434
|
+
* - You can specify both `AppInstanceType` and `AppInstanceTypeList`. In this case, only the instance types that meet both conditions are returned. Neither parameter overrides the other. The list can contain up to 100 items.
|
|
3435
|
+
* - The instance type family, CPU, memory, GPU memory, operating system, and category conditions are filtered by intersection. The union is not automatically applied.
|
|
3436
|
+
* - Pass `PageNumber` starting from 1. Use `TotalCount`, `PageSize`, and `PageNumber` to continue pagination until all matching results are read.
|
|
3220
3437
|
* **Inventory and subsequent calls:**
|
|
3221
|
-
* - Inventory is queried only when QueryInventory is set to true
|
|
3438
|
+
* - Inventory is queried only when `QueryInventory` is set to `true`. If inventory information is not obtained, do not assume that the inventory is 0.
|
|
3222
3439
|
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
3223
|
-
* - After obtaining the AppInstanceType
|
|
3224
|
-
* - The current query does not use AppCenterImageId to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3225
|
-
* Field examples are used to demonstrate how to
|
|
3440
|
+
* - After obtaining the `AppInstanceType`, you can query the price based on the session instance type parameter requirements of [GetResourcePrice](https://api.aliyun.com/document/appstream-center/2021-09-01/GetResourcePrice).
|
|
3441
|
+
* - The current query does not use `AppCenterImageId` to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3442
|
+
* Field examples are used to demonstrate how to fill in the fields and do not guarantee that the example instance types exist in the selected region or account. The GPU count field currently does not provide a value. Use the GPU memory field to understand the instance type.
|
|
3226
3443
|
*
|
|
3227
3444
|
* @param request - ListAppInstanceTypeRequest
|
|
3228
3445
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3299,19 +3516,19 @@ class Client extends openapi_core_1.default {
|
|
|
3299
3516
|
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
3300
3517
|
*
|
|
3301
3518
|
* @remarks
|
|
3302
|
-
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types
|
|
3519
|
+
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types for the account and the business region. An empty result does not indicate a request failure.
|
|
3303
3520
|
* **Filtering and pagination:**
|
|
3304
|
-
* - ProductType is required. Explicitly specify BizRegionId
|
|
3305
|
-
* - If BizRegionId is not provided, the region of the current request is used. You can call [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) to obtain the business region.
|
|
3306
|
-
* -
|
|
3307
|
-
* -
|
|
3308
|
-
* - PageNumber
|
|
3521
|
+
* - `ProductType` is required. Explicitly specify `BizRegionId`, `PageNumber`, and `PageSize`.
|
|
3522
|
+
* - If `BizRegionId` is not provided, the region of the current request is used. You can call the [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) operation to obtain the business region.
|
|
3523
|
+
* - You can specify both `AppInstanceType` and `AppInstanceTypeList`. In this case, only the instance types that meet both conditions are returned. Neither parameter overrides the other. The list can contain up to 100 items.
|
|
3524
|
+
* - The instance type family, CPU, memory, GPU memory, operating system, and category conditions are filtered by intersection. The union is not automatically applied.
|
|
3525
|
+
* - Pass `PageNumber` starting from 1. Use `TotalCount`, `PageSize`, and `PageNumber` to continue pagination until all matching results are read.
|
|
3309
3526
|
* **Inventory and subsequent calls:**
|
|
3310
|
-
* - Inventory is queried only when QueryInventory is set to true
|
|
3527
|
+
* - Inventory is queried only when `QueryInventory` is set to `true`. If inventory information is not obtained, do not assume that the inventory is 0.
|
|
3311
3528
|
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
3312
|
-
* - After obtaining the AppInstanceType
|
|
3313
|
-
* - The current query does not use AppCenterImageId to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3314
|
-
* Field examples are used to demonstrate how to
|
|
3529
|
+
* - After obtaining the `AppInstanceType`, you can query the price based on the session instance type parameter requirements of [GetResourcePrice](https://api.aliyun.com/document/appstream-center/2021-09-01/GetResourcePrice).
|
|
3530
|
+
* - The current query does not use `AppCenterImageId` to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3531
|
+
* Field examples are used to demonstrate how to fill in the fields and do not guarantee that the example instance types exist in the selected region or account. The GPU count field currently does not provide a value. Use the GPU memory field to understand the instance type.
|
|
3315
3532
|
*
|
|
3316
3533
|
* @param request - ListAppInstanceTypeRequest
|
|
3317
3534
|
* @returns ListAppInstanceTypeResponse
|
|
@@ -4002,7 +4219,7 @@ class Client extends openapi_core_1.default {
|
|
|
4002
4219
|
return await this.listBrowserInstanceGroupWithOptions(request, runtime);
|
|
4003
4220
|
}
|
|
4004
4221
|
/**
|
|
4005
|
-
* Queries
|
|
4222
|
+
* Queries a list of desktop Agent runtimes.
|
|
4006
4223
|
*
|
|
4007
4224
|
* @param request - ListDesktopAgentRuntimeRequest
|
|
4008
4225
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4109,7 +4326,7 @@ class Client extends openapi_core_1.default {
|
|
|
4109
4326
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDesktopAgentRuntimeResponse({}));
|
|
4110
4327
|
}
|
|
4111
4328
|
/**
|
|
4112
|
-
* Queries
|
|
4329
|
+
* Queries a list of desktop Agent runtimes.
|
|
4113
4330
|
*
|
|
4114
4331
|
* @param request - ListDesktopAgentRuntimeRequest
|
|
4115
4332
|
* @returns ListDesktopAgentRuntimeResponse
|
|
@@ -4346,6 +4563,69 @@ class Client extends openapi_core_1.default {
|
|
|
4346
4563
|
let runtime = new $dara.RuntimeOptions({});
|
|
4347
4564
|
return await this.listModelProviderEndpointsWithOptions(request, runtime);
|
|
4348
4565
|
}
|
|
4566
|
+
/**
|
|
4567
|
+
* Queries the list of available large language model (LLM) codes for a specified model provider. Supports filtering by LLM code, model brand, recommendation level, and recommendation status, and returns model information such as the model name, description, release time, features, inference modality, pricing, credit multiplier, and risk type.
|
|
4568
|
+
*
|
|
4569
|
+
* @param request - ListModelProviderLlmCodesRequest
|
|
4570
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4571
|
+
* @returns ListModelProviderLlmCodesResponse
|
|
4572
|
+
*/
|
|
4573
|
+
async listModelProviderLlmCodesWithOptions(request, runtime) {
|
|
4574
|
+
request.validate();
|
|
4575
|
+
let query = {};
|
|
4576
|
+
if (!$dara.isNull(request.language)) {
|
|
4577
|
+
query["Language"] = request.language;
|
|
4578
|
+
}
|
|
4579
|
+
if (!$dara.isNull(request.llmCode)) {
|
|
4580
|
+
query["LlmCode"] = request.llmCode;
|
|
4581
|
+
}
|
|
4582
|
+
if (!$dara.isNull(request.modelBrands)) {
|
|
4583
|
+
query["ModelBrands"] = request.modelBrands;
|
|
4584
|
+
}
|
|
4585
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
4586
|
+
query["PageNumber"] = request.pageNumber;
|
|
4587
|
+
}
|
|
4588
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
4589
|
+
query["PageSize"] = request.pageSize;
|
|
4590
|
+
}
|
|
4591
|
+
if (!$dara.isNull(request.providerName)) {
|
|
4592
|
+
query["ProviderName"] = request.providerName;
|
|
4593
|
+
}
|
|
4594
|
+
if (!$dara.isNull(request.providerTemplateId)) {
|
|
4595
|
+
query["ProviderTemplateId"] = request.providerTemplateId;
|
|
4596
|
+
}
|
|
4597
|
+
if (!$dara.isNull(request.recommended)) {
|
|
4598
|
+
query["Recommended"] = request.recommended;
|
|
4599
|
+
}
|
|
4600
|
+
if (!$dara.isNull(request.recommendedLevels)) {
|
|
4601
|
+
query["RecommendedLevels"] = request.recommendedLevels;
|
|
4602
|
+
}
|
|
4603
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4604
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4605
|
+
});
|
|
4606
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4607
|
+
action: "ListModelProviderLlmCodes",
|
|
4608
|
+
version: "2021-09-01",
|
|
4609
|
+
protocol: "HTTPS",
|
|
4610
|
+
pathname: "/",
|
|
4611
|
+
method: "POST",
|
|
4612
|
+
authType: "AK",
|
|
4613
|
+
style: "RPC",
|
|
4614
|
+
reqBodyType: "formData",
|
|
4615
|
+
bodyType: "json",
|
|
4616
|
+
});
|
|
4617
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelProviderLlmCodesResponse({}));
|
|
4618
|
+
}
|
|
4619
|
+
/**
|
|
4620
|
+
* Queries the list of available large language model (LLM) codes for a specified model provider. Supports filtering by LLM code, model brand, recommendation level, and recommendation status, and returns model information such as the model name, description, release time, features, inference modality, pricing, credit multiplier, and risk type.
|
|
4621
|
+
*
|
|
4622
|
+
* @param request - ListModelProviderLlmCodesRequest
|
|
4623
|
+
* @returns ListModelProviderLlmCodesResponse
|
|
4624
|
+
*/
|
|
4625
|
+
async listModelProviderLlmCodes(request) {
|
|
4626
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4627
|
+
return await this.listModelProviderLlmCodesWithOptions(request, runtime);
|
|
4628
|
+
}
|
|
4349
4629
|
/**
|
|
4350
4630
|
* Queries the list of model provider templates.
|
|
4351
4631
|
*
|
|
@@ -4987,7 +5267,7 @@ class Client extends openapi_core_1.default {
|
|
|
4987
5267
|
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
4988
5268
|
*
|
|
4989
5269
|
* @remarks
|
|
4990
|
-
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query
|
|
5270
|
+
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query is performed based on CloudApp.
|
|
4991
5271
|
* This operation returns the regions available for image services. You cannot use this information to determine whether a specific image has been distributed to these regions. Before you create or distribute an image based on a parent image, you must also check the region information of the destination image.
|
|
4992
5272
|
*
|
|
4993
5273
|
* @param request - ListRegionIdRequest
|
|
@@ -5020,7 +5300,7 @@ class Client extends openapi_core_1.default {
|
|
|
5020
5300
|
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
5021
5301
|
*
|
|
5022
5302
|
* @remarks
|
|
5023
|
-
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query
|
|
5303
|
+
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query is performed based on CloudApp.
|
|
5024
5304
|
* This operation returns the regions available for image services. You cannot use this information to determine whether a specific image has been distributed to these regions. Before you create or distribute an image based on a parent image, you must also check the region information of the destination image.
|
|
5025
5305
|
*
|
|
5026
5306
|
* @param request - ListRegionIdRequest
|
|
@@ -5231,7 +5511,7 @@ class Client extends openapi_core_1.default {
|
|
|
5231
5511
|
*
|
|
5232
5512
|
* @remarks
|
|
5233
5513
|
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
5234
|
-
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not
|
|
5514
|
+
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not use the step index as the completion percentage.
|
|
5235
5515
|
*
|
|
5236
5516
|
* @param request - ListTaskStepRequest
|
|
5237
5517
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5264,7 +5544,7 @@ class Client extends openapi_core_1.default {
|
|
|
5264
5544
|
*
|
|
5265
5545
|
* @remarks
|
|
5266
5546
|
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
5267
|
-
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not
|
|
5547
|
+
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not use the step index as the completion percentage.
|
|
5268
5548
|
*
|
|
5269
5549
|
* @param request - ListTaskStepRequest
|
|
5270
5550
|
* @returns ListTaskStepResponse
|
|
@@ -5667,21 +5947,21 @@ class Client extends openapi_core_1.default {
|
|
|
5667
5947
|
return await this.modifyAppInstanceGroupAttributeWithOptions(request, runtime);
|
|
5668
5948
|
}
|
|
5669
5949
|
/**
|
|
5670
|
-
* Changes the billing method of a specified delivery group to
|
|
5950
|
+
* Changes the billing method of a specified delivery group to a target billing method and returns the ID of the billing conversion task to be created.
|
|
5671
5951
|
*
|
|
5672
5952
|
* @remarks
|
|
5673
5953
|
* This operation performs billing method conversion, which may create orders and trigger subsequent billing changes. **A successful response or a returned task ID does not indicate that the new billing method has taken effect.**
|
|
5674
|
-
* **
|
|
5675
|
-
* - The resources belong to the current account, and the product and business region match
|
|
5676
|
-
* - The target billing method must be different from the current
|
|
5677
|
-
* - Delivery groups that have been added to a valid collection cannot
|
|
5678
|
-
* - Multiple delivery groups created in the same batch of orders cannot
|
|
5954
|
+
* **Prerequisites:**
|
|
5955
|
+
* - The resources belong to the current account, and the product and business region match the request. Only one delivery group can be specified per request.
|
|
5956
|
+
* - The target billing method must be different from the current billing method, and the target resource specifications must support the corresponding sales and Billable methods.
|
|
5957
|
+
* - Delivery groups that have been added to a valid collection cannot have their Billable methods converted individually.
|
|
5958
|
+
* - Multiple delivery groups created in the same batch of orders cannot have their Billable methods converted separately.
|
|
5679
5959
|
* **Parameter relationships and call sequence:**
|
|
5680
|
-
* 1. Query the resource details first to confirm the product, business region, and current
|
|
5681
|
-
* 2. Explicitly specify the target
|
|
5682
|
-
* 3. Set
|
|
5683
|
-
* 4. After the call, save the returned
|
|
5684
|
-
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for
|
|
5960
|
+
* 1. Query the resource details first to confirm the product, business region, and current ChargeType. You can use [GetAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/GetAppInstanceGroup) to query cloud application delivery groups.
|
|
5961
|
+
* 2. Explicitly specify the target ChargeType. If you need to purchase a subscription, specify the purchase duration by combining Period and PeriodUnit. The period combination must comply with the sales rules currently supported by the resource.
|
|
5962
|
+
* 3. Set AutoPay based on whether automatic payment is allowed. If auto-renewal is involved, explicitly set AutoRenew.
|
|
5963
|
+
* 4. After the call, save the returned AppInstanceGroupModel.TaskId. If there are unpaid orders, complete the payment first, and then query the resource details again to confirm that the billing method has been changed.
|
|
5964
|
+
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for real task IDs.
|
|
5685
5965
|
*
|
|
5686
5966
|
* @param tmpReq - ModifyAppInstanceGroupChargeTypeRequest
|
|
5687
5967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5739,21 +6019,21 @@ class Client extends openapi_core_1.default {
|
|
|
5739
6019
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceGroupChargeTypeResponse({}));
|
|
5740
6020
|
}
|
|
5741
6021
|
/**
|
|
5742
|
-
* Changes the billing method of a specified delivery group to
|
|
6022
|
+
* Changes the billing method of a specified delivery group to a target billing method and returns the ID of the billing conversion task to be created.
|
|
5743
6023
|
*
|
|
5744
6024
|
* @remarks
|
|
5745
6025
|
* This operation performs billing method conversion, which may create orders and trigger subsequent billing changes. **A successful response or a returned task ID does not indicate that the new billing method has taken effect.**
|
|
5746
|
-
* **
|
|
5747
|
-
* - The resources belong to the current account, and the product and business region match
|
|
5748
|
-
* - The target billing method must be different from the current
|
|
5749
|
-
* - Delivery groups that have been added to a valid collection cannot
|
|
5750
|
-
* - Multiple delivery groups created in the same batch of orders cannot
|
|
6026
|
+
* **Prerequisites:**
|
|
6027
|
+
* - The resources belong to the current account, and the product and business region match the request. Only one delivery group can be specified per request.
|
|
6028
|
+
* - The target billing method must be different from the current billing method, and the target resource specifications must support the corresponding sales and Billable methods.
|
|
6029
|
+
* - Delivery groups that have been added to a valid collection cannot have their Billable methods converted individually.
|
|
6030
|
+
* - Multiple delivery groups created in the same batch of orders cannot have their Billable methods converted separately.
|
|
5751
6031
|
* **Parameter relationships and call sequence:**
|
|
5752
|
-
* 1. Query the resource details first to confirm the product, business region, and current
|
|
5753
|
-
* 2. Explicitly specify the target
|
|
5754
|
-
* 3. Set
|
|
5755
|
-
* 4. After the call, save the returned
|
|
5756
|
-
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for
|
|
6032
|
+
* 1. Query the resource details first to confirm the product, business region, and current ChargeType. You can use [GetAppInstanceGroup](https://api.aliyun.com/document/appstream-center/2021-09-01/GetAppInstanceGroup) to query cloud application delivery groups.
|
|
6033
|
+
* 2. Explicitly specify the target ChargeType. If you need to purchase a subscription, specify the purchase duration by combining Period and PeriodUnit. The period combination must comply with the sales rules currently supported by the resource.
|
|
6034
|
+
* 3. Set AutoPay based on whether automatic payment is allowed. If auto-renewal is involved, explicitly set AutoRenew.
|
|
6035
|
+
* 4. After the call, save the returned AppInstanceGroupModel.TaskId. If there are unpaid orders, complete the payment first, and then query the resource details again to confirm that the billing method has been changed.
|
|
6036
|
+
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for real task IDs.
|
|
5757
6037
|
*
|
|
5758
6038
|
* @param request - ModifyAppInstanceGroupChargeTypeRequest
|
|
5759
6039
|
* @returns ModifyAppInstanceGroupChargeTypeResponse
|
|
@@ -7570,10 +7850,10 @@ class Client extends openapi_core_1.default {
|
|
|
7570
7850
|
return await this.unbindWithOptions(request, runtime);
|
|
7571
7851
|
}
|
|
7572
7852
|
/**
|
|
7573
|
-
* Dissociates
|
|
7853
|
+
* Dissociates applications from a specified image version in batches.
|
|
7574
7854
|
*
|
|
7575
7855
|
* @remarks
|
|
7576
|
-
*
|
|
7856
|
+
* Only custom images and community images manageable by the current account are supported. If VersionId is omitted, the current active version is used. If specified, the version must belong to the image specified by ImageId. Verify the association between the applications and the version through the image query results before submitting AppIdList. **Dissociating applications does not directly delete application records.** To delete applications, call DeleteApp separately.
|
|
7577
7857
|
*
|
|
7578
7858
|
* @param request - UnbindAppRequest
|
|
7579
7859
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7610,10 +7890,10 @@ class Client extends openapi_core_1.default {
|
|
|
7610
7890
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindAppResponse({}));
|
|
7611
7891
|
}
|
|
7612
7892
|
/**
|
|
7613
|
-
* Dissociates
|
|
7893
|
+
* Dissociates applications from a specified image version in batches.
|
|
7614
7894
|
*
|
|
7615
7895
|
* @remarks
|
|
7616
|
-
*
|
|
7896
|
+
* Only custom images and community images manageable by the current account are supported. If VersionId is omitted, the current active version is used. If specified, the version must belong to the image specified by ImageId. Verify the association between the applications and the version through the image query results before submitting AppIdList. **Dissociating applications does not directly delete application records.** To delete applications, call DeleteApp separately.
|
|
7617
7897
|
*
|
|
7618
7898
|
* @param request - UnbindAppRequest
|
|
7619
7899
|
* @returns UnbindAppResponse
|
|
@@ -7886,11 +8166,11 @@ class Client extends openapi_core_1.default {
|
|
|
7886
8166
|
return await this.updateAppInstanceGroupImageWithOptions(request, runtime);
|
|
7887
8167
|
}
|
|
7888
8168
|
/**
|
|
7889
|
-
* Modifies the name, description, version information, and associated application
|
|
8169
|
+
* Modifies the name, description, version information, and associated application adapters of an image.
|
|
7890
8170
|
*
|
|
7891
8171
|
* @remarks
|
|
7892
|
-
* You can only modify images that are owned by the current account and allow modifications.
|
|
7893
|
-
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application
|
|
8172
|
+
* You can only modify images that are owned by the current account and allow modifications. Images shared with the current account cannot be modified.
|
|
8173
|
+
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application adapter associations for the selected version based on the complete list. Make sure to include the adapters that you still want to retain.
|
|
7894
8174
|
*
|
|
7895
8175
|
* @param request - UpdateImageRequest
|
|
7896
8176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7940,11 +8220,11 @@ class Client extends openapi_core_1.default {
|
|
|
7940
8220
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageResponse({}));
|
|
7941
8221
|
}
|
|
7942
8222
|
/**
|
|
7943
|
-
* Modifies the name, description, version information, and associated application
|
|
8223
|
+
* Modifies the name, description, version information, and associated application adapters of an image.
|
|
7944
8224
|
*
|
|
7945
8225
|
* @remarks
|
|
7946
|
-
* You can only modify images that are owned by the current account and allow modifications.
|
|
7947
|
-
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application
|
|
8226
|
+
* You can only modify images that are owned by the current account and allow modifications. Images shared with the current account cannot be modified.
|
|
8227
|
+
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application adapter associations for the selected version based on the complete list. Make sure to include the adapters that you still want to retain.
|
|
7948
8228
|
*
|
|
7949
8229
|
* @param request - UpdateImageRequest
|
|
7950
8230
|
* @returns UpdateImageResponse
|
|
@@ -7957,7 +8237,8 @@ class Client extends openapi_core_1.default {
|
|
|
7957
8237
|
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
7958
8238
|
*
|
|
7959
8239
|
* @remarks
|
|
7960
|
-
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. TaskType must match the actual type of the task.
|
|
8240
|
+
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. The TaskType must match the actual type of the task.
|
|
8241
|
+
* **This operation does not support modifying the task step, image version, or destination region by using TaskStep, VersionId, or BizRegionId. Do not pass these three parameters.** A successful request only indicates that the status update call is completed. To query the final status of the task, call GetTask.
|
|
7961
8242
|
*
|
|
7962
8243
|
* @param request - UpdateImageTaskRequest
|
|
7963
8244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8007,7 +8288,8 @@ class Client extends openapi_core_1.default {
|
|
|
8007
8288
|
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
8008
8289
|
*
|
|
8009
8290
|
* @remarks
|
|
8010
|
-
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. TaskType must match the actual type of the task.
|
|
8291
|
+
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. The TaskType must match the actual type of the task.
|
|
8292
|
+
* **This operation does not support modifying the task step, image version, or destination region by using TaskStep, VersionId, or BizRegionId. Do not pass these three parameters.** A successful request only indicates that the status update call is completed. To query the final status of the task, call GetTask.
|
|
8011
8293
|
*
|
|
8012
8294
|
* @param request - UpdateImageTaskRequest
|
|
8013
8295
|
* @returns UpdateImageTaskResponse
|