@alicloud/appstream-center20210901 5.4.0 → 5.5.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 CHANGED
@@ -377,6 +377,21 @@ export default class Client extends OpenApi {
377
377
  * @returns DeliverToUserSlsResponse
378
378
  */
379
379
  deliverToUserSls(request: $_model.DeliverToUserSlsRequest): Promise<$_model.DeliverToUserSlsResponse>;
380
+ /**
381
+ * 查询研发主机详情
382
+ *
383
+ * @param request - DescribeWuyingServerRequest
384
+ * @param runtime - runtime options for this request RuntimeOptions
385
+ * @returns DescribeWuyingServerResponse
386
+ */
387
+ describeWuyingServerWithOptions(request: $_model.DescribeWuyingServerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeWuyingServerResponse>;
388
+ /**
389
+ * 查询研发主机详情
390
+ *
391
+ * @param request - DescribeWuyingServerRequest
392
+ * @returns DescribeWuyingServerResponse
393
+ */
394
+ describeWuyingServer(request: $_model.DescribeWuyingServerRequest): Promise<$_model.DescribeWuyingServerResponse>;
380
395
  /**
381
396
  * Queries the Elastic IP Addresses (EIPs) of workstations.
382
397
  *
package/dist/client.js CHANGED
@@ -1305,6 +1305,45 @@ class Client extends openapi_core_1.default {
1305
1305
  let runtime = new $dara.RuntimeOptions({});
1306
1306
  return await this.deliverToUserSlsWithOptions(request, runtime);
1307
1307
  }
1308
+ /**
1309
+ * 查询研发主机详情
1310
+ *
1311
+ * @param request - DescribeWuyingServerRequest
1312
+ * @param runtime - runtime options for this request RuntimeOptions
1313
+ * @returns DescribeWuyingServerResponse
1314
+ */
1315
+ async describeWuyingServerWithOptions(request, runtime) {
1316
+ request.validate();
1317
+ let body = {};
1318
+ if (!$dara.isNull(request.wuyingServerId)) {
1319
+ body["WuyingServerId"] = request.wuyingServerId;
1320
+ }
1321
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1322
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
1323
+ });
1324
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1325
+ action: "DescribeWuyingServer",
1326
+ version: "2021-09-01",
1327
+ protocol: "HTTPS",
1328
+ pathname: "/",
1329
+ method: "POST",
1330
+ authType: "AK",
1331
+ style: "RPC",
1332
+ reqBodyType: "formData",
1333
+ bodyType: "json",
1334
+ });
1335
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeWuyingServerResponse({}));
1336
+ }
1337
+ /**
1338
+ * 查询研发主机详情
1339
+ *
1340
+ * @param request - DescribeWuyingServerRequest
1341
+ * @returns DescribeWuyingServerResponse
1342
+ */
1343
+ async describeWuyingServer(request) {
1344
+ let runtime = new $dara.RuntimeOptions({});
1345
+ return await this.describeWuyingServerWithOptions(request, runtime);
1346
+ }
1308
1347
  /**
1309
1348
  * Queries the Elastic IP Addresses (EIPs) of workstations.
1310
1349
  *