@alicloud/cs20151215 6.1.2 → 6.2.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
@@ -1595,6 +1595,21 @@ export default class Client extends OpenApi {
1595
1595
  * @returns ListAddonsResponse
1596
1596
  */
1597
1597
  listAddons(request: $_model.ListAddonsRequest): Promise<$_model.ListAddonsResponse>;
1598
+ /**
1599
+ * 获取集群组件实例的资源列表
1600
+ *
1601
+ * @param headers - map
1602
+ * @param runtime - runtime options for this request RuntimeOptions
1603
+ * @returns ListClusterAddonInstanceResourcesResponse
1604
+ */
1605
+ listClusterAddonInstanceResourcesWithOptions(clusterId: string, instanceName: string, headers: {
1606
+ [key: string]: string;
1607
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
1608
+ /**
1609
+ * 获取集群组件实例的资源列表
1610
+ * @returns ListClusterAddonInstanceResourcesResponse
1611
+ */
1612
+ listClusterAddonInstanceResources(clusterId: string, instanceName: string): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
1598
1613
  /**
1599
1614
  * Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
1600
1615
  *
package/dist/client.js CHANGED
@@ -4268,6 +4268,39 @@ class Client extends openapi_core_1.default {
4268
4268
  let headers = {};
4269
4269
  return await this.listAddonsWithOptions(request, headers, runtime);
4270
4270
  }
4271
+ /**
4272
+ * 获取集群组件实例的资源列表
4273
+ *
4274
+ * @param headers - map
4275
+ * @param runtime - runtime options for this request RuntimeOptions
4276
+ * @returns ListClusterAddonInstanceResourcesResponse
4277
+ */
4278
+ async listClusterAddonInstanceResourcesWithOptions(clusterId, instanceName, headers, runtime) {
4279
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4280
+ headers: headers,
4281
+ });
4282
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4283
+ action: "ListClusterAddonInstanceResources",
4284
+ version: "2015-12-15",
4285
+ protocol: "HTTPS",
4286
+ pathname: `/clusters/${$dara.URL.percentEncode(clusterId)}/addon_instances/${$dara.URL.percentEncode(instanceName)}/resources`,
4287
+ method: "GET",
4288
+ authType: "AK",
4289
+ style: "ROA",
4290
+ reqBodyType: "json",
4291
+ bodyType: "json",
4292
+ });
4293
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstanceResourcesResponse({}));
4294
+ }
4295
+ /**
4296
+ * 获取集群组件实例的资源列表
4297
+ * @returns ListClusterAddonInstanceResourcesResponse
4298
+ */
4299
+ async listClusterAddonInstanceResources(clusterId, instanceName) {
4300
+ let runtime = new $dara.RuntimeOptions({});
4301
+ let headers = {};
4302
+ return await this.listClusterAddonInstanceResourcesWithOptions(clusterId, instanceName, headers, runtime);
4303
+ }
4271
4304
  /**
4272
4305
  * Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
4273
4306
  *