@alicloud/appstream-center20210901 5.11.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 +632 -26
- package/dist/client.js +1558 -38
- package/dist/client.js.map +1 -1
- package/dist/models/BuilderImageByParentRequest.d.ts +272 -0
- package/dist/models/BuilderImageByParentRequest.js +131 -0
- package/dist/models/BuilderImageByParentRequest.js.map +1 -0
- package/dist/models/BuilderImageByParentResponse.d.ts +19 -0
- package/dist/models/BuilderImageByParentResponse.js +69 -0
- package/dist/models/BuilderImageByParentResponse.js.map +1 -0
- package/dist/models/BuilderImageByParentResponseBody.d.ts +83 -0
- package/dist/models/BuilderImageByParentResponseBody.js +92 -0
- package/dist/models/BuilderImageByParentResponseBody.js.map +1 -0
- package/dist/models/BuilderImageByParentShrinkRequest.d.ts +270 -0
- package/dist/models/BuilderImageByParentShrinkRequest.js +128 -0
- package/dist/models/BuilderImageByParentShrinkRequest.js.map +1 -0
- package/dist/models/CreateAndBindAppRequest.d.ts +79 -0
- package/dist/models/CreateAndBindAppRequest.js +70 -0
- package/dist/models/CreateAndBindAppRequest.js.map +1 -0
- package/dist/models/CreateAndBindAppResponse.d.ts +19 -0
- package/dist/models/CreateAndBindAppResponse.js +69 -0
- package/dist/models/CreateAndBindAppResponse.js.map +1 -0
- package/dist/models/CreateAndBindAppResponseBody.d.ts +91 -0
- package/dist/models/CreateAndBindAppResponseBody.js +94 -0
- package/dist/models/CreateAndBindAppResponseBody.js.map +1 -0
- 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 +53 -0
- package/dist/models/DeleteAdaptorRequest.js +66 -0
- package/dist/models/DeleteAdaptorRequest.js.map +1 -0
- package/dist/models/DeleteAdaptorResponse.d.ts +19 -0
- package/dist/models/DeleteAdaptorResponse.js +69 -0
- package/dist/models/DeleteAdaptorResponse.js.map +1 -0
- package/dist/models/DeleteAdaptorResponseBody.d.ts +47 -0
- package/dist/models/DeleteAdaptorResponseBody.js +66 -0
- package/dist/models/DeleteAdaptorResponseBody.js.map +1 -0
- package/dist/models/DeleteAppRequest.d.ts +29 -0
- package/dist/models/DeleteAppRequest.js +60 -0
- package/dist/models/DeleteAppRequest.js.map +1 -0
- package/dist/models/DeleteAppResponse.d.ts +19 -0
- package/dist/models/DeleteAppResponse.js +69 -0
- package/dist/models/DeleteAppResponse.js.map +1 -0
- package/dist/models/DeleteAppResponseBody.d.ts +47 -0
- package/dist/models/DeleteAppResponseBody.js +66 -0
- package/dist/models/DeleteAppResponseBody.js.map +1 -0
- package/dist/models/DescribeEventsRequest.d.ts +20 -20
- package/dist/models/DescribeEventsResponseBody.d.ts +12 -12
- 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 +98 -0
- package/dist/models/GetAuthCodeRequest.js +68 -0
- package/dist/models/GetAuthCodeRequest.js.map +1 -0
- package/dist/models/GetAuthCodeResponse.d.ts +19 -0
- package/dist/models/GetAuthCodeResponse.js +69 -0
- package/dist/models/GetAuthCodeResponse.js.map +1 -0
- package/dist/models/GetAuthCodeResponseBody.d.ts +132 -0
- package/dist/models/GetAuthCodeResponseBody.js +102 -0
- package/dist/models/GetAuthCodeResponseBody.js.map +1 -0
- 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 +56 -0
- package/dist/models/GetResourceModifyPriceRequest.js +62 -0
- package/dist/models/GetResourceModifyPriceRequest.js.map +1 -0
- package/dist/models/GetResourceModifyPriceResponse.d.ts +19 -0
- package/dist/models/GetResourceModifyPriceResponse.js +69 -0
- package/dist/models/GetResourceModifyPriceResponse.js.map +1 -0
- package/dist/models/GetResourceModifyPriceResponseBody.d.ts +184 -0
- package/dist/models/GetResourceModifyPriceResponseBody.js +168 -0
- package/dist/models/GetResourceModifyPriceResponseBody.js.map +1 -0
- package/dist/models/GetResourceQuotaRequest.d.ts +58 -0
- package/dist/models/GetResourceQuotaRequest.js +64 -0
- package/dist/models/GetResourceQuotaRequest.js.map +1 -0
- package/dist/models/GetResourceQuotaResponse.d.ts +19 -0
- package/dist/models/GetResourceQuotaResponse.js +69 -0
- package/dist/models/GetResourceQuotaResponse.js.map +1 -0
- package/dist/models/GetResourceQuotaResponseBody.d.ts +51 -0
- package/dist/models/GetResourceQuotaResponseBody.js +64 -0
- package/dist/models/GetResourceQuotaResponseBody.js.map +1 -0
- package/dist/models/GetTaskRequest.d.ts +76 -0
- package/dist/models/GetTaskRequest.js +68 -0
- package/dist/models/GetTaskRequest.js.map +1 -0
- package/dist/models/GetTaskResponse.d.ts +19 -0
- package/dist/models/GetTaskResponse.js +69 -0
- package/dist/models/GetTaskResponse.js.map +1 -0
- package/dist/models/GetTaskResponseBody.d.ts +352 -0
- package/dist/models/GetTaskResponseBody.js +176 -0
- package/dist/models/GetTaskResponseBody.js.map +1 -0
- package/dist/models/ListAppInstanceTypeRequest.d.ts +163 -0
- package/dist/models/ListAppInstanceTypeRequest.js +91 -0
- package/dist/models/ListAppInstanceTypeRequest.js.map +1 -0
- package/dist/models/ListAppInstanceTypeResponse.d.ts +19 -0
- package/dist/models/ListAppInstanceTypeResponse.js +69 -0
- package/dist/models/ListAppInstanceTypeResponse.js.map +1 -0
- package/dist/models/ListAppInstanceTypeResponseBody.d.ts +229 -0
- package/dist/models/ListAppInstanceTypeResponseBody.js +162 -0
- package/dist/models/ListAppInstanceTypeResponseBody.js.map +1 -0
- package/dist/models/ListAppRequest.d.ts +149 -0
- package/dist/models/ListAppRequest.js +86 -0
- package/dist/models/ListAppRequest.js.map +1 -0
- package/dist/models/ListAppResponse.d.ts +19 -0
- package/dist/models/ListAppResponse.js +69 -0
- package/dist/models/ListAppResponse.js.map +1 -0
- package/dist/models/ListAppResponseBody.d.ts +262 -0
- package/dist/models/ListAppResponseBody.js +126 -0
- package/dist/models/ListAppResponseBody.js.map +1 -0
- package/dist/models/ListAppShrinkRequest.d.ts +149 -0
- package/dist/models/ListAppShrinkRequest.js +80 -0
- package/dist/models/ListAppShrinkRequest.js.map +1 -0
- 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 +39 -0
- package/dist/models/ListRegionIdRequest.js +58 -0
- package/dist/models/ListRegionIdRequest.js.map +1 -0
- package/dist/models/ListRegionIdResponse.d.ts +19 -0
- package/dist/models/ListRegionIdResponse.js +69 -0
- package/dist/models/ListRegionIdResponse.js.map +1 -0
- package/dist/models/ListRegionIdResponseBody.d.ts +55 -0
- package/dist/models/ListRegionIdResponseBody.js +71 -0
- package/dist/models/ListRegionIdResponseBody.js.map +1 -0
- package/dist/models/ListTaskStepRequest.d.ts +26 -0
- package/dist/models/ListTaskStepRequest.js +58 -0
- package/dist/models/ListTaskStepRequest.js.map +1 -0
- package/dist/models/ListTaskStepResponse.d.ts +19 -0
- package/dist/models/ListTaskStepResponse.js +69 -0
- package/dist/models/ListTaskStepResponse.js.map +1 -0
- package/dist/models/ListTaskStepResponseBody.d.ts +123 -0
- package/dist/models/ListTaskStepResponseBody.js +92 -0
- package/dist/models/ListTaskStepResponseBody.js.map +1 -0
- package/dist/models/ListWuyingServerWorkloadTemplateRequest.d.ts +3 -3
- package/dist/models/ListWuyingServerWorkloadTemplateResponseBody.d.ts +5 -5
- package/dist/models/ModifyAppInstanceGroupChargeTypeRequest.d.ts +109 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeRequest.js +77 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeRequest.js.map +1 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponse.d.ts +19 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponse.js +69 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponse.js.map +1 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponseBody.d.ts +46 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponseBody.js +82 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeResponseBody.js.map +1 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.d.ts +109 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.js +74 -0
- package/dist/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.js.map +1 -0
- package/dist/models/QueryAppInstanceGroupReportListRequest.d.ts +12 -12
- package/dist/models/QueryAppInstanceGroupReportListResponseBody.d.ts +8 -8
- package/dist/models/QueryConnectionReportRequest.d.ts +12 -12
- package/dist/models/QueryConnectionReportResponseBody.d.ts +7 -7
- package/dist/models/QueryDauReportDataRequest.d.ts +17 -15
- package/dist/models/QueryDauReportDataRequest.js.map +1 -1
- package/dist/models/QueryDauReportDataResponseBody.d.ts +9 -9
- package/dist/models/QueryMauReportDataRequest.d.ts +9 -9
- package/dist/models/QueryMauReportDataResponseBody.d.ts +5 -5
- package/dist/models/QueryNetworkRttReportRequest.d.ts +4 -4
- package/dist/models/QueryNetworkRttReportResponseBody.d.ts +5 -5
- package/dist/models/QueryNodeReportDataRequest.d.ts +21 -21
- package/dist/models/QueryNodeReportDataResponseBody.d.ts +7 -7
- package/dist/models/QuerySessionReportDataRequest.d.ts +13 -13
- package/dist/models/QuerySessionReportDataResponseBody.d.ts +7 -7
- package/dist/models/QueryUserAppUsageAggregateByHourRequest.d.ts +5 -5
- package/dist/models/QueryUserAppUsageAggregateByHourResponseBody.d.ts +2 -2
- package/dist/models/QueryUserAppUsageTimeRankRequest.d.ts +5 -6
- package/dist/models/QueryUserAppUsageTimeRankRequest.js.map +1 -1
- package/dist/models/QueryUserAppUsageTimeRankResponseBody.d.ts +5 -5
- package/dist/models/QueryUserUsageReportRequest.d.ts +17 -17
- package/dist/models/QueryUserUsageReportResponseBody.d.ts +8 -8
- package/dist/models/UnbindAppRequest.d.ts +38 -0
- package/dist/models/UnbindAppRequest.js +65 -0
- package/dist/models/UnbindAppRequest.js.map +1 -0
- package/dist/models/UnbindAppResponse.d.ts +19 -0
- package/dist/models/UnbindAppResponse.js +69 -0
- package/dist/models/UnbindAppResponse.js.map +1 -0
- package/dist/models/UnbindAppResponseBody.d.ts +42 -0
- package/dist/models/UnbindAppResponseBody.js +64 -0
- package/dist/models/UnbindAppResponseBody.js.map +1 -0
- package/dist/models/UpdateAdaptorRequest.d.ts +103 -0
- package/dist/models/UpdateAdaptorRequest.js +94 -0
- package/dist/models/UpdateAdaptorRequest.js.map +1 -0
- package/dist/models/UpdateAdaptorResponse.d.ts +19 -0
- package/dist/models/UpdateAdaptorResponse.js +69 -0
- package/dist/models/UpdateAdaptorResponse.js.map +1 -0
- package/dist/models/UpdateAdaptorResponseBody.d.ts +47 -0
- package/dist/models/UpdateAdaptorResponseBody.js +66 -0
- package/dist/models/UpdateAdaptorResponseBody.js.map +1 -0
- package/dist/models/UpdateAdaptorShrinkRequest.d.ts +67 -0
- package/dist/models/UpdateAdaptorShrinkRequest.js +68 -0
- package/dist/models/UpdateAdaptorShrinkRequest.js.map +1 -0
- package/dist/models/UpdateImageRequest.d.ts +83 -0
- package/dist/models/UpdateImageRequest.js +75 -0
- package/dist/models/UpdateImageRequest.js.map +1 -0
- package/dist/models/UpdateImageResponse.d.ts +19 -0
- package/dist/models/UpdateImageResponse.js +69 -0
- package/dist/models/UpdateImageResponse.js.map +1 -0
- package/dist/models/UpdateImageResponseBody.d.ts +47 -0
- package/dist/models/UpdateImageResponseBody.js +66 -0
- package/dist/models/UpdateImageResponseBody.js.map +1 -0
- package/dist/models/UpdateImageTaskRequest.d.ts +115 -0
- package/dist/models/UpdateImageTaskRequest.js +70 -0
- package/dist/models/UpdateImageTaskRequest.js.map +1 -0
- package/dist/models/UpdateImageTaskResponse.d.ts +19 -0
- package/dist/models/UpdateImageTaskResponse.js +69 -0
- package/dist/models/UpdateImageTaskResponse.js.map +1 -0
- package/dist/models/UpdateImageTaskResponseBody.d.ts +47 -0
- package/dist/models/UpdateImageTaskResponseBody.js +66 -0
- package/dist/models/UpdateImageTaskResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +99 -0
- package/dist/models/model.js +211 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +1860 -147
- package/src/models/BuilderImageByParentRequest.ts +347 -0
- package/src/models/BuilderImageByParentResponse.ts +40 -0
- package/src/models/BuilderImageByParentResponseBody.ts +121 -0
- package/src/models/BuilderImageByParentShrinkRequest.ts +344 -0
- package/src/models/CreateAndBindAppRequest.ts +104 -0
- package/src/models/CreateAndBindAppResponse.ts +40 -0
- package/src/models/CreateAndBindAppResponseBody.ts +131 -0
- 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 +74 -0
- package/src/models/DeleteAdaptorResponse.ts +40 -0
- package/src/models/DeleteAdaptorResponseBody.ts +68 -0
- package/src/models/DeleteAppRequest.ts +44 -0
- package/src/models/DeleteAppResponse.ts +40 -0
- package/src/models/DeleteAppResponseBody.ts +68 -0
- package/src/models/DescribeEventsRequest.ts +20 -20
- package/src/models/DescribeEventsResponseBody.ts +12 -12
- 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 +121 -0
- package/src/models/GetAuthCodeResponse.ts +40 -0
- package/src/models/GetAuthCodeResponseBody.ts +180 -0
- 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 +73 -0
- package/src/models/GetResourceModifyPriceResponse.ts +40 -0
- package/src/models/GetResourceModifyPriceResponseBody.ts +271 -0
- package/src/models/GetResourceQuotaRequest.ts +77 -0
- package/src/models/GetResourceQuotaResponse.ts +40 -0
- package/src/models/GetResourceQuotaResponseBody.ts +70 -0
- package/src/models/GetTaskRequest.ts +99 -0
- package/src/models/GetTaskResponse.ts +40 -0
- package/src/models/GetTaskResponseBody.ts +456 -0
- package/src/models/ListAppInstanceTypeRequest.ts +209 -0
- package/src/models/ListAppInstanceTypeResponse.ts +40 -0
- package/src/models/ListAppInstanceTypeResponseBody.ts +319 -0
- package/src/models/ListAppRequest.ts +190 -0
- package/src/models/ListAppResponse.ts +40 -0
- package/src/models/ListAppResponseBody.ts +334 -0
- package/src/models/ListAppShrinkRequest.ts +184 -0
- 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 +52 -0
- package/src/models/ListRegionIdResponse.ts +40 -0
- package/src/models/ListRegionIdResponseBody.ts +81 -0
- package/src/models/ListTaskStepRequest.ts +39 -0
- package/src/models/ListTaskStepResponse.ts +40 -0
- package/src/models/ListTaskStepResponseBody.ts +161 -0
- package/src/models/ListWuyingServerWorkloadTemplateRequest.ts +3 -3
- package/src/models/ListWuyingServerWorkloadTemplateResponseBody.ts +5 -5
- package/src/models/ModifyAppInstanceGroupChargeTypeRequest.ts +141 -0
- package/src/models/ModifyAppInstanceGroupChargeTypeResponse.ts +40 -0
- package/src/models/ModifyAppInstanceGroupChargeTypeResponseBody.ts +74 -0
- package/src/models/ModifyAppInstanceGroupChargeTypeShrinkRequest.ts +138 -0
- package/src/models/QueryAppInstanceGroupReportListRequest.ts +12 -12
- package/src/models/QueryAppInstanceGroupReportListResponseBody.ts +8 -8
- package/src/models/QueryConnectionReportRequest.ts +12 -12
- package/src/models/QueryConnectionReportResponseBody.ts +7 -7
- package/src/models/QueryDauReportDataRequest.ts +17 -15
- package/src/models/QueryDauReportDataResponseBody.ts +9 -9
- package/src/models/QueryMauReportDataRequest.ts +9 -9
- package/src/models/QueryMauReportDataResponseBody.ts +5 -5
- package/src/models/QueryNetworkRttReportRequest.ts +4 -4
- package/src/models/QueryNetworkRttReportResponseBody.ts +5 -5
- package/src/models/QueryNodeReportDataRequest.ts +21 -21
- package/src/models/QueryNodeReportDataResponseBody.ts +7 -7
- package/src/models/QuerySessionReportDataRequest.ts +13 -13
- package/src/models/QuerySessionReportDataResponseBody.ts +7 -7
- package/src/models/QueryUserAppUsageAggregateByHourRequest.ts +5 -5
- package/src/models/QueryUserAppUsageAggregateByHourResponseBody.ts +2 -2
- package/src/models/QueryUserAppUsageTimeRankRequest.ts +5 -6
- package/src/models/QueryUserAppUsageTimeRankResponseBody.ts +5 -5
- package/src/models/QueryUserUsageReportRequest.ts +17 -17
- package/src/models/QueryUserUsageReportResponseBody.ts +8 -8
- package/src/models/UnbindAppRequest.ts +58 -0
- package/src/models/UnbindAppResponse.ts +40 -0
- package/src/models/UnbindAppResponseBody.ts +61 -0
- package/src/models/UpdateAdaptorRequest.ts +143 -0
- package/src/models/UpdateAdaptorResponse.ts +40 -0
- package/src/models/UpdateAdaptorResponseBody.ts +68 -0
- package/src/models/UpdateAdaptorShrinkRequest.ts +90 -0
- package/src/models/UpdateImageRequest.ts +113 -0
- package/src/models/UpdateImageResponse.ts +40 -0
- package/src/models/UpdateImageResponseBody.ts +68 -0
- package/src/models/UpdateImageTaskRequest.ts +140 -0
- package/src/models/UpdateImageTaskResponse.ts +40 -0
- package/src/models/UpdateImageTaskResponseBody.ts +68 -0
- package/src/models/model.ts +99 -0
package/dist/client.js
CHANGED
|
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
44
45
|
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
46
|
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
47
|
const $_model = __importStar(require("./models/model"));
|
|
@@ -48,6 +49,9 @@ __exportStar(require("./models/model"), exports);
|
|
|
48
49
|
class Client extends openapi_core_1.default {
|
|
49
50
|
constructor(config) {
|
|
50
51
|
super(config);
|
|
52
|
+
this._productId = "appstream-center";
|
|
53
|
+
let gatewayClient = new gateway_pop_1.default();
|
|
54
|
+
this._spi = gatewayClient;
|
|
51
55
|
this._endpointRule = "regional";
|
|
52
56
|
this.checkConfig(config);
|
|
53
57
|
this._endpoint = this.getEndpoint("appstream-center", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -381,6 +385,124 @@ class Client extends openapi_core_1.default {
|
|
|
381
385
|
let runtime = new $dara.RuntimeOptions({});
|
|
382
386
|
return await this.batchCreateLlmTemplatesWithOptions(request, runtime);
|
|
383
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* Creates a custom image based on an existing image and starts an image creation task.
|
|
390
|
+
*
|
|
391
|
+
* @remarks
|
|
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
|
+
* 1. Call ListImage to obtain the parent image ID.
|
|
394
|
+
* 2. Specify the creation mode, disk capacity, and resource type, and then call this operation.
|
|
395
|
+
* 3. Save the returned ImageId, VersionId, and TaskId.
|
|
396
|
+
* 4. Call GetTask to query the creation progress. **A successful request does not indicate that the image creation is complete.**
|
|
397
|
+
*
|
|
398
|
+
* @param tmpReq - BuilderImageByParentRequest
|
|
399
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
400
|
+
* @returns BuilderImageByParentResponse
|
|
401
|
+
*/
|
|
402
|
+
async builderImageByParentWithOptions(tmpReq, runtime) {
|
|
403
|
+
tmpReq.validate();
|
|
404
|
+
let request = new $_model.BuilderImageByParentShrinkRequest({});
|
|
405
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
406
|
+
if (!$dara.isNull(tmpReq.propertyMap)) {
|
|
407
|
+
request.propertyMapShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.propertyMap, "PropertyMap", "json");
|
|
408
|
+
}
|
|
409
|
+
let body = {};
|
|
410
|
+
if (!$dara.isNull(request.bizType)) {
|
|
411
|
+
body["BizType"] = request.bizType;
|
|
412
|
+
}
|
|
413
|
+
if (!$dara.isNull(request.dataDiskSize)) {
|
|
414
|
+
body["DataDiskSize"] = request.dataDiskSize;
|
|
415
|
+
}
|
|
416
|
+
if (!$dara.isNull(request.description)) {
|
|
417
|
+
body["Description"] = request.description;
|
|
418
|
+
}
|
|
419
|
+
if (!$dara.isNull(request.distro)) {
|
|
420
|
+
body["Distro"] = request.distro;
|
|
421
|
+
}
|
|
422
|
+
if (!$dara.isNull(request.driverIdList)) {
|
|
423
|
+
body["DriverIdList"] = request.driverIdList;
|
|
424
|
+
}
|
|
425
|
+
if (!$dara.isNull(request.imageCreateMode)) {
|
|
426
|
+
body["ImageCreateMode"] = request.imageCreateMode;
|
|
427
|
+
}
|
|
428
|
+
if (!$dara.isNull(request.imageName)) {
|
|
429
|
+
body["ImageName"] = request.imageName;
|
|
430
|
+
}
|
|
431
|
+
if (!$dara.isNull(request.language)) {
|
|
432
|
+
body["Language"] = request.language;
|
|
433
|
+
}
|
|
434
|
+
if (!$dara.isNull(request.nodeInstanceType)) {
|
|
435
|
+
body["NodeInstanceType"] = request.nodeInstanceType;
|
|
436
|
+
}
|
|
437
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
438
|
+
body["OfficeSiteId"] = request.officeSiteId;
|
|
439
|
+
}
|
|
440
|
+
if (!$dara.isNull(request.packageType)) {
|
|
441
|
+
body["PackageType"] = request.packageType;
|
|
442
|
+
}
|
|
443
|
+
if (!$dara.isNull(request.parentImageId)) {
|
|
444
|
+
body["ParentImageId"] = request.parentImageId;
|
|
445
|
+
}
|
|
446
|
+
if (!$dara.isNull(request.performanceType)) {
|
|
447
|
+
body["PerformanceType"] = request.performanceType;
|
|
448
|
+
}
|
|
449
|
+
if (!$dara.isNull(request.productType)) {
|
|
450
|
+
body["ProductType"] = request.productType;
|
|
451
|
+
}
|
|
452
|
+
if (!$dara.isNull(request.propertyMapShrink)) {
|
|
453
|
+
body["PropertyMap"] = request.propertyMapShrink;
|
|
454
|
+
}
|
|
455
|
+
if (!$dara.isNull(request.resourceList)) {
|
|
456
|
+
body["ResourceList"] = request.resourceList;
|
|
457
|
+
}
|
|
458
|
+
if (!$dara.isNull(request.runMode)) {
|
|
459
|
+
body["RunMode"] = request.runMode;
|
|
460
|
+
}
|
|
461
|
+
if (!$dara.isNull(request.sourceRegion)) {
|
|
462
|
+
body["SourceRegion"] = request.sourceRegion;
|
|
463
|
+
}
|
|
464
|
+
if (!$dara.isNull(request.systemDiskSize)) {
|
|
465
|
+
body["SystemDiskSize"] = request.systemDiskSize;
|
|
466
|
+
}
|
|
467
|
+
if (!$dara.isNull(request.vSwitchIdList)) {
|
|
468
|
+
body["VSwitchIdList"] = request.vSwitchIdList;
|
|
469
|
+
}
|
|
470
|
+
if (!$dara.isNull(request.versionName)) {
|
|
471
|
+
body["VersionName"] = request.versionName;
|
|
472
|
+
}
|
|
473
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
474
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
475
|
+
});
|
|
476
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
477
|
+
action: "BuilderImageByParent",
|
|
478
|
+
version: "2021-09-01",
|
|
479
|
+
protocol: "HTTPS",
|
|
480
|
+
pathname: "/",
|
|
481
|
+
method: "POST",
|
|
482
|
+
authType: "AK",
|
|
483
|
+
style: "RPC",
|
|
484
|
+
reqBodyType: "formData",
|
|
485
|
+
bodyType: "json",
|
|
486
|
+
});
|
|
487
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BuilderImageByParentResponse({}));
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Creates a custom image based on an existing image and starts an image creation task.
|
|
491
|
+
*
|
|
492
|
+
* @remarks
|
|
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
|
+
* 1. Call ListImage to obtain the parent image ID.
|
|
495
|
+
* 2. Specify the creation mode, disk capacity, and resource type, and then call this operation.
|
|
496
|
+
* 3. Save the returned ImageId, VersionId, and TaskId.
|
|
497
|
+
* 4. Call GetTask to query the creation progress. **A successful request does not indicate that the image creation is complete.**
|
|
498
|
+
*
|
|
499
|
+
* @param request - BuilderImageByParentRequest
|
|
500
|
+
* @returns BuilderImageByParentResponse
|
|
501
|
+
*/
|
|
502
|
+
async builderImageByParent(request) {
|
|
503
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
504
|
+
return await this.builderImageByParentWithOptions(request, runtime);
|
|
505
|
+
}
|
|
384
506
|
/**
|
|
385
507
|
* Configures the model group for a resource group.
|
|
386
508
|
*
|
|
@@ -554,6 +676,71 @@ class Client extends openapi_core_1.default {
|
|
|
554
676
|
let runtime = new $dara.RuntimeOptions({});
|
|
555
677
|
return await this.configRuntimeModelTemplateWithOptions(request, runtime);
|
|
556
678
|
}
|
|
679
|
+
/**
|
|
680
|
+
* Creates an application and binds it to a specified image version.
|
|
681
|
+
*
|
|
682
|
+
* @remarks
|
|
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 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
|
+
*
|
|
686
|
+
* @param request - CreateAndBindAppRequest
|
|
687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
688
|
+
* @returns CreateAndBindAppResponse
|
|
689
|
+
*/
|
|
690
|
+
async createAndBindAppWithOptions(request, runtime) {
|
|
691
|
+
request.validate();
|
|
692
|
+
let body = {};
|
|
693
|
+
if (!$dara.isNull(request.appIconUrl)) {
|
|
694
|
+
body["AppIconUrl"] = request.appIconUrl;
|
|
695
|
+
}
|
|
696
|
+
if (!$dara.isNull(request.appName)) {
|
|
697
|
+
body["AppName"] = request.appName;
|
|
698
|
+
}
|
|
699
|
+
if (!$dara.isNull(request.imageId)) {
|
|
700
|
+
body["ImageId"] = request.imageId;
|
|
701
|
+
}
|
|
702
|
+
if (!$dara.isNull(request.originAppType)) {
|
|
703
|
+
body["OriginAppType"] = request.originAppType;
|
|
704
|
+
}
|
|
705
|
+
if (!$dara.isNull(request.port)) {
|
|
706
|
+
body["Port"] = request.port;
|
|
707
|
+
}
|
|
708
|
+
if (!$dara.isNull(request.urlSuffix)) {
|
|
709
|
+
body["UrlSuffix"] = request.urlSuffix;
|
|
710
|
+
}
|
|
711
|
+
if (!$dara.isNull(request.versionId)) {
|
|
712
|
+
body["VersionId"] = request.versionId;
|
|
713
|
+
}
|
|
714
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
715
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
716
|
+
});
|
|
717
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
718
|
+
action: "CreateAndBindApp",
|
|
719
|
+
version: "2021-09-01",
|
|
720
|
+
protocol: "HTTPS",
|
|
721
|
+
pathname: "/",
|
|
722
|
+
method: "POST",
|
|
723
|
+
authType: "AK",
|
|
724
|
+
style: "RPC",
|
|
725
|
+
reqBodyType: "formData",
|
|
726
|
+
bodyType: "json",
|
|
727
|
+
});
|
|
728
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAndBindAppResponse({}));
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Creates an application and binds it to a specified image version.
|
|
732
|
+
*
|
|
733
|
+
* @remarks
|
|
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 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
|
+
*
|
|
737
|
+
* @param request - CreateAndBindAppRequest
|
|
738
|
+
* @returns CreateAndBindAppResponse
|
|
739
|
+
*/
|
|
740
|
+
async createAndBindApp(request) {
|
|
741
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
742
|
+
return await this.createAndBindAppWithOptions(request, runtime);
|
|
743
|
+
}
|
|
557
744
|
/**
|
|
558
745
|
* Creates a delivery group.
|
|
559
746
|
*
|
|
@@ -895,6 +1082,63 @@ class Client extends openapi_core_1.default {
|
|
|
895
1082
|
let runtime = new $dara.RuntimeOptions({});
|
|
896
1083
|
return await this.createBrowserInstanceGroupWithOptions(request, runtime);
|
|
897
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
|
+
}
|
|
898
1142
|
/**
|
|
899
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.
|
|
900
1144
|
*
|
|
@@ -1282,6 +1526,125 @@ class Client extends openapi_core_1.default {
|
|
|
1282
1526
|
let runtime = new $dara.RuntimeOptions({});
|
|
1283
1527
|
return await this.createWuyingServerWithOptions(request, runtime);
|
|
1284
1528
|
}
|
|
1529
|
+
/**
|
|
1530
|
+
* Deletes a specified application adaptation, or dissociates the adaptation from a specified image version.
|
|
1531
|
+
*
|
|
1532
|
+
* @remarks
|
|
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.
|
|
1537
|
+
*
|
|
1538
|
+
* @param request - DeleteAdaptorRequest
|
|
1539
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1540
|
+
* @returns DeleteAdaptorResponse
|
|
1541
|
+
*/
|
|
1542
|
+
async deleteAdaptorWithOptions(request, runtime) {
|
|
1543
|
+
request.validate();
|
|
1544
|
+
let body = {};
|
|
1545
|
+
if (!$dara.isNull(request.adaptorId)) {
|
|
1546
|
+
body["AdaptorId"] = request.adaptorId;
|
|
1547
|
+
}
|
|
1548
|
+
if (!$dara.isNull(request.appId)) {
|
|
1549
|
+
body["AppId"] = request.appId;
|
|
1550
|
+
}
|
|
1551
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
1552
|
+
body["AppVersionId"] = request.appVersionId;
|
|
1553
|
+
}
|
|
1554
|
+
if (!$dara.isNull(request.imageId)) {
|
|
1555
|
+
body["ImageId"] = request.imageId;
|
|
1556
|
+
}
|
|
1557
|
+
if (!$dara.isNull(request.versionId)) {
|
|
1558
|
+
body["VersionId"] = request.versionId;
|
|
1559
|
+
}
|
|
1560
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1561
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1562
|
+
});
|
|
1563
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1564
|
+
action: "DeleteAdaptor",
|
|
1565
|
+
version: "2021-09-01",
|
|
1566
|
+
protocol: "HTTPS",
|
|
1567
|
+
pathname: "/",
|
|
1568
|
+
method: "POST",
|
|
1569
|
+
authType: "AK",
|
|
1570
|
+
style: "RPC",
|
|
1571
|
+
reqBodyType: "formData",
|
|
1572
|
+
bodyType: "json",
|
|
1573
|
+
});
|
|
1574
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAdaptorResponse({}));
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* Deletes a specified application adaptation, or dissociates the adaptation from a specified image version.
|
|
1578
|
+
*
|
|
1579
|
+
* @remarks
|
|
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.
|
|
1584
|
+
*
|
|
1585
|
+
* @param request - DeleteAdaptorRequest
|
|
1586
|
+
* @returns DeleteAdaptorResponse
|
|
1587
|
+
*/
|
|
1588
|
+
async deleteAdaptor(request) {
|
|
1589
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1590
|
+
return await this.deleteAdaptorWithOptions(request, runtime);
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Deletes a specified application version, or deletes the entire application and its adapters if the version ID is omitted.
|
|
1594
|
+
*
|
|
1595
|
+
* @remarks
|
|
1596
|
+
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1597
|
+
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1598
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate the related image associations.
|
|
1599
|
+
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1600
|
+
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1601
|
+
*
|
|
1602
|
+
* @param request - DeleteAppRequest
|
|
1603
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1604
|
+
* @returns DeleteAppResponse
|
|
1605
|
+
*/
|
|
1606
|
+
async deleteAppWithOptions(request, runtime) {
|
|
1607
|
+
request.validate();
|
|
1608
|
+
let body = {};
|
|
1609
|
+
if (!$dara.isNull(request.appId)) {
|
|
1610
|
+
body["AppId"] = request.appId;
|
|
1611
|
+
}
|
|
1612
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
1613
|
+
body["AppVersionId"] = request.appVersionId;
|
|
1614
|
+
}
|
|
1615
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1616
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1617
|
+
});
|
|
1618
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1619
|
+
action: "DeleteApp",
|
|
1620
|
+
version: "2021-09-01",
|
|
1621
|
+
protocol: "HTTPS",
|
|
1622
|
+
pathname: "/",
|
|
1623
|
+
method: "POST",
|
|
1624
|
+
authType: "AK",
|
|
1625
|
+
style: "RPC",
|
|
1626
|
+
reqBodyType: "formData",
|
|
1627
|
+
bodyType: "json",
|
|
1628
|
+
});
|
|
1629
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAppResponse({}));
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* Deletes a specified application version, or deletes the entire application and its adapters if the version ID is omitted.
|
|
1633
|
+
*
|
|
1634
|
+
* @remarks
|
|
1635
|
+
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1636
|
+
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1637
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate the related image associations.
|
|
1638
|
+
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1639
|
+
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1640
|
+
*
|
|
1641
|
+
* @param request - DeleteAppRequest
|
|
1642
|
+
* @returns DeleteAppResponse
|
|
1643
|
+
*/
|
|
1644
|
+
async deleteApp(request) {
|
|
1645
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1646
|
+
return await this.deleteAppWithOptions(request, runtime);
|
|
1647
|
+
}
|
|
1285
1648
|
/**
|
|
1286
1649
|
* Deletes a resource-based pay-as-you-go delivery group.
|
|
1287
1650
|
*
|
|
@@ -1673,10 +2036,10 @@ class Client extends openapi_core_1.default {
|
|
|
1673
2036
|
return await this.deliverToUserSlsWithOptions(request, runtime);
|
|
1674
2037
|
}
|
|
1675
2038
|
/**
|
|
1676
|
-
*
|
|
2039
|
+
* Performs a paged query for the resource and session events of the current account within the last 30 days. Paging is supported.
|
|
1677
2040
|
*
|
|
1678
2041
|
* @remarks
|
|
1679
|
-
* Queries the resource and session events of the current account.
|
|
2042
|
+
* Queries the resource and session events of the current account. Both StartTime and EndTime must be specified, and the time range is inclusive. The service only retrieves logs from 30 days before the call time to the current time, so events outside this window are not returned. If multiple filter parameters are specified, the intersection of the conditions is applied. The results are returned in descending order of the event log time. For pagination, specify PageSize and PageNumber. The current version does not use MaxResults and NextToken.
|
|
1680
2043
|
*
|
|
1681
2044
|
* @param request - DescribeEventsRequest
|
|
1682
2045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1750,10 +2113,10 @@ class Client extends openapi_core_1.default {
|
|
|
1750
2113
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsResponse({}));
|
|
1751
2114
|
}
|
|
1752
2115
|
/**
|
|
1753
|
-
*
|
|
2116
|
+
* Performs a paged query for the resource and session events of the current account within the last 30 days. Paging is supported.
|
|
1754
2117
|
*
|
|
1755
2118
|
* @remarks
|
|
1756
|
-
* Queries the resource and session events of the current account.
|
|
2119
|
+
* Queries the resource and session events of the current account. Both StartTime and EndTime must be specified, and the time range is inclusive. The service only retrieves logs from 30 days before the call time to the current time, so events outside this window are not returned. If multiple filter parameters are specified, the intersection of the conditions is applied. The results are returned in descending order of the event log time. For pagination, specify PageSize and PageNumber. The current version does not use MaxResults and NextToken.
|
|
1757
2120
|
*
|
|
1758
2121
|
* @param request - DescribeEventsRequest
|
|
1759
2122
|
* @returns DescribeEventsResponse
|
|
@@ -1762,6 +2125,70 @@ class Client extends openapi_core_1.default {
|
|
|
1762
2125
|
let runtime = new $dara.RuntimeOptions({});
|
|
1763
2126
|
return await this.describeEventsWithOptions(request, runtime);
|
|
1764
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
|
+
}
|
|
1765
2192
|
/**
|
|
1766
2193
|
* Queries the details of a development host.
|
|
1767
2194
|
*
|
|
@@ -1843,6 +2270,54 @@ class Client extends openapi_core_1.default {
|
|
|
1843
2270
|
let runtime = new $dara.RuntimeOptions({});
|
|
1844
2271
|
return await this.describeWuyingServerEipInfoWithOptions(request, runtime);
|
|
1845
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
|
+
}
|
|
1846
2321
|
/**
|
|
1847
2322
|
* Queries the details of a specified delivery group.
|
|
1848
2323
|
*
|
|
@@ -1885,6 +2360,74 @@ class Client extends openapi_core_1.default {
|
|
|
1885
2360
|
let runtime = new $dara.RuntimeOptions({});
|
|
1886
2361
|
return await this.getAppInstanceGroupWithOptions(request, runtime);
|
|
1887
2362
|
}
|
|
2363
|
+
/**
|
|
2364
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application creation task.
|
|
2365
|
+
*
|
|
2366
|
+
* @remarks
|
|
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.
|
|
2370
|
+
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
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.
|
|
2372
|
+
*
|
|
2373
|
+
* @param request - GetAuthCodeRequest
|
|
2374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2375
|
+
* @returns GetAuthCodeResponse
|
|
2376
|
+
*/
|
|
2377
|
+
async getAuthCodeWithOptions(request, runtime) {
|
|
2378
|
+
request.validate();
|
|
2379
|
+
let body = {};
|
|
2380
|
+
if (!$dara.isNull(request.appId)) {
|
|
2381
|
+
body["AppId"] = request.appId;
|
|
2382
|
+
}
|
|
2383
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
2384
|
+
body["AppVersionId"] = request.appVersionId;
|
|
2385
|
+
}
|
|
2386
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
2387
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
2388
|
+
}
|
|
2389
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
2390
|
+
body["ResourceType"] = request.resourceType;
|
|
2391
|
+
}
|
|
2392
|
+
if (!$dara.isNull(request.taskId)) {
|
|
2393
|
+
body["TaskId"] = request.taskId;
|
|
2394
|
+
}
|
|
2395
|
+
if (!$dara.isNull(request.taskType)) {
|
|
2396
|
+
body["TaskType"] = request.taskType;
|
|
2397
|
+
}
|
|
2398
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2399
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2400
|
+
});
|
|
2401
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2402
|
+
action: "GetAuthCode",
|
|
2403
|
+
version: "2021-09-01",
|
|
2404
|
+
protocol: "HTTPS",
|
|
2405
|
+
pathname: "/",
|
|
2406
|
+
method: "POST",
|
|
2407
|
+
authType: "AK",
|
|
2408
|
+
style: "RPC",
|
|
2409
|
+
reqBodyType: "formData",
|
|
2410
|
+
bodyType: "json",
|
|
2411
|
+
});
|
|
2412
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuthCodeResponse({}));
|
|
2413
|
+
}
|
|
2414
|
+
/**
|
|
2415
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application creation task.
|
|
2416
|
+
*
|
|
2417
|
+
* @remarks
|
|
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.
|
|
2421
|
+
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
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.
|
|
2423
|
+
*
|
|
2424
|
+
* @param request - GetAuthCodeRequest
|
|
2425
|
+
* @returns GetAuthCodeResponse
|
|
2426
|
+
*/
|
|
2427
|
+
async getAuthCode(request) {
|
|
2428
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2429
|
+
return await this.getAuthCodeWithOptions(request, runtime);
|
|
2430
|
+
}
|
|
1888
2431
|
/**
|
|
1889
2432
|
* Queries the configuration, status, and authorization statistics of a specified cloud browser group.
|
|
1890
2433
|
*
|
|
@@ -2216,6 +2759,135 @@ class Client extends openapi_core_1.default {
|
|
|
2216
2759
|
let runtime = new $dara.RuntimeOptions({});
|
|
2217
2760
|
return await this.getOtaTaskByTaskIdWithOptions(request, runtime);
|
|
2218
2761
|
}
|
|
2762
|
+
/**
|
|
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.
|
|
2812
|
+
*
|
|
2813
|
+
* @remarks
|
|
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:**
|
|
2816
|
+
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
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.
|
|
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.
|
|
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.
|
|
2820
|
+
* **Parameter relationships:**
|
|
2821
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required and must be specified together.
|
|
2822
|
+
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
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.**
|
|
2828
|
+
* **Example scenario:**
|
|
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.
|
|
2830
|
+
*
|
|
2831
|
+
* @param request - GetResourceModifyPriceRequest
|
|
2832
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2833
|
+
* @returns GetResourceModifyPriceResponse
|
|
2834
|
+
*/
|
|
2835
|
+
async getResourceModifyPriceWithOptions(request, runtime) {
|
|
2836
|
+
request.validate();
|
|
2837
|
+
let query = {};
|
|
2838
|
+
if (!$dara.isNull(request.amount)) {
|
|
2839
|
+
query["Amount"] = request.amount;
|
|
2840
|
+
}
|
|
2841
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
2842
|
+
query["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
2843
|
+
}
|
|
2844
|
+
if (!$dara.isNull(request.productType)) {
|
|
2845
|
+
query["ProductType"] = request.productType;
|
|
2846
|
+
}
|
|
2847
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2848
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2849
|
+
});
|
|
2850
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2851
|
+
action: "GetResourceModifyPrice",
|
|
2852
|
+
version: "2021-09-01",
|
|
2853
|
+
protocol: "HTTPS",
|
|
2854
|
+
pathname: "/",
|
|
2855
|
+
method: "POST",
|
|
2856
|
+
authType: "AK",
|
|
2857
|
+
style: "RPC",
|
|
2858
|
+
reqBodyType: "formData",
|
|
2859
|
+
bodyType: "json",
|
|
2860
|
+
});
|
|
2861
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceModifyPriceResponse({}));
|
|
2862
|
+
}
|
|
2863
|
+
/**
|
|
2864
|
+
* Queries the pricing and discount information required to scale out a subscription delivery group to a specified total number of nodes.
|
|
2865
|
+
*
|
|
2866
|
+
* @remarks
|
|
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:**
|
|
2869
|
+
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
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.
|
|
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.
|
|
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.
|
|
2873
|
+
* **Parameter relationships:**
|
|
2874
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required and must be specified together.
|
|
2875
|
+
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
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.**
|
|
2881
|
+
* **Example scenario:**
|
|
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.
|
|
2883
|
+
*
|
|
2884
|
+
* @param request - GetResourceModifyPriceRequest
|
|
2885
|
+
* @returns GetResourceModifyPriceResponse
|
|
2886
|
+
*/
|
|
2887
|
+
async getResourceModifyPrice(request) {
|
|
2888
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2889
|
+
return await this.getResourceModifyPriceWithOptions(request, runtime);
|
|
2890
|
+
}
|
|
2219
2891
|
/**
|
|
2220
2892
|
* Queries the price information of a resource.
|
|
2221
2893
|
*
|
|
@@ -2254,7 +2926,68 @@ class Client extends openapi_core_1.default {
|
|
|
2254
2926
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2255
2927
|
});
|
|
2256
2928
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2257
|
-
action: "GetResourcePrice",
|
|
2929
|
+
action: "GetResourcePrice",
|
|
2930
|
+
version: "2021-09-01",
|
|
2931
|
+
protocol: "HTTPS",
|
|
2932
|
+
pathname: "/",
|
|
2933
|
+
method: "POST",
|
|
2934
|
+
authType: "AK",
|
|
2935
|
+
style: "RPC",
|
|
2936
|
+
reqBodyType: "formData",
|
|
2937
|
+
bodyType: "json",
|
|
2938
|
+
});
|
|
2939
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourcePriceResponse({}));
|
|
2940
|
+
}
|
|
2941
|
+
/**
|
|
2942
|
+
* Queries the price information of a resource.
|
|
2943
|
+
*
|
|
2944
|
+
* @param request - GetResourcePriceRequest
|
|
2945
|
+
* @returns GetResourcePriceResponse
|
|
2946
|
+
*/
|
|
2947
|
+
async getResourcePrice(request) {
|
|
2948
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2949
|
+
return await this.getResourcePriceWithOptions(request, runtime);
|
|
2950
|
+
}
|
|
2951
|
+
/**
|
|
2952
|
+
* Queries the maximum quantity quota applicable to the current account for a specified product, resource type, business region, and billing method.
|
|
2953
|
+
*
|
|
2954
|
+
* @remarks
|
|
2955
|
+
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
2956
|
+
* **Parameter relationships:**
|
|
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.
|
|
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.
|
|
2960
|
+
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
2961
|
+
* **Call sequence:**
|
|
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.
|
|
2966
|
+
*
|
|
2967
|
+
* @param request - GetResourceQuotaRequest
|
|
2968
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2969
|
+
* @returns GetResourceQuotaResponse
|
|
2970
|
+
*/
|
|
2971
|
+
async getResourceQuotaWithOptions(request, runtime) {
|
|
2972
|
+
request.validate();
|
|
2973
|
+
let query = {};
|
|
2974
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
2975
|
+
query["BizRegionId"] = request.bizRegionId;
|
|
2976
|
+
}
|
|
2977
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
2978
|
+
query["ChargeType"] = request.chargeType;
|
|
2979
|
+
}
|
|
2980
|
+
if (!$dara.isNull(request.productType)) {
|
|
2981
|
+
query["ProductType"] = request.productType;
|
|
2982
|
+
}
|
|
2983
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
2984
|
+
query["ResourceType"] = request.resourceType;
|
|
2985
|
+
}
|
|
2986
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2987
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2988
|
+
});
|
|
2989
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2990
|
+
action: "GetResourceQuota",
|
|
2258
2991
|
version: "2021-09-01",
|
|
2259
2992
|
protocol: "HTTPS",
|
|
2260
2993
|
pathname: "/",
|
|
@@ -2264,17 +2997,30 @@ class Client extends openapi_core_1.default {
|
|
|
2264
2997
|
reqBodyType: "formData",
|
|
2265
2998
|
bodyType: "json",
|
|
2266
2999
|
});
|
|
2267
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3000
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceQuotaResponse({}));
|
|
2268
3001
|
}
|
|
2269
3002
|
/**
|
|
2270
|
-
* Queries the
|
|
3003
|
+
* Queries the maximum quantity quota applicable to the current account for a specified product, resource type, business region, and billing method.
|
|
2271
3004
|
*
|
|
2272
|
-
* @
|
|
2273
|
-
*
|
|
2274
|
-
|
|
2275
|
-
|
|
3005
|
+
* @remarks
|
|
3006
|
+
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
3007
|
+
* **Parameter relationships:**
|
|
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.
|
|
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.
|
|
3011
|
+
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
3012
|
+
* **Call sequence:**
|
|
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.
|
|
3017
|
+
*
|
|
3018
|
+
* @param request - GetResourceQuotaRequest
|
|
3019
|
+
* @returns GetResourceQuotaResponse
|
|
3020
|
+
*/
|
|
3021
|
+
async getResourceQuota(request) {
|
|
2276
3022
|
let runtime = new $dara.RuntimeOptions({});
|
|
2277
|
-
return await this.
|
|
3023
|
+
return await this.getResourceQuotaWithOptions(request, runtime);
|
|
2278
3024
|
}
|
|
2279
3025
|
/**
|
|
2280
3026
|
* Queries the renewal price of WUYING Cloud Application resources.
|
|
@@ -2443,6 +3189,160 @@ class Client extends openapi_core_1.default {
|
|
|
2443
3189
|
let runtime = new $dara.RuntimeOptions({});
|
|
2444
3190
|
return await this.getRuntimeModelConfigWithOptions(request, runtime);
|
|
2445
3191
|
}
|
|
3192
|
+
/**
|
|
3193
|
+
* Queries the details of a task by task ID, or by resource information and task category.
|
|
3194
|
+
*
|
|
3195
|
+
* @remarks
|
|
3196
|
+
* Supports two query methods:
|
|
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.
|
|
3200
|
+
*
|
|
3201
|
+
* @param request - GetTaskRequest
|
|
3202
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3203
|
+
* @returns GetTaskResponse
|
|
3204
|
+
*/
|
|
3205
|
+
async getTaskWithOptions(request, runtime) {
|
|
3206
|
+
request.validate();
|
|
3207
|
+
let body = {};
|
|
3208
|
+
if (!$dara.isNull(request.entityId)) {
|
|
3209
|
+
body["EntityId"] = request.entityId;
|
|
3210
|
+
}
|
|
3211
|
+
if (!$dara.isNull(request.entityType)) {
|
|
3212
|
+
body["EntityType"] = request.entityType;
|
|
3213
|
+
}
|
|
3214
|
+
if (!$dara.isNull(request.entityVersionId)) {
|
|
3215
|
+
body["EntityVersionId"] = request.entityVersionId;
|
|
3216
|
+
}
|
|
3217
|
+
if (!$dara.isNull(request.taskCategory)) {
|
|
3218
|
+
body["TaskCategory"] = request.taskCategory;
|
|
3219
|
+
}
|
|
3220
|
+
if (!$dara.isNull(request.taskId)) {
|
|
3221
|
+
body["TaskId"] = request.taskId;
|
|
3222
|
+
}
|
|
3223
|
+
if (!$dara.isNull(request.taskType)) {
|
|
3224
|
+
body["TaskType"] = request.taskType;
|
|
3225
|
+
}
|
|
3226
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3227
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3228
|
+
});
|
|
3229
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3230
|
+
action: "GetTask",
|
|
3231
|
+
version: "2021-09-01",
|
|
3232
|
+
protocol: "HTTPS",
|
|
3233
|
+
pathname: "/",
|
|
3234
|
+
method: "POST",
|
|
3235
|
+
authType: "AK",
|
|
3236
|
+
style: "RPC",
|
|
3237
|
+
reqBodyType: "formData",
|
|
3238
|
+
bodyType: "json",
|
|
3239
|
+
});
|
|
3240
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTaskResponse({}));
|
|
3241
|
+
}
|
|
3242
|
+
/**
|
|
3243
|
+
* Queries the details of a task by task ID, or by resource information and task category.
|
|
3244
|
+
*
|
|
3245
|
+
* @remarks
|
|
3246
|
+
* Supports two query methods:
|
|
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.
|
|
3250
|
+
*
|
|
3251
|
+
* @param request - GetTaskRequest
|
|
3252
|
+
* @returns GetTaskResponse
|
|
3253
|
+
*/
|
|
3254
|
+
async getTask(request) {
|
|
3255
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3256
|
+
return await this.getTaskWithOptions(request, runtime);
|
|
3257
|
+
}
|
|
3258
|
+
/**
|
|
3259
|
+
* Queries the valid applications of the current account by paging based on conditions such as the application ID, name, type, and associated product.
|
|
3260
|
+
*
|
|
3261
|
+
* @remarks
|
|
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.
|
|
3264
|
+
*
|
|
3265
|
+
* @param tmpReq - ListAppRequest
|
|
3266
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3267
|
+
* @returns ListAppResponse
|
|
3268
|
+
*/
|
|
3269
|
+
async listAppWithOptions(tmpReq, runtime) {
|
|
3270
|
+
tmpReq.validate();
|
|
3271
|
+
let request = new $_model.ListAppShrinkRequest({});
|
|
3272
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3273
|
+
if (!$dara.isNull(tmpReq.bizTypeList)) {
|
|
3274
|
+
request.bizTypeListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizTypeList, "BizTypeList", "json");
|
|
3275
|
+
}
|
|
3276
|
+
if (!$dara.isNull(tmpReq.productTypeList)) {
|
|
3277
|
+
request.productTypeListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.productTypeList, "ProductTypeList", "json");
|
|
3278
|
+
}
|
|
3279
|
+
let body = {};
|
|
3280
|
+
if (!$dara.isNull(request.appId)) {
|
|
3281
|
+
body["AppId"] = request.appId;
|
|
3282
|
+
}
|
|
3283
|
+
if (!$dara.isNull(request.appName)) {
|
|
3284
|
+
body["AppName"] = request.appName;
|
|
3285
|
+
}
|
|
3286
|
+
if (!$dara.isNull(request.appType)) {
|
|
3287
|
+
body["AppType"] = request.appType;
|
|
3288
|
+
}
|
|
3289
|
+
if (!$dara.isNull(request.bizType)) {
|
|
3290
|
+
body["BizType"] = request.bizType;
|
|
3291
|
+
}
|
|
3292
|
+
if (!$dara.isNull(request.bizTypeListShrink)) {
|
|
3293
|
+
body["BizTypeList"] = request.bizTypeListShrink;
|
|
3294
|
+
}
|
|
3295
|
+
if (!$dara.isNull(request.originAppType)) {
|
|
3296
|
+
body["OriginAppType"] = request.originAppType;
|
|
3297
|
+
}
|
|
3298
|
+
if (!$dara.isNull(request.osType)) {
|
|
3299
|
+
body["OsType"] = request.osType;
|
|
3300
|
+
}
|
|
3301
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3302
|
+
body["PageNumber"] = request.pageNumber;
|
|
3303
|
+
}
|
|
3304
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3305
|
+
body["PageSize"] = request.pageSize;
|
|
3306
|
+
}
|
|
3307
|
+
if (!$dara.isNull(request.productType)) {
|
|
3308
|
+
body["ProductType"] = request.productType;
|
|
3309
|
+
}
|
|
3310
|
+
if (!$dara.isNull(request.productTypeListShrink)) {
|
|
3311
|
+
body["ProductTypeList"] = request.productTypeListShrink;
|
|
3312
|
+
}
|
|
3313
|
+
if (!$dara.isNull(request.subAppType)) {
|
|
3314
|
+
body["SubAppType"] = request.subAppType;
|
|
3315
|
+
}
|
|
3316
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3317
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3318
|
+
});
|
|
3319
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3320
|
+
action: "ListApp",
|
|
3321
|
+
version: "2021-09-01",
|
|
3322
|
+
protocol: "HTTPS",
|
|
3323
|
+
pathname: "/",
|
|
3324
|
+
method: "POST",
|
|
3325
|
+
authType: "AK",
|
|
3326
|
+
style: "RPC",
|
|
3327
|
+
reqBodyType: "formData",
|
|
3328
|
+
bodyType: "json",
|
|
3329
|
+
});
|
|
3330
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppResponse({}));
|
|
3331
|
+
}
|
|
3332
|
+
/**
|
|
3333
|
+
* Queries the valid applications of the current account by paging based on conditions such as the application ID, name, type, and associated product.
|
|
3334
|
+
*
|
|
3335
|
+
* @remarks
|
|
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.
|
|
3338
|
+
*
|
|
3339
|
+
* @param request - ListAppRequest
|
|
3340
|
+
* @returns ListAppResponse
|
|
3341
|
+
*/
|
|
3342
|
+
async listApp(request) {
|
|
3343
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3344
|
+
return await this.listAppWithOptions(request, runtime);
|
|
3345
|
+
}
|
|
2446
3346
|
/**
|
|
2447
3347
|
* Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
|
|
2448
3348
|
*
|
|
@@ -2523,6 +3423,120 @@ class Client extends openapi_core_1.default {
|
|
|
2523
3423
|
let runtime = new $dara.RuntimeOptions({});
|
|
2524
3424
|
return await this.listAppInstanceGroupWithOptions(request, runtime);
|
|
2525
3425
|
}
|
|
3426
|
+
/**
|
|
3427
|
+
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
3428
|
+
*
|
|
3429
|
+
* @remarks
|
|
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.
|
|
3431
|
+
* **Filtering and pagination:**
|
|
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.
|
|
3437
|
+
* **Inventory and subsequent calls:**
|
|
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.
|
|
3439
|
+
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
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.
|
|
3443
|
+
*
|
|
3444
|
+
* @param request - ListAppInstanceTypeRequest
|
|
3445
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3446
|
+
* @returns ListAppInstanceTypeResponse
|
|
3447
|
+
*/
|
|
3448
|
+
async listAppInstanceTypeWithOptions(request, runtime) {
|
|
3449
|
+
request.validate();
|
|
3450
|
+
let query = {};
|
|
3451
|
+
if (!$dara.isNull(request.appCenterImageId)) {
|
|
3452
|
+
query["AppCenterImageId"] = request.appCenterImageId;
|
|
3453
|
+
}
|
|
3454
|
+
if (!$dara.isNull(request.appInstanceType)) {
|
|
3455
|
+
query["AppInstanceType"] = request.appInstanceType;
|
|
3456
|
+
}
|
|
3457
|
+
if (!$dara.isNull(request.appInstanceTypeFamily)) {
|
|
3458
|
+
query["AppInstanceTypeFamily"] = request.appInstanceTypeFamily;
|
|
3459
|
+
}
|
|
3460
|
+
if (!$dara.isNull(request.appInstanceTypeList)) {
|
|
3461
|
+
query["AppInstanceTypeList"] = request.appInstanceTypeList;
|
|
3462
|
+
}
|
|
3463
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
3464
|
+
query["BizRegionId"] = request.bizRegionId;
|
|
3465
|
+
}
|
|
3466
|
+
if (!$dara.isNull(request.category)) {
|
|
3467
|
+
query["Category"] = request.category;
|
|
3468
|
+
}
|
|
3469
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
3470
|
+
query["ChargeType"] = request.chargeType;
|
|
3471
|
+
}
|
|
3472
|
+
if (!$dara.isNull(request.cpu)) {
|
|
3473
|
+
query["Cpu"] = request.cpu;
|
|
3474
|
+
}
|
|
3475
|
+
if (!$dara.isNull(request.gpuMemory)) {
|
|
3476
|
+
query["GpuMemory"] = request.gpuMemory;
|
|
3477
|
+
}
|
|
3478
|
+
if (!$dara.isNull(request.language)) {
|
|
3479
|
+
query["Language"] = request.language;
|
|
3480
|
+
}
|
|
3481
|
+
if (!$dara.isNull(request.memory)) {
|
|
3482
|
+
query["Memory"] = request.memory;
|
|
3483
|
+
}
|
|
3484
|
+
if (!$dara.isNull(request.osType)) {
|
|
3485
|
+
query["OsType"] = request.osType;
|
|
3486
|
+
}
|
|
3487
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3488
|
+
query["PageNumber"] = request.pageNumber;
|
|
3489
|
+
}
|
|
3490
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3491
|
+
query["PageSize"] = request.pageSize;
|
|
3492
|
+
}
|
|
3493
|
+
if (!$dara.isNull(request.productType)) {
|
|
3494
|
+
query["ProductType"] = request.productType;
|
|
3495
|
+
}
|
|
3496
|
+
if (!$dara.isNull(request.queryInventory)) {
|
|
3497
|
+
query["QueryInventory"] = request.queryInventory;
|
|
3498
|
+
}
|
|
3499
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3500
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3501
|
+
});
|
|
3502
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3503
|
+
action: "ListAppInstanceType",
|
|
3504
|
+
version: "2021-09-01",
|
|
3505
|
+
protocol: "HTTPS",
|
|
3506
|
+
pathname: "/",
|
|
3507
|
+
method: "POST",
|
|
3508
|
+
authType: "AK",
|
|
3509
|
+
style: "RPC",
|
|
3510
|
+
reqBodyType: "formData",
|
|
3511
|
+
bodyType: "json",
|
|
3512
|
+
});
|
|
3513
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstanceTypeResponse({}));
|
|
3514
|
+
}
|
|
3515
|
+
/**
|
|
3516
|
+
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
3517
|
+
*
|
|
3518
|
+
* @remarks
|
|
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.
|
|
3520
|
+
* **Filtering and pagination:**
|
|
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.
|
|
3526
|
+
* **Inventory and subsequent calls:**
|
|
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.
|
|
3528
|
+
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
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.
|
|
3532
|
+
*
|
|
3533
|
+
* @param request - ListAppInstanceTypeRequest
|
|
3534
|
+
* @returns ListAppInstanceTypeResponse
|
|
3535
|
+
*/
|
|
3536
|
+
async listAppInstanceType(request) {
|
|
3537
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3538
|
+
return await this.listAppInstanceTypeWithOptions(request, runtime);
|
|
3539
|
+
}
|
|
2526
3540
|
/**
|
|
2527
3541
|
* Queries the details of session instances in a delivery group, including instance IDs, instance statuses, creation time, update time, session statuses, and public IP addresses of primary network interface controllers (NICs).
|
|
2528
3542
|
*
|
|
@@ -3205,7 +4219,7 @@ class Client extends openapi_core_1.default {
|
|
|
3205
4219
|
return await this.listBrowserInstanceGroupWithOptions(request, runtime);
|
|
3206
4220
|
}
|
|
3207
4221
|
/**
|
|
3208
|
-
* Queries
|
|
4222
|
+
* Queries a list of desktop Agent runtimes.
|
|
3209
4223
|
*
|
|
3210
4224
|
* @param request - ListDesktopAgentRuntimeRequest
|
|
3211
4225
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3312,7 +4326,7 @@ class Client extends openapi_core_1.default {
|
|
|
3312
4326
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDesktopAgentRuntimeResponse({}));
|
|
3313
4327
|
}
|
|
3314
4328
|
/**
|
|
3315
|
-
* Queries
|
|
4329
|
+
* Queries a list of desktop Agent runtimes.
|
|
3316
4330
|
*
|
|
3317
4331
|
* @param request - ListDesktopAgentRuntimeRequest
|
|
3318
4332
|
* @returns ListDesktopAgentRuntimeResponse
|
|
@@ -3549,6 +4563,69 @@ class Client extends openapi_core_1.default {
|
|
|
3549
4563
|
let runtime = new $dara.RuntimeOptions({});
|
|
3550
4564
|
return await this.listModelProviderEndpointsWithOptions(request, runtime);
|
|
3551
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
|
+
}
|
|
3552
4629
|
/**
|
|
3553
4630
|
* Queries the list of model provider templates.
|
|
3554
4631
|
*
|
|
@@ -4179,12 +5256,59 @@ class Client extends openapi_core_1.default {
|
|
|
4179
5256
|
* 3. To authorize users for a specific application by application, pass the returned `AppInstanceGroupId`, `AppId`, and the same `ProductType` to [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~). To view delivery group details, pass `AppInstanceGroupId` and `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
|
|
4180
5257
|
* The masked identities in the examples are for format demonstration purposes. Replace them with your actual identities when you invoke the operation.
|
|
4181
5258
|
*
|
|
4182
|
-
* @param request - ListPublishedAppsRequest
|
|
4183
|
-
* @returns ListPublishedAppsResponse
|
|
5259
|
+
* @param request - ListPublishedAppsRequest
|
|
5260
|
+
* @returns ListPublishedAppsResponse
|
|
5261
|
+
*/
|
|
5262
|
+
async listPublishedApps(request) {
|
|
5263
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5264
|
+
return await this.listPublishedAppsWithOptions(request, runtime);
|
|
5265
|
+
}
|
|
5266
|
+
/**
|
|
5267
|
+
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
5268
|
+
*
|
|
5269
|
+
* @remarks
|
|
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.
|
|
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.
|
|
5272
|
+
*
|
|
5273
|
+
* @param request - ListRegionIdRequest
|
|
5274
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5275
|
+
* @returns ListRegionIdResponse
|
|
5276
|
+
*/
|
|
5277
|
+
async listRegionIdWithOptions(request, runtime) {
|
|
5278
|
+
request.validate();
|
|
5279
|
+
let body = {};
|
|
5280
|
+
if (!$dara.isNull(request.productType)) {
|
|
5281
|
+
body["ProductType"] = request.productType;
|
|
5282
|
+
}
|
|
5283
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5284
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5285
|
+
});
|
|
5286
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5287
|
+
action: "ListRegionId",
|
|
5288
|
+
version: "2021-09-01",
|
|
5289
|
+
protocol: "HTTPS",
|
|
5290
|
+
pathname: "/",
|
|
5291
|
+
method: "POST",
|
|
5292
|
+
authType: "AK",
|
|
5293
|
+
style: "RPC",
|
|
5294
|
+
reqBodyType: "formData",
|
|
5295
|
+
bodyType: "json",
|
|
5296
|
+
});
|
|
5297
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRegionIdResponse({}));
|
|
5298
|
+
}
|
|
5299
|
+
/**
|
|
5300
|
+
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
5301
|
+
*
|
|
5302
|
+
* @remarks
|
|
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.
|
|
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.
|
|
5305
|
+
*
|
|
5306
|
+
* @param request - ListRegionIdRequest
|
|
5307
|
+
* @returns ListRegionIdResponse
|
|
4184
5308
|
*/
|
|
4185
|
-
async
|
|
5309
|
+
async listRegionId(request) {
|
|
4186
5310
|
let runtime = new $dara.RuntimeOptions({});
|
|
4187
|
-
return await this.
|
|
5311
|
+
return await this.listRegionIdWithOptions(request, runtime);
|
|
4188
5312
|
}
|
|
4189
5313
|
/**
|
|
4190
5314
|
* Queries the regions supported by WUYING Cloud Application.
|
|
@@ -4382,6 +5506,53 @@ class Client extends openapi_core_1.default {
|
|
|
4382
5506
|
let runtime = new $dara.RuntimeOptions({});
|
|
4383
5507
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
4384
5508
|
}
|
|
5509
|
+
/**
|
|
5510
|
+
* Queries the step identifiers, step categories, and interaction methods for application adaptation or image creation tasks.
|
|
5511
|
+
*
|
|
5512
|
+
* @remarks
|
|
5513
|
+
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
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.
|
|
5515
|
+
*
|
|
5516
|
+
* @param request - ListTaskStepRequest
|
|
5517
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5518
|
+
* @returns ListTaskStepResponse
|
|
5519
|
+
*/
|
|
5520
|
+
async listTaskStepWithOptions(request, runtime) {
|
|
5521
|
+
request.validate();
|
|
5522
|
+
let query = {};
|
|
5523
|
+
if (!$dara.isNull(request.type)) {
|
|
5524
|
+
query["Type"] = request.type;
|
|
5525
|
+
}
|
|
5526
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5527
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5528
|
+
});
|
|
5529
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5530
|
+
action: "ListTaskStep",
|
|
5531
|
+
version: "2021-09-01",
|
|
5532
|
+
protocol: "HTTPS",
|
|
5533
|
+
pathname: "/",
|
|
5534
|
+
method: "POST",
|
|
5535
|
+
authType: "AK",
|
|
5536
|
+
style: "RPC",
|
|
5537
|
+
reqBodyType: "formData",
|
|
5538
|
+
bodyType: "json",
|
|
5539
|
+
});
|
|
5540
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTaskStepResponse({}));
|
|
5541
|
+
}
|
|
5542
|
+
/**
|
|
5543
|
+
* Queries the step identifiers, step categories, and interaction methods for application adaptation or image creation tasks.
|
|
5544
|
+
*
|
|
5545
|
+
* @remarks
|
|
5546
|
+
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
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.
|
|
5548
|
+
*
|
|
5549
|
+
* @param request - ListTaskStepRequest
|
|
5550
|
+
* @returns ListTaskStepResponse
|
|
5551
|
+
*/
|
|
5552
|
+
async listTaskStep(request) {
|
|
5553
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5554
|
+
return await this.listTaskStepWithOptions(request, runtime);
|
|
5555
|
+
}
|
|
4385
5556
|
/**
|
|
4386
5557
|
* Queries the configuration information of an administrator account, such as whether resource expiration reminders are enabled.
|
|
4387
5558
|
*
|
|
@@ -4519,10 +5690,10 @@ class Client extends openapi_core_1.default {
|
|
|
4519
5690
|
return await this.listWuyingServerWithOptions(request, runtime);
|
|
4520
5691
|
}
|
|
4521
5692
|
/**
|
|
4522
|
-
* Queries the
|
|
5693
|
+
* Queries the Wuying Workstation workload templates available for a specified virtual node pool.
|
|
4523
5694
|
*
|
|
4524
5695
|
* @remarks
|
|
4525
|
-
* Queries the
|
|
5696
|
+
* Queries the workload templates available for a specified virtual node pool. Before calling this operation, call [ListWuyingServer](~~ListWuyingServer~~) to obtain the `VirtualNodePoolId` of the current account. The operation verifies the ownership of the node pool and returns up to 100 records sorted by template configuration order. The template content is Base64-encoded after being encoded in UTF-8. You must decode the Base64 string before use. The current version does not use `MaxResults` and `NextToken` for pagination.
|
|
4526
5697
|
*
|
|
4527
5698
|
* @param request - ListWuyingServerWorkloadTemplateRequest
|
|
4528
5699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4557,10 +5728,10 @@ class Client extends openapi_core_1.default {
|
|
|
4557
5728
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWuyingServerWorkloadTemplateResponse({}));
|
|
4558
5729
|
}
|
|
4559
5730
|
/**
|
|
4560
|
-
* Queries the
|
|
5731
|
+
* Queries the Wuying Workstation workload templates available for a specified virtual node pool.
|
|
4561
5732
|
*
|
|
4562
5733
|
* @remarks
|
|
4563
|
-
* Queries the
|
|
5734
|
+
* Queries the workload templates available for a specified virtual node pool. Before calling this operation, call [ListWuyingServer](~~ListWuyingServer~~) to obtain the `VirtualNodePoolId` of the current account. The operation verifies the ownership of the node pool and returns up to 100 records sorted by template configuration order. The template content is Base64-encoded after being encoded in UTF-8. You must decode the Base64 string before use. The current version does not use `MaxResults` and `NextToken` for pagination.
|
|
4564
5735
|
*
|
|
4565
5736
|
* @param request - ListWuyingServerWorkloadTemplateRequest
|
|
4566
5737
|
* @returns ListWuyingServerWorkloadTemplateResponse
|
|
@@ -4775,6 +5946,102 @@ class Client extends openapi_core_1.default {
|
|
|
4775
5946
|
let runtime = new $dara.RuntimeOptions({});
|
|
4776
5947
|
return await this.modifyAppInstanceGroupAttributeWithOptions(request, runtime);
|
|
4777
5948
|
}
|
|
5949
|
+
/**
|
|
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.
|
|
5951
|
+
*
|
|
5952
|
+
* @remarks
|
|
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.**
|
|
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.
|
|
5959
|
+
* **Parameter relationships and call sequence:**
|
|
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.
|
|
5965
|
+
*
|
|
5966
|
+
* @param tmpReq - ModifyAppInstanceGroupChargeTypeRequest
|
|
5967
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5968
|
+
* @returns ModifyAppInstanceGroupChargeTypeResponse
|
|
5969
|
+
*/
|
|
5970
|
+
async modifyAppInstanceGroupChargeTypeWithOptions(tmpReq, runtime) {
|
|
5971
|
+
tmpReq.validate();
|
|
5972
|
+
let request = new $_model.ModifyAppInstanceGroupChargeTypeShrinkRequest({});
|
|
5973
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5974
|
+
if (!$dara.isNull(tmpReq.appInstanceGroupIds)) {
|
|
5975
|
+
request.appInstanceGroupIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.appInstanceGroupIds, "AppInstanceGroupIds", "json");
|
|
5976
|
+
}
|
|
5977
|
+
let body = {};
|
|
5978
|
+
if (!$dara.isNull(request.appInstanceGroupIdsShrink)) {
|
|
5979
|
+
body["AppInstanceGroupIds"] = request.appInstanceGroupIdsShrink;
|
|
5980
|
+
}
|
|
5981
|
+
if (!$dara.isNull(request.autoPay)) {
|
|
5982
|
+
body["AutoPay"] = request.autoPay;
|
|
5983
|
+
}
|
|
5984
|
+
if (!$dara.isNull(request.autoRenew)) {
|
|
5985
|
+
body["AutoRenew"] = request.autoRenew;
|
|
5986
|
+
}
|
|
5987
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
5988
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
5989
|
+
}
|
|
5990
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
5991
|
+
body["ChargeType"] = request.chargeType;
|
|
5992
|
+
}
|
|
5993
|
+
if (!$dara.isNull(request.period)) {
|
|
5994
|
+
body["Period"] = request.period;
|
|
5995
|
+
}
|
|
5996
|
+
if (!$dara.isNull(request.periodUnit)) {
|
|
5997
|
+
body["PeriodUnit"] = request.periodUnit;
|
|
5998
|
+
}
|
|
5999
|
+
if (!$dara.isNull(request.productType)) {
|
|
6000
|
+
body["ProductType"] = request.productType;
|
|
6001
|
+
}
|
|
6002
|
+
if (!$dara.isNull(request.promotionId)) {
|
|
6003
|
+
body["PromotionId"] = request.promotionId;
|
|
6004
|
+
}
|
|
6005
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6006
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6007
|
+
});
|
|
6008
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6009
|
+
action: "ModifyAppInstanceGroupChargeType",
|
|
6010
|
+
version: "2021-09-01",
|
|
6011
|
+
protocol: "HTTPS",
|
|
6012
|
+
pathname: "/",
|
|
6013
|
+
method: "POST",
|
|
6014
|
+
authType: "AK",
|
|
6015
|
+
style: "RPC",
|
|
6016
|
+
reqBodyType: "formData",
|
|
6017
|
+
bodyType: "json",
|
|
6018
|
+
});
|
|
6019
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceGroupChargeTypeResponse({}));
|
|
6020
|
+
}
|
|
6021
|
+
/**
|
|
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.
|
|
6023
|
+
*
|
|
6024
|
+
* @remarks
|
|
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.**
|
|
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.
|
|
6031
|
+
* **Parameter relationships and call sequence:**
|
|
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.
|
|
6037
|
+
*
|
|
6038
|
+
* @param request - ModifyAppInstanceGroupChargeTypeRequest
|
|
6039
|
+
* @returns ModifyAppInstanceGroupChargeTypeResponse
|
|
6040
|
+
*/
|
|
6041
|
+
async modifyAppInstanceGroupChargeType(request) {
|
|
6042
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6043
|
+
return await this.modifyAppInstanceGroupChargeTypeWithOptions(request, runtime);
|
|
6044
|
+
}
|
|
4778
6045
|
/**
|
|
4779
6046
|
* Modifies the display policy of a delivery group, including settings such as frame rate, resolution, and protocol type.
|
|
4780
6047
|
*
|
|
@@ -5223,10 +6490,10 @@ class Client extends openapi_core_1.default {
|
|
|
5223
6490
|
return await this.pageListAppInstanceGroupUserWithOptions(request, runtime);
|
|
5224
6491
|
}
|
|
5225
6492
|
/**
|
|
5226
|
-
* Queries
|
|
6493
|
+
* Queries app instance group reports by region, app instance group, status, user authorization relationship, or statistical date.
|
|
5227
6494
|
*
|
|
5228
6495
|
* @remarks
|
|
5229
|
-
* Queries the
|
|
6496
|
+
* Queries the IDs, names, and statuses of app instance groups in app instance group reports. You can call [ListRegions](~~ListRegions~~) to obtain the business regions and then call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the app instance groups. `AppInstanceGroupId` matches the exact ID, and `AppInstanceGroupName` filters by inclusion. If multiple filter conditions are specified at the same time, the intersection is used. When filtering by date, `StatDate` specifies a single day, and `StartDate` and `EndDate` must be specified in pairs to represent a closed interval. If both a single day and an interval are specified, the results must meet both conditions. Before using `EndUserId`, make sure that the user has a valid authorization relationship.
|
|
5230
6497
|
*
|
|
5231
6498
|
* @param request - QueryAppInstanceGroupReportListRequest
|
|
5232
6499
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5285,10 +6552,10 @@ class Client extends openapi_core_1.default {
|
|
|
5285
6552
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAppInstanceGroupReportListResponse({}));
|
|
5286
6553
|
}
|
|
5287
6554
|
/**
|
|
5288
|
-
* Queries
|
|
6555
|
+
* Queries app instance group reports by region, app instance group, status, user authorization relationship, or statistical date.
|
|
5289
6556
|
*
|
|
5290
6557
|
* @remarks
|
|
5291
|
-
* Queries the
|
|
6558
|
+
* Queries the IDs, names, and statuses of app instance groups in app instance group reports. You can call [ListRegions](~~ListRegions~~) to obtain the business regions and then call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the app instance groups. `AppInstanceGroupId` matches the exact ID, and `AppInstanceGroupName` filters by inclusion. If multiple filter conditions are specified at the same time, the intersection is used. When filtering by date, `StatDate` specifies a single day, and `StartDate` and `EndDate` must be specified in pairs to represent a closed interval. If both a single day and an interval are specified, the results must meet both conditions. Before using `EndUserId`, make sure that the user has a valid authorization relationship.
|
|
5292
6559
|
*
|
|
5293
6560
|
* @param request - QueryAppInstanceGroupReportListRequest
|
|
5294
6561
|
* @returns QueryAppInstanceGroupReportListResponse
|
|
@@ -5301,7 +6568,7 @@ class Client extends openapi_core_1.default {
|
|
|
5301
6568
|
* Queries the number of successful connections, the number of failed connections, the success rate, and the average connection duration within a specified time range.
|
|
5302
6569
|
*
|
|
5303
6570
|
* @remarks
|
|
5304
|
-
* Queries connection statistical reports. Before you invoke this operation, you can invoke [ListRegions](~~ListRegions~~) and [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the `BizRegionId` and `AppInstanceGroupId` parameters. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation. The statistical interval is `[StartDate, EndDate)`, which includes the start time but excludes the end time. Results are returned by page, with a maximum of 1,500 entries per page.
|
|
6571
|
+
* Queries connection statistical reports. Before you invoke this operation, you can invoke [ListRegions](~~ListRegions~~) and [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the `BizRegionId` and `AppInstanceGroupId` parameters. The `ProductType`, `StartDate`, and `EndDate` parameters are required for server-side validation. The statistical interval is `[StartDate, EndDate)`, which includes the start time but excludes the end time. Results are returned by page, with a maximum of 1,500 entries per page.
|
|
5305
6572
|
*
|
|
5306
6573
|
* @param request - QueryConnectionReportRequest
|
|
5307
6574
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5351,7 +6618,7 @@ class Client extends openapi_core_1.default {
|
|
|
5351
6618
|
* Queries the number of successful connections, the number of failed connections, the success rate, and the average connection duration within a specified time range.
|
|
5352
6619
|
*
|
|
5353
6620
|
* @remarks
|
|
5354
|
-
* Queries connection statistical reports. Before you invoke this operation, you can invoke [ListRegions](~~ListRegions~~) and [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the `BizRegionId` and `AppInstanceGroupId` parameters. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation. The statistical interval is `[StartDate, EndDate)`, which includes the start time but excludes the end time. Results are returned by page, with a maximum of 1,500 entries per page.
|
|
6621
|
+
* Queries connection statistical reports. Before you invoke this operation, you can invoke [ListRegions](~~ListRegions~~) and [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the `BizRegionId` and `AppInstanceGroupId` parameters. The `ProductType`, `StartDate`, and `EndDate` parameters are required for server-side validation. The statistical interval is `[StartDate, EndDate)`, which includes the start time but excludes the end time. Results are returned by page, with a maximum of 1,500 entries per page.
|
|
5355
6622
|
*
|
|
5356
6623
|
* @param request - QueryConnectionReportRequest
|
|
5357
6624
|
* @returns QueryConnectionReportResponse
|
|
@@ -5364,7 +6631,7 @@ class Client extends openapi_core_1.default {
|
|
|
5364
6631
|
* Queries the number of daily active users and streaming daily active users by date.
|
|
5365
6632
|
*
|
|
5366
6633
|
* @remarks
|
|
5367
|
-
* Queries the daily active user (DAU) report. StartDate and EndDate are required. The date range is inclusive and cannot exceed 180 days. If ProductType is not specified or is unrecognized, the query defaults to
|
|
6634
|
+
* Queries the daily active user (DAU) report. StartDate and EndDate are required. The date range is inclusive and cannot exceed 180 days. If ProductType is not specified or is unrecognized, the query defaults to CloudApp. You can use BizRegionId and AppInstanceGroupId to narrow down the scope. If neither is specified, the query returns aggregated data for all business regions. Results are returned in pages, with a maximum of 1,500 records per page.
|
|
5368
6635
|
*
|
|
5369
6636
|
* @param request - QueryDauReportDataRequest
|
|
5370
6637
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5414,7 +6681,7 @@ class Client extends openapi_core_1.default {
|
|
|
5414
6681
|
* Queries the number of daily active users and streaming daily active users by date.
|
|
5415
6682
|
*
|
|
5416
6683
|
* @remarks
|
|
5417
|
-
* Queries the daily active user (DAU) report. StartDate and EndDate are required. The date range is inclusive and cannot exceed 180 days. If ProductType is not specified or is unrecognized, the query defaults to
|
|
6684
|
+
* Queries the daily active user (DAU) report. StartDate and EndDate are required. The date range is inclusive and cannot exceed 180 days. If ProductType is not specified or is unrecognized, the query defaults to CloudApp. You can use BizRegionId and AppInstanceGroupId to narrow down the scope. If neither is specified, the query returns aggregated data for all business regions. Results are returned in pages, with a maximum of 1,500 records per page.
|
|
5418
6685
|
*
|
|
5419
6686
|
* @param request - QueryDauReportDataRequest
|
|
5420
6687
|
* @returns QueryDauReportDataResponse
|
|
@@ -5553,7 +6820,7 @@ class Client extends openapi_core_1.default {
|
|
|
5553
6820
|
* Queries the total number of nodes, the number of subscription nodes, and the number of pay-as-you-go nodes by statistical granularity.
|
|
5554
6821
|
*
|
|
5555
6822
|
* @remarks
|
|
5556
|
-
* Queries
|
|
6823
|
+
* Queries node quantity reports. StartDate, EndDate, and StatDateType are required. The query span limit is determined by the statistical granularity: up to 1 day for 1m and 30m, up to 15 days for 6h, and up to 180 days for 1d. Both the start and end boundaries are included in the query range. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
5557
6824
|
*
|
|
5558
6825
|
* @param request - QueryNodeReportDataRequest
|
|
5559
6826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5606,7 +6873,7 @@ class Client extends openapi_core_1.default {
|
|
|
5606
6873
|
* Queries the total number of nodes, the number of subscription nodes, and the number of pay-as-you-go nodes by statistical granularity.
|
|
5607
6874
|
*
|
|
5608
6875
|
* @remarks
|
|
5609
|
-
* Queries
|
|
6876
|
+
* Queries node quantity reports. StartDate, EndDate, and StatDateType are required. The query span limit is determined by the statistical granularity: up to 1 day for 1m and 30m, up to 15 days for 6h, and up to 180 days for 1d. Both the start and end boundaries are included in the query range. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
5610
6877
|
*
|
|
5611
6878
|
* @param request - QueryNodeReportDataRequest
|
|
5612
6879
|
* @returns QueryNodeReportDataResponse
|
|
@@ -5685,7 +6952,7 @@ class Client extends openapi_core_1.default {
|
|
|
5685
6952
|
* Queries the cumulative duration of application usage by a specified user on an hourly basis and returns the top five applications for each hour.
|
|
5686
6953
|
*
|
|
5687
6954
|
* @remarks
|
|
5688
|
-
* Queries the application usage of a specified user on an hourly basis. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to
|
|
6955
|
+
* Queries the application usage of a specified user on an hourly basis. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to query. A maximum of the top five applications by usage duration are returned for each hour.
|
|
5689
6956
|
*
|
|
5690
6957
|
* @param request - QueryUserAppUsageAggregateByHourRequest
|
|
5691
6958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5732,7 +6999,7 @@ class Client extends openapi_core_1.default {
|
|
|
5732
6999
|
* Queries the cumulative duration of application usage by a specified user on an hourly basis and returns the top five applications for each hour.
|
|
5733
7000
|
*
|
|
5734
7001
|
* @remarks
|
|
5735
|
-
* Queries the application usage of a specified user on an hourly basis. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to
|
|
7002
|
+
* Queries the application usage of a specified user on an hourly basis. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to query. A maximum of the top five applications by usage duration are returned for each hour.
|
|
5736
7003
|
*
|
|
5737
7004
|
* @param request - QueryUserAppUsageAggregateByHourRequest
|
|
5738
7005
|
* @returns QueryUserAppUsageAggregateByHourResponse
|
|
@@ -5745,7 +7012,7 @@ class Client extends openapi_core_1.default {
|
|
|
5745
7012
|
* Queries the ranking of cumulative application usage duration for a specified user within a date range.
|
|
5746
7013
|
*
|
|
5747
7014
|
* @remarks
|
|
5748
|
-
* Queries the ranking of application usage duration for a specified user within a statistical range. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to be queried. The results are sorted in descending order of cumulative application usage duration.
|
|
7015
|
+
* Queries the ranking of application usage duration for a specified user within a statistical range. `StartDate` and `EndDate` use the `yyyyMMdd` format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. `UserId` must be set to the ID of the user to be queried. The results are sorted in descending order of cumulative application usage duration.
|
|
5749
7016
|
*
|
|
5750
7017
|
* @param request - QueryUserAppUsageTimeRankRequest
|
|
5751
7018
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5792,7 +7059,7 @@ class Client extends openapi_core_1.default {
|
|
|
5792
7059
|
* Queries the ranking of cumulative application usage duration for a specified user within a date range.
|
|
5793
7060
|
*
|
|
5794
7061
|
* @remarks
|
|
5795
|
-
* Queries the ranking of application usage duration for a specified user within a statistical range. StartDate and EndDate use the yyyyMMdd format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. UserId must be set to the ID of the user to be queried. The results are sorted in descending order of cumulative application usage duration.
|
|
7062
|
+
* Queries the ranking of application usage duration for a specified user within a statistical range. `StartDate` and `EndDate` use the `yyyyMMdd` format. If either parameter is not provided, it defaults to yesterday. Both dates must be within the last 90 days, and the start date cannot be later than the end date. The query range includes the start and end dates. `UserId` must be set to the ID of the user to be queried. The results are sorted in descending order of cumulative application usage duration.
|
|
5796
7063
|
*
|
|
5797
7064
|
* @param request - QueryUserAppUsageTimeRankRequest
|
|
5798
7065
|
* @returns QueryUserAppUsageTimeRankResponse
|
|
@@ -5805,7 +7072,7 @@ class Client extends openapi_core_1.default {
|
|
|
5805
7072
|
* Queries the connection status, last connection time, cumulative usage duration, and session persistence duration of users.
|
|
5806
7073
|
*
|
|
5807
7074
|
* @remarks
|
|
5808
|
-
* Queries user usage reports. ProductType, StartDate, and EndDate are required for server-side validation, and the time span cannot exceed 60 months. During the query, the start and end times are converted to
|
|
7075
|
+
* Queries user usage reports. ProductType, StartDate, and EndDate are required for server-side validation, and the time span cannot exceed 60 months. During the query, the start and end times are converted to `yyyyMMdd` and aggregated by natural days in a closed interval. The results are paginated in descending order of cumulative usage duration, with a maximum of 1,500 records per page. You can combine ConnectionStatus, UserId, BizRegionId, and AppInstanceGroupId for filtering.
|
|
5809
7076
|
*
|
|
5810
7077
|
* @param request - QueryUserUsageReportRequest
|
|
5811
7078
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5861,7 +7128,7 @@ class Client extends openapi_core_1.default {
|
|
|
5861
7128
|
* Queries the connection status, last connection time, cumulative usage duration, and session persistence duration of users.
|
|
5862
7129
|
*
|
|
5863
7130
|
* @remarks
|
|
5864
|
-
* Queries user usage reports. ProductType, StartDate, and EndDate are required for server-side validation, and the time span cannot exceed 60 months. During the query, the start and end times are converted to
|
|
7131
|
+
* Queries user usage reports. ProductType, StartDate, and EndDate are required for server-side validation, and the time span cannot exceed 60 months. During the query, the start and end times are converted to `yyyyMMdd` and aggregated by natural days in a closed interval. The results are paginated in descending order of cumulative usage duration, with a maximum of 1,500 records per page. You can combine ConnectionStatus, UserId, BizRegionId, and AppInstanceGroupId for filtering.
|
|
5865
7132
|
*
|
|
5866
7133
|
* @param request - QueryUserUsageReportRequest
|
|
5867
7134
|
* @returns QueryUserUsageReportResponse
|
|
@@ -6582,6 +7849,59 @@ class Client extends openapi_core_1.default {
|
|
|
6582
7849
|
let runtime = new $dara.RuntimeOptions({});
|
|
6583
7850
|
return await this.unbindWithOptions(request, runtime);
|
|
6584
7851
|
}
|
|
7852
|
+
/**
|
|
7853
|
+
* Dissociates applications from a specified image version in batches.
|
|
7854
|
+
*
|
|
7855
|
+
* @remarks
|
|
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.
|
|
7857
|
+
*
|
|
7858
|
+
* @param request - UnbindAppRequest
|
|
7859
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7860
|
+
* @returns UnbindAppResponse
|
|
7861
|
+
*/
|
|
7862
|
+
async unbindAppWithOptions(request, runtime) {
|
|
7863
|
+
request.validate();
|
|
7864
|
+
let body = {};
|
|
7865
|
+
let bodyFlat = {};
|
|
7866
|
+
if (!$dara.isNull(request.appIdList)) {
|
|
7867
|
+
bodyFlat["AppIdList"] = request.appIdList;
|
|
7868
|
+
}
|
|
7869
|
+
if (!$dara.isNull(request.imageId)) {
|
|
7870
|
+
body["ImageId"] = request.imageId;
|
|
7871
|
+
}
|
|
7872
|
+
if (!$dara.isNull(request.versionId)) {
|
|
7873
|
+
body["VersionId"] = request.versionId;
|
|
7874
|
+
}
|
|
7875
|
+
body = Object.assign(Object.assign({}, body), openapi_core_2.OpenApiUtil.query(bodyFlat));
|
|
7876
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7877
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7878
|
+
});
|
|
7879
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7880
|
+
action: "UnbindApp",
|
|
7881
|
+
version: "2021-09-01",
|
|
7882
|
+
protocol: "HTTPS",
|
|
7883
|
+
pathname: "/",
|
|
7884
|
+
method: "POST",
|
|
7885
|
+
authType: "AK",
|
|
7886
|
+
style: "RPC",
|
|
7887
|
+
reqBodyType: "formData",
|
|
7888
|
+
bodyType: "json",
|
|
7889
|
+
});
|
|
7890
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindAppResponse({}));
|
|
7891
|
+
}
|
|
7892
|
+
/**
|
|
7893
|
+
* Dissociates applications from a specified image version in batches.
|
|
7894
|
+
*
|
|
7895
|
+
* @remarks
|
|
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.
|
|
7897
|
+
*
|
|
7898
|
+
* @param request - UnbindAppRequest
|
|
7899
|
+
* @returns UnbindAppResponse
|
|
7900
|
+
*/
|
|
7901
|
+
async unbindApp(request) {
|
|
7902
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7903
|
+
return await this.unbindAppWithOptions(request, runtime);
|
|
7904
|
+
}
|
|
6585
7905
|
/**
|
|
6586
7906
|
* Unbinds tags from cloud resources in a unified manner.
|
|
6587
7907
|
*
|
|
@@ -6720,6 +8040,73 @@ class Client extends openapi_core_1.default {
|
|
|
6720
8040
|
let runtime = new $dara.RuntimeOptions({});
|
|
6721
8041
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
6722
8042
|
}
|
|
8043
|
+
/**
|
|
8044
|
+
* Modifies the runtime parameters, optimization configurations, and user configurations of a specified application adapter.
|
|
8045
|
+
*
|
|
8046
|
+
* @remarks
|
|
8047
|
+
* The AdaptorId must correspond to a valid application adapter manageable by the current account. Pass only the configurations that need to be modified in this request.
|
|
8048
|
+
* SilenceParam is used for application startup parameters. UserConfig is used for application runtime configurations. **This operation does not support modifying application scripts or executable file paths through AppScript or ExecuteFileAddress. Do not pass these two parameters.**
|
|
8049
|
+
*
|
|
8050
|
+
* @param tmpReq - UpdateAdaptorRequest
|
|
8051
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8052
|
+
* @returns UpdateAdaptorResponse
|
|
8053
|
+
*/
|
|
8054
|
+
async updateAdaptorWithOptions(tmpReq, runtime) {
|
|
8055
|
+
tmpReq.validate();
|
|
8056
|
+
let request = new $_model.UpdateAdaptorShrinkRequest({});
|
|
8057
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
8058
|
+
if (!$dara.isNull(tmpReq.userConfig)) {
|
|
8059
|
+
request.userConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userConfig, "UserConfig", "json");
|
|
8060
|
+
}
|
|
8061
|
+
let body = {};
|
|
8062
|
+
if (!$dara.isNull(request.adaptorId)) {
|
|
8063
|
+
body["AdaptorId"] = request.adaptorId;
|
|
8064
|
+
}
|
|
8065
|
+
if (!$dara.isNull(request.appScript)) {
|
|
8066
|
+
body["AppScript"] = request.appScript;
|
|
8067
|
+
}
|
|
8068
|
+
if (!$dara.isNull(request.executeFileAddress)) {
|
|
8069
|
+
body["ExecuteFileAddress"] = request.executeFileAddress;
|
|
8070
|
+
}
|
|
8071
|
+
if (!$dara.isNull(request.optimizeParam)) {
|
|
8072
|
+
body["OptimizeParam"] = request.optimizeParam;
|
|
8073
|
+
}
|
|
8074
|
+
if (!$dara.isNull(request.silenceParam)) {
|
|
8075
|
+
body["SilenceParam"] = request.silenceParam;
|
|
8076
|
+
}
|
|
8077
|
+
if (!$dara.isNull(request.userConfigShrink)) {
|
|
8078
|
+
body["UserConfig"] = request.userConfigShrink;
|
|
8079
|
+
}
|
|
8080
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8081
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8082
|
+
});
|
|
8083
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8084
|
+
action: "UpdateAdaptor",
|
|
8085
|
+
version: "2021-09-01",
|
|
8086
|
+
protocol: "HTTPS",
|
|
8087
|
+
pathname: "/",
|
|
8088
|
+
method: "POST",
|
|
8089
|
+
authType: "AK",
|
|
8090
|
+
style: "RPC",
|
|
8091
|
+
reqBodyType: "formData",
|
|
8092
|
+
bodyType: "json",
|
|
8093
|
+
});
|
|
8094
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAdaptorResponse({}));
|
|
8095
|
+
}
|
|
8096
|
+
/**
|
|
8097
|
+
* Modifies the runtime parameters, optimization configurations, and user configurations of a specified application adapter.
|
|
8098
|
+
*
|
|
8099
|
+
* @remarks
|
|
8100
|
+
* The AdaptorId must correspond to a valid application adapter manageable by the current account. Pass only the configurations that need to be modified in this request.
|
|
8101
|
+
* SilenceParam is used for application startup parameters. UserConfig is used for application runtime configurations. **This operation does not support modifying application scripts or executable file paths through AppScript or ExecuteFileAddress. Do not pass these two parameters.**
|
|
8102
|
+
*
|
|
8103
|
+
* @param request - UpdateAdaptorRequest
|
|
8104
|
+
* @returns UpdateAdaptorResponse
|
|
8105
|
+
*/
|
|
8106
|
+
async updateAdaptor(request) {
|
|
8107
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8108
|
+
return await this.updateAdaptorWithOptions(request, runtime);
|
|
8109
|
+
}
|
|
6723
8110
|
/**
|
|
6724
8111
|
* Updates the image of a delivery group.
|
|
6725
8112
|
*
|
|
@@ -6778,6 +8165,139 @@ class Client extends openapi_core_1.default {
|
|
|
6778
8165
|
let runtime = new $dara.RuntimeOptions({});
|
|
6779
8166
|
return await this.updateAppInstanceGroupImageWithOptions(request, runtime);
|
|
6780
8167
|
}
|
|
8168
|
+
/**
|
|
8169
|
+
* Modifies the name, description, version information, and associated application adapters of an image.
|
|
8170
|
+
*
|
|
8171
|
+
* @remarks
|
|
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.
|
|
8174
|
+
*
|
|
8175
|
+
* @param request - UpdateImageRequest
|
|
8176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8177
|
+
* @returns UpdateImageResponse
|
|
8178
|
+
*/
|
|
8179
|
+
async updateImageWithOptions(request, runtime) {
|
|
8180
|
+
request.validate();
|
|
8181
|
+
let body = {};
|
|
8182
|
+
if (!$dara.isNull(request.adaptorIdList)) {
|
|
8183
|
+
body["AdaptorIdList"] = request.adaptorIdList;
|
|
8184
|
+
}
|
|
8185
|
+
if (!$dara.isNull(request.description)) {
|
|
8186
|
+
body["Description"] = request.description;
|
|
8187
|
+
}
|
|
8188
|
+
if (!$dara.isNull(request.distro)) {
|
|
8189
|
+
body["Distro"] = request.distro;
|
|
8190
|
+
}
|
|
8191
|
+
if (!$dara.isNull(request.imageId)) {
|
|
8192
|
+
body["ImageId"] = request.imageId;
|
|
8193
|
+
}
|
|
8194
|
+
if (!$dara.isNull(request.imageName)) {
|
|
8195
|
+
body["ImageName"] = request.imageName;
|
|
8196
|
+
}
|
|
8197
|
+
if (!$dara.isNull(request.language)) {
|
|
8198
|
+
body["Language"] = request.language;
|
|
8199
|
+
}
|
|
8200
|
+
if (!$dara.isNull(request.versionId)) {
|
|
8201
|
+
body["VersionId"] = request.versionId;
|
|
8202
|
+
}
|
|
8203
|
+
if (!$dara.isNull(request.versionName)) {
|
|
8204
|
+
body["VersionName"] = request.versionName;
|
|
8205
|
+
}
|
|
8206
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8207
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8208
|
+
});
|
|
8209
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8210
|
+
action: "UpdateImage",
|
|
8211
|
+
version: "2021-09-01",
|
|
8212
|
+
protocol: "HTTPS",
|
|
8213
|
+
pathname: "/",
|
|
8214
|
+
method: "POST",
|
|
8215
|
+
authType: "AK",
|
|
8216
|
+
style: "RPC",
|
|
8217
|
+
reqBodyType: "formData",
|
|
8218
|
+
bodyType: "json",
|
|
8219
|
+
});
|
|
8220
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageResponse({}));
|
|
8221
|
+
}
|
|
8222
|
+
/**
|
|
8223
|
+
* Modifies the name, description, version information, and associated application adapters of an image.
|
|
8224
|
+
*
|
|
8225
|
+
* @remarks
|
|
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.
|
|
8228
|
+
*
|
|
8229
|
+
* @param request - UpdateImageRequest
|
|
8230
|
+
* @returns UpdateImageResponse
|
|
8231
|
+
*/
|
|
8232
|
+
async updateImage(request) {
|
|
8233
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8234
|
+
return await this.updateImageWithOptions(request, runtime);
|
|
8235
|
+
}
|
|
8236
|
+
/**
|
|
8237
|
+
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
8238
|
+
*
|
|
8239
|
+
* @remarks
|
|
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.
|
|
8242
|
+
*
|
|
8243
|
+
* @param request - UpdateImageTaskRequest
|
|
8244
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8245
|
+
* @returns UpdateImageTaskResponse
|
|
8246
|
+
*/
|
|
8247
|
+
async updateImageTaskWithOptions(request, runtime) {
|
|
8248
|
+
request.validate();
|
|
8249
|
+
let body = {};
|
|
8250
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
8251
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
8252
|
+
}
|
|
8253
|
+
if (!$dara.isNull(request.code)) {
|
|
8254
|
+
body["Code"] = request.code;
|
|
8255
|
+
}
|
|
8256
|
+
if (!$dara.isNull(request.status)) {
|
|
8257
|
+
body["Status"] = request.status;
|
|
8258
|
+
}
|
|
8259
|
+
if (!$dara.isNull(request.taskId)) {
|
|
8260
|
+
body["TaskId"] = request.taskId;
|
|
8261
|
+
}
|
|
8262
|
+
if (!$dara.isNull(request.taskStep)) {
|
|
8263
|
+
body["TaskStep"] = request.taskStep;
|
|
8264
|
+
}
|
|
8265
|
+
if (!$dara.isNull(request.taskType)) {
|
|
8266
|
+
body["TaskType"] = request.taskType;
|
|
8267
|
+
}
|
|
8268
|
+
if (!$dara.isNull(request.versionId)) {
|
|
8269
|
+
body["VersionId"] = request.versionId;
|
|
8270
|
+
}
|
|
8271
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8272
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
8273
|
+
});
|
|
8274
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8275
|
+
action: "UpdateImageTask",
|
|
8276
|
+
version: "2021-09-01",
|
|
8277
|
+
protocol: "HTTPS",
|
|
8278
|
+
pathname: "/",
|
|
8279
|
+
method: "POST",
|
|
8280
|
+
authType: "AK",
|
|
8281
|
+
style: "RPC",
|
|
8282
|
+
reqBodyType: "formData",
|
|
8283
|
+
bodyType: "json",
|
|
8284
|
+
});
|
|
8285
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageTaskResponse({}));
|
|
8286
|
+
}
|
|
8287
|
+
/**
|
|
8288
|
+
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
8289
|
+
*
|
|
8290
|
+
* @remarks
|
|
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.
|
|
8293
|
+
*
|
|
8294
|
+
* @param request - UpdateImageTaskRequest
|
|
8295
|
+
* @returns UpdateImageTaskResponse
|
|
8296
|
+
*/
|
|
8297
|
+
async updateImageTask(request) {
|
|
8298
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8299
|
+
return await this.updateImageTaskWithOptions(request, runtime);
|
|
8300
|
+
}
|
|
6781
8301
|
/**
|
|
6782
8302
|
* Updates a model provider template.
|
|
6783
8303
|
*
|