@alicloud/appstream-center20210901 5.10.1 → 5.12.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 +755 -2
- package/dist/client.js +2095 -68
- 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/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 +154 -0
- package/dist/models/DescribeEventsRequest.js +88 -0
- package/dist/models/DescribeEventsRequest.js.map +1 -0
- package/dist/models/DescribeEventsResponse.d.ts +19 -0
- package/dist/models/DescribeEventsResponse.js +69 -0
- package/dist/models/DescribeEventsResponse.js.map +1 -0
- package/dist/models/DescribeEventsResponseBody.d.ts +158 -0
- package/dist/models/DescribeEventsResponseBody.js +110 -0
- package/dist/models/DescribeEventsResponseBody.js.map +1 -0
- package/dist/models/GetAuthCodeRequest.d.ts +100 -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 +136 -0
- package/dist/models/GetAuthCodeResponseBody.js +102 -0
- package/dist/models/GetAuthCodeResponseBody.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 +74 -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 +346 -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/ListRegionIdRequest.d.ts +38 -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 +25 -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 +122 -0
- package/dist/models/ListTaskStepResponseBody.js +92 -0
- package/dist/models/ListTaskStepResponseBody.js.map +1 -0
- package/dist/models/ListWuyingServerWorkloadTemplateRequest.d.ts +39 -0
- package/dist/models/ListWuyingServerWorkloadTemplateRequest.js +62 -0
- package/dist/models/ListWuyingServerWorkloadTemplateRequest.js.map +1 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponse.d.ts +19 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponse.js +69 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponse.js.map +1 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponseBody.d.ts +78 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponseBody.js +90 -0
- package/dist/models/ListWuyingServerWorkloadTemplateResponseBody.js.map +1 -0
- 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/ModifyShareImageRequest.d.ts +4 -4
- package/dist/models/QueryAppInstanceGroupReportListRequest.d.ts +111 -0
- package/dist/models/QueryAppInstanceGroupReportListRequest.js +81 -0
- package/dist/models/QueryAppInstanceGroupReportListRequest.js.map +1 -0
- package/dist/models/QueryAppInstanceGroupReportListResponse.d.ts +19 -0
- package/dist/models/QueryAppInstanceGroupReportListResponse.js +69 -0
- package/dist/models/QueryAppInstanceGroupReportListResponse.js.map +1 -0
- package/dist/models/QueryAppInstanceGroupReportListResponseBody.d.ts +107 -0
- package/dist/models/QueryAppInstanceGroupReportListResponseBody.js +94 -0
- package/dist/models/QueryAppInstanceGroupReportListResponseBody.js.map +1 -0
- package/dist/models/QueryConnectionReportRequest.d.ts +80 -0
- package/dist/models/QueryConnectionReportRequest.js +70 -0
- package/dist/models/QueryConnectionReportRequest.js.map +1 -0
- package/dist/models/QueryConnectionReportResponse.d.ts +19 -0
- package/dist/models/QueryConnectionReportResponse.js +69 -0
- package/dist/models/QueryConnectionReportResponse.js.map +1 -0
- package/dist/models/QueryConnectionReportResponseBody.d.ts +142 -0
- package/dist/models/QueryConnectionReportResponseBody.js +106 -0
- package/dist/models/QueryConnectionReportResponseBody.js.map +1 -0
- package/dist/models/QueryDauReportDataRequest.d.ts +80 -0
- package/dist/models/QueryDauReportDataRequest.js +70 -0
- package/dist/models/QueryDauReportDataRequest.js.map +1 -0
- package/dist/models/QueryDauReportDataResponse.d.ts +19 -0
- package/dist/models/QueryDauReportDataResponse.js +69 -0
- package/dist/models/QueryDauReportDataResponse.js.map +1 -0
- package/dist/models/QueryDauReportDataResponseBody.d.ts +102 -0
- package/dist/models/QueryDauReportDataResponseBody.js +96 -0
- package/dist/models/QueryDauReportDataResponseBody.js.map +1 -0
- package/dist/models/QueryMauReportDataRequest.d.ts +80 -0
- package/dist/models/QueryMauReportDataRequest.js +70 -0
- package/dist/models/QueryMauReportDataRequest.js.map +1 -0
- package/dist/models/QueryMauReportDataResponse.d.ts +19 -0
- package/dist/models/QueryMauReportDataResponse.js +69 -0
- package/dist/models/QueryMauReportDataResponse.js.map +1 -0
- package/dist/models/QueryMauReportDataResponseBody.d.ts +118 -0
- package/dist/models/QueryMauReportDataResponseBody.js +100 -0
- package/dist/models/QueryMauReportDataResponseBody.js.map +1 -0
- package/dist/models/QueryNetworkRttReportRequest.d.ts +80 -0
- package/dist/models/QueryNetworkRttReportRequest.js +70 -0
- package/dist/models/QueryNetworkRttReportRequest.js.map +1 -0
- package/dist/models/QueryNetworkRttReportResponse.d.ts +19 -0
- package/dist/models/QueryNetworkRttReportResponse.js +69 -0
- package/dist/models/QueryNetworkRttReportResponse.js.map +1 -0
- package/dist/models/QueryNetworkRttReportResponseBody.d.ts +158 -0
- package/dist/models/QueryNetworkRttReportResponseBody.js +110 -0
- package/dist/models/QueryNetworkRttReportResponseBody.js.map +1 -0
- package/dist/models/QueryNodeReportDataRequest.d.ts +97 -0
- package/dist/models/QueryNodeReportDataRequest.js +72 -0
- package/dist/models/QueryNodeReportDataRequest.js.map +1 -0
- package/dist/models/QueryNodeReportDataResponse.d.ts +19 -0
- package/dist/models/QueryNodeReportDataResponse.js +69 -0
- package/dist/models/QueryNodeReportDataResponse.js.map +1 -0
- package/dist/models/QueryNodeReportDataResponseBody.d.ts +110 -0
- package/dist/models/QueryNodeReportDataResponseBody.js +98 -0
- package/dist/models/QueryNodeReportDataResponseBody.js.map +1 -0
- package/dist/models/QuerySessionReportDataRequest.d.ts +97 -0
- package/dist/models/QuerySessionReportDataRequest.js +72 -0
- package/dist/models/QuerySessionReportDataRequest.js.map +1 -0
- package/dist/models/QuerySessionReportDataResponse.d.ts +19 -0
- package/dist/models/QuerySessionReportDataResponse.js +69 -0
- package/dist/models/QuerySessionReportDataResponse.js.map +1 -0
- package/dist/models/QuerySessionReportDataResponseBody.d.ts +110 -0
- package/dist/models/QuerySessionReportDataResponseBody.js +98 -0
- package/dist/models/QuerySessionReportDataResponseBody.js.map +1 -0
- package/dist/models/QueryUserAppUsageAggregateByHourRequest.d.ts +61 -0
- package/dist/models/QueryUserAppUsageAggregateByHourRequest.js +68 -0
- package/dist/models/QueryUserAppUsageAggregateByHourRequest.js.map +1 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponse.d.ts +19 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponse.js +69 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponse.js.map +1 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponseBody.d.ts +86 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponseBody.js +92 -0
- package/dist/models/QueryUserAppUsageAggregateByHourResponseBody.js.map +1 -0
- package/dist/models/QueryUserAppUsageTimeRankRequest.d.ts +61 -0
- package/dist/models/QueryUserAppUsageTimeRankRequest.js +68 -0
- package/dist/models/QueryUserAppUsageTimeRankRequest.js.map +1 -0
- package/dist/models/QueryUserAppUsageTimeRankResponse.d.ts +19 -0
- package/dist/models/QueryUserAppUsageTimeRankResponse.js +69 -0
- package/dist/models/QueryUserAppUsageTimeRankResponse.js.map +1 -0
- package/dist/models/QueryUserAppUsageTimeRankResponseBody.d.ts +86 -0
- package/dist/models/QueryUserAppUsageTimeRankResponseBody.js +92 -0
- package/dist/models/QueryUserAppUsageTimeRankResponseBody.js.map +1 -0
- package/dist/models/QueryUserUsageReportRequest.d.ts +102 -0
- package/dist/models/QueryUserUsageReportRequest.js +74 -0
- package/dist/models/QueryUserUsageReportRequest.js.map +1 -0
- package/dist/models/QueryUserUsageReportResponse.d.ts +19 -0
- package/dist/models/QueryUserUsageReportResponse.js +69 -0
- package/dist/models/QueryUserUsageReportResponse.js.map +1 -0
- package/dist/models/QueryUserUsageReportResponseBody.d.ts +148 -0
- package/dist/models/QueryUserUsageReportResponseBody.js +106 -0
- package/dist/models/QueryUserUsageReportResponseBody.js.map +1 -0
- 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 +122 -0
- package/dist/models/model.js +257 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +2376 -71
- 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/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 +197 -0
- package/src/models/DescribeEventsResponse.ts +40 -0
- package/src/models/DescribeEventsResponseBody.ts +214 -0
- package/src/models/GetAuthCodeRequest.ts +123 -0
- package/src/models/GetAuthCodeResponse.ts +40 -0
- package/src/models/GetAuthCodeResponseBody.ts +184 -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 +97 -0
- package/src/models/GetTaskResponse.ts +40 -0
- package/src/models/GetTaskResponseBody.ts +450 -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/ListRegionIdRequest.ts +51 -0
- package/src/models/ListRegionIdResponse.ts +40 -0
- package/src/models/ListRegionIdResponseBody.ts +81 -0
- package/src/models/ListTaskStepRequest.ts +38 -0
- package/src/models/ListTaskStepResponse.ts +40 -0
- package/src/models/ListTaskStepResponseBody.ts +160 -0
- package/src/models/ListWuyingServerWorkloadTemplateRequest.ts +56 -0
- package/src/models/ListWuyingServerWorkloadTemplateResponse.ts +40 -0
- package/src/models/ListWuyingServerWorkloadTemplateResponseBody.ts +114 -0
- 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/ModifyShareImageRequest.ts +4 -4
- package/src/models/QueryAppInstanceGroupReportListRequest.ts +147 -0
- package/src/models/QueryAppInstanceGroupReportListResponse.ts +40 -0
- package/src/models/QueryAppInstanceGroupReportListResponseBody.ts +147 -0
- package/src/models/QueryConnectionReportRequest.ts +105 -0
- package/src/models/QueryConnectionReportResponse.ts +40 -0
- package/src/models/QueryConnectionReportResponseBody.ts +194 -0
- package/src/models/QueryDauReportDataRequest.ts +105 -0
- package/src/models/QueryDauReportDataResponse.ts +40 -0
- package/src/models/QueryDauReportDataResponseBody.ts +144 -0
- package/src/models/QueryMauReportDataRequest.ts +105 -0
- package/src/models/QueryMauReportDataResponse.ts +40 -0
- package/src/models/QueryMauReportDataResponseBody.ts +164 -0
- package/src/models/QueryNetworkRttReportRequest.ts +105 -0
- package/src/models/QueryNetworkRttReportResponse.ts +40 -0
- package/src/models/QueryNetworkRttReportResponseBody.ts +214 -0
- package/src/models/QueryNodeReportDataRequest.ts +124 -0
- package/src/models/QueryNodeReportDataResponse.ts +40 -0
- package/src/models/QueryNodeReportDataResponseBody.ts +154 -0
- package/src/models/QuerySessionReportDataRequest.ts +124 -0
- package/src/models/QuerySessionReportDataResponse.ts +40 -0
- package/src/models/QuerySessionReportDataResponseBody.ts +154 -0
- package/src/models/QueryUserAppUsageAggregateByHourRequest.ts +84 -0
- package/src/models/QueryUserAppUsageAggregateByHourResponse.ts +40 -0
- package/src/models/QueryUserAppUsageAggregateByHourResponseBody.ts +124 -0
- package/src/models/QueryUserAppUsageTimeRankRequest.ts +84 -0
- package/src/models/QueryUserAppUsageTimeRankResponse.ts +40 -0
- package/src/models/QueryUserAppUsageTimeRankResponseBody.ts +124 -0
- package/src/models/QueryUserUsageReportRequest.ts +131 -0
- package/src/models/QueryUserUsageReportResponse.ts +40 -0
- package/src/models/QueryUserUsageReportResponseBody.ts +200 -0
- 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 +122 -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 that an available image distribution record exists in the region where the image is to be 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 that an available image distribution record exists in the region where the image is to be 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 first to select an image. 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 first to select an image. 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
|
*
|
|
@@ -1282,6 +1469,125 @@ class Client extends openapi_core_1.default {
|
|
|
1282
1469
|
let runtime = new $dara.RuntimeOptions({});
|
|
1283
1470
|
return await this.createWuyingServerWithOptions(request, runtime);
|
|
1284
1471
|
}
|
|
1472
|
+
/**
|
|
1473
|
+
* Deletes a specified application adapter, or dissociates the adapter from a specified image version.
|
|
1474
|
+
*
|
|
1475
|
+
* @remarks
|
|
1476
|
+
* *Confirm the deletion scope.**
|
|
1477
|
+
* - If both ImageId and VersionId are specified: The adapter is only dissociated from the specified image version.
|
|
1478
|
+
* - If ImageId and VersionId are not both specified: The adapter deletion process is initiated. An adapter cannot be deleted if it is still referenced by multiple images. If the application has other adapters, the application cannot be deleted along with the adapter.
|
|
1479
|
+
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application adapter.** Verify these identifiers by checking the application and image query results first.
|
|
1480
|
+
*
|
|
1481
|
+
* @param request - DeleteAdaptorRequest
|
|
1482
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1483
|
+
* @returns DeleteAdaptorResponse
|
|
1484
|
+
*/
|
|
1485
|
+
async deleteAdaptorWithOptions(request, runtime) {
|
|
1486
|
+
request.validate();
|
|
1487
|
+
let body = {};
|
|
1488
|
+
if (!$dara.isNull(request.adaptorId)) {
|
|
1489
|
+
body["AdaptorId"] = request.adaptorId;
|
|
1490
|
+
}
|
|
1491
|
+
if (!$dara.isNull(request.appId)) {
|
|
1492
|
+
body["AppId"] = request.appId;
|
|
1493
|
+
}
|
|
1494
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
1495
|
+
body["AppVersionId"] = request.appVersionId;
|
|
1496
|
+
}
|
|
1497
|
+
if (!$dara.isNull(request.imageId)) {
|
|
1498
|
+
body["ImageId"] = request.imageId;
|
|
1499
|
+
}
|
|
1500
|
+
if (!$dara.isNull(request.versionId)) {
|
|
1501
|
+
body["VersionId"] = request.versionId;
|
|
1502
|
+
}
|
|
1503
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1504
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1505
|
+
});
|
|
1506
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1507
|
+
action: "DeleteAdaptor",
|
|
1508
|
+
version: "2021-09-01",
|
|
1509
|
+
protocol: "HTTPS",
|
|
1510
|
+
pathname: "/",
|
|
1511
|
+
method: "POST",
|
|
1512
|
+
authType: "AK",
|
|
1513
|
+
style: "RPC",
|
|
1514
|
+
reqBodyType: "formData",
|
|
1515
|
+
bodyType: "json",
|
|
1516
|
+
});
|
|
1517
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAdaptorResponse({}));
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Deletes a specified application adapter, or dissociates the adapter from a specified image version.
|
|
1521
|
+
*
|
|
1522
|
+
* @remarks
|
|
1523
|
+
* *Confirm the deletion scope.**
|
|
1524
|
+
* - If both ImageId and VersionId are specified: The adapter is only dissociated from the specified image version.
|
|
1525
|
+
* - If ImageId and VersionId are not both specified: The adapter deletion process is initiated. An adapter cannot be deleted if it is still referenced by multiple images. If the application has other adapters, the application cannot be deleted along with the adapter.
|
|
1526
|
+
* **AdaptorId, AppVersionId, and AppId must be provided together and correspond to the same application adapter.** Verify these identifiers by checking the application and image query results first.
|
|
1527
|
+
*
|
|
1528
|
+
* @param request - DeleteAdaptorRequest
|
|
1529
|
+
* @returns DeleteAdaptorResponse
|
|
1530
|
+
*/
|
|
1531
|
+
async deleteAdaptor(request) {
|
|
1532
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1533
|
+
return await this.deleteAdaptorWithOptions(request, runtime);
|
|
1534
|
+
}
|
|
1535
|
+
/**
|
|
1536
|
+
* Deletes a specified application version, or deletes the entire application and its adapters if the version ID is omitted.
|
|
1537
|
+
*
|
|
1538
|
+
* @remarks
|
|
1539
|
+
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1540
|
+
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1541
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate related image associations.
|
|
1542
|
+
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1543
|
+
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1544
|
+
*
|
|
1545
|
+
* @param request - DeleteAppRequest
|
|
1546
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1547
|
+
* @returns DeleteAppResponse
|
|
1548
|
+
*/
|
|
1549
|
+
async deleteAppWithOptions(request, runtime) {
|
|
1550
|
+
request.validate();
|
|
1551
|
+
let body = {};
|
|
1552
|
+
if (!$dara.isNull(request.appId)) {
|
|
1553
|
+
body["AppId"] = request.appId;
|
|
1554
|
+
}
|
|
1555
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
1556
|
+
body["AppVersionId"] = request.appVersionId;
|
|
1557
|
+
}
|
|
1558
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1559
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1560
|
+
});
|
|
1561
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1562
|
+
action: "DeleteApp",
|
|
1563
|
+
version: "2021-09-01",
|
|
1564
|
+
protocol: "HTTPS",
|
|
1565
|
+
pathname: "/",
|
|
1566
|
+
method: "POST",
|
|
1567
|
+
authType: "AK",
|
|
1568
|
+
style: "RPC",
|
|
1569
|
+
reqBodyType: "formData",
|
|
1570
|
+
bodyType: "json",
|
|
1571
|
+
});
|
|
1572
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAppResponse({}));
|
|
1573
|
+
}
|
|
1574
|
+
/**
|
|
1575
|
+
* Deletes a specified application version, or deletes the entire application and its adapters if the version ID is omitted.
|
|
1576
|
+
*
|
|
1577
|
+
* @remarks
|
|
1578
|
+
* *You must dissociate all image associations from the target application or version before deletion.**
|
|
1579
|
+
* 1. Call ListApp to obtain the AppId and confirm whether the application can be deleted.
|
|
1580
|
+
* 2. Use UnbindApp or DeleteAdaptor to dissociate related image associations.
|
|
1581
|
+
* 3. Specify AppVersionId to delete a single application version, or omit this parameter to delete the entire application.
|
|
1582
|
+
* After an application version is deleted, if the application has no other valid adapters, the application record is also deleted.
|
|
1583
|
+
*
|
|
1584
|
+
* @param request - DeleteAppRequest
|
|
1585
|
+
* @returns DeleteAppResponse
|
|
1586
|
+
*/
|
|
1587
|
+
async deleteApp(request) {
|
|
1588
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1589
|
+
return await this.deleteAppWithOptions(request, runtime);
|
|
1590
|
+
}
|
|
1285
1591
|
/**
|
|
1286
1592
|
* Deletes a resource-based pay-as-you-go delivery group.
|
|
1287
1593
|
*
|
|
@@ -1672,6 +1978,96 @@ class Client extends openapi_core_1.default {
|
|
|
1672
1978
|
let runtime = new $dara.RuntimeOptions({});
|
|
1673
1979
|
return await this.deliverToUserSlsWithOptions(request, runtime);
|
|
1674
1980
|
}
|
|
1981
|
+
/**
|
|
1982
|
+
* Performs a paged query for the resource and session events of the current account within the last 30 days. Paging is supported.
|
|
1983
|
+
*
|
|
1984
|
+
* @remarks
|
|
1985
|
+
* 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.
|
|
1986
|
+
*
|
|
1987
|
+
* @param request - DescribeEventsRequest
|
|
1988
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1989
|
+
* @returns DescribeEventsResponse
|
|
1990
|
+
*/
|
|
1991
|
+
async describeEventsWithOptions(request, runtime) {
|
|
1992
|
+
request.validate();
|
|
1993
|
+
let body = {};
|
|
1994
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
1995
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
1996
|
+
}
|
|
1997
|
+
if (!$dara.isNull(request.appInstanceGroupName)) {
|
|
1998
|
+
body["AppInstanceGroupName"] = request.appInstanceGroupName;
|
|
1999
|
+
}
|
|
2000
|
+
if (!$dara.isNull(request.appInstanceId)) {
|
|
2001
|
+
body["AppInstanceId"] = request.appInstanceId;
|
|
2002
|
+
}
|
|
2003
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
2004
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
2005
|
+
}
|
|
2006
|
+
if (!$dara.isNull(request.endTime)) {
|
|
2007
|
+
body["EndTime"] = request.endTime;
|
|
2008
|
+
}
|
|
2009
|
+
if (!$dara.isNull(request.eventId)) {
|
|
2010
|
+
body["EventId"] = request.eventId;
|
|
2011
|
+
}
|
|
2012
|
+
if (!$dara.isNull(request.eventType)) {
|
|
2013
|
+
body["EventType"] = request.eventType;
|
|
2014
|
+
}
|
|
2015
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2016
|
+
body["MaxResults"] = request.maxResults;
|
|
2017
|
+
}
|
|
2018
|
+
if (!$dara.isNull(request.memberEniIp)) {
|
|
2019
|
+
body["MemberEniIp"] = request.memberEniIp;
|
|
2020
|
+
}
|
|
2021
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2022
|
+
body["NextToken"] = request.nextToken;
|
|
2023
|
+
}
|
|
2024
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
2025
|
+
body["OfficeSiteId"] = request.officeSiteId;
|
|
2026
|
+
}
|
|
2027
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2028
|
+
body["PageNumber"] = request.pageNumber;
|
|
2029
|
+
}
|
|
2030
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2031
|
+
body["PageSize"] = request.pageSize;
|
|
2032
|
+
}
|
|
2033
|
+
if (!$dara.isNull(request.productType)) {
|
|
2034
|
+
body["ProductType"] = request.productType;
|
|
2035
|
+
}
|
|
2036
|
+
if (!$dara.isNull(request.startTime)) {
|
|
2037
|
+
body["StartTime"] = request.startTime;
|
|
2038
|
+
}
|
|
2039
|
+
if (!$dara.isNull(request.userId)) {
|
|
2040
|
+
body["UserId"] = request.userId;
|
|
2041
|
+
}
|
|
2042
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2043
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2044
|
+
});
|
|
2045
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2046
|
+
action: "DescribeEvents",
|
|
2047
|
+
version: "2021-09-01",
|
|
2048
|
+
protocol: "HTTPS",
|
|
2049
|
+
pathname: "/",
|
|
2050
|
+
method: "POST",
|
|
2051
|
+
authType: "AK",
|
|
2052
|
+
style: "RPC",
|
|
2053
|
+
reqBodyType: "formData",
|
|
2054
|
+
bodyType: "json",
|
|
2055
|
+
});
|
|
2056
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEventsResponse({}));
|
|
2057
|
+
}
|
|
2058
|
+
/**
|
|
2059
|
+
* Performs a paged query for the resource and session events of the current account within the last 30 days. Paging is supported.
|
|
2060
|
+
*
|
|
2061
|
+
* @remarks
|
|
2062
|
+
* 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.
|
|
2063
|
+
*
|
|
2064
|
+
* @param request - DescribeEventsRequest
|
|
2065
|
+
* @returns DescribeEventsResponse
|
|
2066
|
+
*/
|
|
2067
|
+
async describeEvents(request) {
|
|
2068
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2069
|
+
return await this.describeEventsWithOptions(request, runtime);
|
|
2070
|
+
}
|
|
1675
2071
|
/**
|
|
1676
2072
|
* Queries the details of a development host.
|
|
1677
2073
|
*
|
|
@@ -1796,12 +2192,80 @@ class Client extends openapi_core_1.default {
|
|
|
1796
2192
|
return await this.getAppInstanceGroupWithOptions(request, runtime);
|
|
1797
2193
|
}
|
|
1798
2194
|
/**
|
|
1799
|
-
*
|
|
2195
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application building task.
|
|
1800
2196
|
*
|
|
1801
2197
|
* @remarks
|
|
1802
|
-
*
|
|
1803
|
-
*
|
|
1804
|
-
*
|
|
2198
|
+
* Before calling this operation, you must create a task, and the building or validation resources corresponding to the task must be available.
|
|
2199
|
+
* 1. Obtain TaskId and the actual TaskType from the response of the task creation operation or GetTask.
|
|
2200
|
+
* 2. Specify ResourceType to obtain the connection information for the building or validation environment.
|
|
2201
|
+
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
2202
|
+
* The authorization code is a sensitive connection credential. Do not record it in public documents or logs. When specifying AppId, you must also specify the matching AppVersionId.
|
|
2203
|
+
*
|
|
2204
|
+
* @param request - GetAuthCodeRequest
|
|
2205
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2206
|
+
* @returns GetAuthCodeResponse
|
|
2207
|
+
*/
|
|
2208
|
+
async getAuthCodeWithOptions(request, runtime) {
|
|
2209
|
+
request.validate();
|
|
2210
|
+
let body = {};
|
|
2211
|
+
if (!$dara.isNull(request.appId)) {
|
|
2212
|
+
body["AppId"] = request.appId;
|
|
2213
|
+
}
|
|
2214
|
+
if (!$dara.isNull(request.appVersionId)) {
|
|
2215
|
+
body["AppVersionId"] = request.appVersionId;
|
|
2216
|
+
}
|
|
2217
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
2218
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
2219
|
+
}
|
|
2220
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
2221
|
+
body["ResourceType"] = request.resourceType;
|
|
2222
|
+
}
|
|
2223
|
+
if (!$dara.isNull(request.taskId)) {
|
|
2224
|
+
body["TaskId"] = request.taskId;
|
|
2225
|
+
}
|
|
2226
|
+
if (!$dara.isNull(request.taskType)) {
|
|
2227
|
+
body["TaskType"] = request.taskType;
|
|
2228
|
+
}
|
|
2229
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2230
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2231
|
+
});
|
|
2232
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2233
|
+
action: "GetAuthCode",
|
|
2234
|
+
version: "2021-09-01",
|
|
2235
|
+
protocol: "HTTPS",
|
|
2236
|
+
pathname: "/",
|
|
2237
|
+
method: "POST",
|
|
2238
|
+
authType: "AK",
|
|
2239
|
+
style: "RPC",
|
|
2240
|
+
reqBodyType: "formData",
|
|
2241
|
+
bodyType: "json",
|
|
2242
|
+
});
|
|
2243
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuthCodeResponse({}));
|
|
2244
|
+
}
|
|
2245
|
+
/**
|
|
2246
|
+
* Retrieves the connection authorization code and required resource information for an existing image or application building task.
|
|
2247
|
+
*
|
|
2248
|
+
* @remarks
|
|
2249
|
+
* Before calling this operation, you must create a task, and the building or validation resources corresponding to the task must be available.
|
|
2250
|
+
* 1. Obtain TaskId and the actual TaskType from the response of the task creation operation or GetTask.
|
|
2251
|
+
* 2. Specify ResourceType to obtain the connection information for the building or validation environment.
|
|
2252
|
+
* 3. Use the returned authorization code along with the user, resource group, and application identifiers in the same response for connection.
|
|
2253
|
+
* The authorization code is a sensitive connection credential. Do not record it in public documents or logs. When specifying AppId, you must also specify the matching AppVersionId.
|
|
2254
|
+
*
|
|
2255
|
+
* @param request - GetAuthCodeRequest
|
|
2256
|
+
* @returns GetAuthCodeResponse
|
|
2257
|
+
*/
|
|
2258
|
+
async getAuthCode(request) {
|
|
2259
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2260
|
+
return await this.getAuthCodeWithOptions(request, runtime);
|
|
2261
|
+
}
|
|
2262
|
+
/**
|
|
2263
|
+
* Queries the configuration, status, and authorization statistics of a specified cloud browser group.
|
|
2264
|
+
*
|
|
2265
|
+
* @remarks
|
|
2266
|
+
* This topic describes how to use the query operation in the monthly active user (MAU) billing scenario.
|
|
2267
|
+
* ## Before you begin
|
|
2268
|
+
* Obtain the ID of a cloud browser group within the current account. You can call `ListBrowserInstanceGroup` to obtain the ID.
|
|
1805
2269
|
* ## Response content
|
|
1806
2270
|
* Returns the current configuration, status, and authorization statistics of the browser group. The bookmark and website access lists in the details return up to the first 20 entries each. To query the complete lists, call `ListBrowserBookmarks` and `ListBrowserRestrictedURLs` respectively.
|
|
1807
2271
|
* ## What to do next
|
|
@@ -2126,6 +2590,87 @@ class Client extends openapi_core_1.default {
|
|
|
2126
2590
|
let runtime = new $dara.RuntimeOptions({});
|
|
2127
2591
|
return await this.getOtaTaskByTaskIdWithOptions(request, runtime);
|
|
2128
2592
|
}
|
|
2593
|
+
/**
|
|
2594
|
+
* Queries the pricing and discount information for scaling out a subscription delivery group to a specified total number of nodes.
|
|
2595
|
+
*
|
|
2596
|
+
* @remarks
|
|
2597
|
+
* This operation queries the resource scale-out pricing for an existing delivery group. A successful call returns only a quote and does not create an order or add nodes.
|
|
2598
|
+
* **Before you call this operation, verify the following conditions:**
|
|
2599
|
+
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
2600
|
+
* - The product type is Wuying Cloud App or Cloud Browser, and the billing method is subscription and purchased by node. This operation does not apply to browser groups that use the pay-as-you-go billing method or are billed by monthly active users (MAU).
|
|
2601
|
+
* - The order status of the delivery group is normal, a resource node pool is associated, and no paid but ineffective renewal or scale-in orders exist.
|
|
2602
|
+
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the corresponding region, product, and billing method under the account.
|
|
2603
|
+
* **Parameter relationships:**
|
|
2604
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required parameters and must be specified together.
|
|
2605
|
+
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
2606
|
+
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be passed separately.
|
|
2607
|
+
* **Call sequence:**
|
|
2608
|
+
* 1. First, confirm the target delivery group and the current number of purchased nodes. For Cloud App Common scenarios, 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.
|
|
2609
|
+
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the pricing, coupons, and pricing calculation rules.
|
|
2610
|
+
* 3. After confirming the quote, if you need to execute the scale-out, you can invoke [ModifyNodePoolAmount](https://api.aliyun.com/document/appstream-center/2021-09-01/ModifyNodePoolAmount) and fill in the target total number in NodePool.NodeAmount as required by the operation. **A successful pricing query does not mean that an order has been created or the scale-out has been completed.**
|
|
2611
|
+
* **Example scenario:**
|
|
2612
|
+
* If a cloud app delivery group currently has 1 purchased subscription node and the target is to scale out to 2 nodes, set ProductType to CloudApp, AppInstanceGroupId to the ID of the delivery group, and Amount to 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 pricing examples only illustrate the relationship among the original price, discount amount, and discounted price, and do not represent the fixed selling price of the specifications.
|
|
2613
|
+
*
|
|
2614
|
+
* @param request - GetResourceModifyPriceRequest
|
|
2615
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2616
|
+
* @returns GetResourceModifyPriceResponse
|
|
2617
|
+
*/
|
|
2618
|
+
async getResourceModifyPriceWithOptions(request, runtime) {
|
|
2619
|
+
request.validate();
|
|
2620
|
+
let query = {};
|
|
2621
|
+
if (!$dara.isNull(request.amount)) {
|
|
2622
|
+
query["Amount"] = request.amount;
|
|
2623
|
+
}
|
|
2624
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
2625
|
+
query["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
2626
|
+
}
|
|
2627
|
+
if (!$dara.isNull(request.productType)) {
|
|
2628
|
+
query["ProductType"] = request.productType;
|
|
2629
|
+
}
|
|
2630
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2631
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2632
|
+
});
|
|
2633
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2634
|
+
action: "GetResourceModifyPrice",
|
|
2635
|
+
version: "2021-09-01",
|
|
2636
|
+
protocol: "HTTPS",
|
|
2637
|
+
pathname: "/",
|
|
2638
|
+
method: "POST",
|
|
2639
|
+
authType: "AK",
|
|
2640
|
+
style: "RPC",
|
|
2641
|
+
reqBodyType: "formData",
|
|
2642
|
+
bodyType: "json",
|
|
2643
|
+
});
|
|
2644
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceModifyPriceResponse({}));
|
|
2645
|
+
}
|
|
2646
|
+
/**
|
|
2647
|
+
* Queries the pricing and discount information for scaling out a subscription delivery group to a specified total number of nodes.
|
|
2648
|
+
*
|
|
2649
|
+
* @remarks
|
|
2650
|
+
* This operation queries the resource scale-out pricing for an existing delivery group. A successful call returns only a quote and does not create an order or add nodes.
|
|
2651
|
+
* **Before you call this operation, verify the following conditions:**
|
|
2652
|
+
* - The delivery group belongs to the current account and is located in a supported region in the Chinese mainland.
|
|
2653
|
+
* - The product type is Wuying Cloud App or Cloud Browser, and the billing method is subscription and purchased by node. This operation does not apply to browser groups that use the pay-as-you-go billing method or are billed by monthly active users (MAU).
|
|
2654
|
+
* - The order status of the delivery group is normal, a resource node pool is associated, and no paid but ineffective renewal or scale-in orders exist.
|
|
2655
|
+
* - The target total number of nodes is greater than the current number of purchased nodes and does not exceed the node quota for the corresponding region, product, and billing method under the account.
|
|
2656
|
+
* **Parameter relationships:**
|
|
2657
|
+
* - ProductType, AppInstanceGroupId, and Amount are all required parameters and must be specified together.
|
|
2658
|
+
* - ProductType must match the product corresponding to AppInstanceGroupId.
|
|
2659
|
+
* - **Amount is the total number of nodes after the scale-out, not the number of nodes added in this operation.** The region, node specifications, and billing method are determined by the existing delivery group and do not need to be passed separately.
|
|
2660
|
+
* **Call sequence:**
|
|
2661
|
+
* 1. First, confirm the target delivery group and the current number of purchased nodes. For Cloud App Common scenarios, 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.
|
|
2662
|
+
* 2. Invoke this operation with the same product type, delivery group identity, and target total number of nodes to read the pricing, coupons, and pricing calculation rules.
|
|
2663
|
+
* 3. After confirming the quote, if you need to execute the scale-out, you can invoke [ModifyNodePoolAmount](https://api.aliyun.com/document/appstream-center/2021-09-01/ModifyNodePoolAmount) and fill in the target total number in NodePool.NodeAmount as required by the operation. **A successful pricing query does not mean that an order has been created or the scale-out has been completed.**
|
|
2664
|
+
* **Example scenario:**
|
|
2665
|
+
* If a cloud app delivery group currently has 1 purchased subscription node and the target is to scale out to 2 nodes, set ProductType to CloudApp, AppInstanceGroupId to the ID of the delivery group, and Amount to 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 pricing examples only illustrate the relationship among the original price, discount amount, and discounted price, and do not represent the fixed selling price of the specifications.
|
|
2666
|
+
*
|
|
2667
|
+
* @param request - GetResourceModifyPriceRequest
|
|
2668
|
+
* @returns GetResourceModifyPriceResponse
|
|
2669
|
+
*/
|
|
2670
|
+
async getResourceModifyPrice(request) {
|
|
2671
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2672
|
+
return await this.getResourceModifyPriceWithOptions(request, runtime);
|
|
2673
|
+
}
|
|
2129
2674
|
/**
|
|
2130
2675
|
* Queries the price information of a resource.
|
|
2131
2676
|
*
|
|
@@ -2186,6 +2731,80 @@ class Client extends openapi_core_1.default {
|
|
|
2186
2731
|
let runtime = new $dara.RuntimeOptions({});
|
|
2187
2732
|
return await this.getResourcePriceWithOptions(request, runtime);
|
|
2188
2733
|
}
|
|
2734
|
+
/**
|
|
2735
|
+
* Queries the maximum quantity quota applicable to the current account for a specified product, resource type, business region, and billing method.
|
|
2736
|
+
*
|
|
2737
|
+
* @remarks
|
|
2738
|
+
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
2739
|
+
* **Parameter relationships:**
|
|
2740
|
+
* - `ResourceType` and `ProductType` are required.
|
|
2741
|
+
* - `BizRegionId` and `ChargeType` are optional query conditions and can be specified at the same time. They must be consistent with subsequent purchase or authorization operations.
|
|
2742
|
+
* - If the region or billing method is omitted, the general quota for the corresponding dimension is queried. The quotas of different regions or billing methods are not added together.
|
|
2743
|
+
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
2744
|
+
* **Call sequence:**
|
|
2745
|
+
* 1. Select the resource type, product, business region, and billing method of the payer based on subsequent business needs.
|
|
2746
|
+
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before adding an authorized user, and query `PoolNodeAmount` before purchasing or scaling out nodes.
|
|
2747
|
+
* 3. Query the current usage in combination with the resources, and then verify the current operation by using subsequent creation, authorization, or scale-out operations. **This query does not reserve quotas or guarantee the success of subsequent purchases.**
|
|
2748
|
+
* `Data=2147483647` indicates that no smaller quota limit is obtained in this query. It does not mean that the physical inventory is unlimited.
|
|
2749
|
+
*
|
|
2750
|
+
* @param request - GetResourceQuotaRequest
|
|
2751
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2752
|
+
* @returns GetResourceQuotaResponse
|
|
2753
|
+
*/
|
|
2754
|
+
async getResourceQuotaWithOptions(request, runtime) {
|
|
2755
|
+
request.validate();
|
|
2756
|
+
let query = {};
|
|
2757
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
2758
|
+
query["BizRegionId"] = request.bizRegionId;
|
|
2759
|
+
}
|
|
2760
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
2761
|
+
query["ChargeType"] = request.chargeType;
|
|
2762
|
+
}
|
|
2763
|
+
if (!$dara.isNull(request.productType)) {
|
|
2764
|
+
query["ProductType"] = request.productType;
|
|
2765
|
+
}
|
|
2766
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
2767
|
+
query["ResourceType"] = request.resourceType;
|
|
2768
|
+
}
|
|
2769
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2770
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2771
|
+
});
|
|
2772
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2773
|
+
action: "GetResourceQuota",
|
|
2774
|
+
version: "2021-09-01",
|
|
2775
|
+
protocol: "HTTPS",
|
|
2776
|
+
pathname: "/",
|
|
2777
|
+
method: "POST",
|
|
2778
|
+
authType: "AK",
|
|
2779
|
+
style: "RPC",
|
|
2780
|
+
reqBodyType: "formData",
|
|
2781
|
+
bodyType: "json",
|
|
2782
|
+
});
|
|
2783
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceQuotaResponse({}));
|
|
2784
|
+
}
|
|
2785
|
+
/**
|
|
2786
|
+
* Queries the maximum quantity quota applicable to the current account for a specified product, resource type, business region, and billing method.
|
|
2787
|
+
*
|
|
2788
|
+
* @remarks
|
|
2789
|
+
* This operation queries the maximum quantity quota. It does not query the used quota, remaining quota, or real-time resource inventory.
|
|
2790
|
+
* **Parameter relationships:**
|
|
2791
|
+
* - `ResourceType` and `ProductType` are required.
|
|
2792
|
+
* - `BizRegionId` and `ChargeType` are optional query conditions and can be specified at the same time. They must be consistent with subsequent purchase or authorization operations.
|
|
2793
|
+
* - If the region or billing method is omitted, the general quota for the corresponding dimension is queried. The quotas of different regions or billing methods are not added together.
|
|
2794
|
+
* - If multiple quotas apply at the same time, the larger limit is returned.
|
|
2795
|
+
* **Call sequence:**
|
|
2796
|
+
* 1. Select the resource type, product, business region, and billing method of the payer based on subsequent business needs.
|
|
2797
|
+
* 2. Invoke this operation to read `Data`. Query `AppInstanceGroup` before creating a delivery group, query `AppAuthUser` before adding an authorized user, and query `PoolNodeAmount` before purchasing or scaling out nodes.
|
|
2798
|
+
* 3. Query the current usage in combination with the resources, and then verify the current operation by using subsequent creation, authorization, or scale-out operations. **This query does not reserve quotas or guarantee the success of subsequent purchases.**
|
|
2799
|
+
* `Data=2147483647` indicates that no smaller quota limit is obtained in this query. It does not mean that the physical inventory is unlimited.
|
|
2800
|
+
*
|
|
2801
|
+
* @param request - GetResourceQuotaRequest
|
|
2802
|
+
* @returns GetResourceQuotaResponse
|
|
2803
|
+
*/
|
|
2804
|
+
async getResourceQuota(request) {
|
|
2805
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2806
|
+
return await this.getResourceQuotaWithOptions(request, runtime);
|
|
2807
|
+
}
|
|
2189
2808
|
/**
|
|
2190
2809
|
* Queries the renewal price of WUYING Cloud Application resources.
|
|
2191
2810
|
*
|
|
@@ -2353,6 +2972,160 @@ class Client extends openapi_core_1.default {
|
|
|
2353
2972
|
let runtime = new $dara.RuntimeOptions({});
|
|
2354
2973
|
return await this.getRuntimeModelConfigWithOptions(request, runtime);
|
|
2355
2974
|
}
|
|
2975
|
+
/**
|
|
2976
|
+
* Queries the details of a task by task ID, or by resource information and task category.
|
|
2977
|
+
*
|
|
2978
|
+
* @remarks
|
|
2979
|
+
* Supports two query methods:
|
|
2980
|
+
* - **Query by task ID**: Pass the TaskId parameter. This method takes precedence over querying by resource information.
|
|
2981
|
+
* - **Query by resource**: Omit the TaskId parameter, and pass the EntityId, EntityType, and TaskCategory parameters. You can use the EntityVersionId parameter to specify the resource version.
|
|
2982
|
+
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not indicate the success of the entire task. You can call the ListTaskStep operation to query the names and categories of image creation and application adaptation steps.
|
|
2983
|
+
*
|
|
2984
|
+
* @param request - GetTaskRequest
|
|
2985
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2986
|
+
* @returns GetTaskResponse
|
|
2987
|
+
*/
|
|
2988
|
+
async getTaskWithOptions(request, runtime) {
|
|
2989
|
+
request.validate();
|
|
2990
|
+
let body = {};
|
|
2991
|
+
if (!$dara.isNull(request.entityId)) {
|
|
2992
|
+
body["EntityId"] = request.entityId;
|
|
2993
|
+
}
|
|
2994
|
+
if (!$dara.isNull(request.entityType)) {
|
|
2995
|
+
body["EntityType"] = request.entityType;
|
|
2996
|
+
}
|
|
2997
|
+
if (!$dara.isNull(request.entityVersionId)) {
|
|
2998
|
+
body["EntityVersionId"] = request.entityVersionId;
|
|
2999
|
+
}
|
|
3000
|
+
if (!$dara.isNull(request.taskCategory)) {
|
|
3001
|
+
body["TaskCategory"] = request.taskCategory;
|
|
3002
|
+
}
|
|
3003
|
+
if (!$dara.isNull(request.taskId)) {
|
|
3004
|
+
body["TaskId"] = request.taskId;
|
|
3005
|
+
}
|
|
3006
|
+
if (!$dara.isNull(request.taskType)) {
|
|
3007
|
+
body["TaskType"] = request.taskType;
|
|
3008
|
+
}
|
|
3009
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3010
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3011
|
+
});
|
|
3012
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3013
|
+
action: "GetTask",
|
|
3014
|
+
version: "2021-09-01",
|
|
3015
|
+
protocol: "HTTPS",
|
|
3016
|
+
pathname: "/",
|
|
3017
|
+
method: "POST",
|
|
3018
|
+
authType: "AK",
|
|
3019
|
+
style: "RPC",
|
|
3020
|
+
reqBodyType: "formData",
|
|
3021
|
+
bodyType: "json",
|
|
3022
|
+
});
|
|
3023
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTaskResponse({}));
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* Queries the details of a task by task ID, or by resource information and task category.
|
|
3027
|
+
*
|
|
3028
|
+
* @remarks
|
|
3029
|
+
* Supports two query methods:
|
|
3030
|
+
* - **Query by task ID**: Pass the TaskId parameter. This method takes precedence over querying by resource information.
|
|
3031
|
+
* - **Query by resource**: Omit the TaskId parameter, and pass the EntityId, EntityType, and TaskCategory parameters. You can use the EntityVersionId parameter to specify the resource version.
|
|
3032
|
+
* The API returns the current task status and recorded step information. Determine the overall task result based on the Status parameter. The success of a single step does not indicate the success of the entire task. You can call the ListTaskStep operation to query the names and categories of image creation and application adaptation steps.
|
|
3033
|
+
*
|
|
3034
|
+
* @param request - GetTaskRequest
|
|
3035
|
+
* @returns GetTaskResponse
|
|
3036
|
+
*/
|
|
3037
|
+
async getTask(request) {
|
|
3038
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3039
|
+
return await this.getTaskWithOptions(request, runtime);
|
|
3040
|
+
}
|
|
3041
|
+
/**
|
|
3042
|
+
* Performs a paging query on the valid applications of the current account based on conditions such as the application ID, name, type, and associated product.
|
|
3043
|
+
*
|
|
3044
|
+
* @remarks
|
|
3045
|
+
* When multiple filter conditions are specified simultaneously, they take effect together. AppName supports partial match. When a single-value filter and the corresponding list filter are specified simultaneously, the intersection is used. To avoid empty results, select only one of the formats.
|
|
3046
|
+
* If PageSize is omitted, the value is 10. Query pages sequentially starting from PageNumber 1 until the number of retrieved records reaches Count. Before deleting an application, check Deletable.
|
|
3047
|
+
*
|
|
3048
|
+
* @param tmpReq - ListAppRequest
|
|
3049
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3050
|
+
* @returns ListAppResponse
|
|
3051
|
+
*/
|
|
3052
|
+
async listAppWithOptions(tmpReq, runtime) {
|
|
3053
|
+
tmpReq.validate();
|
|
3054
|
+
let request = new $_model.ListAppShrinkRequest({});
|
|
3055
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3056
|
+
if (!$dara.isNull(tmpReq.bizTypeList)) {
|
|
3057
|
+
request.bizTypeListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizTypeList, "BizTypeList", "json");
|
|
3058
|
+
}
|
|
3059
|
+
if (!$dara.isNull(tmpReq.productTypeList)) {
|
|
3060
|
+
request.productTypeListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.productTypeList, "ProductTypeList", "json");
|
|
3061
|
+
}
|
|
3062
|
+
let body = {};
|
|
3063
|
+
if (!$dara.isNull(request.appId)) {
|
|
3064
|
+
body["AppId"] = request.appId;
|
|
3065
|
+
}
|
|
3066
|
+
if (!$dara.isNull(request.appName)) {
|
|
3067
|
+
body["AppName"] = request.appName;
|
|
3068
|
+
}
|
|
3069
|
+
if (!$dara.isNull(request.appType)) {
|
|
3070
|
+
body["AppType"] = request.appType;
|
|
3071
|
+
}
|
|
3072
|
+
if (!$dara.isNull(request.bizType)) {
|
|
3073
|
+
body["BizType"] = request.bizType;
|
|
3074
|
+
}
|
|
3075
|
+
if (!$dara.isNull(request.bizTypeListShrink)) {
|
|
3076
|
+
body["BizTypeList"] = request.bizTypeListShrink;
|
|
3077
|
+
}
|
|
3078
|
+
if (!$dara.isNull(request.originAppType)) {
|
|
3079
|
+
body["OriginAppType"] = request.originAppType;
|
|
3080
|
+
}
|
|
3081
|
+
if (!$dara.isNull(request.osType)) {
|
|
3082
|
+
body["OsType"] = request.osType;
|
|
3083
|
+
}
|
|
3084
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3085
|
+
body["PageNumber"] = request.pageNumber;
|
|
3086
|
+
}
|
|
3087
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3088
|
+
body["PageSize"] = request.pageSize;
|
|
3089
|
+
}
|
|
3090
|
+
if (!$dara.isNull(request.productType)) {
|
|
3091
|
+
body["ProductType"] = request.productType;
|
|
3092
|
+
}
|
|
3093
|
+
if (!$dara.isNull(request.productTypeListShrink)) {
|
|
3094
|
+
body["ProductTypeList"] = request.productTypeListShrink;
|
|
3095
|
+
}
|
|
3096
|
+
if (!$dara.isNull(request.subAppType)) {
|
|
3097
|
+
body["SubAppType"] = request.subAppType;
|
|
3098
|
+
}
|
|
3099
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3100
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3101
|
+
});
|
|
3102
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3103
|
+
action: "ListApp",
|
|
3104
|
+
version: "2021-09-01",
|
|
3105
|
+
protocol: "HTTPS",
|
|
3106
|
+
pathname: "/",
|
|
3107
|
+
method: "POST",
|
|
3108
|
+
authType: "AK",
|
|
3109
|
+
style: "RPC",
|
|
3110
|
+
reqBodyType: "formData",
|
|
3111
|
+
bodyType: "json",
|
|
3112
|
+
});
|
|
3113
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppResponse({}));
|
|
3114
|
+
}
|
|
3115
|
+
/**
|
|
3116
|
+
* Performs a paging query on the valid applications of the current account based on conditions such as the application ID, name, type, and associated product.
|
|
3117
|
+
*
|
|
3118
|
+
* @remarks
|
|
3119
|
+
* When multiple filter conditions are specified simultaneously, they take effect together. AppName supports partial match. When a single-value filter and the corresponding list filter are specified simultaneously, the intersection is used. To avoid empty results, select only one of the formats.
|
|
3120
|
+
* If PageSize is omitted, the value is 10. Query pages sequentially starting from PageNumber 1 until the number of retrieved records reaches Count. Before deleting an application, check Deletable.
|
|
3121
|
+
*
|
|
3122
|
+
* @param request - ListAppRequest
|
|
3123
|
+
* @returns ListAppResponse
|
|
3124
|
+
*/
|
|
3125
|
+
async listApp(request) {
|
|
3126
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3127
|
+
return await this.listAppWithOptions(request, runtime);
|
|
3128
|
+
}
|
|
2356
3129
|
/**
|
|
2357
3130
|
* Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
|
|
2358
3131
|
*
|
|
@@ -2434,23 +3207,65 @@ class Client extends openapi_core_1.default {
|
|
|
2434
3207
|
return await this.listAppInstanceGroupWithOptions(request, runtime);
|
|
2435
3208
|
}
|
|
2436
3209
|
/**
|
|
2437
|
-
* Queries the
|
|
3210
|
+
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
2438
3211
|
*
|
|
2439
|
-
* @
|
|
3212
|
+
* @remarks
|
|
3213
|
+
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types of the account and the business region. An empty result does not indicate a request failure.
|
|
3214
|
+
* **Filtering and pagination:**
|
|
3215
|
+
* - ProductType is required. Explicitly specify BizRegionId, PageNumber, and PageSize.
|
|
3216
|
+
* - If BizRegionId is not provided, the region of the current request is used. You can call [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) to obtain the business region.
|
|
3217
|
+
* - AppInstanceType and AppInstanceTypeList can be specified at the same time. 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.
|
|
3218
|
+
* - Instance type family, CPU, memory, GPU memory, operating system, and category conditions are filtered by intersection. The union is not automatically applied.
|
|
3219
|
+
* - PageNumber starts from 1. Use TotalCount, PageSize, and PageNumber to continue pagination until all matching results are read.
|
|
3220
|
+
* **Inventory and subsequent calls:**
|
|
3221
|
+
* - Inventory is queried only when QueryInventory is set to true. If inventory information is not obtained, do not assume that the inventory is 0.
|
|
3222
|
+
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
3223
|
+
* - 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).
|
|
3224
|
+
* - The current query does not use AppCenterImageId to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3225
|
+
* Field examples are used to demonstrate how to specify parameters and do not guarantee that the example instance types exist in the selected region or account. The GPU count field does not currently provide values. Use the GPU memory field to understand the instance type.
|
|
3226
|
+
*
|
|
3227
|
+
* @param request - ListAppInstanceTypeRequest
|
|
2440
3228
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2441
|
-
* @returns
|
|
3229
|
+
* @returns ListAppInstanceTypeResponse
|
|
2442
3230
|
*/
|
|
2443
|
-
async
|
|
3231
|
+
async listAppInstanceTypeWithOptions(request, runtime) {
|
|
2444
3232
|
request.validate();
|
|
2445
3233
|
let query = {};
|
|
2446
|
-
if (!$dara.isNull(request.
|
|
2447
|
-
query["
|
|
3234
|
+
if (!$dara.isNull(request.appCenterImageId)) {
|
|
3235
|
+
query["AppCenterImageId"] = request.appCenterImageId;
|
|
2448
3236
|
}
|
|
2449
|
-
if (!$dara.isNull(request.
|
|
2450
|
-
query["
|
|
3237
|
+
if (!$dara.isNull(request.appInstanceType)) {
|
|
3238
|
+
query["AppInstanceType"] = request.appInstanceType;
|
|
2451
3239
|
}
|
|
2452
|
-
if (!$dara.isNull(request.
|
|
2453
|
-
query["
|
|
3240
|
+
if (!$dara.isNull(request.appInstanceTypeFamily)) {
|
|
3241
|
+
query["AppInstanceTypeFamily"] = request.appInstanceTypeFamily;
|
|
3242
|
+
}
|
|
3243
|
+
if (!$dara.isNull(request.appInstanceTypeList)) {
|
|
3244
|
+
query["AppInstanceTypeList"] = request.appInstanceTypeList;
|
|
3245
|
+
}
|
|
3246
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
3247
|
+
query["BizRegionId"] = request.bizRegionId;
|
|
3248
|
+
}
|
|
3249
|
+
if (!$dara.isNull(request.category)) {
|
|
3250
|
+
query["Category"] = request.category;
|
|
3251
|
+
}
|
|
3252
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
3253
|
+
query["ChargeType"] = request.chargeType;
|
|
3254
|
+
}
|
|
3255
|
+
if (!$dara.isNull(request.cpu)) {
|
|
3256
|
+
query["Cpu"] = request.cpu;
|
|
3257
|
+
}
|
|
3258
|
+
if (!$dara.isNull(request.gpuMemory)) {
|
|
3259
|
+
query["GpuMemory"] = request.gpuMemory;
|
|
3260
|
+
}
|
|
3261
|
+
if (!$dara.isNull(request.language)) {
|
|
3262
|
+
query["Language"] = request.language;
|
|
3263
|
+
}
|
|
3264
|
+
if (!$dara.isNull(request.memory)) {
|
|
3265
|
+
query["Memory"] = request.memory;
|
|
3266
|
+
}
|
|
3267
|
+
if (!$dara.isNull(request.osType)) {
|
|
3268
|
+
query["OsType"] = request.osType;
|
|
2454
3269
|
}
|
|
2455
3270
|
if (!$dara.isNull(request.pageNumber)) {
|
|
2456
3271
|
query["PageNumber"] = request.pageNumber;
|
|
@@ -2458,10 +3273,82 @@ class Client extends openapi_core_1.default {
|
|
|
2458
3273
|
if (!$dara.isNull(request.pageSize)) {
|
|
2459
3274
|
query["PageSize"] = request.pageSize;
|
|
2460
3275
|
}
|
|
2461
|
-
if (!$dara.isNull(request.
|
|
2462
|
-
query["
|
|
3276
|
+
if (!$dara.isNull(request.productType)) {
|
|
3277
|
+
query["ProductType"] = request.productType;
|
|
2463
3278
|
}
|
|
2464
|
-
|
|
3279
|
+
if (!$dara.isNull(request.queryInventory)) {
|
|
3280
|
+
query["QueryInventory"] = request.queryInventory;
|
|
3281
|
+
}
|
|
3282
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3283
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3284
|
+
});
|
|
3285
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3286
|
+
action: "ListAppInstanceType",
|
|
3287
|
+
version: "2021-09-01",
|
|
3288
|
+
protocol: "HTTPS",
|
|
3289
|
+
pathname: "/",
|
|
3290
|
+
method: "POST",
|
|
3291
|
+
authType: "AK",
|
|
3292
|
+
style: "RPC",
|
|
3293
|
+
reqBodyType: "formData",
|
|
3294
|
+
bodyType: "json",
|
|
3295
|
+
});
|
|
3296
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstanceTypeResponse({}));
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* Queries the available session instance types for the current account by paging based on the product, region, operating system, and instance type conditions.
|
|
3300
|
+
*
|
|
3301
|
+
* @remarks
|
|
3302
|
+
* This operation is used to select session instance types and does not create resources. The returned results are affected by the available instance types of the account and the business region. An empty result does not indicate a request failure.
|
|
3303
|
+
* **Filtering and pagination:**
|
|
3304
|
+
* - ProductType is required. Explicitly specify BizRegionId, PageNumber, and PageSize.
|
|
3305
|
+
* - If BizRegionId is not provided, the region of the current request is used. You can call [ListRegions](https://api.aliyun.com/document/appstream-center/2021-09-01/ListRegions) to obtain the business region.
|
|
3306
|
+
* - AppInstanceType and AppInstanceTypeList can be specified at the same time. 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.
|
|
3307
|
+
* - Instance type family, CPU, memory, GPU memory, operating system, and category conditions are filtered by intersection. The union is not automatically applied.
|
|
3308
|
+
* - PageNumber starts from 1. Use TotalCount, PageSize, and PageNumber to continue pagination until all matching results are read.
|
|
3309
|
+
* **Inventory and subsequent calls:**
|
|
3310
|
+
* - Inventory is queried only when QueryInventory is set to true. If inventory information is not obtained, do not assume that the inventory is 0.
|
|
3311
|
+
* - The inventory reflects the current query result and does not indicate a successful reservation.
|
|
3312
|
+
* - 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).
|
|
3313
|
+
* - The current query does not use AppCenterImageId to filter instance types. Do not use this parameter to determine the compatibility between images and instance types.
|
|
3314
|
+
* Field examples are used to demonstrate how to specify parameters and do not guarantee that the example instance types exist in the selected region or account. The GPU count field does not currently provide values. Use the GPU memory field to understand the instance type.
|
|
3315
|
+
*
|
|
3316
|
+
* @param request - ListAppInstanceTypeRequest
|
|
3317
|
+
* @returns ListAppInstanceTypeResponse
|
|
3318
|
+
*/
|
|
3319
|
+
async listAppInstanceType(request) {
|
|
3320
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3321
|
+
return await this.listAppInstanceTypeWithOptions(request, runtime);
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* 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).
|
|
3325
|
+
*
|
|
3326
|
+
* @param request - ListAppInstancesRequest
|
|
3327
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3328
|
+
* @returns ListAppInstancesResponse
|
|
3329
|
+
*/
|
|
3330
|
+
async listAppInstancesWithOptions(request, runtime) {
|
|
3331
|
+
request.validate();
|
|
3332
|
+
let query = {};
|
|
3333
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
3334
|
+
query["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
3335
|
+
}
|
|
3336
|
+
if (!$dara.isNull(request.appInstanceId)) {
|
|
3337
|
+
query["AppInstanceId"] = request.appInstanceId;
|
|
3338
|
+
}
|
|
3339
|
+
if (!$dara.isNull(request.includeDeleted)) {
|
|
3340
|
+
query["IncludeDeleted"] = request.includeDeleted;
|
|
3341
|
+
}
|
|
3342
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
3343
|
+
query["PageNumber"] = request.pageNumber;
|
|
3344
|
+
}
|
|
3345
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3346
|
+
query["PageSize"] = request.pageSize;
|
|
3347
|
+
}
|
|
3348
|
+
if (!$dara.isNull(request.userIdList)) {
|
|
3349
|
+
query["UserIdList"] = request.userIdList;
|
|
3350
|
+
}
|
|
3351
|
+
let body = {};
|
|
2465
3352
|
if (!$dara.isNull(request.appInstanceIdList)) {
|
|
2466
3353
|
body["AppInstanceIdList"] = request.appInstanceIdList;
|
|
2467
3354
|
}
|
|
@@ -4096,6 +4983,53 @@ class Client extends openapi_core_1.default {
|
|
|
4096
4983
|
let runtime = new $dara.RuntimeOptions({});
|
|
4097
4984
|
return await this.listPublishedAppsWithOptions(request, runtime);
|
|
4098
4985
|
}
|
|
4986
|
+
/**
|
|
4987
|
+
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
4988
|
+
*
|
|
4989
|
+
* @remarks
|
|
4990
|
+
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query defaults to CloudApp.
|
|
4991
|
+
* This operation returns the regions available for image services. You cannot use this information to determine whether a specific image has been distributed to these regions. Before you create or distribute an image based on a parent image, you must also check the region information of the destination image.
|
|
4992
|
+
*
|
|
4993
|
+
* @param request - ListRegionIdRequest
|
|
4994
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4995
|
+
* @returns ListRegionIdResponse
|
|
4996
|
+
*/
|
|
4997
|
+
async listRegionIdWithOptions(request, runtime) {
|
|
4998
|
+
request.validate();
|
|
4999
|
+
let body = {};
|
|
5000
|
+
if (!$dara.isNull(request.productType)) {
|
|
5001
|
+
body["ProductType"] = request.productType;
|
|
5002
|
+
}
|
|
5003
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5004
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5005
|
+
});
|
|
5006
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5007
|
+
action: "ListRegionId",
|
|
5008
|
+
version: "2021-09-01",
|
|
5009
|
+
protocol: "HTTPS",
|
|
5010
|
+
pathname: "/",
|
|
5011
|
+
method: "POST",
|
|
5012
|
+
authType: "AK",
|
|
5013
|
+
style: "RPC",
|
|
5014
|
+
reqBodyType: "formData",
|
|
5015
|
+
bodyType: "json",
|
|
5016
|
+
});
|
|
5017
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRegionIdResponse({}));
|
|
5018
|
+
}
|
|
5019
|
+
/**
|
|
5020
|
+
* Queries the list of region IDs available for image services under a specified product for the current account.
|
|
5021
|
+
*
|
|
5022
|
+
* @remarks
|
|
5023
|
+
* The returned results are affected by the available region configurations of the account and the product type. If ProductType is omitted, the query defaults to CloudApp.
|
|
5024
|
+
* This operation returns the regions available for image services. You cannot use this information to determine whether a specific image has been distributed to these regions. Before you create or distribute an image based on a parent image, you must also check the region information of the destination image.
|
|
5025
|
+
*
|
|
5026
|
+
* @param request - ListRegionIdRequest
|
|
5027
|
+
* @returns ListRegionIdResponse
|
|
5028
|
+
*/
|
|
5029
|
+
async listRegionId(request) {
|
|
5030
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5031
|
+
return await this.listRegionIdWithOptions(request, runtime);
|
|
5032
|
+
}
|
|
4099
5033
|
/**
|
|
4100
5034
|
* Queries the regions supported by WUYING Cloud Application.
|
|
4101
5035
|
*
|
|
@@ -4292,6 +5226,53 @@ class Client extends openapi_core_1.default {
|
|
|
4292
5226
|
let runtime = new $dara.RuntimeOptions({});
|
|
4293
5227
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
4294
5228
|
}
|
|
5229
|
+
/**
|
|
5230
|
+
* Queries the step identifiers, step categories, and interaction methods for application adaptation or image creation tasks.
|
|
5231
|
+
*
|
|
5232
|
+
* @remarks
|
|
5233
|
+
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
5234
|
+
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not treat the step index as a completion percentage.
|
|
5235
|
+
*
|
|
5236
|
+
* @param request - ListTaskStepRequest
|
|
5237
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5238
|
+
* @returns ListTaskStepResponse
|
|
5239
|
+
*/
|
|
5240
|
+
async listTaskStepWithOptions(request, runtime) {
|
|
5241
|
+
request.validate();
|
|
5242
|
+
let query = {};
|
|
5243
|
+
if (!$dara.isNull(request.type)) {
|
|
5244
|
+
query["Type"] = request.type;
|
|
5245
|
+
}
|
|
5246
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5247
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5248
|
+
});
|
|
5249
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5250
|
+
action: "ListTaskStep",
|
|
5251
|
+
version: "2021-09-01",
|
|
5252
|
+
protocol: "HTTPS",
|
|
5253
|
+
pathname: "/",
|
|
5254
|
+
method: "POST",
|
|
5255
|
+
authType: "AK",
|
|
5256
|
+
style: "RPC",
|
|
5257
|
+
reqBodyType: "formData",
|
|
5258
|
+
bodyType: "json",
|
|
5259
|
+
});
|
|
5260
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTaskStepResponse({}));
|
|
5261
|
+
}
|
|
5262
|
+
/**
|
|
5263
|
+
* Queries the step identifiers, step categories, and interaction methods for application adaptation or image creation tasks.
|
|
5264
|
+
*
|
|
5265
|
+
* @remarks
|
|
5266
|
+
* Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
|
|
5267
|
+
* This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then combine them with the current step and step status returned by GetTask to display the task progress. The step sets vary across different task types. Do not treat the step index as a completion percentage.
|
|
5268
|
+
*
|
|
5269
|
+
* @param request - ListTaskStepRequest
|
|
5270
|
+
* @returns ListTaskStepResponse
|
|
5271
|
+
*/
|
|
5272
|
+
async listTaskStep(request) {
|
|
5273
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5274
|
+
return await this.listTaskStepWithOptions(request, runtime);
|
|
5275
|
+
}
|
|
4295
5276
|
/**
|
|
4296
5277
|
* Queries the configuration information of an administrator account, such as whether resource expiration reminders are enabled.
|
|
4297
5278
|
*
|
|
@@ -4428,6 +5409,57 @@ class Client extends openapi_core_1.default {
|
|
|
4428
5409
|
let runtime = new $dara.RuntimeOptions({});
|
|
4429
5410
|
return await this.listWuyingServerWithOptions(request, runtime);
|
|
4430
5411
|
}
|
|
5412
|
+
/**
|
|
5413
|
+
* Queries the Wuying Workstation workload templates available for a specified virtual node pool.
|
|
5414
|
+
*
|
|
5415
|
+
* @remarks
|
|
5416
|
+
* 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.
|
|
5417
|
+
*
|
|
5418
|
+
* @param request - ListWuyingServerWorkloadTemplateRequest
|
|
5419
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5420
|
+
* @returns ListWuyingServerWorkloadTemplateResponse
|
|
5421
|
+
*/
|
|
5422
|
+
async listWuyingServerWorkloadTemplateWithOptions(request, runtime) {
|
|
5423
|
+
request.validate();
|
|
5424
|
+
let query = {};
|
|
5425
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5426
|
+
query["MaxResults"] = request.maxResults;
|
|
5427
|
+
}
|
|
5428
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5429
|
+
query["NextToken"] = request.nextToken;
|
|
5430
|
+
}
|
|
5431
|
+
if (!$dara.isNull(request.virtualNodePoolId)) {
|
|
5432
|
+
query["VirtualNodePoolId"] = request.virtualNodePoolId;
|
|
5433
|
+
}
|
|
5434
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5435
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5436
|
+
});
|
|
5437
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5438
|
+
action: "ListWuyingServerWorkloadTemplate",
|
|
5439
|
+
version: "2021-09-01",
|
|
5440
|
+
protocol: "HTTPS",
|
|
5441
|
+
pathname: "/",
|
|
5442
|
+
method: "POST",
|
|
5443
|
+
authType: "AK",
|
|
5444
|
+
style: "RPC",
|
|
5445
|
+
reqBodyType: "formData",
|
|
5446
|
+
bodyType: "json",
|
|
5447
|
+
});
|
|
5448
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWuyingServerWorkloadTemplateResponse({}));
|
|
5449
|
+
}
|
|
5450
|
+
/**
|
|
5451
|
+
* Queries the Wuying Workstation workload templates available for a specified virtual node pool.
|
|
5452
|
+
*
|
|
5453
|
+
* @remarks
|
|
5454
|
+
* 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.
|
|
5455
|
+
*
|
|
5456
|
+
* @param request - ListWuyingServerWorkloadTemplateRequest
|
|
5457
|
+
* @returns ListWuyingServerWorkloadTemplateResponse
|
|
5458
|
+
*/
|
|
5459
|
+
async listWuyingServerWorkloadTemplate(request) {
|
|
5460
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5461
|
+
return await this.listWuyingServerWorkloadTemplateWithOptions(request, runtime);
|
|
5462
|
+
}
|
|
4431
5463
|
/**
|
|
4432
5464
|
* Queries the list of available zone IDs for a specified region, product type, and operating system type.
|
|
4433
5465
|
*
|
|
@@ -4634,6 +5666,102 @@ class Client extends openapi_core_1.default {
|
|
|
4634
5666
|
let runtime = new $dara.RuntimeOptions({});
|
|
4635
5667
|
return await this.modifyAppInstanceGroupAttributeWithOptions(request, runtime);
|
|
4636
5668
|
}
|
|
5669
|
+
/**
|
|
5670
|
+
* Changes the billing method of a specified delivery group to the target billing method and returns the ID of the billing conversion task to be created.
|
|
5671
|
+
*
|
|
5672
|
+
* @remarks
|
|
5673
|
+
* This operation performs billing method conversion, which may create orders and trigger subsequent billing changes. **A successful response or a returned task ID does not indicate that the new billing method has taken effect.**
|
|
5674
|
+
* **Before you begin:**
|
|
5675
|
+
* - The resources belong to the current account, and the product and business region match those in the request. Only one delivery group can be specified per request.
|
|
5676
|
+
* - The target billing method must be different from the current one, and the target resource specifications must support the corresponding sales and Billable methods.
|
|
5677
|
+
* - Delivery groups that have been added to a valid collection cannot be converted to a different billing method individually.
|
|
5678
|
+
* - Multiple delivery groups created in the same batch of orders cannot be converted to different Billable methods separately.
|
|
5679
|
+
* **Parameter relationships and call sequence:**
|
|
5680
|
+
* 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.
|
|
5681
|
+
* 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.
|
|
5682
|
+
* 3. Set `AutoPay` based on whether automatic payment is allowed. If auto-renewal is involved, explicitly set `AutoRenew`.
|
|
5683
|
+
* 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.
|
|
5684
|
+
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for actual task IDs.
|
|
5685
|
+
*
|
|
5686
|
+
* @param tmpReq - ModifyAppInstanceGroupChargeTypeRequest
|
|
5687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5688
|
+
* @returns ModifyAppInstanceGroupChargeTypeResponse
|
|
5689
|
+
*/
|
|
5690
|
+
async modifyAppInstanceGroupChargeTypeWithOptions(tmpReq, runtime) {
|
|
5691
|
+
tmpReq.validate();
|
|
5692
|
+
let request = new $_model.ModifyAppInstanceGroupChargeTypeShrinkRequest({});
|
|
5693
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5694
|
+
if (!$dara.isNull(tmpReq.appInstanceGroupIds)) {
|
|
5695
|
+
request.appInstanceGroupIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.appInstanceGroupIds, "AppInstanceGroupIds", "json");
|
|
5696
|
+
}
|
|
5697
|
+
let body = {};
|
|
5698
|
+
if (!$dara.isNull(request.appInstanceGroupIdsShrink)) {
|
|
5699
|
+
body["AppInstanceGroupIds"] = request.appInstanceGroupIdsShrink;
|
|
5700
|
+
}
|
|
5701
|
+
if (!$dara.isNull(request.autoPay)) {
|
|
5702
|
+
body["AutoPay"] = request.autoPay;
|
|
5703
|
+
}
|
|
5704
|
+
if (!$dara.isNull(request.autoRenew)) {
|
|
5705
|
+
body["AutoRenew"] = request.autoRenew;
|
|
5706
|
+
}
|
|
5707
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
5708
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
5709
|
+
}
|
|
5710
|
+
if (!$dara.isNull(request.chargeType)) {
|
|
5711
|
+
body["ChargeType"] = request.chargeType;
|
|
5712
|
+
}
|
|
5713
|
+
if (!$dara.isNull(request.period)) {
|
|
5714
|
+
body["Period"] = request.period;
|
|
5715
|
+
}
|
|
5716
|
+
if (!$dara.isNull(request.periodUnit)) {
|
|
5717
|
+
body["PeriodUnit"] = request.periodUnit;
|
|
5718
|
+
}
|
|
5719
|
+
if (!$dara.isNull(request.productType)) {
|
|
5720
|
+
body["ProductType"] = request.productType;
|
|
5721
|
+
}
|
|
5722
|
+
if (!$dara.isNull(request.promotionId)) {
|
|
5723
|
+
body["PromotionId"] = request.promotionId;
|
|
5724
|
+
}
|
|
5725
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5726
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5727
|
+
});
|
|
5728
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5729
|
+
action: "ModifyAppInstanceGroupChargeType",
|
|
5730
|
+
version: "2021-09-01",
|
|
5731
|
+
protocol: "HTTPS",
|
|
5732
|
+
pathname: "/",
|
|
5733
|
+
method: "POST",
|
|
5734
|
+
authType: "AK",
|
|
5735
|
+
style: "RPC",
|
|
5736
|
+
reqBodyType: "formData",
|
|
5737
|
+
bodyType: "json",
|
|
5738
|
+
});
|
|
5739
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceGroupChargeTypeResponse({}));
|
|
5740
|
+
}
|
|
5741
|
+
/**
|
|
5742
|
+
* Changes the billing method of a specified delivery group to the target billing method and returns the ID of the billing conversion task to be created.
|
|
5743
|
+
*
|
|
5744
|
+
* @remarks
|
|
5745
|
+
* This operation performs billing method conversion, which may create orders and trigger subsequent billing changes. **A successful response or a returned task ID does not indicate that the new billing method has taken effect.**
|
|
5746
|
+
* **Before you begin:**
|
|
5747
|
+
* - The resources belong to the current account, and the product and business region match those in the request. Only one delivery group can be specified per request.
|
|
5748
|
+
* - The target billing method must be different from the current one, and the target resource specifications must support the corresponding sales and Billable methods.
|
|
5749
|
+
* - Delivery groups that have been added to a valid collection cannot be converted to a different billing method individually.
|
|
5750
|
+
* - Multiple delivery groups created in the same batch of orders cannot be converted to different Billable methods separately.
|
|
5751
|
+
* **Parameter relationships and call sequence:**
|
|
5752
|
+
* 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.
|
|
5753
|
+
* 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.
|
|
5754
|
+
* 3. Set `AutoPay` based on whether automatic payment is allowed. If auto-renewal is involved, explicitly set `AutoRenew`.
|
|
5755
|
+
* 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.
|
|
5756
|
+
* This operation does not accept an expiration time parameter. Do not pass the expiration time from other operations into this request. The task examples only illustrate the purpose of the ID and do not define a fixed prefix or length for actual task IDs.
|
|
5757
|
+
*
|
|
5758
|
+
* @param request - ModifyAppInstanceGroupChargeTypeRequest
|
|
5759
|
+
* @returns ModifyAppInstanceGroupChargeTypeResponse
|
|
5760
|
+
*/
|
|
5761
|
+
async modifyAppInstanceGroupChargeType(request) {
|
|
5762
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5763
|
+
return await this.modifyAppInstanceGroupChargeTypeWithOptions(request, runtime);
|
|
5764
|
+
}
|
|
4637
5765
|
/**
|
|
4638
5766
|
* Modifies the display policy of a delivery group, including settings such as frame rate, resolution, and protocol type.
|
|
4639
5767
|
*
|
|
@@ -4893,7 +6021,7 @@ class Client extends openapi_core_1.default {
|
|
|
4893
6021
|
return await this.modifyNodePoolAttributeWithOptions(request, runtime);
|
|
4894
6022
|
}
|
|
4895
6023
|
/**
|
|
4896
|
-
* Shares an image with other WUYING users or
|
|
6024
|
+
* Shares an image with other WUYING users or unshares a shared image.
|
|
4897
6025
|
*
|
|
4898
6026
|
* @param request - ModifyShareImageRequest
|
|
4899
6027
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4934,33 +6062,648 @@ class Client extends openapi_core_1.default {
|
|
|
4934
6062
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyShareImageResponse({}));
|
|
4935
6063
|
}
|
|
4936
6064
|
/**
|
|
4937
|
-
* Shares an image with other WUYING users or
|
|
6065
|
+
* Shares an image with other WUYING users or unshares a shared image.
|
|
6066
|
+
*
|
|
6067
|
+
* @param request - ModifyShareImageRequest
|
|
6068
|
+
* @returns ModifyShareImageResponse
|
|
6069
|
+
*/
|
|
6070
|
+
async modifyShareImage(request) {
|
|
6071
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6072
|
+
return await this.modifyShareImageWithOptions(request, runtime);
|
|
6073
|
+
}
|
|
6074
|
+
/**
|
|
6075
|
+
* Modifies the administrator account configuration, such as whether to enable resource expiration reminders.
|
|
6076
|
+
*
|
|
6077
|
+
* @param request - ModifyTenantConfigRequest
|
|
6078
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6079
|
+
* @returns ModifyTenantConfigResponse
|
|
6080
|
+
*/
|
|
6081
|
+
async modifyTenantConfigWithOptions(request, runtime) {
|
|
6082
|
+
request.validate();
|
|
6083
|
+
let body = {};
|
|
6084
|
+
if (!$dara.isNull(request.appInstanceGroupExpireRemind)) {
|
|
6085
|
+
body["AppInstanceGroupExpireRemind"] = request.appInstanceGroupExpireRemind;
|
|
6086
|
+
}
|
|
6087
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6088
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6089
|
+
});
|
|
6090
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6091
|
+
action: "ModifyTenantConfig",
|
|
6092
|
+
version: "2021-09-01",
|
|
6093
|
+
protocol: "HTTPS",
|
|
6094
|
+
pathname: "/",
|
|
6095
|
+
method: "POST",
|
|
6096
|
+
authType: "AK",
|
|
6097
|
+
style: "RPC",
|
|
6098
|
+
reqBodyType: "formData",
|
|
6099
|
+
bodyType: "json",
|
|
6100
|
+
});
|
|
6101
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyTenantConfigResponse({}));
|
|
6102
|
+
}
|
|
6103
|
+
/**
|
|
6104
|
+
* Modifies the administrator account configuration, such as whether to enable resource expiration reminders.
|
|
6105
|
+
*
|
|
6106
|
+
* @param request - ModifyTenantConfigRequest
|
|
6107
|
+
* @returns ModifyTenantConfigResponse
|
|
6108
|
+
*/
|
|
6109
|
+
async modifyTenantConfig(request) {
|
|
6110
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6111
|
+
return await this.modifyTenantConfigWithOptions(request, runtime);
|
|
6112
|
+
}
|
|
6113
|
+
/**
|
|
6114
|
+
* Modifies the properties of a workstation.
|
|
6115
|
+
*
|
|
6116
|
+
* @param request - ModifyWuyingServerAttributeRequest
|
|
6117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6118
|
+
* @returns ModifyWuyingServerAttributeResponse
|
|
6119
|
+
*/
|
|
6120
|
+
async modifyWuyingServerAttributeWithOptions(request, runtime) {
|
|
6121
|
+
request.validate();
|
|
6122
|
+
let body = {};
|
|
6123
|
+
if (!$dara.isNull(request.erdmaEnabled)) {
|
|
6124
|
+
body["ErdmaEnabled"] = request.erdmaEnabled;
|
|
6125
|
+
}
|
|
6126
|
+
if (!$dara.isNull(request.password)) {
|
|
6127
|
+
body["Password"] = request.password;
|
|
6128
|
+
}
|
|
6129
|
+
if (!$dara.isNull(request.productType)) {
|
|
6130
|
+
body["ProductType"] = request.productType;
|
|
6131
|
+
}
|
|
6132
|
+
if (!$dara.isNull(request.wuyingServerId)) {
|
|
6133
|
+
body["WuyingServerId"] = request.wuyingServerId;
|
|
6134
|
+
}
|
|
6135
|
+
if (!$dara.isNull(request.wuyingServerName)) {
|
|
6136
|
+
body["WuyingServerName"] = request.wuyingServerName;
|
|
6137
|
+
}
|
|
6138
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6139
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6140
|
+
});
|
|
6141
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6142
|
+
action: "ModifyWuyingServerAttribute",
|
|
6143
|
+
version: "2021-09-01",
|
|
6144
|
+
protocol: "HTTPS",
|
|
6145
|
+
pathname: "/",
|
|
6146
|
+
method: "POST",
|
|
6147
|
+
authType: "AK",
|
|
6148
|
+
style: "RPC",
|
|
6149
|
+
reqBodyType: "formData",
|
|
6150
|
+
bodyType: "json",
|
|
6151
|
+
});
|
|
6152
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyWuyingServerAttributeResponse({}));
|
|
6153
|
+
}
|
|
6154
|
+
/**
|
|
6155
|
+
* Modifies the properties of a workstation.
|
|
6156
|
+
*
|
|
6157
|
+
* @param request - ModifyWuyingServerAttributeRequest
|
|
6158
|
+
* @returns ModifyWuyingServerAttributeResponse
|
|
6159
|
+
*/
|
|
6160
|
+
async modifyWuyingServerAttribute(request) {
|
|
6161
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6162
|
+
return await this.modifyWuyingServerAttributeWithOptions(request, runtime);
|
|
6163
|
+
}
|
|
6164
|
+
/**
|
|
6165
|
+
* Queries the allocated users added to a delivery group by paging.
|
|
6166
|
+
*
|
|
6167
|
+
* @param request - PageListAppInstanceGroupUserRequest
|
|
6168
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6169
|
+
* @returns PageListAppInstanceGroupUserResponse
|
|
6170
|
+
*/
|
|
6171
|
+
async pageListAppInstanceGroupUserWithOptions(request, runtime) {
|
|
6172
|
+
request.validate();
|
|
6173
|
+
let body = {};
|
|
6174
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6175
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6176
|
+
}
|
|
6177
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6178
|
+
body["PageNumber"] = request.pageNumber;
|
|
6179
|
+
}
|
|
6180
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6181
|
+
body["PageSize"] = request.pageSize;
|
|
6182
|
+
}
|
|
6183
|
+
if (!$dara.isNull(request.productType)) {
|
|
6184
|
+
body["ProductType"] = request.productType;
|
|
6185
|
+
}
|
|
6186
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6187
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6188
|
+
});
|
|
6189
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6190
|
+
action: "PageListAppInstanceGroupUser",
|
|
6191
|
+
version: "2021-09-01",
|
|
6192
|
+
protocol: "HTTPS",
|
|
6193
|
+
pathname: "/",
|
|
6194
|
+
method: "POST",
|
|
6195
|
+
authType: "AK",
|
|
6196
|
+
style: "RPC",
|
|
6197
|
+
reqBodyType: "formData",
|
|
6198
|
+
bodyType: "json",
|
|
6199
|
+
});
|
|
6200
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PageListAppInstanceGroupUserResponse({}));
|
|
6201
|
+
}
|
|
6202
|
+
/**
|
|
6203
|
+
* Queries the allocated users added to a delivery group by paging.
|
|
6204
|
+
*
|
|
6205
|
+
* @param request - PageListAppInstanceGroupUserRequest
|
|
6206
|
+
* @returns PageListAppInstanceGroupUserResponse
|
|
6207
|
+
*/
|
|
6208
|
+
async pageListAppInstanceGroupUser(request) {
|
|
6209
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6210
|
+
return await this.pageListAppInstanceGroupUserWithOptions(request, runtime);
|
|
6211
|
+
}
|
|
6212
|
+
/**
|
|
6213
|
+
* Queries app instance group reports by region, app instance group, status, user authorization relationship, or statistical date.
|
|
6214
|
+
*
|
|
6215
|
+
* @remarks
|
|
6216
|
+
* 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.
|
|
6217
|
+
*
|
|
6218
|
+
* @param request - QueryAppInstanceGroupReportListRequest
|
|
6219
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6220
|
+
* @returns QueryAppInstanceGroupReportListResponse
|
|
6221
|
+
*/
|
|
6222
|
+
async queryAppInstanceGroupReportListWithOptions(request, runtime) {
|
|
6223
|
+
request.validate();
|
|
6224
|
+
let body = {};
|
|
6225
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6226
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6227
|
+
}
|
|
6228
|
+
if (!$dara.isNull(request.appInstanceGroupName)) {
|
|
6229
|
+
body["AppInstanceGroupName"] = request.appInstanceGroupName;
|
|
6230
|
+
}
|
|
6231
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6232
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6233
|
+
}
|
|
6234
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6235
|
+
body["EndDate"] = request.endDate;
|
|
6236
|
+
}
|
|
6237
|
+
if (!$dara.isNull(request.endUserId)) {
|
|
6238
|
+
body["EndUserId"] = request.endUserId;
|
|
6239
|
+
}
|
|
6240
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6241
|
+
body["PageNumber"] = request.pageNumber;
|
|
6242
|
+
}
|
|
6243
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6244
|
+
body["PageSize"] = request.pageSize;
|
|
6245
|
+
}
|
|
6246
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6247
|
+
body["RegionId"] = request.regionId;
|
|
6248
|
+
}
|
|
6249
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6250
|
+
body["StartDate"] = request.startDate;
|
|
6251
|
+
}
|
|
6252
|
+
if (!$dara.isNull(request.statDate)) {
|
|
6253
|
+
body["StatDate"] = request.statDate;
|
|
6254
|
+
}
|
|
6255
|
+
if (!$dara.isNull(request.status)) {
|
|
6256
|
+
body["Status"] = request.status;
|
|
6257
|
+
}
|
|
6258
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6259
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6260
|
+
});
|
|
6261
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6262
|
+
action: "QueryAppInstanceGroupReportList",
|
|
6263
|
+
version: "2021-09-01",
|
|
6264
|
+
protocol: "HTTPS",
|
|
6265
|
+
pathname: "/",
|
|
6266
|
+
method: "POST",
|
|
6267
|
+
authType: "AK",
|
|
6268
|
+
style: "RPC",
|
|
6269
|
+
reqBodyType: "formData",
|
|
6270
|
+
bodyType: "json",
|
|
6271
|
+
});
|
|
6272
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAppInstanceGroupReportListResponse({}));
|
|
6273
|
+
}
|
|
6274
|
+
/**
|
|
6275
|
+
* Queries app instance group reports by region, app instance group, status, user authorization relationship, or statistical date.
|
|
6276
|
+
*
|
|
6277
|
+
* @remarks
|
|
6278
|
+
* 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.
|
|
6279
|
+
*
|
|
6280
|
+
* @param request - QueryAppInstanceGroupReportListRequest
|
|
6281
|
+
* @returns QueryAppInstanceGroupReportListResponse
|
|
6282
|
+
*/
|
|
6283
|
+
async queryAppInstanceGroupReportList(request) {
|
|
6284
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6285
|
+
return await this.queryAppInstanceGroupReportListWithOptions(request, runtime);
|
|
6286
|
+
}
|
|
6287
|
+
/**
|
|
6288
|
+
* Queries the number of successful connections, the number of failed connections, the success rate, and the average connection duration within a specified time range.
|
|
6289
|
+
*
|
|
6290
|
+
* @remarks
|
|
6291
|
+
* 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.
|
|
6292
|
+
*
|
|
6293
|
+
* @param request - QueryConnectionReportRequest
|
|
6294
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6295
|
+
* @returns QueryConnectionReportResponse
|
|
6296
|
+
*/
|
|
6297
|
+
async queryConnectionReportWithOptions(request, runtime) {
|
|
6298
|
+
request.validate();
|
|
6299
|
+
let body = {};
|
|
6300
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6301
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6302
|
+
}
|
|
6303
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6304
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6305
|
+
}
|
|
6306
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6307
|
+
body["EndDate"] = request.endDate;
|
|
6308
|
+
}
|
|
6309
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6310
|
+
body["PageNumber"] = request.pageNumber;
|
|
6311
|
+
}
|
|
6312
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6313
|
+
body["PageSize"] = request.pageSize;
|
|
6314
|
+
}
|
|
6315
|
+
if (!$dara.isNull(request.productType)) {
|
|
6316
|
+
body["ProductType"] = request.productType;
|
|
6317
|
+
}
|
|
6318
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6319
|
+
body["StartDate"] = request.startDate;
|
|
6320
|
+
}
|
|
6321
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6322
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6323
|
+
});
|
|
6324
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6325
|
+
action: "QueryConnectionReport",
|
|
6326
|
+
version: "2021-09-01",
|
|
6327
|
+
protocol: "HTTPS",
|
|
6328
|
+
pathname: "/",
|
|
6329
|
+
method: "POST",
|
|
6330
|
+
authType: "AK",
|
|
6331
|
+
style: "RPC",
|
|
6332
|
+
reqBodyType: "formData",
|
|
6333
|
+
bodyType: "json",
|
|
6334
|
+
});
|
|
6335
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryConnectionReportResponse({}));
|
|
6336
|
+
}
|
|
6337
|
+
/**
|
|
6338
|
+
* Queries the number of successful connections, the number of failed connections, the success rate, and the average connection duration within a specified time range.
|
|
6339
|
+
*
|
|
6340
|
+
* @remarks
|
|
6341
|
+
* 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.
|
|
6342
|
+
*
|
|
6343
|
+
* @param request - QueryConnectionReportRequest
|
|
6344
|
+
* @returns QueryConnectionReportResponse
|
|
6345
|
+
*/
|
|
6346
|
+
async queryConnectionReport(request) {
|
|
6347
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6348
|
+
return await this.queryConnectionReportWithOptions(request, runtime);
|
|
6349
|
+
}
|
|
6350
|
+
/**
|
|
6351
|
+
* Queries the number of daily active users and streaming daily active users by date.
|
|
6352
|
+
*
|
|
6353
|
+
* @remarks
|
|
6354
|
+
* 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.
|
|
6355
|
+
*
|
|
6356
|
+
* @param request - QueryDauReportDataRequest
|
|
6357
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6358
|
+
* @returns QueryDauReportDataResponse
|
|
6359
|
+
*/
|
|
6360
|
+
async queryDauReportDataWithOptions(request, runtime) {
|
|
6361
|
+
request.validate();
|
|
6362
|
+
let body = {};
|
|
6363
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6364
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6365
|
+
}
|
|
6366
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6367
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6368
|
+
}
|
|
6369
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6370
|
+
body["EndDate"] = request.endDate;
|
|
6371
|
+
}
|
|
6372
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6373
|
+
body["PageNumber"] = request.pageNumber;
|
|
6374
|
+
}
|
|
6375
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6376
|
+
body["PageSize"] = request.pageSize;
|
|
6377
|
+
}
|
|
6378
|
+
if (!$dara.isNull(request.productType)) {
|
|
6379
|
+
body["ProductType"] = request.productType;
|
|
6380
|
+
}
|
|
6381
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6382
|
+
body["StartDate"] = request.startDate;
|
|
6383
|
+
}
|
|
6384
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6385
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6386
|
+
});
|
|
6387
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6388
|
+
action: "QueryDauReportData",
|
|
6389
|
+
version: "2021-09-01",
|
|
6390
|
+
protocol: "HTTPS",
|
|
6391
|
+
pathname: "/",
|
|
6392
|
+
method: "POST",
|
|
6393
|
+
authType: "AK",
|
|
6394
|
+
style: "RPC",
|
|
6395
|
+
reqBodyType: "formData",
|
|
6396
|
+
bodyType: "json",
|
|
6397
|
+
});
|
|
6398
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryDauReportDataResponse({}));
|
|
6399
|
+
}
|
|
6400
|
+
/**
|
|
6401
|
+
* Queries the number of daily active users and streaming daily active users by date.
|
|
6402
|
+
*
|
|
6403
|
+
* @remarks
|
|
6404
|
+
* 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.
|
|
6405
|
+
*
|
|
6406
|
+
* @param request - QueryDauReportDataRequest
|
|
6407
|
+
* @returns QueryDauReportDataResponse
|
|
6408
|
+
*/
|
|
6409
|
+
async queryDauReportData(request) {
|
|
6410
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6411
|
+
return await this.queryDauReportDataWithOptions(request, runtime);
|
|
6412
|
+
}
|
|
6413
|
+
/**
|
|
6414
|
+
* Queries the number of monthly active users for each month within a specified time range.
|
|
6415
|
+
*
|
|
6416
|
+
* @remarks
|
|
6417
|
+
* Queries the monthly active user (MAU) report. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation, and the time span cannot exceed 60 months. The API returns statistical values by month. To adapt to offline data generated on the next day, the last month in the query range uses the day before `EndDate` as the statistical cutoff date. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
6418
|
+
*
|
|
6419
|
+
* @param request - QueryMauReportDataRequest
|
|
6420
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6421
|
+
* @returns QueryMauReportDataResponse
|
|
6422
|
+
*/
|
|
6423
|
+
async queryMauReportDataWithOptions(request, runtime) {
|
|
6424
|
+
request.validate();
|
|
6425
|
+
let body = {};
|
|
6426
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6427
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6428
|
+
}
|
|
6429
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6430
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6431
|
+
}
|
|
6432
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6433
|
+
body["EndDate"] = request.endDate;
|
|
6434
|
+
}
|
|
6435
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6436
|
+
body["PageNumber"] = request.pageNumber;
|
|
6437
|
+
}
|
|
6438
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6439
|
+
body["PageSize"] = request.pageSize;
|
|
6440
|
+
}
|
|
6441
|
+
if (!$dara.isNull(request.productType)) {
|
|
6442
|
+
body["ProductType"] = request.productType;
|
|
6443
|
+
}
|
|
6444
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6445
|
+
body["StartDate"] = request.startDate;
|
|
6446
|
+
}
|
|
6447
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6448
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6449
|
+
});
|
|
6450
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6451
|
+
action: "QueryMauReportData",
|
|
6452
|
+
version: "2021-09-01",
|
|
6453
|
+
protocol: "HTTPS",
|
|
6454
|
+
pathname: "/",
|
|
6455
|
+
method: "POST",
|
|
6456
|
+
authType: "AK",
|
|
6457
|
+
style: "RPC",
|
|
6458
|
+
reqBodyType: "formData",
|
|
6459
|
+
bodyType: "json",
|
|
6460
|
+
});
|
|
6461
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMauReportDataResponse({}));
|
|
6462
|
+
}
|
|
6463
|
+
/**
|
|
6464
|
+
* Queries the number of monthly active users for each month within a specified time range.
|
|
6465
|
+
*
|
|
6466
|
+
* @remarks
|
|
6467
|
+
* Queries the monthly active user (MAU) report. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation, and the time span cannot exceed 60 months. The API returns statistical values by month. To adapt to offline data generated on the next day, the last month in the query range uses the day before `EndDate` as the statistical cutoff date. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
6468
|
+
*
|
|
6469
|
+
* @param request - QueryMauReportDataRequest
|
|
6470
|
+
* @returns QueryMauReportDataResponse
|
|
6471
|
+
*/
|
|
6472
|
+
async queryMauReportData(request) {
|
|
6473
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6474
|
+
return await this.queryMauReportDataWithOptions(request, runtime);
|
|
6475
|
+
}
|
|
6476
|
+
/**
|
|
6477
|
+
* Queries the network RTT and low-RTT user statistics within a specified time range.
|
|
6478
|
+
*
|
|
6479
|
+
* @remarks
|
|
6480
|
+
* Queries network round-trip time (RTT) reports. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation. The statistical interval is `[StartDate, EndDate)`. The minimum, maximum, and average RTT values are measured in milliseconds. The low-RTT threshold is determined by the report statistical caliber, and the current API operation does not return this threshold. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
6481
|
+
*
|
|
6482
|
+
* @param request - QueryNetworkRttReportRequest
|
|
6483
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6484
|
+
* @returns QueryNetworkRttReportResponse
|
|
6485
|
+
*/
|
|
6486
|
+
async queryNetworkRttReportWithOptions(request, runtime) {
|
|
6487
|
+
request.validate();
|
|
6488
|
+
let body = {};
|
|
6489
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6490
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6491
|
+
}
|
|
6492
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6493
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6494
|
+
}
|
|
6495
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6496
|
+
body["EndDate"] = request.endDate;
|
|
6497
|
+
}
|
|
6498
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6499
|
+
body["PageNumber"] = request.pageNumber;
|
|
6500
|
+
}
|
|
6501
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6502
|
+
body["PageSize"] = request.pageSize;
|
|
6503
|
+
}
|
|
6504
|
+
if (!$dara.isNull(request.productType)) {
|
|
6505
|
+
body["ProductType"] = request.productType;
|
|
6506
|
+
}
|
|
6507
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6508
|
+
body["StartDate"] = request.startDate;
|
|
6509
|
+
}
|
|
6510
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6511
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6512
|
+
});
|
|
6513
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6514
|
+
action: "QueryNetworkRttReport",
|
|
6515
|
+
version: "2021-09-01",
|
|
6516
|
+
protocol: "HTTPS",
|
|
6517
|
+
pathname: "/",
|
|
6518
|
+
method: "POST",
|
|
6519
|
+
authType: "AK",
|
|
6520
|
+
style: "RPC",
|
|
6521
|
+
reqBodyType: "formData",
|
|
6522
|
+
bodyType: "json",
|
|
6523
|
+
});
|
|
6524
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryNetworkRttReportResponse({}));
|
|
6525
|
+
}
|
|
6526
|
+
/**
|
|
6527
|
+
* Queries the network RTT and low-RTT user statistics within a specified time range.
|
|
6528
|
+
*
|
|
6529
|
+
* @remarks
|
|
6530
|
+
* Queries network round-trip time (RTT) reports. `ProductType`, `StartDate`, and `EndDate` are required for server-side validation. The statistical interval is `[StartDate, EndDate)`. The minimum, maximum, and average RTT values are measured in milliseconds. The low-RTT threshold is determined by the report statistical caliber, and the current API operation does not return this threshold. Results are returned in pages, with a maximum of 1,500 entries per page.
|
|
6531
|
+
*
|
|
6532
|
+
* @param request - QueryNetworkRttReportRequest
|
|
6533
|
+
* @returns QueryNetworkRttReportResponse
|
|
6534
|
+
*/
|
|
6535
|
+
async queryNetworkRttReport(request) {
|
|
6536
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6537
|
+
return await this.queryNetworkRttReportWithOptions(request, runtime);
|
|
6538
|
+
}
|
|
6539
|
+
/**
|
|
6540
|
+
* Queries the total number of nodes, the number of subscription nodes, and the number of pay-as-you-go nodes by statistical granularity.
|
|
6541
|
+
*
|
|
6542
|
+
* @remarks
|
|
6543
|
+
* 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.
|
|
6544
|
+
*
|
|
6545
|
+
* @param request - QueryNodeReportDataRequest
|
|
6546
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6547
|
+
* @returns QueryNodeReportDataResponse
|
|
6548
|
+
*/
|
|
6549
|
+
async queryNodeReportDataWithOptions(request, runtime) {
|
|
6550
|
+
request.validate();
|
|
6551
|
+
let body = {};
|
|
6552
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6553
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6554
|
+
}
|
|
6555
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6556
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6557
|
+
}
|
|
6558
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6559
|
+
body["EndDate"] = request.endDate;
|
|
6560
|
+
}
|
|
6561
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6562
|
+
body["PageNumber"] = request.pageNumber;
|
|
6563
|
+
}
|
|
6564
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6565
|
+
body["PageSize"] = request.pageSize;
|
|
6566
|
+
}
|
|
6567
|
+
if (!$dara.isNull(request.productType)) {
|
|
6568
|
+
body["ProductType"] = request.productType;
|
|
6569
|
+
}
|
|
6570
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6571
|
+
body["StartDate"] = request.startDate;
|
|
6572
|
+
}
|
|
6573
|
+
if (!$dara.isNull(request.statDateType)) {
|
|
6574
|
+
body["StatDateType"] = request.statDateType;
|
|
6575
|
+
}
|
|
6576
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6577
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6578
|
+
});
|
|
6579
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6580
|
+
action: "QueryNodeReportData",
|
|
6581
|
+
version: "2021-09-01",
|
|
6582
|
+
protocol: "HTTPS",
|
|
6583
|
+
pathname: "/",
|
|
6584
|
+
method: "POST",
|
|
6585
|
+
authType: "AK",
|
|
6586
|
+
style: "RPC",
|
|
6587
|
+
reqBodyType: "formData",
|
|
6588
|
+
bodyType: "json",
|
|
6589
|
+
});
|
|
6590
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryNodeReportDataResponse({}));
|
|
6591
|
+
}
|
|
6592
|
+
/**
|
|
6593
|
+
* Queries the total number of nodes, the number of subscription nodes, and the number of pay-as-you-go nodes by statistical granularity.
|
|
6594
|
+
*
|
|
6595
|
+
* @remarks
|
|
6596
|
+
* 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.
|
|
6597
|
+
*
|
|
6598
|
+
* @param request - QueryNodeReportDataRequest
|
|
6599
|
+
* @returns QueryNodeReportDataResponse
|
|
6600
|
+
*/
|
|
6601
|
+
async queryNodeReportData(request) {
|
|
6602
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6603
|
+
return await this.queryNodeReportDataWithOptions(request, runtime);
|
|
6604
|
+
}
|
|
6605
|
+
/**
|
|
6606
|
+
* Queries the total number of sessions, connected sessions, and streaming sessions by statistical granularity.
|
|
6607
|
+
*
|
|
6608
|
+
* @remarks
|
|
6609
|
+
* Queries session 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 records per page.
|
|
6610
|
+
*
|
|
6611
|
+
* @param request - QuerySessionReportDataRequest
|
|
6612
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6613
|
+
* @returns QuerySessionReportDataResponse
|
|
6614
|
+
*/
|
|
6615
|
+
async querySessionReportDataWithOptions(request, runtime) {
|
|
6616
|
+
request.validate();
|
|
6617
|
+
let body = {};
|
|
6618
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6619
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6620
|
+
}
|
|
6621
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6622
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6623
|
+
}
|
|
6624
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6625
|
+
body["EndDate"] = request.endDate;
|
|
6626
|
+
}
|
|
6627
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6628
|
+
body["PageNumber"] = request.pageNumber;
|
|
6629
|
+
}
|
|
6630
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6631
|
+
body["PageSize"] = request.pageSize;
|
|
6632
|
+
}
|
|
6633
|
+
if (!$dara.isNull(request.productType)) {
|
|
6634
|
+
body["ProductType"] = request.productType;
|
|
6635
|
+
}
|
|
6636
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6637
|
+
body["StartDate"] = request.startDate;
|
|
6638
|
+
}
|
|
6639
|
+
if (!$dara.isNull(request.statDateType)) {
|
|
6640
|
+
body["StatDateType"] = request.statDateType;
|
|
6641
|
+
}
|
|
6642
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6643
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6644
|
+
});
|
|
6645
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6646
|
+
action: "QuerySessionReportData",
|
|
6647
|
+
version: "2021-09-01",
|
|
6648
|
+
protocol: "HTTPS",
|
|
6649
|
+
pathname: "/",
|
|
6650
|
+
method: "POST",
|
|
6651
|
+
authType: "AK",
|
|
6652
|
+
style: "RPC",
|
|
6653
|
+
reqBodyType: "formData",
|
|
6654
|
+
bodyType: "json",
|
|
6655
|
+
});
|
|
6656
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QuerySessionReportDataResponse({}));
|
|
6657
|
+
}
|
|
6658
|
+
/**
|
|
6659
|
+
* Queries the total number of sessions, connected sessions, and streaming sessions by statistical granularity.
|
|
6660
|
+
*
|
|
6661
|
+
* @remarks
|
|
6662
|
+
* Queries session 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 records per page.
|
|
4938
6663
|
*
|
|
4939
|
-
* @param request -
|
|
4940
|
-
* @returns
|
|
6664
|
+
* @param request - QuerySessionReportDataRequest
|
|
6665
|
+
* @returns QuerySessionReportDataResponse
|
|
4941
6666
|
*/
|
|
4942
|
-
async
|
|
6667
|
+
async querySessionReportData(request) {
|
|
4943
6668
|
let runtime = new $dara.RuntimeOptions({});
|
|
4944
|
-
return await this.
|
|
6669
|
+
return await this.querySessionReportDataWithOptions(request, runtime);
|
|
4945
6670
|
}
|
|
4946
6671
|
/**
|
|
4947
|
-
*
|
|
6672
|
+
* Queries the cumulative duration of application usage by a specified user on an hourly basis and returns the top five applications for each hour.
|
|
4948
6673
|
*
|
|
4949
|
-
* @
|
|
6674
|
+
* @remarks
|
|
6675
|
+
* 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.
|
|
6676
|
+
*
|
|
6677
|
+
* @param request - QueryUserAppUsageAggregateByHourRequest
|
|
4950
6678
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4951
|
-
* @returns
|
|
6679
|
+
* @returns QueryUserAppUsageAggregateByHourResponse
|
|
4952
6680
|
*/
|
|
4953
|
-
async
|
|
6681
|
+
async queryUserAppUsageAggregateByHourWithOptions(request, runtime) {
|
|
4954
6682
|
request.validate();
|
|
4955
6683
|
let body = {};
|
|
4956
|
-
if (!$dara.isNull(request.
|
|
4957
|
-
body["
|
|
6684
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6685
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
6686
|
+
}
|
|
6687
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6688
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6689
|
+
}
|
|
6690
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6691
|
+
body["EndDate"] = request.endDate;
|
|
6692
|
+
}
|
|
6693
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6694
|
+
body["RegionId"] = request.regionId;
|
|
6695
|
+
}
|
|
6696
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6697
|
+
body["StartDate"] = request.startDate;
|
|
6698
|
+
}
|
|
6699
|
+
if (!$dara.isNull(request.userId)) {
|
|
6700
|
+
body["UserId"] = request.userId;
|
|
4958
6701
|
}
|
|
4959
6702
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4960
6703
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4961
6704
|
});
|
|
4962
6705
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4963
|
-
action: "
|
|
6706
|
+
action: "QueryUserAppUsageAggregateByHour",
|
|
4964
6707
|
version: "2021-09-01",
|
|
4965
6708
|
protocol: "HTTPS",
|
|
4966
6709
|
pathname: "/",
|
|
@@ -4970,48 +6713,57 @@ class Client extends openapi_core_1.default {
|
|
|
4970
6713
|
reqBodyType: "formData",
|
|
4971
6714
|
bodyType: "json",
|
|
4972
6715
|
});
|
|
4973
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
6716
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryUserAppUsageAggregateByHourResponse({}));
|
|
4974
6717
|
}
|
|
4975
6718
|
/**
|
|
4976
|
-
*
|
|
6719
|
+
* Queries the cumulative duration of application usage by a specified user on an hourly basis and returns the top five applications for each hour.
|
|
4977
6720
|
*
|
|
4978
|
-
* @
|
|
4979
|
-
*
|
|
6721
|
+
* @remarks
|
|
6722
|
+
* 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.
|
|
6723
|
+
*
|
|
6724
|
+
* @param request - QueryUserAppUsageAggregateByHourRequest
|
|
6725
|
+
* @returns QueryUserAppUsageAggregateByHourResponse
|
|
4980
6726
|
*/
|
|
4981
|
-
async
|
|
6727
|
+
async queryUserAppUsageAggregateByHour(request) {
|
|
4982
6728
|
let runtime = new $dara.RuntimeOptions({});
|
|
4983
|
-
return await this.
|
|
6729
|
+
return await this.queryUserAppUsageAggregateByHourWithOptions(request, runtime);
|
|
4984
6730
|
}
|
|
4985
6731
|
/**
|
|
4986
|
-
*
|
|
6732
|
+
* Queries the ranking of cumulative application usage duration for a specified user within a date range.
|
|
4987
6733
|
*
|
|
4988
|
-
* @
|
|
6734
|
+
* @remarks
|
|
6735
|
+
* 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.
|
|
6736
|
+
*
|
|
6737
|
+
* @param request - QueryUserAppUsageTimeRankRequest
|
|
4989
6738
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4990
|
-
* @returns
|
|
6739
|
+
* @returns QueryUserAppUsageTimeRankResponse
|
|
4991
6740
|
*/
|
|
4992
|
-
async
|
|
6741
|
+
async queryUserAppUsageTimeRankWithOptions(request, runtime) {
|
|
4993
6742
|
request.validate();
|
|
4994
6743
|
let body = {};
|
|
4995
|
-
if (!$dara.isNull(request.
|
|
4996
|
-
body["
|
|
6744
|
+
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
6745
|
+
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
4997
6746
|
}
|
|
4998
|
-
if (!$dara.isNull(request.
|
|
4999
|
-
body["
|
|
6747
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6748
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
5000
6749
|
}
|
|
5001
|
-
if (!$dara.isNull(request.
|
|
5002
|
-
body["
|
|
6750
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6751
|
+
body["EndDate"] = request.endDate;
|
|
5003
6752
|
}
|
|
5004
|
-
if (!$dara.isNull(request.
|
|
5005
|
-
body["
|
|
6753
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6754
|
+
body["RegionId"] = request.regionId;
|
|
5006
6755
|
}
|
|
5007
|
-
if (!$dara.isNull(request.
|
|
5008
|
-
body["
|
|
6756
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6757
|
+
body["StartDate"] = request.startDate;
|
|
6758
|
+
}
|
|
6759
|
+
if (!$dara.isNull(request.userId)) {
|
|
6760
|
+
body["UserId"] = request.userId;
|
|
5009
6761
|
}
|
|
5010
6762
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5011
6763
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5012
6764
|
});
|
|
5013
6765
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5014
|
-
action: "
|
|
6766
|
+
action: "QueryUserAppUsageTimeRank",
|
|
5015
6767
|
version: "2021-09-01",
|
|
5016
6768
|
protocol: "HTTPS",
|
|
5017
6769
|
pathname: "/",
|
|
@@ -5021,31 +6773,46 @@ class Client extends openapi_core_1.default {
|
|
|
5021
6773
|
reqBodyType: "formData",
|
|
5022
6774
|
bodyType: "json",
|
|
5023
6775
|
});
|
|
5024
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
6776
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryUserAppUsageTimeRankResponse({}));
|
|
5025
6777
|
}
|
|
5026
6778
|
/**
|
|
5027
|
-
*
|
|
6779
|
+
* Queries the ranking of cumulative application usage duration for a specified user within a date range.
|
|
5028
6780
|
*
|
|
5029
|
-
* @
|
|
5030
|
-
*
|
|
6781
|
+
* @remarks
|
|
6782
|
+
* 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.
|
|
6783
|
+
*
|
|
6784
|
+
* @param request - QueryUserAppUsageTimeRankRequest
|
|
6785
|
+
* @returns QueryUserAppUsageTimeRankResponse
|
|
5031
6786
|
*/
|
|
5032
|
-
async
|
|
6787
|
+
async queryUserAppUsageTimeRank(request) {
|
|
5033
6788
|
let runtime = new $dara.RuntimeOptions({});
|
|
5034
|
-
return await this.
|
|
6789
|
+
return await this.queryUserAppUsageTimeRankWithOptions(request, runtime);
|
|
5035
6790
|
}
|
|
5036
6791
|
/**
|
|
5037
|
-
* Queries the
|
|
6792
|
+
* Queries the connection status, last connection time, cumulative usage duration, and session persistence duration of users.
|
|
5038
6793
|
*
|
|
5039
|
-
* @
|
|
6794
|
+
* @remarks
|
|
6795
|
+
* 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.
|
|
6796
|
+
*
|
|
6797
|
+
* @param request - QueryUserUsageReportRequest
|
|
5040
6798
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5041
|
-
* @returns
|
|
6799
|
+
* @returns QueryUserUsageReportResponse
|
|
5042
6800
|
*/
|
|
5043
|
-
async
|
|
6801
|
+
async queryUserUsageReportWithOptions(request, runtime) {
|
|
5044
6802
|
request.validate();
|
|
5045
6803
|
let body = {};
|
|
5046
6804
|
if (!$dara.isNull(request.appInstanceGroupId)) {
|
|
5047
6805
|
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
5048
6806
|
}
|
|
6807
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
6808
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
6809
|
+
}
|
|
6810
|
+
if (!$dara.isNull(request.connectionStatus)) {
|
|
6811
|
+
body["ConnectionStatus"] = request.connectionStatus;
|
|
6812
|
+
}
|
|
6813
|
+
if (!$dara.isNull(request.endDate)) {
|
|
6814
|
+
body["EndDate"] = request.endDate;
|
|
6815
|
+
}
|
|
5049
6816
|
if (!$dara.isNull(request.pageNumber)) {
|
|
5050
6817
|
body["PageNumber"] = request.pageNumber;
|
|
5051
6818
|
}
|
|
@@ -5055,11 +6822,17 @@ class Client extends openapi_core_1.default {
|
|
|
5055
6822
|
if (!$dara.isNull(request.productType)) {
|
|
5056
6823
|
body["ProductType"] = request.productType;
|
|
5057
6824
|
}
|
|
6825
|
+
if (!$dara.isNull(request.startDate)) {
|
|
6826
|
+
body["StartDate"] = request.startDate;
|
|
6827
|
+
}
|
|
6828
|
+
if (!$dara.isNull(request.userId)) {
|
|
6829
|
+
body["UserId"] = request.userId;
|
|
6830
|
+
}
|
|
5058
6831
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5059
6832
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5060
6833
|
});
|
|
5061
6834
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5062
|
-
action: "
|
|
6835
|
+
action: "QueryUserUsageReport",
|
|
5063
6836
|
version: "2021-09-01",
|
|
5064
6837
|
protocol: "HTTPS",
|
|
5065
6838
|
pathname: "/",
|
|
@@ -5069,17 +6842,20 @@ class Client extends openapi_core_1.default {
|
|
|
5069
6842
|
reqBodyType: "formData",
|
|
5070
6843
|
bodyType: "json",
|
|
5071
6844
|
});
|
|
5072
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
6845
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryUserUsageReportResponse({}));
|
|
5073
6846
|
}
|
|
5074
6847
|
/**
|
|
5075
|
-
* Queries the
|
|
6848
|
+
* Queries the connection status, last connection time, cumulative usage duration, and session persistence duration of users.
|
|
5076
6849
|
*
|
|
5077
|
-
* @
|
|
5078
|
-
*
|
|
6850
|
+
* @remarks
|
|
6851
|
+
* 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.
|
|
6852
|
+
*
|
|
6853
|
+
* @param request - QueryUserUsageReportRequest
|
|
6854
|
+
* @returns QueryUserUsageReportResponse
|
|
5079
6855
|
*/
|
|
5080
|
-
async
|
|
6856
|
+
async queryUserUsageReport(request) {
|
|
5081
6857
|
let runtime = new $dara.RuntimeOptions({});
|
|
5082
|
-
return await this.
|
|
6858
|
+
return await this.queryUserUsageReportWithOptions(request, runtime);
|
|
5083
6859
|
}
|
|
5084
6860
|
/**
|
|
5085
6861
|
* Removes model groups from a resource group.
|
|
@@ -5793,6 +7569,59 @@ class Client extends openapi_core_1.default {
|
|
|
5793
7569
|
let runtime = new $dara.RuntimeOptions({});
|
|
5794
7570
|
return await this.unbindWithOptions(request, runtime);
|
|
5795
7571
|
}
|
|
7572
|
+
/**
|
|
7573
|
+
* Dissociates multiple applications from a specified image version.
|
|
7574
|
+
*
|
|
7575
|
+
* @remarks
|
|
7576
|
+
* This operation supports only custom images and community images that the current account can manage. If you omit VersionId, the current effective version is used. If you specify VersionId, it must belong to the image specified by ImageId. Verify the associations between the applications and the version by querying the image before you submit AppIdList. **Dissociating applications does not directly delete the application records.** To delete an application, call DeleteApp.
|
|
7577
|
+
*
|
|
7578
|
+
* @param request - UnbindAppRequest
|
|
7579
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7580
|
+
* @returns UnbindAppResponse
|
|
7581
|
+
*/
|
|
7582
|
+
async unbindAppWithOptions(request, runtime) {
|
|
7583
|
+
request.validate();
|
|
7584
|
+
let body = {};
|
|
7585
|
+
let bodyFlat = {};
|
|
7586
|
+
if (!$dara.isNull(request.appIdList)) {
|
|
7587
|
+
bodyFlat["AppIdList"] = request.appIdList;
|
|
7588
|
+
}
|
|
7589
|
+
if (!$dara.isNull(request.imageId)) {
|
|
7590
|
+
body["ImageId"] = request.imageId;
|
|
7591
|
+
}
|
|
7592
|
+
if (!$dara.isNull(request.versionId)) {
|
|
7593
|
+
body["VersionId"] = request.versionId;
|
|
7594
|
+
}
|
|
7595
|
+
body = Object.assign(Object.assign({}, body), openapi_core_2.OpenApiUtil.query(bodyFlat));
|
|
7596
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7597
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7598
|
+
});
|
|
7599
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7600
|
+
action: "UnbindApp",
|
|
7601
|
+
version: "2021-09-01",
|
|
7602
|
+
protocol: "HTTPS",
|
|
7603
|
+
pathname: "/",
|
|
7604
|
+
method: "POST",
|
|
7605
|
+
authType: "AK",
|
|
7606
|
+
style: "RPC",
|
|
7607
|
+
reqBodyType: "formData",
|
|
7608
|
+
bodyType: "json",
|
|
7609
|
+
});
|
|
7610
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindAppResponse({}));
|
|
7611
|
+
}
|
|
7612
|
+
/**
|
|
7613
|
+
* Dissociates multiple applications from a specified image version.
|
|
7614
|
+
*
|
|
7615
|
+
* @remarks
|
|
7616
|
+
* This operation supports only custom images and community images that the current account can manage. If you omit VersionId, the current effective version is used. If you specify VersionId, it must belong to the image specified by ImageId. Verify the associations between the applications and the version by querying the image before you submit AppIdList. **Dissociating applications does not directly delete the application records.** To delete an application, call DeleteApp.
|
|
7617
|
+
*
|
|
7618
|
+
* @param request - UnbindAppRequest
|
|
7619
|
+
* @returns UnbindAppResponse
|
|
7620
|
+
*/
|
|
7621
|
+
async unbindApp(request) {
|
|
7622
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7623
|
+
return await this.unbindAppWithOptions(request, runtime);
|
|
7624
|
+
}
|
|
5796
7625
|
/**
|
|
5797
7626
|
* Unbinds tags from cloud resources in a unified manner.
|
|
5798
7627
|
*
|
|
@@ -5931,6 +7760,73 @@ class Client extends openapi_core_1.default {
|
|
|
5931
7760
|
let runtime = new $dara.RuntimeOptions({});
|
|
5932
7761
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
5933
7762
|
}
|
|
7763
|
+
/**
|
|
7764
|
+
* Modifies the runtime parameters, optimization configurations, and user configurations of a specified application adapter.
|
|
7765
|
+
*
|
|
7766
|
+
* @remarks
|
|
7767
|
+
* 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.
|
|
7768
|
+
* 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.**
|
|
7769
|
+
*
|
|
7770
|
+
* @param tmpReq - UpdateAdaptorRequest
|
|
7771
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7772
|
+
* @returns UpdateAdaptorResponse
|
|
7773
|
+
*/
|
|
7774
|
+
async updateAdaptorWithOptions(tmpReq, runtime) {
|
|
7775
|
+
tmpReq.validate();
|
|
7776
|
+
let request = new $_model.UpdateAdaptorShrinkRequest({});
|
|
7777
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
7778
|
+
if (!$dara.isNull(tmpReq.userConfig)) {
|
|
7779
|
+
request.userConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userConfig, "UserConfig", "json");
|
|
7780
|
+
}
|
|
7781
|
+
let body = {};
|
|
7782
|
+
if (!$dara.isNull(request.adaptorId)) {
|
|
7783
|
+
body["AdaptorId"] = request.adaptorId;
|
|
7784
|
+
}
|
|
7785
|
+
if (!$dara.isNull(request.appScript)) {
|
|
7786
|
+
body["AppScript"] = request.appScript;
|
|
7787
|
+
}
|
|
7788
|
+
if (!$dara.isNull(request.executeFileAddress)) {
|
|
7789
|
+
body["ExecuteFileAddress"] = request.executeFileAddress;
|
|
7790
|
+
}
|
|
7791
|
+
if (!$dara.isNull(request.optimizeParam)) {
|
|
7792
|
+
body["OptimizeParam"] = request.optimizeParam;
|
|
7793
|
+
}
|
|
7794
|
+
if (!$dara.isNull(request.silenceParam)) {
|
|
7795
|
+
body["SilenceParam"] = request.silenceParam;
|
|
7796
|
+
}
|
|
7797
|
+
if (!$dara.isNull(request.userConfigShrink)) {
|
|
7798
|
+
body["UserConfig"] = request.userConfigShrink;
|
|
7799
|
+
}
|
|
7800
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7801
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7802
|
+
});
|
|
7803
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7804
|
+
action: "UpdateAdaptor",
|
|
7805
|
+
version: "2021-09-01",
|
|
7806
|
+
protocol: "HTTPS",
|
|
7807
|
+
pathname: "/",
|
|
7808
|
+
method: "POST",
|
|
7809
|
+
authType: "AK",
|
|
7810
|
+
style: "RPC",
|
|
7811
|
+
reqBodyType: "formData",
|
|
7812
|
+
bodyType: "json",
|
|
7813
|
+
});
|
|
7814
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAdaptorResponse({}));
|
|
7815
|
+
}
|
|
7816
|
+
/**
|
|
7817
|
+
* Modifies the runtime parameters, optimization configurations, and user configurations of a specified application adapter.
|
|
7818
|
+
*
|
|
7819
|
+
* @remarks
|
|
7820
|
+
* 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.
|
|
7821
|
+
* 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.**
|
|
7822
|
+
*
|
|
7823
|
+
* @param request - UpdateAdaptorRequest
|
|
7824
|
+
* @returns UpdateAdaptorResponse
|
|
7825
|
+
*/
|
|
7826
|
+
async updateAdaptor(request) {
|
|
7827
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7828
|
+
return await this.updateAdaptorWithOptions(request, runtime);
|
|
7829
|
+
}
|
|
5934
7830
|
/**
|
|
5935
7831
|
* Updates the image of a delivery group.
|
|
5936
7832
|
*
|
|
@@ -5989,6 +7885,137 @@ class Client extends openapi_core_1.default {
|
|
|
5989
7885
|
let runtime = new $dara.RuntimeOptions({});
|
|
5990
7886
|
return await this.updateAppInstanceGroupImageWithOptions(request, runtime);
|
|
5991
7887
|
}
|
|
7888
|
+
/**
|
|
7889
|
+
* Modifies the name, description, version information, and associated application adaptations of an image.
|
|
7890
|
+
*
|
|
7891
|
+
* @remarks
|
|
7892
|
+
* You can only modify images that are owned by the current account and allow modifications. Modifying images shared with the current account is not supported.
|
|
7893
|
+
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application adaptation relationships of the selected version based on the complete list. Make sure to include the adaptations that you still want to retain.
|
|
7894
|
+
*
|
|
7895
|
+
* @param request - UpdateImageRequest
|
|
7896
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7897
|
+
* @returns UpdateImageResponse
|
|
7898
|
+
*/
|
|
7899
|
+
async updateImageWithOptions(request, runtime) {
|
|
7900
|
+
request.validate();
|
|
7901
|
+
let body = {};
|
|
7902
|
+
if (!$dara.isNull(request.adaptorIdList)) {
|
|
7903
|
+
body["AdaptorIdList"] = request.adaptorIdList;
|
|
7904
|
+
}
|
|
7905
|
+
if (!$dara.isNull(request.description)) {
|
|
7906
|
+
body["Description"] = request.description;
|
|
7907
|
+
}
|
|
7908
|
+
if (!$dara.isNull(request.distro)) {
|
|
7909
|
+
body["Distro"] = request.distro;
|
|
7910
|
+
}
|
|
7911
|
+
if (!$dara.isNull(request.imageId)) {
|
|
7912
|
+
body["ImageId"] = request.imageId;
|
|
7913
|
+
}
|
|
7914
|
+
if (!$dara.isNull(request.imageName)) {
|
|
7915
|
+
body["ImageName"] = request.imageName;
|
|
7916
|
+
}
|
|
7917
|
+
if (!$dara.isNull(request.language)) {
|
|
7918
|
+
body["Language"] = request.language;
|
|
7919
|
+
}
|
|
7920
|
+
if (!$dara.isNull(request.versionId)) {
|
|
7921
|
+
body["VersionId"] = request.versionId;
|
|
7922
|
+
}
|
|
7923
|
+
if (!$dara.isNull(request.versionName)) {
|
|
7924
|
+
body["VersionName"] = request.versionName;
|
|
7925
|
+
}
|
|
7926
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7927
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7928
|
+
});
|
|
7929
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7930
|
+
action: "UpdateImage",
|
|
7931
|
+
version: "2021-09-01",
|
|
7932
|
+
protocol: "HTTPS",
|
|
7933
|
+
pathname: "/",
|
|
7934
|
+
method: "POST",
|
|
7935
|
+
authType: "AK",
|
|
7936
|
+
style: "RPC",
|
|
7937
|
+
reqBodyType: "formData",
|
|
7938
|
+
bodyType: "json",
|
|
7939
|
+
});
|
|
7940
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageResponse({}));
|
|
7941
|
+
}
|
|
7942
|
+
/**
|
|
7943
|
+
* Modifies the name, description, version information, and associated application adaptations of an image.
|
|
7944
|
+
*
|
|
7945
|
+
* @remarks
|
|
7946
|
+
* You can only modify images that are owned by the current account and allow modifications. Modifying images shared with the current account is not supported.
|
|
7947
|
+
* You must provide at least one of ImageId and VersionId. If both are provided, they must point to the same image. If VersionId is omitted, the current effective version of the image is used. Passing a non-empty AdaptorIdList updates the application adaptation relationships of the selected version based on the complete list. Make sure to include the adaptations that you still want to retain.
|
|
7948
|
+
*
|
|
7949
|
+
* @param request - UpdateImageRequest
|
|
7950
|
+
* @returns UpdateImageResponse
|
|
7951
|
+
*/
|
|
7952
|
+
async updateImage(request) {
|
|
7953
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7954
|
+
return await this.updateImageWithOptions(request, runtime);
|
|
7955
|
+
}
|
|
7956
|
+
/**
|
|
7957
|
+
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
7958
|
+
*
|
|
7959
|
+
* @remarks
|
|
7960
|
+
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. TaskType must match the actual type of the task. **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 this status update call is completed. To query the final status of the task, call GetTask.
|
|
7961
|
+
*
|
|
7962
|
+
* @param request - UpdateImageTaskRequest
|
|
7963
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7964
|
+
* @returns UpdateImageTaskResponse
|
|
7965
|
+
*/
|
|
7966
|
+
async updateImageTaskWithOptions(request, runtime) {
|
|
7967
|
+
request.validate();
|
|
7968
|
+
let body = {};
|
|
7969
|
+
if (!$dara.isNull(request.bizRegionId)) {
|
|
7970
|
+
body["BizRegionId"] = request.bizRegionId;
|
|
7971
|
+
}
|
|
7972
|
+
if (!$dara.isNull(request.code)) {
|
|
7973
|
+
body["Code"] = request.code;
|
|
7974
|
+
}
|
|
7975
|
+
if (!$dara.isNull(request.status)) {
|
|
7976
|
+
body["Status"] = request.status;
|
|
7977
|
+
}
|
|
7978
|
+
if (!$dara.isNull(request.taskId)) {
|
|
7979
|
+
body["TaskId"] = request.taskId;
|
|
7980
|
+
}
|
|
7981
|
+
if (!$dara.isNull(request.taskStep)) {
|
|
7982
|
+
body["TaskStep"] = request.taskStep;
|
|
7983
|
+
}
|
|
7984
|
+
if (!$dara.isNull(request.taskType)) {
|
|
7985
|
+
body["TaskType"] = request.taskType;
|
|
7986
|
+
}
|
|
7987
|
+
if (!$dara.isNull(request.versionId)) {
|
|
7988
|
+
body["VersionId"] = request.versionId;
|
|
7989
|
+
}
|
|
7990
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7991
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7992
|
+
});
|
|
7993
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7994
|
+
action: "UpdateImageTask",
|
|
7995
|
+
version: "2021-09-01",
|
|
7996
|
+
protocol: "HTTPS",
|
|
7997
|
+
pathname: "/",
|
|
7998
|
+
method: "POST",
|
|
7999
|
+
authType: "AK",
|
|
8000
|
+
style: "RPC",
|
|
8001
|
+
reqBodyType: "formData",
|
|
8002
|
+
bodyType: "json",
|
|
8003
|
+
});
|
|
8004
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateImageTaskResponse({}));
|
|
8005
|
+
}
|
|
8006
|
+
/**
|
|
8007
|
+
* Sends a status update request for an existing image creation task to the corresponding creation resource.
|
|
8008
|
+
*
|
|
8009
|
+
* @remarks
|
|
8010
|
+
* The task must exist before you call this operation, and the corresponding creation resource and resource node must be available. TaskType must match the actual type of the task. **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 this status update call is completed. To query the final status of the task, call GetTask.
|
|
8011
|
+
*
|
|
8012
|
+
* @param request - UpdateImageTaskRequest
|
|
8013
|
+
* @returns UpdateImageTaskResponse
|
|
8014
|
+
*/
|
|
8015
|
+
async updateImageTask(request) {
|
|
8016
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8017
|
+
return await this.updateImageTaskWithOptions(request, runtime);
|
|
8018
|
+
}
|
|
5992
8019
|
/**
|
|
5993
8020
|
* Updates a model provider template.
|
|
5994
8021
|
*
|