@alicloud/eas20210701 6.4.1 → 6.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 +485 -2
- package/dist/client.js +432 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +858 -76
package/dist/client.d.ts
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
import OpenApi from '@alicloud/openapi-core';
|
|
4
4
|
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
5
5
|
import * as $dara from '@darabonba/typescript';
|
|
6
|
+
export declare class ResourceInstanceLabels extends $dara.Model {
|
|
7
|
+
labelKey?: string;
|
|
8
|
+
labelValue?: string;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
6
20
|
export declare class ServiceLabels extends $dara.Model {
|
|
7
21
|
labelKey?: string;
|
|
8
22
|
labelValue?: string;
|
|
@@ -2266,6 +2280,7 @@ export declare class ResourceInstance extends $dara.Model {
|
|
|
2266
2280
|
instanceUsedGpu?: number;
|
|
2267
2281
|
instanceUsedGpuMemory?: string;
|
|
2268
2282
|
instanceUsedMemory?: string;
|
|
2283
|
+
labels?: ResourceInstanceLabels[];
|
|
2269
2284
|
region?: string;
|
|
2270
2285
|
resourceId?: string;
|
|
2271
2286
|
zone?: string;
|
|
@@ -3403,6 +3418,9 @@ export declare class CreateResourceRequest extends $dara.Model {
|
|
|
3403
3418
|
* ecs.c6.8xlarge
|
|
3404
3419
|
*/
|
|
3405
3420
|
ecsInstanceType?: string;
|
|
3421
|
+
labels?: {
|
|
3422
|
+
[key: string]: string;
|
|
3423
|
+
};
|
|
3406
3424
|
/**
|
|
3407
3425
|
* @remarks
|
|
3408
3426
|
* The type of the resource group. Valid values:
|
|
@@ -3567,6 +3585,9 @@ export declare class CreateResourceInstancesRequest extends $dara.Model {
|
|
|
3567
3585
|
* ecs.s6-c1m2.xlarge
|
|
3568
3586
|
*/
|
|
3569
3587
|
ecsInstanceType?: string;
|
|
3588
|
+
labels?: {
|
|
3589
|
+
[key: string]: string;
|
|
3590
|
+
};
|
|
3570
3591
|
/**
|
|
3571
3592
|
* @remarks
|
|
3572
3593
|
* The size of the system disk. Unit: GiB. Valid values: 200 to 2000. Default value: 200.
|
|
@@ -4856,6 +4877,75 @@ export declare class DeleteResourceDLinkResponse extends $dara.Model {
|
|
|
4856
4877
|
[key: string]: any;
|
|
4857
4878
|
});
|
|
4858
4879
|
}
|
|
4880
|
+
export declare class DeleteResourceInstanceLabelRequest extends $dara.Model {
|
|
4881
|
+
allInstances?: boolean;
|
|
4882
|
+
instanceIds?: string[];
|
|
4883
|
+
keys?: string[];
|
|
4884
|
+
static names(): {
|
|
4885
|
+
[key: string]: string;
|
|
4886
|
+
};
|
|
4887
|
+
static types(): {
|
|
4888
|
+
[key: string]: any;
|
|
4889
|
+
};
|
|
4890
|
+
validate(): void;
|
|
4891
|
+
constructor(map?: {
|
|
4892
|
+
[key: string]: any;
|
|
4893
|
+
});
|
|
4894
|
+
}
|
|
4895
|
+
export declare class DeleteResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
4896
|
+
allInstances?: boolean;
|
|
4897
|
+
instanceIdsShrink?: string;
|
|
4898
|
+
keysShrink?: string;
|
|
4899
|
+
static names(): {
|
|
4900
|
+
[key: string]: string;
|
|
4901
|
+
};
|
|
4902
|
+
static types(): {
|
|
4903
|
+
[key: string]: any;
|
|
4904
|
+
};
|
|
4905
|
+
validate(): void;
|
|
4906
|
+
constructor(map?: {
|
|
4907
|
+
[key: string]: any;
|
|
4908
|
+
});
|
|
4909
|
+
}
|
|
4910
|
+
export declare class DeleteResourceInstanceLabelResponseBody extends $dara.Model {
|
|
4911
|
+
/**
|
|
4912
|
+
* @example
|
|
4913
|
+
* success
|
|
4914
|
+
*/
|
|
4915
|
+
message?: string;
|
|
4916
|
+
/**
|
|
4917
|
+
* @example
|
|
4918
|
+
* 40325405-579C-4D82********
|
|
4919
|
+
*/
|
|
4920
|
+
requestId?: string;
|
|
4921
|
+
static names(): {
|
|
4922
|
+
[key: string]: string;
|
|
4923
|
+
};
|
|
4924
|
+
static types(): {
|
|
4925
|
+
[key: string]: any;
|
|
4926
|
+
};
|
|
4927
|
+
validate(): void;
|
|
4928
|
+
constructor(map?: {
|
|
4929
|
+
[key: string]: any;
|
|
4930
|
+
});
|
|
4931
|
+
}
|
|
4932
|
+
export declare class DeleteResourceInstanceLabelResponse extends $dara.Model {
|
|
4933
|
+
headers?: {
|
|
4934
|
+
[key: string]: string;
|
|
4935
|
+
};
|
|
4936
|
+
statusCode?: number;
|
|
4937
|
+
body?: DeleteResourceInstanceLabelResponseBody;
|
|
4938
|
+
static names(): {
|
|
4939
|
+
[key: string]: string;
|
|
4940
|
+
};
|
|
4941
|
+
static types(): {
|
|
4942
|
+
[key: string]: any;
|
|
4943
|
+
};
|
|
4944
|
+
validate(): void;
|
|
4945
|
+
constructor(map?: {
|
|
4946
|
+
[key: string]: any;
|
|
4947
|
+
});
|
|
4948
|
+
}
|
|
4859
4949
|
export declare class DeleteResourceInstancesRequest extends $dara.Model {
|
|
4860
4950
|
/**
|
|
4861
4951
|
* @remarks
|
|
@@ -8159,6 +8249,279 @@ export declare class ListResourceInstancesRequest extends $dara.Model {
|
|
|
8159
8249
|
* Ready
|
|
8160
8250
|
*/
|
|
8161
8251
|
instanceStatus?: string;
|
|
8252
|
+
label?: {
|
|
8253
|
+
[key: string]: string;
|
|
8254
|
+
};
|
|
8255
|
+
/**
|
|
8256
|
+
* @remarks
|
|
8257
|
+
* The sorting order.
|
|
8258
|
+
*
|
|
8259
|
+
* Valid values:
|
|
8260
|
+
*
|
|
8261
|
+
* * asc: The instances are sorted in ascending order.
|
|
8262
|
+
*
|
|
8263
|
+
* <!-- -->
|
|
8264
|
+
*
|
|
8265
|
+
* <!-- -->
|
|
8266
|
+
*
|
|
8267
|
+
* <!-- -->
|
|
8268
|
+
*
|
|
8269
|
+
* * desc
|
|
8270
|
+
*
|
|
8271
|
+
* <!-- -->
|
|
8272
|
+
*
|
|
8273
|
+
* : The instances are sorted in descending order.
|
|
8274
|
+
*
|
|
8275
|
+
* <!-- -->
|
|
8276
|
+
*
|
|
8277
|
+
* <!-- -->
|
|
8278
|
+
*
|
|
8279
|
+
* @example
|
|
8280
|
+
* desc
|
|
8281
|
+
*/
|
|
8282
|
+
order?: string;
|
|
8283
|
+
/**
|
|
8284
|
+
* @remarks
|
|
8285
|
+
* The page number. Pages start from page 1. Default value: 1.
|
|
8286
|
+
*
|
|
8287
|
+
* @example
|
|
8288
|
+
* 1
|
|
8289
|
+
*/
|
|
8290
|
+
pageNumber?: number;
|
|
8291
|
+
/**
|
|
8292
|
+
* @remarks
|
|
8293
|
+
* The number of entries per page. Default value: 100.
|
|
8294
|
+
*
|
|
8295
|
+
* @example
|
|
8296
|
+
* 20
|
|
8297
|
+
*/
|
|
8298
|
+
pageSize?: number;
|
|
8299
|
+
/**
|
|
8300
|
+
* @remarks
|
|
8301
|
+
* The field that you use to sort the query results.
|
|
8302
|
+
*
|
|
8303
|
+
* Valid values:
|
|
8304
|
+
*
|
|
8305
|
+
* * CreateTime
|
|
8306
|
+
*
|
|
8307
|
+
* <!-- -->
|
|
8308
|
+
*
|
|
8309
|
+
* : The instances are sorted based on the time when the instances were created.
|
|
8310
|
+
*
|
|
8311
|
+
* <!-- -->
|
|
8312
|
+
*
|
|
8313
|
+
* <!-- -->
|
|
8314
|
+
*
|
|
8315
|
+
* * MemoryUsed
|
|
8316
|
+
*
|
|
8317
|
+
* <!-- -->
|
|
8318
|
+
*
|
|
8319
|
+
* :
|
|
8320
|
+
*
|
|
8321
|
+
* <!-- -->
|
|
8322
|
+
*
|
|
8323
|
+
* The instances are sorted based on the memory usage of the instances
|
|
8324
|
+
*
|
|
8325
|
+
* <!-- -->
|
|
8326
|
+
*
|
|
8327
|
+
* .
|
|
8328
|
+
*
|
|
8329
|
+
* * GpuUsed
|
|
8330
|
+
*
|
|
8331
|
+
* <!-- -->
|
|
8332
|
+
*
|
|
8333
|
+
* : The instances are sorted based on the
|
|
8334
|
+
*
|
|
8335
|
+
* <!-- -->
|
|
8336
|
+
*
|
|
8337
|
+
* GPU usage of the instances.
|
|
8338
|
+
*
|
|
8339
|
+
* <!-- -->
|
|
8340
|
+
*
|
|
8341
|
+
* * ExpireTime: The instances are sorted based on the time when the instances expired.
|
|
8342
|
+
*
|
|
8343
|
+
* <!-- -->
|
|
8344
|
+
*
|
|
8345
|
+
* <!-- -->
|
|
8346
|
+
*
|
|
8347
|
+
* <!-- -->
|
|
8348
|
+
*
|
|
8349
|
+
* * CpuUsed
|
|
8350
|
+
*
|
|
8351
|
+
* <!-- -->
|
|
8352
|
+
*
|
|
8353
|
+
* :
|
|
8354
|
+
*
|
|
8355
|
+
* <!-- -->
|
|
8356
|
+
*
|
|
8357
|
+
* The instances are sorted based on the CPU utilization of the instances.
|
|
8358
|
+
*
|
|
8359
|
+
* <!-- -->
|
|
8360
|
+
*
|
|
8361
|
+
* @example
|
|
8362
|
+
* CreateTime
|
|
8363
|
+
*/
|
|
8364
|
+
sort?: string;
|
|
8365
|
+
static names(): {
|
|
8366
|
+
[key: string]: string;
|
|
8367
|
+
};
|
|
8368
|
+
static types(): {
|
|
8369
|
+
[key: string]: any;
|
|
8370
|
+
};
|
|
8371
|
+
validate(): void;
|
|
8372
|
+
constructor(map?: {
|
|
8373
|
+
[key: string]: any;
|
|
8374
|
+
});
|
|
8375
|
+
}
|
|
8376
|
+
export declare class ListResourceInstancesShrinkRequest extends $dara.Model {
|
|
8377
|
+
/**
|
|
8378
|
+
* @remarks
|
|
8379
|
+
* The billing method of the instance. Valid values:
|
|
8380
|
+
*
|
|
8381
|
+
* * PrePaid: subscription.
|
|
8382
|
+
* * PostPaid: pay-as-you-go.
|
|
8383
|
+
*
|
|
8384
|
+
* @example
|
|
8385
|
+
* PrePaid
|
|
8386
|
+
*/
|
|
8387
|
+
chargeType?: string;
|
|
8388
|
+
/**
|
|
8389
|
+
* @remarks
|
|
8390
|
+
* The keyword used to query instances. Instances can be queried by instance ID or instance IP address.
|
|
8391
|
+
*
|
|
8392
|
+
* @example
|
|
8393
|
+
* 10.224.xx.xx
|
|
8394
|
+
*/
|
|
8395
|
+
filter?: string;
|
|
8396
|
+
/**
|
|
8397
|
+
* @remarks
|
|
8398
|
+
* The IP address of the instance.
|
|
8399
|
+
*
|
|
8400
|
+
* @example
|
|
8401
|
+
* 10.224.xx.xx
|
|
8402
|
+
*/
|
|
8403
|
+
instanceIP?: string;
|
|
8404
|
+
/**
|
|
8405
|
+
* @remarks
|
|
8406
|
+
* The instance ID. For more information about how to query the instance ID, see [ListResourceInstances](https://help.aliyun.com/document_detail/412129.html).
|
|
8407
|
+
*
|
|
8408
|
+
* @example
|
|
8409
|
+
* i-bp1jd6x3uotsv****
|
|
8410
|
+
*/
|
|
8411
|
+
instanceId?: string;
|
|
8412
|
+
/**
|
|
8413
|
+
* @remarks
|
|
8414
|
+
* The instance name.
|
|
8415
|
+
*
|
|
8416
|
+
* @example
|
|
8417
|
+
* e-xxxx***
|
|
8418
|
+
*/
|
|
8419
|
+
instanceName?: string;
|
|
8420
|
+
/**
|
|
8421
|
+
* @remarks
|
|
8422
|
+
* The instance state.
|
|
8423
|
+
*
|
|
8424
|
+
* Valid values:
|
|
8425
|
+
*
|
|
8426
|
+
* * Ready-SchedulingDisabled
|
|
8427
|
+
*
|
|
8428
|
+
* <!-- -->
|
|
8429
|
+
*
|
|
8430
|
+
* :
|
|
8431
|
+
*
|
|
8432
|
+
* <!-- -->
|
|
8433
|
+
*
|
|
8434
|
+
* The instance is available but unschedulable
|
|
8435
|
+
*
|
|
8436
|
+
* <!-- -->
|
|
8437
|
+
*
|
|
8438
|
+
* .
|
|
8439
|
+
*
|
|
8440
|
+
* * Ready
|
|
8441
|
+
*
|
|
8442
|
+
* <!-- -->
|
|
8443
|
+
*
|
|
8444
|
+
* : The instance
|
|
8445
|
+
*
|
|
8446
|
+
* <!-- -->
|
|
8447
|
+
*
|
|
8448
|
+
* is running
|
|
8449
|
+
*
|
|
8450
|
+
* <!-- -->
|
|
8451
|
+
*
|
|
8452
|
+
* .
|
|
8453
|
+
*
|
|
8454
|
+
* * NotReady
|
|
8455
|
+
*
|
|
8456
|
+
* <!-- -->
|
|
8457
|
+
*
|
|
8458
|
+
* : The instance is unready.
|
|
8459
|
+
*
|
|
8460
|
+
* <!-- -->
|
|
8461
|
+
*
|
|
8462
|
+
* <!-- -->
|
|
8463
|
+
*
|
|
8464
|
+
* * Stopped
|
|
8465
|
+
*
|
|
8466
|
+
* <!-- -->
|
|
8467
|
+
*
|
|
8468
|
+
* : The instance has stopped.
|
|
8469
|
+
*
|
|
8470
|
+
* <!-- -->
|
|
8471
|
+
*
|
|
8472
|
+
* <!-- -->
|
|
8473
|
+
*
|
|
8474
|
+
* * NotReady-SchedulingDisabled
|
|
8475
|
+
*
|
|
8476
|
+
* <!-- -->
|
|
8477
|
+
*
|
|
8478
|
+
* :
|
|
8479
|
+
*
|
|
8480
|
+
* <!-- -->
|
|
8481
|
+
*
|
|
8482
|
+
* The instance is unavailable and unschedulable
|
|
8483
|
+
*
|
|
8484
|
+
* <!-- -->
|
|
8485
|
+
*
|
|
8486
|
+
* .
|
|
8487
|
+
*
|
|
8488
|
+
* * Attaching
|
|
8489
|
+
*
|
|
8490
|
+
* <!-- -->
|
|
8491
|
+
*
|
|
8492
|
+
* : The instance
|
|
8493
|
+
*
|
|
8494
|
+
* <!-- -->
|
|
8495
|
+
*
|
|
8496
|
+
* is starting
|
|
8497
|
+
*
|
|
8498
|
+
* <!-- -->
|
|
8499
|
+
*
|
|
8500
|
+
* .
|
|
8501
|
+
*
|
|
8502
|
+
* * Deleting
|
|
8503
|
+
*
|
|
8504
|
+
* <!-- -->
|
|
8505
|
+
*
|
|
8506
|
+
* : The instance is being deleted.
|
|
8507
|
+
*
|
|
8508
|
+
* <!-- -->
|
|
8509
|
+
*
|
|
8510
|
+
* <!-- -->
|
|
8511
|
+
*
|
|
8512
|
+
* * CreateFailed: The instance failed to be created.
|
|
8513
|
+
*
|
|
8514
|
+
* <!-- -->
|
|
8515
|
+
*
|
|
8516
|
+
* <!-- -->
|
|
8517
|
+
*
|
|
8518
|
+
* <!-- -->
|
|
8519
|
+
*
|
|
8520
|
+
* @example
|
|
8521
|
+
* Ready
|
|
8522
|
+
*/
|
|
8523
|
+
instanceStatus?: string;
|
|
8524
|
+
labelShrink?: string;
|
|
8162
8525
|
/**
|
|
8163
8526
|
* @remarks
|
|
8164
8527
|
* The sorting order.
|
|
@@ -10841,6 +11204,90 @@ export declare class UpdateResourceInstanceResponse extends $dara.Model {
|
|
|
10841
11204
|
[key: string]: any;
|
|
10842
11205
|
});
|
|
10843
11206
|
}
|
|
11207
|
+
export declare class UpdateResourceInstanceLabelRequest extends $dara.Model {
|
|
11208
|
+
/**
|
|
11209
|
+
* @example
|
|
11210
|
+
* false
|
|
11211
|
+
*/
|
|
11212
|
+
allInstances?: boolean;
|
|
11213
|
+
instanceIds?: string[];
|
|
11214
|
+
labels?: {
|
|
11215
|
+
[key: string]: string;
|
|
11216
|
+
};
|
|
11217
|
+
static names(): {
|
|
11218
|
+
[key: string]: string;
|
|
11219
|
+
};
|
|
11220
|
+
static types(): {
|
|
11221
|
+
[key: string]: any;
|
|
11222
|
+
};
|
|
11223
|
+
validate(): void;
|
|
11224
|
+
constructor(map?: {
|
|
11225
|
+
[key: string]: any;
|
|
11226
|
+
});
|
|
11227
|
+
}
|
|
11228
|
+
export declare class UpdateResourceInstanceLabelShrinkRequest extends $dara.Model {
|
|
11229
|
+
/**
|
|
11230
|
+
* @example
|
|
11231
|
+
* false
|
|
11232
|
+
*/
|
|
11233
|
+
allInstances?: boolean;
|
|
11234
|
+
instanceIdsShrink?: string;
|
|
11235
|
+
labels?: {
|
|
11236
|
+
[key: string]: string;
|
|
11237
|
+
};
|
|
11238
|
+
static names(): {
|
|
11239
|
+
[key: string]: string;
|
|
11240
|
+
};
|
|
11241
|
+
static types(): {
|
|
11242
|
+
[key: string]: any;
|
|
11243
|
+
};
|
|
11244
|
+
validate(): void;
|
|
11245
|
+
constructor(map?: {
|
|
11246
|
+
[key: string]: any;
|
|
11247
|
+
});
|
|
11248
|
+
}
|
|
11249
|
+
export declare class UpdateResourceInstanceLabelResponseBody extends $dara.Model {
|
|
11250
|
+
/**
|
|
11251
|
+
* @example
|
|
11252
|
+
* Success
|
|
11253
|
+
*/
|
|
11254
|
+
message?: string;
|
|
11255
|
+
/**
|
|
11256
|
+
* @remarks
|
|
11257
|
+
* Id of the request
|
|
11258
|
+
*
|
|
11259
|
+
* @example
|
|
11260
|
+
* 40325405-579C-4D82****
|
|
11261
|
+
*/
|
|
11262
|
+
requestId?: string;
|
|
11263
|
+
static names(): {
|
|
11264
|
+
[key: string]: string;
|
|
11265
|
+
};
|
|
11266
|
+
static types(): {
|
|
11267
|
+
[key: string]: any;
|
|
11268
|
+
};
|
|
11269
|
+
validate(): void;
|
|
11270
|
+
constructor(map?: {
|
|
11271
|
+
[key: string]: any;
|
|
11272
|
+
});
|
|
11273
|
+
}
|
|
11274
|
+
export declare class UpdateResourceInstanceLabelResponse extends $dara.Model {
|
|
11275
|
+
headers?: {
|
|
11276
|
+
[key: string]: string;
|
|
11277
|
+
};
|
|
11278
|
+
statusCode?: number;
|
|
11279
|
+
body?: UpdateResourceInstanceLabelResponseBody;
|
|
11280
|
+
static names(): {
|
|
11281
|
+
[key: string]: string;
|
|
11282
|
+
};
|
|
11283
|
+
static types(): {
|
|
11284
|
+
[key: string]: any;
|
|
11285
|
+
};
|
|
11286
|
+
validate(): void;
|
|
11287
|
+
constructor(map?: {
|
|
11288
|
+
[key: string]: any;
|
|
11289
|
+
});
|
|
11290
|
+
}
|
|
10844
11291
|
export declare class UpdateServiceRequest extends $dara.Model {
|
|
10845
11292
|
/**
|
|
10846
11293
|
* @remarks
|
|
@@ -11924,6 +12371,24 @@ export default class Client extends OpenApi {
|
|
|
11924
12371
|
* @returns DeleteResourceDLinkResponse
|
|
11925
12372
|
*/
|
|
11926
12373
|
deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse>;
|
|
12374
|
+
/**
|
|
12375
|
+
* 删除资源组实例标签
|
|
12376
|
+
*
|
|
12377
|
+
* @param tmpReq - DeleteResourceInstanceLabelRequest
|
|
12378
|
+
* @param headers - map
|
|
12379
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12380
|
+
* @returns DeleteResourceInstanceLabelResponse
|
|
12381
|
+
*/
|
|
12382
|
+
deleteResourceInstanceLabelWithOptions(ClusterId: string, ResourceId: string, tmpReq: DeleteResourceInstanceLabelRequest, headers: {
|
|
12383
|
+
[key: string]: string;
|
|
12384
|
+
}, runtime: $dara.RuntimeOptions): Promise<DeleteResourceInstanceLabelResponse>;
|
|
12385
|
+
/**
|
|
12386
|
+
* 删除资源组实例标签
|
|
12387
|
+
*
|
|
12388
|
+
* @param request - DeleteResourceInstanceLabelRequest
|
|
12389
|
+
* @returns DeleteResourceInstanceLabelResponse
|
|
12390
|
+
*/
|
|
12391
|
+
deleteResourceInstanceLabel(ClusterId: string, ResourceId: string, request: DeleteResourceInstanceLabelRequest): Promise<DeleteResourceInstanceLabelResponse>;
|
|
11927
12392
|
/**
|
|
11928
12393
|
* Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
11929
12394
|
*
|
|
@@ -12575,12 +13040,12 @@ export default class Client extends OpenApi {
|
|
|
12575
13040
|
/**
|
|
12576
13041
|
* Queries a list of instances in a dedicated resource group.
|
|
12577
13042
|
*
|
|
12578
|
-
* @param
|
|
13043
|
+
* @param tmpReq - ListResourceInstancesRequest
|
|
12579
13044
|
* @param headers - map
|
|
12580
13045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
12581
13046
|
* @returns ListResourceInstancesResponse
|
|
12582
13047
|
*/
|
|
12583
|
-
listResourceInstancesWithOptions(ClusterId: string, ResourceId: string,
|
|
13048
|
+
listResourceInstancesWithOptions(ClusterId: string, ResourceId: string, tmpReq: ListResourceInstancesRequest, headers: {
|
|
12584
13049
|
[key: string]: string;
|
|
12585
13050
|
}, runtime: $dara.RuntimeOptions): Promise<ListResourceInstancesResponse>;
|
|
12586
13051
|
/**
|
|
@@ -12948,6 +13413,24 @@ export default class Client extends OpenApi {
|
|
|
12948
13413
|
* @returns UpdateResourceInstanceResponse
|
|
12949
13414
|
*/
|
|
12950
13415
|
updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse>;
|
|
13416
|
+
/**
|
|
13417
|
+
* 更新资源组实例标签
|
|
13418
|
+
*
|
|
13419
|
+
* @param tmpReq - UpdateResourceInstanceLabelRequest
|
|
13420
|
+
* @param headers - map
|
|
13421
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13422
|
+
* @returns UpdateResourceInstanceLabelResponse
|
|
13423
|
+
*/
|
|
13424
|
+
updateResourceInstanceLabelWithOptions(ClusterId: string, ResourceId: string, tmpReq: UpdateResourceInstanceLabelRequest, headers: {
|
|
13425
|
+
[key: string]: string;
|
|
13426
|
+
}, runtime: $dara.RuntimeOptions): Promise<UpdateResourceInstanceLabelResponse>;
|
|
13427
|
+
/**
|
|
13428
|
+
* 更新资源组实例标签
|
|
13429
|
+
*
|
|
13430
|
+
* @param request - UpdateResourceInstanceLabelRequest
|
|
13431
|
+
* @returns UpdateResourceInstanceLabelResponse
|
|
13432
|
+
*/
|
|
13433
|
+
updateResourceInstanceLabel(ClusterId: string, ResourceId: string, request: UpdateResourceInstanceLabelRequest): Promise<UpdateResourceInstanceLabelResponse>;
|
|
12951
13434
|
/**
|
|
12952
13435
|
* Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
12953
13436
|
*
|