@alicloud/eas20210701 4.2.0 → 4.2.1
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 +987 -10
- package/dist/client.js +992 -10
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +997 -10
package/src/client.ts
CHANGED
|
@@ -99,6 +99,8 @@ export class Group extends $tea.Model {
|
|
|
99
99
|
|
|
100
100
|
export class Instance extends $tea.Model {
|
|
101
101
|
currentAmount?: number;
|
|
102
|
+
externalIP?: string;
|
|
103
|
+
externalInstancePort?: number;
|
|
102
104
|
hostIP?: string;
|
|
103
105
|
hostName?: string;
|
|
104
106
|
innerIP?: string;
|
|
@@ -115,13 +117,17 @@ export class Instance extends $tea.Model {
|
|
|
115
117
|
restartCount?: number;
|
|
116
118
|
role?: string;
|
|
117
119
|
startAt?: string;
|
|
120
|
+
startTime?: string;
|
|
118
121
|
status?: string;
|
|
119
122
|
tenantHostIP?: string;
|
|
120
123
|
tenantInstanceIP?: string;
|
|
121
124
|
totalProcesses?: number;
|
|
125
|
+
zone?: string;
|
|
122
126
|
static names(): { [key: string]: string } {
|
|
123
127
|
return {
|
|
124
128
|
currentAmount: 'CurrentAmount',
|
|
129
|
+
externalIP: 'ExternalIP',
|
|
130
|
+
externalInstancePort: 'ExternalInstancePort',
|
|
125
131
|
hostIP: 'HostIP',
|
|
126
132
|
hostName: 'HostName',
|
|
127
133
|
innerIP: 'InnerIP',
|
|
@@ -138,16 +144,20 @@ export class Instance extends $tea.Model {
|
|
|
138
144
|
restartCount: 'RestartCount',
|
|
139
145
|
role: 'Role',
|
|
140
146
|
startAt: 'StartAt',
|
|
147
|
+
startTime: 'StartTime',
|
|
141
148
|
status: 'Status',
|
|
142
149
|
tenantHostIP: 'TenantHostIP',
|
|
143
150
|
tenantInstanceIP: 'TenantInstanceIP',
|
|
144
151
|
totalProcesses: 'TotalProcesses',
|
|
152
|
+
zone: 'Zone',
|
|
145
153
|
};
|
|
146
154
|
}
|
|
147
155
|
|
|
148
156
|
static types(): { [key: string]: any } {
|
|
149
157
|
return {
|
|
150
158
|
currentAmount: 'number',
|
|
159
|
+
externalIP: 'string',
|
|
160
|
+
externalInstancePort: 'number',
|
|
151
161
|
hostIP: 'string',
|
|
152
162
|
hostName: 'string',
|
|
153
163
|
innerIP: 'string',
|
|
@@ -164,10 +174,12 @@ export class Instance extends $tea.Model {
|
|
|
164
174
|
restartCount: 'number',
|
|
165
175
|
role: 'string',
|
|
166
176
|
startAt: 'string',
|
|
177
|
+
startTime: 'string',
|
|
167
178
|
status: 'string',
|
|
168
179
|
tenantHostIP: 'string',
|
|
169
180
|
tenantInstanceIP: 'string',
|
|
170
181
|
totalProcesses: 'number',
|
|
182
|
+
zone: 'string',
|
|
171
183
|
};
|
|
172
184
|
}
|
|
173
185
|
|
|
@@ -191,6 +203,7 @@ export class Resource extends $tea.Model {
|
|
|
191
203
|
resourceType?: string;
|
|
192
204
|
status?: string;
|
|
193
205
|
updateTime?: string;
|
|
206
|
+
vendor?: string;
|
|
194
207
|
static names(): { [key: string]: string } {
|
|
195
208
|
return {
|
|
196
209
|
clusterId: 'ClusterId',
|
|
@@ -207,6 +220,7 @@ export class Resource extends $tea.Model {
|
|
|
207
220
|
resourceType: 'ResourceType',
|
|
208
221
|
status: 'Status',
|
|
209
222
|
updateTime: 'UpdateTime',
|
|
223
|
+
vendor: 'Vendor',
|
|
210
224
|
};
|
|
211
225
|
}
|
|
212
226
|
|
|
@@ -226,6 +240,7 @@ export class Resource extends $tea.Model {
|
|
|
226
240
|
resourceType: 'string',
|
|
227
241
|
status: 'string',
|
|
228
242
|
updateTime: 'string',
|
|
243
|
+
vendor: 'string',
|
|
229
244
|
};
|
|
230
245
|
}
|
|
231
246
|
|
|
@@ -6431,6 +6446,14 @@ export default class Client extends OpenApi {
|
|
|
6431
6446
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6432
6447
|
}
|
|
6433
6448
|
|
|
6449
|
+
/**
|
|
6450
|
+
* @summary Clones a service.
|
|
6451
|
+
*
|
|
6452
|
+
* @param request CloneServiceRequest
|
|
6453
|
+
* @param headers map
|
|
6454
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6455
|
+
* @return CloneServiceResponse
|
|
6456
|
+
*/
|
|
6434
6457
|
async cloneServiceWithOptions(ClusterId: string, ServiceName: string, request: CloneServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CloneServiceResponse> {
|
|
6435
6458
|
Util.validateModel(request);
|
|
6436
6459
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -6451,12 +6474,25 @@ export default class Client extends OpenApi {
|
|
|
6451
6474
|
return $tea.cast<CloneServiceResponse>(await this.callApi(params, req, runtime), new CloneServiceResponse({}));
|
|
6452
6475
|
}
|
|
6453
6476
|
|
|
6477
|
+
/**
|
|
6478
|
+
* @summary Clones a service.
|
|
6479
|
+
*
|
|
6480
|
+
* @param request CloneServiceRequest
|
|
6481
|
+
* @return CloneServiceResponse
|
|
6482
|
+
*/
|
|
6454
6483
|
async cloneService(ClusterId: string, ServiceName: string, request: CloneServiceRequest): Promise<CloneServiceResponse> {
|
|
6455
6484
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6456
6485
|
let headers : {[key: string ]: string} = { };
|
|
6457
6486
|
return await this.cloneServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6458
6487
|
}
|
|
6459
6488
|
|
|
6489
|
+
/**
|
|
6490
|
+
* @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
|
|
6491
|
+
*
|
|
6492
|
+
* @param headers map
|
|
6493
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6494
|
+
* @return CommitServiceResponse
|
|
6495
|
+
*/
|
|
6460
6496
|
async commitServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CommitServiceResponse> {
|
|
6461
6497
|
let req = new $OpenApi.OpenApiRequest({
|
|
6462
6498
|
headers: headers,
|
|
@@ -6475,12 +6511,25 @@ export default class Client extends OpenApi {
|
|
|
6475
6511
|
return $tea.cast<CommitServiceResponse>(await this.callApi(params, req, runtime), new CommitServiceResponse({}));
|
|
6476
6512
|
}
|
|
6477
6513
|
|
|
6514
|
+
/**
|
|
6515
|
+
* @summary Commits the Worker0 container in the custom container service and deploys the container as a new image.
|
|
6516
|
+
*
|
|
6517
|
+
* @return CommitServiceResponse
|
|
6518
|
+
*/
|
|
6478
6519
|
async commitService(ClusterId: string, ServiceName: string): Promise<CommitServiceResponse> {
|
|
6479
6520
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6480
6521
|
let headers : {[key: string ]: string} = { };
|
|
6481
6522
|
return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
6482
6523
|
}
|
|
6483
6524
|
|
|
6525
|
+
/**
|
|
6526
|
+
* @summary Creates an application service.
|
|
6527
|
+
*
|
|
6528
|
+
* @param request CreateAppServiceRequest
|
|
6529
|
+
* @param headers map
|
|
6530
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6531
|
+
* @return CreateAppServiceResponse
|
|
6532
|
+
*/
|
|
6484
6533
|
async createAppServiceWithOptions(request: CreateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateAppServiceResponse> {
|
|
6485
6534
|
Util.validateModel(request);
|
|
6486
6535
|
let query : {[key: string ]: any} = { };
|
|
@@ -6536,12 +6585,26 @@ export default class Client extends OpenApi {
|
|
|
6536
6585
|
return $tea.cast<CreateAppServiceResponse>(await this.callApi(params, req, runtime), new CreateAppServiceResponse({}));
|
|
6537
6586
|
}
|
|
6538
6587
|
|
|
6588
|
+
/**
|
|
6589
|
+
* @summary Creates an application service.
|
|
6590
|
+
*
|
|
6591
|
+
* @param request CreateAppServiceRequest
|
|
6592
|
+
* @return CreateAppServiceResponse
|
|
6593
|
+
*/
|
|
6539
6594
|
async createAppService(request: CreateAppServiceRequest): Promise<CreateAppServiceResponse> {
|
|
6540
6595
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6541
6596
|
let headers : {[key: string ]: string} = { };
|
|
6542
6597
|
return await this.createAppServiceWithOptions(request, headers, runtime);
|
|
6543
6598
|
}
|
|
6544
6599
|
|
|
6600
|
+
/**
|
|
6601
|
+
* @summary Creates a stress testing task.
|
|
6602
|
+
*
|
|
6603
|
+
* @param request CreateBenchmarkTaskRequest
|
|
6604
|
+
* @param headers map
|
|
6605
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6606
|
+
* @return CreateBenchmarkTaskResponse
|
|
6607
|
+
*/
|
|
6545
6608
|
async createBenchmarkTaskWithOptions(request: CreateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateBenchmarkTaskResponse> {
|
|
6546
6609
|
Util.validateModel(request);
|
|
6547
6610
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -6562,12 +6625,26 @@ export default class Client extends OpenApi {
|
|
|
6562
6625
|
return $tea.cast<CreateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new CreateBenchmarkTaskResponse({}));
|
|
6563
6626
|
}
|
|
6564
6627
|
|
|
6628
|
+
/**
|
|
6629
|
+
* @summary Creates a stress testing task.
|
|
6630
|
+
*
|
|
6631
|
+
* @param request CreateBenchmarkTaskRequest
|
|
6632
|
+
* @return CreateBenchmarkTaskResponse
|
|
6633
|
+
*/
|
|
6565
6634
|
async createBenchmarkTask(request: CreateBenchmarkTaskRequest): Promise<CreateBenchmarkTaskResponse> {
|
|
6566
6635
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6567
6636
|
let headers : {[key: string ]: string} = { };
|
|
6568
6637
|
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
6569
6638
|
}
|
|
6570
6639
|
|
|
6640
|
+
/**
|
|
6641
|
+
* @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
|
|
6642
|
+
*
|
|
6643
|
+
* @param request CreateGatewayRequest
|
|
6644
|
+
* @param headers map
|
|
6645
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6646
|
+
* @return CreateGatewayResponse
|
|
6647
|
+
*/
|
|
6571
6648
|
async createGatewayWithOptions(request: CreateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayResponse> {
|
|
6572
6649
|
Util.validateModel(request);
|
|
6573
6650
|
let query : {[key: string ]: any} = { };
|
|
@@ -6611,12 +6688,26 @@ export default class Client extends OpenApi {
|
|
|
6611
6688
|
return $tea.cast<CreateGatewayResponse>(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
|
|
6612
6689
|
}
|
|
6613
6690
|
|
|
6691
|
+
/**
|
|
6692
|
+
* @summary Creates a private gateway. You can create a private gateway only in a self-managed resource group.
|
|
6693
|
+
*
|
|
6694
|
+
* @param request CreateGatewayRequest
|
|
6695
|
+
* @return CreateGatewayResponse
|
|
6696
|
+
*/
|
|
6614
6697
|
async createGateway(request: CreateGatewayRequest): Promise<CreateGatewayResponse> {
|
|
6615
6698
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6616
6699
|
let headers : {[key: string ]: string} = { };
|
|
6617
6700
|
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
6618
6701
|
}
|
|
6619
6702
|
|
|
6703
|
+
/**
|
|
6704
|
+
* @summary Creates an internal endpoint of a private gateway.
|
|
6705
|
+
*
|
|
6706
|
+
* @param request CreateGatewayIntranetLinkedVpcRequest
|
|
6707
|
+
* @param headers map
|
|
6708
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6709
|
+
* @return CreateGatewayIntranetLinkedVpcResponse
|
|
6710
|
+
*/
|
|
6620
6711
|
async createGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
6621
6712
|
Util.validateModel(request);
|
|
6622
6713
|
let query : {[key: string ]: any} = { };
|
|
@@ -6646,6 +6737,12 @@ export default class Client extends OpenApi {
|
|
|
6646
6737
|
return $tea.cast<CreateGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcResponse({}));
|
|
6647
6738
|
}
|
|
6648
6739
|
|
|
6740
|
+
/**
|
|
6741
|
+
* @summary Creates an internal endpoint of a private gateway.
|
|
6742
|
+
*
|
|
6743
|
+
* @param request CreateGatewayIntranetLinkedVpcRequest
|
|
6744
|
+
* @return CreateGatewayIntranetLinkedVpcResponse
|
|
6745
|
+
*/
|
|
6649
6746
|
async createGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest): Promise<CreateGatewayIntranetLinkedVpcResponse> {
|
|
6650
6747
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6651
6748
|
let headers : {[key: string ]: string} = { };
|
|
@@ -6653,12 +6750,14 @@ export default class Client extends OpenApi {
|
|
|
6653
6750
|
}
|
|
6654
6751
|
|
|
6655
6752
|
/**
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6753
|
+
* @summary Creates a resource group.
|
|
6754
|
+
*
|
|
6755
|
+
* @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
|
|
6756
|
+
*
|
|
6757
|
+
* @param request CreateResourceRequest
|
|
6758
|
+
* @param headers map
|
|
6759
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6760
|
+
* @return CreateResourceResponse
|
|
6662
6761
|
*/
|
|
6663
6762
|
async createResourceWithOptions(request: CreateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceResponse> {
|
|
6664
6763
|
Util.validateModel(request);
|
|
@@ -6714,10 +6813,12 @@ export default class Client extends OpenApi {
|
|
|
6714
6813
|
}
|
|
6715
6814
|
|
|
6716
6815
|
/**
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6816
|
+
* @summary Creates a resource group.
|
|
6817
|
+
*
|
|
6818
|
+
* @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
|
|
6819
|
+
*
|
|
6820
|
+
* @param request CreateResourceRequest
|
|
6821
|
+
* @return CreateResourceResponse
|
|
6721
6822
|
*/
|
|
6722
6823
|
async createResource(request: CreateResourceRequest): Promise<CreateResourceResponse> {
|
|
6723
6824
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -6725,6 +6826,14 @@ export default class Client extends OpenApi {
|
|
|
6725
6826
|
return await this.createResourceWithOptions(request, headers, runtime);
|
|
6726
6827
|
}
|
|
6727
6828
|
|
|
6829
|
+
/**
|
|
6830
|
+
* @summary Creates instances in a dedicated resource group.
|
|
6831
|
+
*
|
|
6832
|
+
* @param request CreateResourceInstancesRequest
|
|
6833
|
+
* @param headers map
|
|
6834
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6835
|
+
* @return CreateResourceInstancesResponse
|
|
6836
|
+
*/
|
|
6728
6837
|
async createResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: CreateResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceInstancesResponse> {
|
|
6729
6838
|
Util.validateModel(request);
|
|
6730
6839
|
let body : {[key: string ]: any} = { };
|
|
@@ -6774,12 +6883,26 @@ export default class Client extends OpenApi {
|
|
|
6774
6883
|
return $tea.cast<CreateResourceInstancesResponse>(await this.callApi(params, req, runtime), new CreateResourceInstancesResponse({}));
|
|
6775
6884
|
}
|
|
6776
6885
|
|
|
6886
|
+
/**
|
|
6887
|
+
* @summary Creates instances in a dedicated resource group.
|
|
6888
|
+
*
|
|
6889
|
+
* @param request CreateResourceInstancesRequest
|
|
6890
|
+
* @return CreateResourceInstancesResponse
|
|
6891
|
+
*/
|
|
6777
6892
|
async createResourceInstances(ClusterId: string, ResourceId: string, request: CreateResourceInstancesRequest): Promise<CreateResourceInstancesResponse> {
|
|
6778
6893
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6779
6894
|
let headers : {[key: string ]: string} = { };
|
|
6780
6895
|
return await this.createResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6781
6896
|
}
|
|
6782
6897
|
|
|
6898
|
+
/**
|
|
6899
|
+
* @summary Enables the LogShipper feature of Log Service for a resource group.
|
|
6900
|
+
*
|
|
6901
|
+
* @param request CreateResourceLogRequest
|
|
6902
|
+
* @param headers map
|
|
6903
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6904
|
+
* @return CreateResourceLogResponse
|
|
6905
|
+
*/
|
|
6783
6906
|
async createResourceLogWithOptions(ClusterId: string, ResourceId: string, request: CreateResourceLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateResourceLogResponse> {
|
|
6784
6907
|
Util.validateModel(request);
|
|
6785
6908
|
let body : {[key: string ]: any} = { };
|
|
@@ -6809,12 +6932,28 @@ export default class Client extends OpenApi {
|
|
|
6809
6932
|
return $tea.cast<CreateResourceLogResponse>(await this.callApi(params, req, runtime), new CreateResourceLogResponse({}));
|
|
6810
6933
|
}
|
|
6811
6934
|
|
|
6935
|
+
/**
|
|
6936
|
+
* @summary Enables the LogShipper feature of Log Service for a resource group.
|
|
6937
|
+
*
|
|
6938
|
+
* @param request CreateResourceLogRequest
|
|
6939
|
+
* @return CreateResourceLogResponse
|
|
6940
|
+
*/
|
|
6812
6941
|
async createResourceLog(ClusterId: string, ResourceId: string, request: CreateResourceLogRequest): Promise<CreateResourceLogResponse> {
|
|
6813
6942
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6814
6943
|
let headers : {[key: string ]: string} = { };
|
|
6815
6944
|
return await this.createResourceLogWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
6816
6945
|
}
|
|
6817
6946
|
|
|
6947
|
+
/**
|
|
6948
|
+
* @summary Creates a model service in Elastic Algorithm Service (EAS).
|
|
6949
|
+
*
|
|
6950
|
+
* @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
|
|
6951
|
+
*
|
|
6952
|
+
* @param tmpReq CreateServiceRequest
|
|
6953
|
+
* @param headers map
|
|
6954
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6955
|
+
* @return CreateServiceResponse
|
|
6956
|
+
*/
|
|
6818
6957
|
async createServiceWithOptions(tmpReq: CreateServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceResponse> {
|
|
6819
6958
|
Util.validateModel(tmpReq);
|
|
6820
6959
|
let request = new CreateServiceShrinkRequest({ });
|
|
@@ -6855,12 +6994,28 @@ export default class Client extends OpenApi {
|
|
|
6855
6994
|
return $tea.cast<CreateServiceResponse>(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
|
|
6856
6995
|
}
|
|
6857
6996
|
|
|
6997
|
+
/**
|
|
6998
|
+
* @summary Creates a model service in Elastic Algorithm Service (EAS).
|
|
6999
|
+
*
|
|
7000
|
+
* @description **Before you call this operation, make sure that you are familiar with the [billing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).
|
|
7001
|
+
*
|
|
7002
|
+
* @param request CreateServiceRequest
|
|
7003
|
+
* @return CreateServiceResponse
|
|
7004
|
+
*/
|
|
6858
7005
|
async createService(request: CreateServiceRequest): Promise<CreateServiceResponse> {
|
|
6859
7006
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6860
7007
|
let headers : {[key: string ]: string} = { };
|
|
6861
7008
|
return await this.createServiceWithOptions(request, headers, runtime);
|
|
6862
7009
|
}
|
|
6863
7010
|
|
|
7011
|
+
/**
|
|
7012
|
+
* @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
|
|
7013
|
+
*
|
|
7014
|
+
* @param request CreateServiceAutoScalerRequest
|
|
7015
|
+
* @param headers map
|
|
7016
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7017
|
+
* @return CreateServiceAutoScalerResponse
|
|
7018
|
+
*/
|
|
6864
7019
|
async createServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceAutoScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceAutoScalerResponse> {
|
|
6865
7020
|
Util.validateModel(request);
|
|
6866
7021
|
let body : {[key: string ]: any} = { };
|
|
@@ -6898,12 +7053,26 @@ export default class Client extends OpenApi {
|
|
|
6898
7053
|
return $tea.cast<CreateServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceAutoScalerResponse({}));
|
|
6899
7054
|
}
|
|
6900
7055
|
|
|
7056
|
+
/**
|
|
7057
|
+
* @summary Enables the Autoscaler feature and creates an Autoscaler controller for a service.
|
|
7058
|
+
*
|
|
7059
|
+
* @param request CreateServiceAutoScalerRequest
|
|
7060
|
+
* @return CreateServiceAutoScalerResponse
|
|
7061
|
+
*/
|
|
6901
7062
|
async createServiceAutoScaler(ClusterId: string, ServiceName: string, request: CreateServiceAutoScalerRequest): Promise<CreateServiceAutoScalerResponse> {
|
|
6902
7063
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6903
7064
|
let headers : {[key: string ]: string} = { };
|
|
6904
7065
|
return await this.createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6905
7066
|
}
|
|
6906
7067
|
|
|
7068
|
+
/**
|
|
7069
|
+
* @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
|
|
7070
|
+
*
|
|
7071
|
+
* @param request CreateServiceCronScalerRequest
|
|
7072
|
+
* @param headers map
|
|
7073
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7074
|
+
* @return CreateServiceCronScalerResponse
|
|
7075
|
+
*/
|
|
6907
7076
|
async createServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceCronScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceCronScalerResponse> {
|
|
6908
7077
|
Util.validateModel(request);
|
|
6909
7078
|
let body : {[key: string ]: any} = { };
|
|
@@ -6933,12 +7102,26 @@ export default class Client extends OpenApi {
|
|
|
6933
7102
|
return $tea.cast<CreateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new CreateServiceCronScalerResponse({}));
|
|
6934
7103
|
}
|
|
6935
7104
|
|
|
7105
|
+
/**
|
|
7106
|
+
* @summary Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
|
|
7107
|
+
*
|
|
7108
|
+
* @param request CreateServiceCronScalerRequest
|
|
7109
|
+
* @return CreateServiceCronScalerResponse
|
|
7110
|
+
*/
|
|
6936
7111
|
async createServiceCronScaler(ClusterId: string, ServiceName: string, request: CreateServiceCronScalerRequest): Promise<CreateServiceCronScalerResponse> {
|
|
6937
7112
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6938
7113
|
let headers : {[key: string ]: string} = { };
|
|
6939
7114
|
return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6940
7115
|
}
|
|
6941
7116
|
|
|
7117
|
+
/**
|
|
7118
|
+
* @summary Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
|
|
7119
|
+
*
|
|
7120
|
+
* @param request CreateServiceMirrorRequest
|
|
7121
|
+
* @param headers map
|
|
7122
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7123
|
+
* @return CreateServiceMirrorResponse
|
|
7124
|
+
*/
|
|
6942
7125
|
async createServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateServiceMirrorResponse> {
|
|
6943
7126
|
Util.validateModel(request);
|
|
6944
7127
|
let body : {[key: string ]: any} = { };
|
|
@@ -6968,12 +7151,25 @@ export default class Client extends OpenApi {
|
|
|
6968
7151
|
return $tea.cast<CreateServiceMirrorResponse>(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
|
|
6969
7152
|
}
|
|
6970
7153
|
|
|
7154
|
+
/**
|
|
7155
|
+
* @summary Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
|
|
7156
|
+
*
|
|
7157
|
+
* @param request CreateServiceMirrorRequest
|
|
7158
|
+
* @return CreateServiceMirrorResponse
|
|
7159
|
+
*/
|
|
6971
7160
|
async createServiceMirror(ClusterId: string, ServiceName: string, request: CreateServiceMirrorRequest): Promise<CreateServiceMirrorResponse> {
|
|
6972
7161
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6973
7162
|
let headers : {[key: string ]: string} = { };
|
|
6974
7163
|
return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
6975
7164
|
}
|
|
6976
7165
|
|
|
7166
|
+
/**
|
|
7167
|
+
* @summary Deletes a stress testing task.
|
|
7168
|
+
*
|
|
7169
|
+
* @param headers map
|
|
7170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7171
|
+
* @return DeleteBenchmarkTaskResponse
|
|
7172
|
+
*/
|
|
6977
7173
|
async deleteBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteBenchmarkTaskResponse> {
|
|
6978
7174
|
let req = new $OpenApi.OpenApiRequest({
|
|
6979
7175
|
headers: headers,
|
|
@@ -6992,12 +7188,24 @@ export default class Client extends OpenApi {
|
|
|
6992
7188
|
return $tea.cast<DeleteBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DeleteBenchmarkTaskResponse({}));
|
|
6993
7189
|
}
|
|
6994
7190
|
|
|
7191
|
+
/**
|
|
7192
|
+
* @summary Deletes a stress testing task.
|
|
7193
|
+
*
|
|
7194
|
+
* @return DeleteBenchmarkTaskResponse
|
|
7195
|
+
*/
|
|
6995
7196
|
async deleteBenchmarkTask(ClusterId: string, TaskName: string): Promise<DeleteBenchmarkTaskResponse> {
|
|
6996
7197
|
let runtime = new $Util.RuntimeOptions({ });
|
|
6997
7198
|
let headers : {[key: string ]: string} = { };
|
|
6998
7199
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
6999
7200
|
}
|
|
7000
7201
|
|
|
7202
|
+
/**
|
|
7203
|
+
* @summary Deletes a private gateway.
|
|
7204
|
+
*
|
|
7205
|
+
* @param headers map
|
|
7206
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7207
|
+
* @return DeleteGatewayResponse
|
|
7208
|
+
*/
|
|
7001
7209
|
async deleteGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayResponse> {
|
|
7002
7210
|
let req = new $OpenApi.OpenApiRequest({
|
|
7003
7211
|
headers: headers,
|
|
@@ -7016,12 +7224,25 @@ export default class Client extends OpenApi {
|
|
|
7016
7224
|
return $tea.cast<DeleteGatewayResponse>(await this.callApi(params, req, runtime), new DeleteGatewayResponse({}));
|
|
7017
7225
|
}
|
|
7018
7226
|
|
|
7227
|
+
/**
|
|
7228
|
+
* @summary Deletes a private gateway.
|
|
7229
|
+
*
|
|
7230
|
+
* @return DeleteGatewayResponse
|
|
7231
|
+
*/
|
|
7019
7232
|
async deleteGateway(ClusterId: string, GatewayId: string): Promise<DeleteGatewayResponse> {
|
|
7020
7233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7021
7234
|
let headers : {[key: string ]: string} = { };
|
|
7022
7235
|
return await this.deleteGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7023
7236
|
}
|
|
7024
7237
|
|
|
7238
|
+
/**
|
|
7239
|
+
* @summary 删除网关内网访问端点
|
|
7240
|
+
*
|
|
7241
|
+
* @param request DeleteGatewayIntranetLinkedVpcRequest
|
|
7242
|
+
* @param headers map
|
|
7243
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7244
|
+
* @return DeleteGatewayIntranetLinkedVpcResponse
|
|
7245
|
+
*/
|
|
7025
7246
|
async deleteGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
7026
7247
|
Util.validateModel(request);
|
|
7027
7248
|
let query : {[key: string ]: any} = { };
|
|
@@ -7051,12 +7272,25 @@ export default class Client extends OpenApi {
|
|
|
7051
7272
|
return $tea.cast<DeleteGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcResponse({}));
|
|
7052
7273
|
}
|
|
7053
7274
|
|
|
7275
|
+
/**
|
|
7276
|
+
* @summary 删除网关内网访问端点
|
|
7277
|
+
*
|
|
7278
|
+
* @param request DeleteGatewayIntranetLinkedVpcRequest
|
|
7279
|
+
* @return DeleteGatewayIntranetLinkedVpcResponse
|
|
7280
|
+
*/
|
|
7054
7281
|
async deleteGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: DeleteGatewayIntranetLinkedVpcRequest): Promise<DeleteGatewayIntranetLinkedVpcResponse> {
|
|
7055
7282
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7056
7283
|
let headers : {[key: string ]: string} = { };
|
|
7057
7284
|
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
7058
7285
|
}
|
|
7059
7286
|
|
|
7287
|
+
/**
|
|
7288
|
+
* @summary Deletes a resource group that contains no resources or instances.
|
|
7289
|
+
*
|
|
7290
|
+
* @param headers map
|
|
7291
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7292
|
+
* @return DeleteResourceResponse
|
|
7293
|
+
*/
|
|
7060
7294
|
async deleteResourceWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceResponse> {
|
|
7061
7295
|
let req = new $OpenApi.OpenApiRequest({
|
|
7062
7296
|
headers: headers,
|
|
@@ -7075,12 +7309,24 @@ export default class Client extends OpenApi {
|
|
|
7075
7309
|
return $tea.cast<DeleteResourceResponse>(await this.callApi(params, req, runtime), new DeleteResourceResponse({}));
|
|
7076
7310
|
}
|
|
7077
7311
|
|
|
7312
|
+
/**
|
|
7313
|
+
* @summary Deletes a resource group that contains no resources or instances.
|
|
7314
|
+
*
|
|
7315
|
+
* @return DeleteResourceResponse
|
|
7316
|
+
*/
|
|
7078
7317
|
async deleteResource(ClusterId: string, ResourceId: string): Promise<DeleteResourceResponse> {
|
|
7079
7318
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7080
7319
|
let headers : {[key: string ]: string} = { };
|
|
7081
7320
|
return await this.deleteResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7082
7321
|
}
|
|
7083
7322
|
|
|
7323
|
+
/**
|
|
7324
|
+
* @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
|
|
7325
|
+
*
|
|
7326
|
+
* @param headers map
|
|
7327
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7328
|
+
* @return DeleteResourceDLinkResponse
|
|
7329
|
+
*/
|
|
7084
7330
|
async deleteResourceDLinkWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceDLinkResponse> {
|
|
7085
7331
|
let req = new $OpenApi.OpenApiRequest({
|
|
7086
7332
|
headers: headers,
|
|
@@ -7099,12 +7345,25 @@ export default class Client extends OpenApi {
|
|
|
7099
7345
|
return $tea.cast<DeleteResourceDLinkResponse>(await this.callApi(params, req, runtime), new DeleteResourceDLinkResponse({}));
|
|
7100
7346
|
}
|
|
7101
7347
|
|
|
7348
|
+
/**
|
|
7349
|
+
* @summary Disables the virtual private cloud (VPC) direct connection feature for a dedicated resource group.
|
|
7350
|
+
*
|
|
7351
|
+
* @return DeleteResourceDLinkResponse
|
|
7352
|
+
*/
|
|
7102
7353
|
async deleteResourceDLink(ClusterId: string, ResourceId: string): Promise<DeleteResourceDLinkResponse> {
|
|
7103
7354
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7104
7355
|
let headers : {[key: string ]: string} = { };
|
|
7105
7356
|
return await this.deleteResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7106
7357
|
}
|
|
7107
7358
|
|
|
7359
|
+
/**
|
|
7360
|
+
* @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
7361
|
+
*
|
|
7362
|
+
* @param request DeleteResourceInstancesRequest
|
|
7363
|
+
* @param headers map
|
|
7364
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7365
|
+
* @return DeleteResourceInstancesResponse
|
|
7366
|
+
*/
|
|
7108
7367
|
async deleteResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: DeleteResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceInstancesResponse> {
|
|
7109
7368
|
Util.validateModel(request);
|
|
7110
7369
|
let query : {[key: string ]: any} = { };
|
|
@@ -7134,12 +7393,25 @@ export default class Client extends OpenApi {
|
|
|
7134
7393
|
return $tea.cast<DeleteResourceInstancesResponse>(await this.callApi(params, req, runtime), new DeleteResourceInstancesResponse({}));
|
|
7135
7394
|
}
|
|
7136
7395
|
|
|
7396
|
+
/**
|
|
7397
|
+
* @summary Deletes instances in a dedicated resource group. You can delete only pay-as-you-go instances as a regular user.
|
|
7398
|
+
*
|
|
7399
|
+
* @param request DeleteResourceInstancesRequest
|
|
7400
|
+
* @return DeleteResourceInstancesResponse
|
|
7401
|
+
*/
|
|
7137
7402
|
async deleteResourceInstances(ClusterId: string, ResourceId: string, request: DeleteResourceInstancesRequest): Promise<DeleteResourceInstancesResponse> {
|
|
7138
7403
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7139
7404
|
let headers : {[key: string ]: string} = { };
|
|
7140
7405
|
return await this.deleteResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
7141
7406
|
}
|
|
7142
7407
|
|
|
7408
|
+
/**
|
|
7409
|
+
* @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
|
|
7410
|
+
*
|
|
7411
|
+
* @param headers map
|
|
7412
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7413
|
+
* @return DeleteResourceLogResponse
|
|
7414
|
+
*/
|
|
7143
7415
|
async deleteResourceLogWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteResourceLogResponse> {
|
|
7144
7416
|
let req = new $OpenApi.OpenApiRequest({
|
|
7145
7417
|
headers: headers,
|
|
@@ -7158,12 +7430,24 @@ export default class Client extends OpenApi {
|
|
|
7158
7430
|
return $tea.cast<DeleteResourceLogResponse>(await this.callApi(params, req, runtime), new DeleteResourceLogResponse({}));
|
|
7159
7431
|
}
|
|
7160
7432
|
|
|
7433
|
+
/**
|
|
7434
|
+
* @summary Disables the LogShipper feature of Log Service for a dedicated resource group.
|
|
7435
|
+
*
|
|
7436
|
+
* @return DeleteResourceLogResponse
|
|
7437
|
+
*/
|
|
7161
7438
|
async deleteResourceLog(ClusterId: string, ResourceId: string): Promise<DeleteResourceLogResponse> {
|
|
7162
7439
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7163
7440
|
let headers : {[key: string ]: string} = { };
|
|
7164
7441
|
return await this.deleteResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7165
7442
|
}
|
|
7166
7443
|
|
|
7444
|
+
/**
|
|
7445
|
+
* @summary Deletes a service.
|
|
7446
|
+
*
|
|
7447
|
+
* @param headers map
|
|
7448
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7449
|
+
* @return DeleteServiceResponse
|
|
7450
|
+
*/
|
|
7167
7451
|
async deleteServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceResponse> {
|
|
7168
7452
|
let req = new $OpenApi.OpenApiRequest({
|
|
7169
7453
|
headers: headers,
|
|
@@ -7182,12 +7466,24 @@ export default class Client extends OpenApi {
|
|
|
7182
7466
|
return $tea.cast<DeleteServiceResponse>(await this.callApi(params, req, runtime), new DeleteServiceResponse({}));
|
|
7183
7467
|
}
|
|
7184
7468
|
|
|
7469
|
+
/**
|
|
7470
|
+
* @summary Deletes a service.
|
|
7471
|
+
*
|
|
7472
|
+
* @return DeleteServiceResponse
|
|
7473
|
+
*/
|
|
7185
7474
|
async deleteService(ClusterId: string, ServiceName: string): Promise<DeleteServiceResponse> {
|
|
7186
7475
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7187
7476
|
let headers : {[key: string ]: string} = { };
|
|
7188
7477
|
return await this.deleteServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7189
7478
|
}
|
|
7190
7479
|
|
|
7480
|
+
/**
|
|
7481
|
+
* @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
|
|
7482
|
+
*
|
|
7483
|
+
* @param headers map
|
|
7484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7485
|
+
* @return DeleteServiceAutoScalerResponse
|
|
7486
|
+
*/
|
|
7191
7487
|
async deleteServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceAutoScalerResponse> {
|
|
7192
7488
|
let req = new $OpenApi.OpenApiRequest({
|
|
7193
7489
|
headers: headers,
|
|
@@ -7206,12 +7502,24 @@ export default class Client extends OpenApi {
|
|
|
7206
7502
|
return $tea.cast<DeleteServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new DeleteServiceAutoScalerResponse({}));
|
|
7207
7503
|
}
|
|
7208
7504
|
|
|
7505
|
+
/**
|
|
7506
|
+
* @summary Deletes the existing Autoscaler controller and disables the Autoscaler feature for a service.
|
|
7507
|
+
*
|
|
7508
|
+
* @return DeleteServiceAutoScalerResponse
|
|
7509
|
+
*/
|
|
7209
7510
|
async deleteServiceAutoScaler(ClusterId: string, ServiceName: string): Promise<DeleteServiceAutoScalerResponse> {
|
|
7210
7511
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7211
7512
|
let headers : {[key: string ]: string} = { };
|
|
7212
7513
|
return await this.deleteServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7213
7514
|
}
|
|
7214
7515
|
|
|
7516
|
+
/**
|
|
7517
|
+
* @summary Disables the Cronscaler feature for a service.
|
|
7518
|
+
*
|
|
7519
|
+
* @param headers map
|
|
7520
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7521
|
+
* @return DeleteServiceCronScalerResponse
|
|
7522
|
+
*/
|
|
7215
7523
|
async deleteServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceCronScalerResponse> {
|
|
7216
7524
|
let req = new $OpenApi.OpenApiRequest({
|
|
7217
7525
|
headers: headers,
|
|
@@ -7230,12 +7538,25 @@ export default class Client extends OpenApi {
|
|
|
7230
7538
|
return $tea.cast<DeleteServiceCronScalerResponse>(await this.callApi(params, req, runtime), new DeleteServiceCronScalerResponse({}));
|
|
7231
7539
|
}
|
|
7232
7540
|
|
|
7541
|
+
/**
|
|
7542
|
+
* @summary Disables the Cronscaler feature for a service.
|
|
7543
|
+
*
|
|
7544
|
+
* @return DeleteServiceCronScalerResponse
|
|
7545
|
+
*/
|
|
7233
7546
|
async deleteServiceCronScaler(ClusterId: string, ServiceName: string): Promise<DeleteServiceCronScalerResponse> {
|
|
7234
7547
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7235
7548
|
let headers : {[key: string ]: string} = { };
|
|
7236
7549
|
return await this.deleteServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7237
7550
|
}
|
|
7238
7551
|
|
|
7552
|
+
/**
|
|
7553
|
+
* @summary Restarts the instances of a service.
|
|
7554
|
+
*
|
|
7555
|
+
* @param request DeleteServiceInstancesRequest
|
|
7556
|
+
* @param headers map
|
|
7557
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7558
|
+
* @return DeleteServiceInstancesResponse
|
|
7559
|
+
*/
|
|
7239
7560
|
async deleteServiceInstancesWithOptions(ClusterId: string, ServiceName: string, request: DeleteServiceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceInstancesResponse> {
|
|
7240
7561
|
Util.validateModel(request);
|
|
7241
7562
|
let query : {[key: string ]: any} = { };
|
|
@@ -7269,12 +7590,26 @@ export default class Client extends OpenApi {
|
|
|
7269
7590
|
return $tea.cast<DeleteServiceInstancesResponse>(await this.callApi(params, req, runtime), new DeleteServiceInstancesResponse({}));
|
|
7270
7591
|
}
|
|
7271
7592
|
|
|
7593
|
+
/**
|
|
7594
|
+
* @summary Restarts the instances of a service.
|
|
7595
|
+
*
|
|
7596
|
+
* @param request DeleteServiceInstancesRequest
|
|
7597
|
+
* @return DeleteServiceInstancesResponse
|
|
7598
|
+
*/
|
|
7272
7599
|
async deleteServiceInstances(ClusterId: string, ServiceName: string, request: DeleteServiceInstancesRequest): Promise<DeleteServiceInstancesResponse> {
|
|
7273
7600
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7274
7601
|
let headers : {[key: string ]: string} = { };
|
|
7275
7602
|
return await this.deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7276
7603
|
}
|
|
7277
7604
|
|
|
7605
|
+
/**
|
|
7606
|
+
* @summary Deletes existing service tags.
|
|
7607
|
+
*
|
|
7608
|
+
* @param tmpReq DeleteServiceLabelRequest
|
|
7609
|
+
* @param headers map
|
|
7610
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7611
|
+
* @return DeleteServiceLabelResponse
|
|
7612
|
+
*/
|
|
7278
7613
|
async deleteServiceLabelWithOptions(ClusterId: string, ServiceName: string, tmpReq: DeleteServiceLabelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceLabelResponse> {
|
|
7279
7614
|
Util.validateModel(tmpReq);
|
|
7280
7615
|
let request = new DeleteServiceLabelShrinkRequest({ });
|
|
@@ -7306,12 +7641,25 @@ export default class Client extends OpenApi {
|
|
|
7306
7641
|
return $tea.cast<DeleteServiceLabelResponse>(await this.callApi(params, req, runtime), new DeleteServiceLabelResponse({}));
|
|
7307
7642
|
}
|
|
7308
7643
|
|
|
7644
|
+
/**
|
|
7645
|
+
* @summary Deletes existing service tags.
|
|
7646
|
+
*
|
|
7647
|
+
* @param request DeleteServiceLabelRequest
|
|
7648
|
+
* @return DeleteServiceLabelResponse
|
|
7649
|
+
*/
|
|
7309
7650
|
async deleteServiceLabel(ClusterId: string, ServiceName: string, request: DeleteServiceLabelRequest): Promise<DeleteServiceLabelResponse> {
|
|
7310
7651
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7311
7652
|
let headers : {[key: string ]: string} = { };
|
|
7312
7653
|
return await this.deleteServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7313
7654
|
}
|
|
7314
7655
|
|
|
7656
|
+
/**
|
|
7657
|
+
* @summary Disables the traffic mirroring feature for a service.
|
|
7658
|
+
*
|
|
7659
|
+
* @param headers map
|
|
7660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7661
|
+
* @return DeleteServiceMirrorResponse
|
|
7662
|
+
*/
|
|
7315
7663
|
async deleteServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DeleteServiceMirrorResponse> {
|
|
7316
7664
|
let req = new $OpenApi.OpenApiRequest({
|
|
7317
7665
|
headers: headers,
|
|
@@ -7330,12 +7678,24 @@ export default class Client extends OpenApi {
|
|
|
7330
7678
|
return $tea.cast<DeleteServiceMirrorResponse>(await this.callApi(params, req, runtime), new DeleteServiceMirrorResponse({}));
|
|
7331
7679
|
}
|
|
7332
7680
|
|
|
7681
|
+
/**
|
|
7682
|
+
* @summary Disables the traffic mirroring feature for a service.
|
|
7683
|
+
*
|
|
7684
|
+
* @return DeleteServiceMirrorResponse
|
|
7685
|
+
*/
|
|
7333
7686
|
async deleteServiceMirror(ClusterId: string, ServiceName: string): Promise<DeleteServiceMirrorResponse> {
|
|
7334
7687
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7335
7688
|
let headers : {[key: string ]: string} = { };
|
|
7336
7689
|
return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7337
7690
|
}
|
|
7338
7691
|
|
|
7692
|
+
/**
|
|
7693
|
+
* @summary Queries details about the configurations of a stress testing task.
|
|
7694
|
+
*
|
|
7695
|
+
* @param headers map
|
|
7696
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7697
|
+
* @return DescribeBenchmarkTaskResponse
|
|
7698
|
+
*/
|
|
7339
7699
|
async describeBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskResponse> {
|
|
7340
7700
|
let req = new $OpenApi.OpenApiRequest({
|
|
7341
7701
|
headers: headers,
|
|
@@ -7354,12 +7714,25 @@ export default class Client extends OpenApi {
|
|
|
7354
7714
|
return $tea.cast<DescribeBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskResponse({}));
|
|
7355
7715
|
}
|
|
7356
7716
|
|
|
7717
|
+
/**
|
|
7718
|
+
* @summary Queries details about the configurations of a stress testing task.
|
|
7719
|
+
*
|
|
7720
|
+
* @return DescribeBenchmarkTaskResponse
|
|
7721
|
+
*/
|
|
7357
7722
|
async describeBenchmarkTask(ClusterId: string, TaskName: string): Promise<DescribeBenchmarkTaskResponse> {
|
|
7358
7723
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7359
7724
|
let headers : {[key: string ]: string} = { };
|
|
7360
7725
|
return await this.describeBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
7361
7726
|
}
|
|
7362
7727
|
|
|
7728
|
+
/**
|
|
7729
|
+
* @summary Queries the report of a stress testing task.
|
|
7730
|
+
*
|
|
7731
|
+
* @param request DescribeBenchmarkTaskReportRequest
|
|
7732
|
+
* @param headers map
|
|
7733
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7734
|
+
* @return DescribeBenchmarkTaskReportResponse
|
|
7735
|
+
*/
|
|
7363
7736
|
async describeBenchmarkTaskReportWithOptions(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
7364
7737
|
Util.validateModel(request);
|
|
7365
7738
|
let query : {[key: string ]: any} = { };
|
|
@@ -7385,12 +7758,25 @@ export default class Client extends OpenApi {
|
|
|
7385
7758
|
return $tea.cast<DescribeBenchmarkTaskReportResponse>(await this.callApi(params, req, runtime), new DescribeBenchmarkTaskReportResponse({}));
|
|
7386
7759
|
}
|
|
7387
7760
|
|
|
7761
|
+
/**
|
|
7762
|
+
* @summary Queries the report of a stress testing task.
|
|
7763
|
+
*
|
|
7764
|
+
* @param request DescribeBenchmarkTaskReportRequest
|
|
7765
|
+
* @return DescribeBenchmarkTaskReportResponse
|
|
7766
|
+
*/
|
|
7388
7767
|
async describeBenchmarkTaskReport(ClusterId: string, TaskName: string, request: DescribeBenchmarkTaskReportRequest): Promise<DescribeBenchmarkTaskReportResponse> {
|
|
7389
7768
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7390
7769
|
let headers : {[key: string ]: string} = { };
|
|
7391
7770
|
return await this.describeBenchmarkTaskReportWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
7392
7771
|
}
|
|
7393
7772
|
|
|
7773
|
+
/**
|
|
7774
|
+
* @summary Queries the details of a private gateway.
|
|
7775
|
+
*
|
|
7776
|
+
* @param headers map
|
|
7777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7778
|
+
* @return DescribeGatewayResponse
|
|
7779
|
+
*/
|
|
7394
7780
|
async describeGatewayWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGatewayResponse> {
|
|
7395
7781
|
let req = new $OpenApi.OpenApiRequest({
|
|
7396
7782
|
headers: headers,
|
|
@@ -7409,12 +7795,24 @@ export default class Client extends OpenApi {
|
|
|
7409
7795
|
return $tea.cast<DescribeGatewayResponse>(await this.callApi(params, req, runtime), new DescribeGatewayResponse({}));
|
|
7410
7796
|
}
|
|
7411
7797
|
|
|
7798
|
+
/**
|
|
7799
|
+
* @summary Queries the details of a private gateway.
|
|
7800
|
+
*
|
|
7801
|
+
* @return DescribeGatewayResponse
|
|
7802
|
+
*/
|
|
7412
7803
|
async describeGateway(ClusterId: string, GatewayId: string): Promise<DescribeGatewayResponse> {
|
|
7413
7804
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7414
7805
|
let headers : {[key: string ]: string} = { };
|
|
7415
7806
|
return await this.describeGatewayWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7416
7807
|
}
|
|
7417
7808
|
|
|
7809
|
+
/**
|
|
7810
|
+
* @summary Queries the information about a service group.
|
|
7811
|
+
*
|
|
7812
|
+
* @param headers map
|
|
7813
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7814
|
+
* @return DescribeGroupResponse
|
|
7815
|
+
*/
|
|
7418
7816
|
async describeGroupWithOptions(ClusterId: string, GroupName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGroupResponse> {
|
|
7419
7817
|
let req = new $OpenApi.OpenApiRequest({
|
|
7420
7818
|
headers: headers,
|
|
@@ -7433,12 +7831,24 @@ export default class Client extends OpenApi {
|
|
|
7433
7831
|
return $tea.cast<DescribeGroupResponse>(await this.callApi(params, req, runtime), new DescribeGroupResponse({}));
|
|
7434
7832
|
}
|
|
7435
7833
|
|
|
7834
|
+
/**
|
|
7835
|
+
* @summary Queries the information about a service group.
|
|
7836
|
+
*
|
|
7837
|
+
* @return DescribeGroupResponse
|
|
7838
|
+
*/
|
|
7436
7839
|
async describeGroup(ClusterId: string, GroupName: string): Promise<DescribeGroupResponse> {
|
|
7437
7840
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7438
7841
|
let headers : {[key: string ]: string} = { };
|
|
7439
7842
|
return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
|
|
7440
7843
|
}
|
|
7441
7844
|
|
|
7845
|
+
/**
|
|
7846
|
+
* @summary Queries the information about a resource group.
|
|
7847
|
+
*
|
|
7848
|
+
* @param headers map
|
|
7849
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7850
|
+
* @return DescribeResourceResponse
|
|
7851
|
+
*/
|
|
7442
7852
|
async describeResourceWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceResponse> {
|
|
7443
7853
|
let req = new $OpenApi.OpenApiRequest({
|
|
7444
7854
|
headers: headers,
|
|
@@ -7457,12 +7867,24 @@ export default class Client extends OpenApi {
|
|
|
7457
7867
|
return $tea.cast<DescribeResourceResponse>(await this.callApi(params, req, runtime), new DescribeResourceResponse({}));
|
|
7458
7868
|
}
|
|
7459
7869
|
|
|
7870
|
+
/**
|
|
7871
|
+
* @summary Queries the information about a resource group.
|
|
7872
|
+
*
|
|
7873
|
+
* @return DescribeResourceResponse
|
|
7874
|
+
*/
|
|
7460
7875
|
async describeResource(ClusterId: string, ResourceId: string): Promise<DescribeResourceResponse> {
|
|
7461
7876
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7462
7877
|
let headers : {[key: string ]: string} = { };
|
|
7463
7878
|
return await this.describeResourceWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7464
7879
|
}
|
|
7465
7880
|
|
|
7881
|
+
/**
|
|
7882
|
+
* @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
|
|
7883
|
+
*
|
|
7884
|
+
* @param headers map
|
|
7885
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7886
|
+
* @return DescribeResourceDLinkResponse
|
|
7887
|
+
*/
|
|
7466
7888
|
async describeResourceDLinkWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceDLinkResponse> {
|
|
7467
7889
|
let req = new $OpenApi.OpenApiRequest({
|
|
7468
7890
|
headers: headers,
|
|
@@ -7481,12 +7903,24 @@ export default class Client extends OpenApi {
|
|
|
7481
7903
|
return $tea.cast<DescribeResourceDLinkResponse>(await this.callApi(params, req, runtime), new DescribeResourceDLinkResponse({}));
|
|
7482
7904
|
}
|
|
7483
7905
|
|
|
7906
|
+
/**
|
|
7907
|
+
* @summary Queries detailed configurations about a virtual private cloud (VPC) direct connection of a dedicated resource group.
|
|
7908
|
+
*
|
|
7909
|
+
* @return DescribeResourceDLinkResponse
|
|
7910
|
+
*/
|
|
7484
7911
|
async describeResourceDLink(ClusterId: string, ResourceId: string): Promise<DescribeResourceDLinkResponse> {
|
|
7485
7912
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7486
7913
|
let headers : {[key: string ]: string} = { };
|
|
7487
7914
|
return await this.describeResourceDLinkWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7488
7915
|
}
|
|
7489
7916
|
|
|
7917
|
+
/**
|
|
7918
|
+
* @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
|
|
7919
|
+
*
|
|
7920
|
+
* @param headers map
|
|
7921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7922
|
+
* @return DescribeResourceLogResponse
|
|
7923
|
+
*/
|
|
7490
7924
|
async describeResourceLogWithOptions(ClusterId: string, ResourceId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeResourceLogResponse> {
|
|
7491
7925
|
let req = new $OpenApi.OpenApiRequest({
|
|
7492
7926
|
headers: headers,
|
|
@@ -7505,12 +7939,24 @@ export default class Client extends OpenApi {
|
|
|
7505
7939
|
return $tea.cast<DescribeResourceLogResponse>(await this.callApi(params, req, runtime), new DescribeResourceLogResponse({}));
|
|
7506
7940
|
}
|
|
7507
7941
|
|
|
7942
|
+
/**
|
|
7943
|
+
* @summary Queries the details about the LogShipper configurations of Log Service for a dedicated resource group.
|
|
7944
|
+
*
|
|
7945
|
+
* @return DescribeResourceLogResponse
|
|
7946
|
+
*/
|
|
7508
7947
|
async describeResourceLog(ClusterId: string, ResourceId: string): Promise<DescribeResourceLogResponse> {
|
|
7509
7948
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7510
7949
|
let headers : {[key: string ]: string} = { };
|
|
7511
7950
|
return await this.describeResourceLogWithOptions(ClusterId, ResourceId, headers, runtime);
|
|
7512
7951
|
}
|
|
7513
7952
|
|
|
7953
|
+
/**
|
|
7954
|
+
* @summary Queries the details about a service.
|
|
7955
|
+
*
|
|
7956
|
+
* @param headers map
|
|
7957
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7958
|
+
* @return DescribeServiceResponse
|
|
7959
|
+
*/
|
|
7514
7960
|
async describeServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceResponse> {
|
|
7515
7961
|
let req = new $OpenApi.OpenApiRequest({
|
|
7516
7962
|
headers: headers,
|
|
@@ -7529,12 +7975,24 @@ export default class Client extends OpenApi {
|
|
|
7529
7975
|
return $tea.cast<DescribeServiceResponse>(await this.callApi(params, req, runtime), new DescribeServiceResponse({}));
|
|
7530
7976
|
}
|
|
7531
7977
|
|
|
7978
|
+
/**
|
|
7979
|
+
* @summary Queries the details about a service.
|
|
7980
|
+
*
|
|
7981
|
+
* @return DescribeServiceResponse
|
|
7982
|
+
*/
|
|
7532
7983
|
async describeService(ClusterId: string, ServiceName: string): Promise<DescribeServiceResponse> {
|
|
7533
7984
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7534
7985
|
let headers : {[key: string ]: string} = { };
|
|
7535
7986
|
return await this.describeServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7536
7987
|
}
|
|
7537
7988
|
|
|
7989
|
+
/**
|
|
7990
|
+
* @summary Queries information about the Autoscaler configurations of a service.
|
|
7991
|
+
*
|
|
7992
|
+
* @param headers map
|
|
7993
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7994
|
+
* @return DescribeServiceAutoScalerResponse
|
|
7995
|
+
*/
|
|
7538
7996
|
async describeServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceAutoScalerResponse> {
|
|
7539
7997
|
let req = new $OpenApi.OpenApiRequest({
|
|
7540
7998
|
headers: headers,
|
|
@@ -7553,12 +8011,24 @@ export default class Client extends OpenApi {
|
|
|
7553
8011
|
return $tea.cast<DescribeServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new DescribeServiceAutoScalerResponse({}));
|
|
7554
8012
|
}
|
|
7555
8013
|
|
|
8014
|
+
/**
|
|
8015
|
+
* @summary Queries information about the Autoscaler configurations of a service.
|
|
8016
|
+
*
|
|
8017
|
+
* @return DescribeServiceAutoScalerResponse
|
|
8018
|
+
*/
|
|
7556
8019
|
async describeServiceAutoScaler(ClusterId: string, ServiceName: string): Promise<DescribeServiceAutoScalerResponse> {
|
|
7557
8020
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7558
8021
|
let headers : {[key: string ]: string} = { };
|
|
7559
8022
|
return await this.describeServiceAutoScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7560
8023
|
}
|
|
7561
8024
|
|
|
8025
|
+
/**
|
|
8026
|
+
* @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
|
|
8027
|
+
*
|
|
8028
|
+
* @param headers map
|
|
8029
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8030
|
+
* @return DescribeServiceCronScalerResponse
|
|
8031
|
+
*/
|
|
7562
8032
|
async describeServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceCronScalerResponse> {
|
|
7563
8033
|
let req = new $OpenApi.OpenApiRequest({
|
|
7564
8034
|
headers: headers,
|
|
@@ -7577,12 +8047,24 @@ export default class Client extends OpenApi {
|
|
|
7577
8047
|
return $tea.cast<DescribeServiceCronScalerResponse>(await this.callApi(params, req, runtime), new DescribeServiceCronScalerResponse({}));
|
|
7578
8048
|
}
|
|
7579
8049
|
|
|
8050
|
+
/**
|
|
8051
|
+
* @summary Queries the Cron Horizontal Pod Autoscaler (CronHPA) configurations of a service.
|
|
8052
|
+
*
|
|
8053
|
+
* @return DescribeServiceCronScalerResponse
|
|
8054
|
+
*/
|
|
7580
8055
|
async describeServiceCronScaler(ClusterId: string, ServiceName: string): Promise<DescribeServiceCronScalerResponse> {
|
|
7581
8056
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7582
8057
|
let headers : {[key: string ]: string} = { };
|
|
7583
8058
|
return await this.describeServiceCronScalerWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7584
8059
|
}
|
|
7585
8060
|
|
|
8061
|
+
/**
|
|
8062
|
+
* @summary Queries the diagnostics details of a service.
|
|
8063
|
+
*
|
|
8064
|
+
* @param headers map
|
|
8065
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8066
|
+
* @return DescribeServiceDiagnosisResponse
|
|
8067
|
+
*/
|
|
7586
8068
|
async describeServiceDiagnosisWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceDiagnosisResponse> {
|
|
7587
8069
|
let req = new $OpenApi.OpenApiRequest({
|
|
7588
8070
|
headers: headers,
|
|
@@ -7601,12 +8083,25 @@ export default class Client extends OpenApi {
|
|
|
7601
8083
|
return $tea.cast<DescribeServiceDiagnosisResponse>(await this.callApi(params, req, runtime), new DescribeServiceDiagnosisResponse({}));
|
|
7602
8084
|
}
|
|
7603
8085
|
|
|
8086
|
+
/**
|
|
8087
|
+
* @summary Queries the diagnostics details of a service.
|
|
8088
|
+
*
|
|
8089
|
+
* @return DescribeServiceDiagnosisResponse
|
|
8090
|
+
*/
|
|
7604
8091
|
async describeServiceDiagnosis(ClusterId: string, ServiceName: string): Promise<DescribeServiceDiagnosisResponse> {
|
|
7605
8092
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7606
8093
|
let headers : {[key: string ]: string} = { };
|
|
7607
8094
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7608
8095
|
}
|
|
7609
8096
|
|
|
8097
|
+
/**
|
|
8098
|
+
* @summary Queries information about recent service deployment events.
|
|
8099
|
+
*
|
|
8100
|
+
* @param request DescribeServiceEventRequest
|
|
8101
|
+
* @param headers map
|
|
8102
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8103
|
+
* @return DescribeServiceEventResponse
|
|
8104
|
+
*/
|
|
7610
8105
|
async describeServiceEventWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceEventResponse> {
|
|
7611
8106
|
Util.validateModel(request);
|
|
7612
8107
|
let query : {[key: string ]: any} = { };
|
|
@@ -7652,12 +8147,25 @@ export default class Client extends OpenApi {
|
|
|
7652
8147
|
return $tea.cast<DescribeServiceEventResponse>(await this.callApi(params, req, runtime), new DescribeServiceEventResponse({}));
|
|
7653
8148
|
}
|
|
7654
8149
|
|
|
8150
|
+
/**
|
|
8151
|
+
* @summary Queries information about recent service deployment events.
|
|
8152
|
+
*
|
|
8153
|
+
* @param request DescribeServiceEventRequest
|
|
8154
|
+
* @return DescribeServiceEventResponse
|
|
8155
|
+
*/
|
|
7655
8156
|
async describeServiceEvent(ClusterId: string, ServiceName: string, request: DescribeServiceEventRequest): Promise<DescribeServiceEventResponse> {
|
|
7656
8157
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7657
8158
|
let headers : {[key: string ]: string} = { };
|
|
7658
8159
|
return await this.describeServiceEventWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7659
8160
|
}
|
|
7660
8161
|
|
|
8162
|
+
/**
|
|
8163
|
+
* @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
|
|
8164
|
+
*
|
|
8165
|
+
* @param headers map
|
|
8166
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8167
|
+
* @return DescribeServiceInstanceDiagnosisResponse
|
|
8168
|
+
*/
|
|
7661
8169
|
async describeServiceInstanceDiagnosisWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceInstanceDiagnosisResponse> {
|
|
7662
8170
|
let req = new $OpenApi.OpenApiRequest({
|
|
7663
8171
|
headers: headers,
|
|
@@ -7676,12 +8184,25 @@ export default class Client extends OpenApi {
|
|
|
7676
8184
|
return $tea.cast<DescribeServiceInstanceDiagnosisResponse>(await this.callApi(params, req, runtime), new DescribeServiceInstanceDiagnosisResponse({}));
|
|
7677
8185
|
}
|
|
7678
8186
|
|
|
8187
|
+
/**
|
|
8188
|
+
* @summary Queries the diagnostics details of an instance that runs Elastic Algorithm Service (EAS).
|
|
8189
|
+
*
|
|
8190
|
+
* @return DescribeServiceInstanceDiagnosisResponse
|
|
8191
|
+
*/
|
|
7679
8192
|
async describeServiceInstanceDiagnosis(ClusterId: string, ServiceName: string, InstanceName: string): Promise<DescribeServiceInstanceDiagnosisResponse> {
|
|
7680
8193
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7681
8194
|
let headers : {[key: string ]: string} = { };
|
|
7682
8195
|
return await this.describeServiceInstanceDiagnosisWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
7683
8196
|
}
|
|
7684
8197
|
|
|
8198
|
+
/**
|
|
8199
|
+
* @summary Queries the information about the logs of a service.
|
|
8200
|
+
*
|
|
8201
|
+
* @param request DescribeServiceLogRequest
|
|
8202
|
+
* @param headers map
|
|
8203
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8204
|
+
* @return DescribeServiceLogResponse
|
|
8205
|
+
*/
|
|
7685
8206
|
async describeServiceLogWithOptions(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceLogResponse> {
|
|
7686
8207
|
Util.validateModel(request);
|
|
7687
8208
|
let query : {[key: string ]: any} = { };
|
|
@@ -7739,12 +8260,25 @@ export default class Client extends OpenApi {
|
|
|
7739
8260
|
return $tea.cast<DescribeServiceLogResponse>(await this.callApi(params, req, runtime), new DescribeServiceLogResponse({}));
|
|
7740
8261
|
}
|
|
7741
8262
|
|
|
8263
|
+
/**
|
|
8264
|
+
* @summary Queries the information about the logs of a service.
|
|
8265
|
+
*
|
|
8266
|
+
* @param request DescribeServiceLogRequest
|
|
8267
|
+
* @return DescribeServiceLogResponse
|
|
8268
|
+
*/
|
|
7742
8269
|
async describeServiceLog(ClusterId: string, ServiceName: string, request: DescribeServiceLogRequest): Promise<DescribeServiceLogResponse> {
|
|
7743
8270
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7744
8271
|
let headers : {[key: string ]: string} = { };
|
|
7745
8272
|
return await this.describeServiceLogWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7746
8273
|
}
|
|
7747
8274
|
|
|
8275
|
+
/**
|
|
8276
|
+
* @summary Queries details about the traffic mirroring settings of a service.
|
|
8277
|
+
*
|
|
8278
|
+
* @param headers map
|
|
8279
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8280
|
+
* @return DescribeServiceMirrorResponse
|
|
8281
|
+
*/
|
|
7748
8282
|
async describeServiceMirrorWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse> {
|
|
7749
8283
|
let req = new $OpenApi.OpenApiRequest({
|
|
7750
8284
|
headers: headers,
|
|
@@ -7763,12 +8297,25 @@ export default class Client extends OpenApi {
|
|
|
7763
8297
|
return $tea.cast<DescribeServiceMirrorResponse>(await this.callApi(params, req, runtime), new DescribeServiceMirrorResponse({}));
|
|
7764
8298
|
}
|
|
7765
8299
|
|
|
8300
|
+
/**
|
|
8301
|
+
* @summary Queries details about the traffic mirroring settings of a service.
|
|
8302
|
+
*
|
|
8303
|
+
* @return DescribeServiceMirrorResponse
|
|
8304
|
+
*/
|
|
7766
8305
|
async describeServiceMirror(ClusterId: string, ServiceName: string): Promise<DescribeServiceMirrorResponse> {
|
|
7767
8306
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7768
8307
|
let headers : {[key: string ]: string} = { };
|
|
7769
8308
|
return await this.describeServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
7770
8309
|
}
|
|
7771
8310
|
|
|
8311
|
+
/**
|
|
8312
|
+
* @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
|
|
8313
|
+
*
|
|
8314
|
+
* @param request DescribeSpotDiscountHistoryRequest
|
|
8315
|
+
* @param headers map
|
|
8316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8317
|
+
* @return DescribeSpotDiscountHistoryResponse
|
|
8318
|
+
*/
|
|
7772
8319
|
async describeSpotDiscountHistoryWithOptions(request: DescribeSpotDiscountHistoryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeSpotDiscountHistoryResponse> {
|
|
7773
8320
|
Util.validateModel(request);
|
|
7774
8321
|
let query : {[key: string ]: any} = { };
|
|
@@ -7798,12 +8345,26 @@ export default class Client extends OpenApi {
|
|
|
7798
8345
|
return $tea.cast<DescribeSpotDiscountHistoryResponse>(await this.callApi(params, req, runtime), new DescribeSpotDiscountHistoryResponse({}));
|
|
7799
8346
|
}
|
|
7800
8347
|
|
|
8348
|
+
/**
|
|
8349
|
+
* @summary Queries the historical prices of preemptible instances. For more information about preemptible instances, see Create and use preemptible instances.
|
|
8350
|
+
*
|
|
8351
|
+
* @param request DescribeSpotDiscountHistoryRequest
|
|
8352
|
+
* @return DescribeSpotDiscountHistoryResponse
|
|
8353
|
+
*/
|
|
7801
8354
|
async describeSpotDiscountHistory(request: DescribeSpotDiscountHistoryRequest): Promise<DescribeSpotDiscountHistoryResponse> {
|
|
7802
8355
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7803
8356
|
let headers : {[key: string ]: string} = { };
|
|
7804
8357
|
return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
|
|
7805
8358
|
}
|
|
7806
8359
|
|
|
8360
|
+
/**
|
|
8361
|
+
* @summary Switches a container service to development mode or exits development mode.
|
|
8362
|
+
*
|
|
8363
|
+
* @param request DevelopServiceRequest
|
|
8364
|
+
* @param headers map
|
|
8365
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8366
|
+
* @return DevelopServiceResponse
|
|
8367
|
+
*/
|
|
7807
8368
|
async developServiceWithOptions(ClusterId: string, ServiceName: string, request: DevelopServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DevelopServiceResponse> {
|
|
7808
8369
|
Util.validateModel(request);
|
|
7809
8370
|
let query : {[key: string ]: any} = { };
|
|
@@ -7829,12 +8390,26 @@ export default class Client extends OpenApi {
|
|
|
7829
8390
|
return $tea.cast<DevelopServiceResponse>(await this.callApi(params, req, runtime), new DevelopServiceResponse({}));
|
|
7830
8391
|
}
|
|
7831
8392
|
|
|
8393
|
+
/**
|
|
8394
|
+
* @summary Switches a container service to development mode or exits development mode.
|
|
8395
|
+
*
|
|
8396
|
+
* @param request DevelopServiceRequest
|
|
8397
|
+
* @return DevelopServiceResponse
|
|
8398
|
+
*/
|
|
7832
8399
|
async developService(ClusterId: string, ServiceName: string, request: DevelopServiceRequest): Promise<DevelopServiceResponse> {
|
|
7833
8400
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7834
8401
|
let headers : {[key: string ]: string} = { };
|
|
7835
8402
|
return await this.developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
7836
8403
|
}
|
|
7837
8404
|
|
|
8405
|
+
/**
|
|
8406
|
+
* @summary Queries a list of stress testing tasks that are created by the current user.
|
|
8407
|
+
*
|
|
8408
|
+
* @param request ListBenchmarkTaskRequest
|
|
8409
|
+
* @param headers map
|
|
8410
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8411
|
+
* @return ListBenchmarkTaskResponse
|
|
8412
|
+
*/
|
|
7838
8413
|
async listBenchmarkTaskWithOptions(request: ListBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListBenchmarkTaskResponse> {
|
|
7839
8414
|
Util.validateModel(request);
|
|
7840
8415
|
let query : {[key: string ]: any} = { };
|
|
@@ -7872,12 +8447,25 @@ export default class Client extends OpenApi {
|
|
|
7872
8447
|
return $tea.cast<ListBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new ListBenchmarkTaskResponse({}));
|
|
7873
8448
|
}
|
|
7874
8449
|
|
|
8450
|
+
/**
|
|
8451
|
+
* @summary Queries a list of stress testing tasks that are created by the current user.
|
|
8452
|
+
*
|
|
8453
|
+
* @param request ListBenchmarkTaskRequest
|
|
8454
|
+
* @return ListBenchmarkTaskResponse
|
|
8455
|
+
*/
|
|
7875
8456
|
async listBenchmarkTask(request: ListBenchmarkTaskRequest): Promise<ListBenchmarkTaskResponse> {
|
|
7876
8457
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7877
8458
|
let headers : {[key: string ]: string} = { };
|
|
7878
8459
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
7879
8460
|
}
|
|
7880
8461
|
|
|
8462
|
+
/**
|
|
8463
|
+
* @summary Queries a list of the internal endpoints of a private gateway.
|
|
8464
|
+
*
|
|
8465
|
+
* @param headers map
|
|
8466
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8467
|
+
* @return ListGatewayIntranetLinkedVpcResponse
|
|
8468
|
+
*/
|
|
7881
8469
|
async listGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7882
8470
|
let req = new $OpenApi.OpenApiRequest({
|
|
7883
8471
|
headers: headers,
|
|
@@ -7896,12 +8484,25 @@ export default class Client extends OpenApi {
|
|
|
7896
8484
|
return $tea.cast<ListGatewayIntranetLinkedVpcResponse>(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcResponse({}));
|
|
7897
8485
|
}
|
|
7898
8486
|
|
|
8487
|
+
/**
|
|
8488
|
+
* @summary Queries a list of the internal endpoints of a private gateway.
|
|
8489
|
+
*
|
|
8490
|
+
* @return ListGatewayIntranetLinkedVpcResponse
|
|
8491
|
+
*/
|
|
7899
8492
|
async listGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string): Promise<ListGatewayIntranetLinkedVpcResponse> {
|
|
7900
8493
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7901
8494
|
let headers : {[key: string ]: string} = { };
|
|
7902
8495
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
7903
8496
|
}
|
|
7904
8497
|
|
|
8498
|
+
/**
|
|
8499
|
+
* @summary Queries created service groups.
|
|
8500
|
+
*
|
|
8501
|
+
* @param request ListGroupsRequest
|
|
8502
|
+
* @param headers map
|
|
8503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8504
|
+
* @return ListGroupsResponse
|
|
8505
|
+
*/
|
|
7905
8506
|
async listGroupsWithOptions(request: ListGroupsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGroupsResponse> {
|
|
7906
8507
|
Util.validateModel(request);
|
|
7907
8508
|
let query : {[key: string ]: any} = { };
|
|
@@ -7939,12 +8540,26 @@ export default class Client extends OpenApi {
|
|
|
7939
8540
|
return $tea.cast<ListGroupsResponse>(await this.callApi(params, req, runtime), new ListGroupsResponse({}));
|
|
7940
8541
|
}
|
|
7941
8542
|
|
|
8543
|
+
/**
|
|
8544
|
+
* @summary Queries created service groups.
|
|
8545
|
+
*
|
|
8546
|
+
* @param request ListGroupsRequest
|
|
8547
|
+
* @return ListGroupsResponse
|
|
8548
|
+
*/
|
|
7942
8549
|
async listGroups(request: ListGroupsRequest): Promise<ListGroupsResponse> {
|
|
7943
8550
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7944
8551
|
let headers : {[key: string ]: string} = { };
|
|
7945
8552
|
return await this.listGroupsWithOptions(request, headers, runtime);
|
|
7946
8553
|
}
|
|
7947
8554
|
|
|
8555
|
+
/**
|
|
8556
|
+
* @summary Queries a list of workers in a resource group.
|
|
8557
|
+
*
|
|
8558
|
+
* @param request ListResourceInstanceWorkerRequest
|
|
8559
|
+
* @param headers map
|
|
8560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8561
|
+
* @return ListResourceInstanceWorkerResponse
|
|
8562
|
+
*/
|
|
7948
8563
|
async listResourceInstanceWorkerWithOptions(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceInstanceWorkerResponse> {
|
|
7949
8564
|
Util.validateModel(request);
|
|
7950
8565
|
let query : {[key: string ]: any} = { };
|
|
@@ -7974,12 +8589,26 @@ export default class Client extends OpenApi {
|
|
|
7974
8589
|
return $tea.cast<ListResourceInstanceWorkerResponse>(await this.callApi(params, req, runtime), new ListResourceInstanceWorkerResponse({}));
|
|
7975
8590
|
}
|
|
7976
8591
|
|
|
8592
|
+
/**
|
|
8593
|
+
* @summary Queries a list of workers in a resource group.
|
|
8594
|
+
*
|
|
8595
|
+
* @param request ListResourceInstanceWorkerRequest
|
|
8596
|
+
* @return ListResourceInstanceWorkerResponse
|
|
8597
|
+
*/
|
|
7977
8598
|
async listResourceInstanceWorker(ClusterId: string, ResourceId: string, InstanceName: string, request: ListResourceInstanceWorkerRequest): Promise<ListResourceInstanceWorkerResponse> {
|
|
7978
8599
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7979
8600
|
let headers : {[key: string ]: string} = { };
|
|
7980
8601
|
return await this.listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime);
|
|
7981
8602
|
}
|
|
7982
8603
|
|
|
8604
|
+
/**
|
|
8605
|
+
* @summary Queries a list of instances in a dedicated resource group.
|
|
8606
|
+
*
|
|
8607
|
+
* @param request ListResourceInstancesRequest
|
|
8608
|
+
* @param headers map
|
|
8609
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8610
|
+
* @return ListResourceInstancesResponse
|
|
8611
|
+
*/
|
|
7983
8612
|
async listResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: ListResourceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceInstancesResponse> {
|
|
7984
8613
|
Util.validateModel(request);
|
|
7985
8614
|
let query : {[key: string ]: any} = { };
|
|
@@ -8041,12 +8670,26 @@ export default class Client extends OpenApi {
|
|
|
8041
8670
|
return $tea.cast<ListResourceInstancesResponse>(await this.callApi(params, req, runtime), new ListResourceInstancesResponse({}));
|
|
8042
8671
|
}
|
|
8043
8672
|
|
|
8673
|
+
/**
|
|
8674
|
+
* @summary Queries a list of instances in a dedicated resource group.
|
|
8675
|
+
*
|
|
8676
|
+
* @param request ListResourceInstancesRequest
|
|
8677
|
+
* @return ListResourceInstancesResponse
|
|
8678
|
+
*/
|
|
8044
8679
|
async listResourceInstances(ClusterId: string, ResourceId: string, request: ListResourceInstancesRequest): Promise<ListResourceInstancesResponse> {
|
|
8045
8680
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8046
8681
|
let headers : {[key: string ]: string} = { };
|
|
8047
8682
|
return await this.listResourceInstancesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8048
8683
|
}
|
|
8049
8684
|
|
|
8685
|
+
/**
|
|
8686
|
+
* @summary Queries a list of services that are deployed in the dedicated resource group.
|
|
8687
|
+
*
|
|
8688
|
+
* @param request ListResourceServicesRequest
|
|
8689
|
+
* @param headers map
|
|
8690
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8691
|
+
* @return ListResourceServicesResponse
|
|
8692
|
+
*/
|
|
8050
8693
|
async listResourceServicesWithOptions(ClusterId: string, ResourceId: string, request: ListResourceServicesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourceServicesResponse> {
|
|
8051
8694
|
Util.validateModel(request);
|
|
8052
8695
|
let query : {[key: string ]: any} = { };
|
|
@@ -8076,12 +8719,26 @@ export default class Client extends OpenApi {
|
|
|
8076
8719
|
return $tea.cast<ListResourceServicesResponse>(await this.callApi(params, req, runtime), new ListResourceServicesResponse({}));
|
|
8077
8720
|
}
|
|
8078
8721
|
|
|
8722
|
+
/**
|
|
8723
|
+
* @summary Queries a list of services that are deployed in the dedicated resource group.
|
|
8724
|
+
*
|
|
8725
|
+
* @param request ListResourceServicesRequest
|
|
8726
|
+
* @return ListResourceServicesResponse
|
|
8727
|
+
*/
|
|
8079
8728
|
async listResourceServices(ClusterId: string, ResourceId: string, request: ListResourceServicesRequest): Promise<ListResourceServicesResponse> {
|
|
8080
8729
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8081
8730
|
let headers : {[key: string ]: string} = { };
|
|
8082
8731
|
return await this.listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8083
8732
|
}
|
|
8084
8733
|
|
|
8734
|
+
/**
|
|
8735
|
+
* @summary Queries a list of dedicated resource groups for the current user.
|
|
8736
|
+
*
|
|
8737
|
+
* @param request ListResourcesRequest
|
|
8738
|
+
* @param headers map
|
|
8739
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8740
|
+
* @return ListResourcesResponse
|
|
8741
|
+
*/
|
|
8085
8742
|
async listResourcesWithOptions(request: ListResourcesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListResourcesResponse> {
|
|
8086
8743
|
Util.validateModel(request);
|
|
8087
8744
|
let query : {[key: string ]: any} = { };
|
|
@@ -8123,12 +8780,25 @@ export default class Client extends OpenApi {
|
|
|
8123
8780
|
return $tea.cast<ListResourcesResponse>(await this.callApi(params, req, runtime), new ListResourcesResponse({}));
|
|
8124
8781
|
}
|
|
8125
8782
|
|
|
8783
|
+
/**
|
|
8784
|
+
* @summary Queries a list of dedicated resource groups for the current user.
|
|
8785
|
+
*
|
|
8786
|
+
* @param request ListResourcesRequest
|
|
8787
|
+
* @return ListResourcesResponse
|
|
8788
|
+
*/
|
|
8126
8789
|
async listResources(request: ListResourcesRequest): Promise<ListResourcesResponse> {
|
|
8127
8790
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8128
8791
|
let headers : {[key: string ]: string} = { };
|
|
8129
8792
|
return await this.listResourcesWithOptions(request, headers, runtime);
|
|
8130
8793
|
}
|
|
8131
8794
|
|
|
8795
|
+
/**
|
|
8796
|
+
* @summary Queries the containers of a service.
|
|
8797
|
+
*
|
|
8798
|
+
* @param headers map
|
|
8799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8800
|
+
* @return ListServiceContainersResponse
|
|
8801
|
+
*/
|
|
8132
8802
|
async listServiceContainersWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceContainersResponse> {
|
|
8133
8803
|
let req = new $OpenApi.OpenApiRequest({
|
|
8134
8804
|
headers: headers,
|
|
@@ -8147,12 +8817,25 @@ export default class Client extends OpenApi {
|
|
|
8147
8817
|
return $tea.cast<ListServiceContainersResponse>(await this.callApi(params, req, runtime), new ListServiceContainersResponse({}));
|
|
8148
8818
|
}
|
|
8149
8819
|
|
|
8820
|
+
/**
|
|
8821
|
+
* @summary Queries the containers of a service.
|
|
8822
|
+
*
|
|
8823
|
+
* @return ListServiceContainersResponse
|
|
8824
|
+
*/
|
|
8150
8825
|
async listServiceContainers(ClusterId: string, ServiceName: string, InstanceName: string): Promise<ListServiceContainersResponse> {
|
|
8151
8826
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8152
8827
|
let headers : {[key: string ]: string} = { };
|
|
8153
8828
|
return await this.listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, headers, runtime);
|
|
8154
8829
|
}
|
|
8155
8830
|
|
|
8831
|
+
/**
|
|
8832
|
+
* @summary Queries instances of a service.
|
|
8833
|
+
*
|
|
8834
|
+
* @param request ListServiceInstancesRequest
|
|
8835
|
+
* @param headers map
|
|
8836
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8837
|
+
* @return ListServiceInstancesResponse
|
|
8838
|
+
*/
|
|
8156
8839
|
async listServiceInstancesWithOptions(ClusterId: string, ServiceName: string, request: ListServiceInstancesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceInstancesResponse> {
|
|
8157
8840
|
Util.validateModel(request);
|
|
8158
8841
|
let query : {[key: string ]: any} = { };
|
|
@@ -8226,12 +8909,26 @@ export default class Client extends OpenApi {
|
|
|
8226
8909
|
return $tea.cast<ListServiceInstancesResponse>(await this.callApi(params, req, runtime), new ListServiceInstancesResponse({}));
|
|
8227
8910
|
}
|
|
8228
8911
|
|
|
8912
|
+
/**
|
|
8913
|
+
* @summary Queries instances of a service.
|
|
8914
|
+
*
|
|
8915
|
+
* @param request ListServiceInstancesRequest
|
|
8916
|
+
* @return ListServiceInstancesResponse
|
|
8917
|
+
*/
|
|
8229
8918
|
async listServiceInstances(ClusterId: string, ServiceName: string, request: ListServiceInstancesRequest): Promise<ListServiceInstancesResponse> {
|
|
8230
8919
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8231
8920
|
let headers : {[key: string ]: string} = { };
|
|
8232
8921
|
return await this.listServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8233
8922
|
}
|
|
8234
8923
|
|
|
8924
|
+
/**
|
|
8925
|
+
* @summary Queries the information about the historical versions of a service.
|
|
8926
|
+
*
|
|
8927
|
+
* @param request ListServiceVersionsRequest
|
|
8928
|
+
* @param headers map
|
|
8929
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8930
|
+
* @return ListServiceVersionsResponse
|
|
8931
|
+
*/
|
|
8235
8932
|
async listServiceVersionsWithOptions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServiceVersionsResponse> {
|
|
8236
8933
|
Util.validateModel(request);
|
|
8237
8934
|
let query : {[key: string ]: any} = { };
|
|
@@ -8261,12 +8958,26 @@ export default class Client extends OpenApi {
|
|
|
8261
8958
|
return $tea.cast<ListServiceVersionsResponse>(await this.callApi(params, req, runtime), new ListServiceVersionsResponse({}));
|
|
8262
8959
|
}
|
|
8263
8960
|
|
|
8961
|
+
/**
|
|
8962
|
+
* @summary Queries the information about the historical versions of a service.
|
|
8963
|
+
*
|
|
8964
|
+
* @param request ListServiceVersionsRequest
|
|
8965
|
+
* @return ListServiceVersionsResponse
|
|
8966
|
+
*/
|
|
8264
8967
|
async listServiceVersions(ClusterId: string, ServiceName: string, request: ListServiceVersionsRequest): Promise<ListServiceVersionsResponse> {
|
|
8265
8968
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8266
8969
|
let headers : {[key: string ]: string} = { };
|
|
8267
8970
|
return await this.listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8268
8971
|
}
|
|
8269
8972
|
|
|
8973
|
+
/**
|
|
8974
|
+
* @summary Queries a list of services that are created by the current user.
|
|
8975
|
+
*
|
|
8976
|
+
* @param tmpReq ListServicesRequest
|
|
8977
|
+
* @param headers map
|
|
8978
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8979
|
+
* @return ListServicesResponse
|
|
8980
|
+
*/
|
|
8270
8981
|
async listServicesWithOptions(tmpReq: ListServicesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListServicesResponse> {
|
|
8271
8982
|
Util.validateModel(tmpReq);
|
|
8272
8983
|
let request = new ListServicesShrinkRequest({ });
|
|
@@ -8354,12 +9065,26 @@ export default class Client extends OpenApi {
|
|
|
8354
9065
|
return $tea.cast<ListServicesResponse>(await this.callApi(params, req, runtime), new ListServicesResponse({}));
|
|
8355
9066
|
}
|
|
8356
9067
|
|
|
9068
|
+
/**
|
|
9069
|
+
* @summary Queries a list of services that are created by the current user.
|
|
9070
|
+
*
|
|
9071
|
+
* @param request ListServicesRequest
|
|
9072
|
+
* @return ListServicesResponse
|
|
9073
|
+
*/
|
|
8357
9074
|
async listServices(request: ListServicesRequest): Promise<ListServicesResponse> {
|
|
8358
9075
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8359
9076
|
let headers : {[key: string ]: string} = { };
|
|
8360
9077
|
return await this.listServicesWithOptions(request, headers, runtime);
|
|
8361
9078
|
}
|
|
8362
9079
|
|
|
9080
|
+
/**
|
|
9081
|
+
* @summary Performs canary release or blue-green release of a service.
|
|
9082
|
+
*
|
|
9083
|
+
* @param request ReleaseServiceRequest
|
|
9084
|
+
* @param headers map
|
|
9085
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9086
|
+
* @return ReleaseServiceResponse
|
|
9087
|
+
*/
|
|
8363
9088
|
async releaseServiceWithOptions(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ReleaseServiceResponse> {
|
|
8364
9089
|
Util.validateModel(request);
|
|
8365
9090
|
let body : {[key: string ]: any} = { };
|
|
@@ -8389,12 +9114,25 @@ export default class Client extends OpenApi {
|
|
|
8389
9114
|
return $tea.cast<ReleaseServiceResponse>(await this.callApi(params, req, runtime), new ReleaseServiceResponse({}));
|
|
8390
9115
|
}
|
|
8391
9116
|
|
|
9117
|
+
/**
|
|
9118
|
+
* @summary Performs canary release or blue-green release of a service.
|
|
9119
|
+
*
|
|
9120
|
+
* @param request ReleaseServiceRequest
|
|
9121
|
+
* @return ReleaseServiceResponse
|
|
9122
|
+
*/
|
|
8392
9123
|
async releaseService(ClusterId: string, ServiceName: string, request: ReleaseServiceRequest): Promise<ReleaseServiceResponse> {
|
|
8393
9124
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8394
9125
|
let headers : {[key: string ]: string} = { };
|
|
8395
9126
|
return await this.releaseServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8396
9127
|
}
|
|
8397
9128
|
|
|
9129
|
+
/**
|
|
9130
|
+
* @summary Restarts a service.
|
|
9131
|
+
*
|
|
9132
|
+
* @param headers map
|
|
9133
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9134
|
+
* @return RestartServiceResponse
|
|
9135
|
+
*/
|
|
8398
9136
|
async restartServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RestartServiceResponse> {
|
|
8399
9137
|
let req = new $OpenApi.OpenApiRequest({
|
|
8400
9138
|
headers: headers,
|
|
@@ -8413,12 +9151,24 @@ export default class Client extends OpenApi {
|
|
|
8413
9151
|
return $tea.cast<RestartServiceResponse>(await this.callApi(params, req, runtime), new RestartServiceResponse({}));
|
|
8414
9152
|
}
|
|
8415
9153
|
|
|
9154
|
+
/**
|
|
9155
|
+
* @summary Restarts a service.
|
|
9156
|
+
*
|
|
9157
|
+
* @return RestartServiceResponse
|
|
9158
|
+
*/
|
|
8416
9159
|
async restartService(ClusterId: string, ServiceName: string): Promise<RestartServiceResponse> {
|
|
8417
9160
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8418
9161
|
let headers : {[key: string ]: string} = { };
|
|
8419
9162
|
return await this.restartServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8420
9163
|
}
|
|
8421
9164
|
|
|
9165
|
+
/**
|
|
9166
|
+
* @summary Starts a stress testing task.
|
|
9167
|
+
*
|
|
9168
|
+
* @param headers map
|
|
9169
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9170
|
+
* @return StartBenchmarkTaskResponse
|
|
9171
|
+
*/
|
|
8422
9172
|
async startBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartBenchmarkTaskResponse> {
|
|
8423
9173
|
let req = new $OpenApi.OpenApiRequest({
|
|
8424
9174
|
headers: headers,
|
|
@@ -8437,12 +9187,24 @@ export default class Client extends OpenApi {
|
|
|
8437
9187
|
return $tea.cast<StartBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StartBenchmarkTaskResponse({}));
|
|
8438
9188
|
}
|
|
8439
9189
|
|
|
9190
|
+
/**
|
|
9191
|
+
* @summary Starts a stress testing task.
|
|
9192
|
+
*
|
|
9193
|
+
* @return StartBenchmarkTaskResponse
|
|
9194
|
+
*/
|
|
8440
9195
|
async startBenchmarkTask(ClusterId: string, TaskName: string): Promise<StartBenchmarkTaskResponse> {
|
|
8441
9196
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8442
9197
|
let headers : {[key: string ]: string} = { };
|
|
8443
9198
|
return await this.startBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
8444
9199
|
}
|
|
8445
9200
|
|
|
9201
|
+
/**
|
|
9202
|
+
* @summary Starts a service.
|
|
9203
|
+
*
|
|
9204
|
+
* @param headers map
|
|
9205
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9206
|
+
* @return StartServiceResponse
|
|
9207
|
+
*/
|
|
8446
9208
|
async startServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StartServiceResponse> {
|
|
8447
9209
|
let req = new $OpenApi.OpenApiRequest({
|
|
8448
9210
|
headers: headers,
|
|
@@ -8461,12 +9223,24 @@ export default class Client extends OpenApi {
|
|
|
8461
9223
|
return $tea.cast<StartServiceResponse>(await this.callApi(params, req, runtime), new StartServiceResponse({}));
|
|
8462
9224
|
}
|
|
8463
9225
|
|
|
9226
|
+
/**
|
|
9227
|
+
* @summary Starts a service.
|
|
9228
|
+
*
|
|
9229
|
+
* @return StartServiceResponse
|
|
9230
|
+
*/
|
|
8464
9231
|
async startService(ClusterId: string, ServiceName: string): Promise<StartServiceResponse> {
|
|
8465
9232
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8466
9233
|
let headers : {[key: string ]: string} = { };
|
|
8467
9234
|
return await this.startServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8468
9235
|
}
|
|
8469
9236
|
|
|
9237
|
+
/**
|
|
9238
|
+
* @summary Stops a stress testing task.
|
|
9239
|
+
*
|
|
9240
|
+
* @param headers map
|
|
9241
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9242
|
+
* @return StopBenchmarkTaskResponse
|
|
9243
|
+
*/
|
|
8470
9244
|
async stopBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopBenchmarkTaskResponse> {
|
|
8471
9245
|
let req = new $OpenApi.OpenApiRequest({
|
|
8472
9246
|
headers: headers,
|
|
@@ -8485,12 +9259,24 @@ export default class Client extends OpenApi {
|
|
|
8485
9259
|
return $tea.cast<StopBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new StopBenchmarkTaskResponse({}));
|
|
8486
9260
|
}
|
|
8487
9261
|
|
|
9262
|
+
/**
|
|
9263
|
+
* @summary Stops a stress testing task.
|
|
9264
|
+
*
|
|
9265
|
+
* @return StopBenchmarkTaskResponse
|
|
9266
|
+
*/
|
|
8488
9267
|
async stopBenchmarkTask(ClusterId: string, TaskName: string): Promise<StopBenchmarkTaskResponse> {
|
|
8489
9268
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8490
9269
|
let headers : {[key: string ]: string} = { };
|
|
8491
9270
|
return await this.stopBenchmarkTaskWithOptions(ClusterId, TaskName, headers, runtime);
|
|
8492
9271
|
}
|
|
8493
9272
|
|
|
9273
|
+
/**
|
|
9274
|
+
* @summary Stops a running service.
|
|
9275
|
+
*
|
|
9276
|
+
* @param headers map
|
|
9277
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9278
|
+
* @return StopServiceResponse
|
|
9279
|
+
*/
|
|
8494
9280
|
async stopServiceWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<StopServiceResponse> {
|
|
8495
9281
|
let req = new $OpenApi.OpenApiRequest({
|
|
8496
9282
|
headers: headers,
|
|
@@ -8509,12 +9295,25 @@ export default class Client extends OpenApi {
|
|
|
8509
9295
|
return $tea.cast<StopServiceResponse>(await this.callApi(params, req, runtime), new StopServiceResponse({}));
|
|
8510
9296
|
}
|
|
8511
9297
|
|
|
9298
|
+
/**
|
|
9299
|
+
* @summary Stops a running service.
|
|
9300
|
+
*
|
|
9301
|
+
* @return StopServiceResponse
|
|
9302
|
+
*/
|
|
8512
9303
|
async stopService(ClusterId: string, ServiceName: string): Promise<StopServiceResponse> {
|
|
8513
9304
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8514
9305
|
let headers : {[key: string ]: string} = { };
|
|
8515
9306
|
return await this.stopServiceWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8516
9307
|
}
|
|
8517
9308
|
|
|
9309
|
+
/**
|
|
9310
|
+
* @summary Updates an application service.
|
|
9311
|
+
*
|
|
9312
|
+
* @param request UpdateAppServiceRequest
|
|
9313
|
+
* @param headers map
|
|
9314
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9315
|
+
* @return UpdateAppServiceResponse
|
|
9316
|
+
*/
|
|
8518
9317
|
async updateAppServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateAppServiceResponse> {
|
|
8519
9318
|
Util.validateModel(request);
|
|
8520
9319
|
let query : {[key: string ]: any} = { };
|
|
@@ -8566,12 +9365,26 @@ export default class Client extends OpenApi {
|
|
|
8566
9365
|
return $tea.cast<UpdateAppServiceResponse>(await this.callApi(params, req, runtime), new UpdateAppServiceResponse({}));
|
|
8567
9366
|
}
|
|
8568
9367
|
|
|
9368
|
+
/**
|
|
9369
|
+
* @summary Updates an application service.
|
|
9370
|
+
*
|
|
9371
|
+
* @param request UpdateAppServiceRequest
|
|
9372
|
+
* @return UpdateAppServiceResponse
|
|
9373
|
+
*/
|
|
8569
9374
|
async updateAppService(ClusterId: string, ServiceName: string, request: UpdateAppServiceRequest): Promise<UpdateAppServiceResponse> {
|
|
8570
9375
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8571
9376
|
let headers : {[key: string ]: string} = { };
|
|
8572
9377
|
return await this.updateAppServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8573
9378
|
}
|
|
8574
9379
|
|
|
9380
|
+
/**
|
|
9381
|
+
* @summary Updates a stress testing task.
|
|
9382
|
+
*
|
|
9383
|
+
* @param request UpdateBenchmarkTaskRequest
|
|
9384
|
+
* @param headers map
|
|
9385
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9386
|
+
* @return UpdateBenchmarkTaskResponse
|
|
9387
|
+
*/
|
|
8575
9388
|
async updateBenchmarkTaskWithOptions(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateBenchmarkTaskResponse> {
|
|
8576
9389
|
Util.validateModel(request);
|
|
8577
9390
|
let req = new $OpenApi.OpenApiRequest({
|
|
@@ -8592,12 +9405,26 @@ export default class Client extends OpenApi {
|
|
|
8592
9405
|
return $tea.cast<UpdateBenchmarkTaskResponse>(await this.callApi(params, req, runtime), new UpdateBenchmarkTaskResponse({}));
|
|
8593
9406
|
}
|
|
8594
9407
|
|
|
9408
|
+
/**
|
|
9409
|
+
* @summary Updates a stress testing task.
|
|
9410
|
+
*
|
|
9411
|
+
* @param request UpdateBenchmarkTaskRequest
|
|
9412
|
+
* @return UpdateBenchmarkTaskResponse
|
|
9413
|
+
*/
|
|
8595
9414
|
async updateBenchmarkTask(ClusterId: string, TaskName: string, request: UpdateBenchmarkTaskRequest): Promise<UpdateBenchmarkTaskResponse> {
|
|
8596
9415
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8597
9416
|
let headers : {[key: string ]: string} = { };
|
|
8598
9417
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
8599
9418
|
}
|
|
8600
9419
|
|
|
9420
|
+
/**
|
|
9421
|
+
* @summary Update a private gateway.
|
|
9422
|
+
*
|
|
9423
|
+
* @param request UpdateGatewayRequest
|
|
9424
|
+
* @param headers map
|
|
9425
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9426
|
+
* @return UpdateGatewayResponse
|
|
9427
|
+
*/
|
|
8601
9428
|
async updateGatewayWithOptions(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateGatewayResponse> {
|
|
8602
9429
|
Util.validateModel(request);
|
|
8603
9430
|
let body : {[key: string ]: any} = { };
|
|
@@ -8635,12 +9462,26 @@ export default class Client extends OpenApi {
|
|
|
8635
9462
|
return $tea.cast<UpdateGatewayResponse>(await this.callApi(params, req, runtime), new UpdateGatewayResponse({}));
|
|
8636
9463
|
}
|
|
8637
9464
|
|
|
9465
|
+
/**
|
|
9466
|
+
* @summary Update a private gateway.
|
|
9467
|
+
*
|
|
9468
|
+
* @param request UpdateGatewayRequest
|
|
9469
|
+
* @return UpdateGatewayResponse
|
|
9470
|
+
*/
|
|
8638
9471
|
async updateGateway(GatewayId: string, ClusterId: string, request: UpdateGatewayRequest): Promise<UpdateGatewayResponse> {
|
|
8639
9472
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8640
9473
|
let headers : {[key: string ]: string} = { };
|
|
8641
9474
|
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
8642
9475
|
}
|
|
8643
9476
|
|
|
9477
|
+
/**
|
|
9478
|
+
* @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
|
|
9479
|
+
*
|
|
9480
|
+
* @param request UpdateResourceRequest
|
|
9481
|
+
* @param headers map
|
|
9482
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9483
|
+
* @return UpdateResourceResponse
|
|
9484
|
+
*/
|
|
8644
9485
|
async updateResourceWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceResponse> {
|
|
8645
9486
|
Util.validateModel(request);
|
|
8646
9487
|
let body : {[key: string ]: any} = { };
|
|
@@ -8670,12 +9511,26 @@ export default class Client extends OpenApi {
|
|
|
8670
9511
|
return $tea.cast<UpdateResourceResponse>(await this.callApi(params, req, runtime), new UpdateResourceResponse({}));
|
|
8671
9512
|
}
|
|
8672
9513
|
|
|
9514
|
+
/**
|
|
9515
|
+
* @summary Updates the information about a dedicated resource group. Only the name of a dedicated resource group can be updated.
|
|
9516
|
+
*
|
|
9517
|
+
* @param request UpdateResourceRequest
|
|
9518
|
+
* @return UpdateResourceResponse
|
|
9519
|
+
*/
|
|
8673
9520
|
async updateResource(ClusterId: string, ResourceId: string, request: UpdateResourceRequest): Promise<UpdateResourceResponse> {
|
|
8674
9521
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8675
9522
|
let headers : {[key: string ]: string} = { };
|
|
8676
9523
|
return await this.updateResourceWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8677
9524
|
}
|
|
8678
9525
|
|
|
9526
|
+
/**
|
|
9527
|
+
* @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
|
|
9528
|
+
*
|
|
9529
|
+
* @param request UpdateResourceDLinkRequest
|
|
9530
|
+
* @param headers map
|
|
9531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9532
|
+
* @return UpdateResourceDLinkResponse
|
|
9533
|
+
*/
|
|
8679
9534
|
async updateResourceDLinkWithOptions(ClusterId: string, ResourceId: string, request: UpdateResourceDLinkRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceDLinkResponse> {
|
|
8680
9535
|
Util.validateModel(request);
|
|
8681
9536
|
let body : {[key: string ]: any} = { };
|
|
@@ -8713,12 +9568,26 @@ export default class Client extends OpenApi {
|
|
|
8713
9568
|
return $tea.cast<UpdateResourceDLinkResponse>(await this.callApi(params, req, runtime), new UpdateResourceDLinkResponse({}));
|
|
8714
9569
|
}
|
|
8715
9570
|
|
|
9571
|
+
/**
|
|
9572
|
+
* @summary Updates the configurations of a virtual private cloud (VPC) direct connection for a dedicated resource group.
|
|
9573
|
+
*
|
|
9574
|
+
* @param request UpdateResourceDLinkRequest
|
|
9575
|
+
* @return UpdateResourceDLinkResponse
|
|
9576
|
+
*/
|
|
8716
9577
|
async updateResourceDLink(ClusterId: string, ResourceId: string, request: UpdateResourceDLinkRequest): Promise<UpdateResourceDLinkResponse> {
|
|
8717
9578
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8718
9579
|
let headers : {[key: string ]: string} = { };
|
|
8719
9580
|
return await this.updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
8720
9581
|
}
|
|
8721
9582
|
|
|
9583
|
+
/**
|
|
9584
|
+
* @summary Updates the service scheduling status of an instance in a dedicated resource group.
|
|
9585
|
+
*
|
|
9586
|
+
* @param request UpdateResourceInstanceRequest
|
|
9587
|
+
* @param headers map
|
|
9588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9589
|
+
* @return UpdateResourceInstanceResponse
|
|
9590
|
+
*/
|
|
8722
9591
|
async updateResourceInstanceWithOptions(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateResourceInstanceResponse> {
|
|
8723
9592
|
Util.validateModel(request);
|
|
8724
9593
|
let body : {[key: string ]: any} = { };
|
|
@@ -8744,12 +9613,26 @@ export default class Client extends OpenApi {
|
|
|
8744
9613
|
return $tea.cast<UpdateResourceInstanceResponse>(await this.callApi(params, req, runtime), new UpdateResourceInstanceResponse({}));
|
|
8745
9614
|
}
|
|
8746
9615
|
|
|
9616
|
+
/**
|
|
9617
|
+
* @summary Updates the service scheduling status of an instance in a dedicated resource group.
|
|
9618
|
+
*
|
|
9619
|
+
* @param request UpdateResourceInstanceRequest
|
|
9620
|
+
* @return UpdateResourceInstanceResponse
|
|
9621
|
+
*/
|
|
8747
9622
|
async updateResourceInstance(ClusterId: string, ResourceId: string, InstanceId: string, request: UpdateResourceInstanceRequest): Promise<UpdateResourceInstanceResponse> {
|
|
8748
9623
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8749
9624
|
let headers : {[key: string ]: string} = { };
|
|
8750
9625
|
return await this.updateResourceInstanceWithOptions(ClusterId, ResourceId, InstanceId, request, headers, runtime);
|
|
8751
9626
|
}
|
|
8752
9627
|
|
|
9628
|
+
/**
|
|
9629
|
+
* @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
9630
|
+
*
|
|
9631
|
+
* @param request UpdateServiceRequest
|
|
9632
|
+
* @param headers map
|
|
9633
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9634
|
+
* @return UpdateServiceResponse
|
|
9635
|
+
*/
|
|
8753
9636
|
async updateServiceWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceResponse> {
|
|
8754
9637
|
Util.validateModel(request);
|
|
8755
9638
|
let query : {[key: string ]: any} = { };
|
|
@@ -8776,12 +9659,26 @@ export default class Client extends OpenApi {
|
|
|
8776
9659
|
return $tea.cast<UpdateServiceResponse>(await this.callApi(params, req, runtime), new UpdateServiceResponse({}));
|
|
8777
9660
|
}
|
|
8778
9661
|
|
|
9662
|
+
/**
|
|
9663
|
+
* @summary Updates a model or processor of a service. If only the metadata.instance field is updated, manual scaling can be performed.
|
|
9664
|
+
*
|
|
9665
|
+
* @param request UpdateServiceRequest
|
|
9666
|
+
* @return UpdateServiceResponse
|
|
9667
|
+
*/
|
|
8779
9668
|
async updateService(ClusterId: string, ServiceName: string, request: UpdateServiceRequest): Promise<UpdateServiceResponse> {
|
|
8780
9669
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8781
9670
|
let headers : {[key: string ]: string} = { };
|
|
8782
9671
|
return await this.updateServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8783
9672
|
}
|
|
8784
9673
|
|
|
9674
|
+
/**
|
|
9675
|
+
* @summary Updates the Autoscaler configurations of a service.
|
|
9676
|
+
*
|
|
9677
|
+
* @param request UpdateServiceAutoScalerRequest
|
|
9678
|
+
* @param headers map
|
|
9679
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9680
|
+
* @return UpdateServiceAutoScalerResponse
|
|
9681
|
+
*/
|
|
8785
9682
|
async updateServiceAutoScalerWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceAutoScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceAutoScalerResponse> {
|
|
8786
9683
|
Util.validateModel(request);
|
|
8787
9684
|
let body : {[key: string ]: any} = { };
|
|
@@ -8819,12 +9716,26 @@ export default class Client extends OpenApi {
|
|
|
8819
9716
|
return $tea.cast<UpdateServiceAutoScalerResponse>(await this.callApi(params, req, runtime), new UpdateServiceAutoScalerResponse({}));
|
|
8820
9717
|
}
|
|
8821
9718
|
|
|
9719
|
+
/**
|
|
9720
|
+
* @summary Updates the Autoscaler configurations of a service.
|
|
9721
|
+
*
|
|
9722
|
+
* @param request UpdateServiceAutoScalerRequest
|
|
9723
|
+
* @return UpdateServiceAutoScalerResponse
|
|
9724
|
+
*/
|
|
8822
9725
|
async updateServiceAutoScaler(ClusterId: string, ServiceName: string, request: UpdateServiceAutoScalerRequest): Promise<UpdateServiceAutoScalerResponse> {
|
|
8823
9726
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8824
9727
|
let headers : {[key: string ]: string} = { };
|
|
8825
9728
|
return await this.updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8826
9729
|
}
|
|
8827
9730
|
|
|
9731
|
+
/**
|
|
9732
|
+
* @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
|
|
9733
|
+
*
|
|
9734
|
+
* @param request UpdateServiceCronScalerRequest
|
|
9735
|
+
* @param headers map
|
|
9736
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9737
|
+
* @return UpdateServiceCronScalerResponse
|
|
9738
|
+
*/
|
|
8828
9739
|
async updateServiceCronScalerWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceCronScalerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceCronScalerResponse> {
|
|
8829
9740
|
Util.validateModel(request);
|
|
8830
9741
|
let body : {[key: string ]: any} = { };
|
|
@@ -8854,12 +9765,26 @@ export default class Client extends OpenApi {
|
|
|
8854
9765
|
return $tea.cast<UpdateServiceCronScalerResponse>(await this.callApi(params, req, runtime), new UpdateServiceCronScalerResponse({}));
|
|
8855
9766
|
}
|
|
8856
9767
|
|
|
9768
|
+
/**
|
|
9769
|
+
* @summary Updates the Cron Horizontal Pod Autoscaler (CronHPA) settings of a service.
|
|
9770
|
+
*
|
|
9771
|
+
* @param request UpdateServiceCronScalerRequest
|
|
9772
|
+
* @return UpdateServiceCronScalerResponse
|
|
9773
|
+
*/
|
|
8857
9774
|
async updateServiceCronScaler(ClusterId: string, ServiceName: string, request: UpdateServiceCronScalerRequest): Promise<UpdateServiceCronScalerResponse> {
|
|
8858
9775
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8859
9776
|
let headers : {[key: string ]: string} = { };
|
|
8860
9777
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8861
9778
|
}
|
|
8862
9779
|
|
|
9780
|
+
/**
|
|
9781
|
+
* @summary Updates attributes of service instances. Only isolation can be performed for service instances.
|
|
9782
|
+
*
|
|
9783
|
+
* @param request UpdateServiceInstanceRequest
|
|
9784
|
+
* @param headers map
|
|
9785
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9786
|
+
* @return UpdateServiceInstanceResponse
|
|
9787
|
+
*/
|
|
8863
9788
|
async updateServiceInstanceWithOptions(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceInstanceResponse> {
|
|
8864
9789
|
Util.validateModel(request);
|
|
8865
9790
|
let body : {[key: string ]: any} = { };
|
|
@@ -8885,12 +9810,26 @@ export default class Client extends OpenApi {
|
|
|
8885
9810
|
return $tea.cast<UpdateServiceInstanceResponse>(await this.callApi(params, req, runtime), new UpdateServiceInstanceResponse({}));
|
|
8886
9811
|
}
|
|
8887
9812
|
|
|
9813
|
+
/**
|
|
9814
|
+
* @summary Updates attributes of service instances. Only isolation can be performed for service instances.
|
|
9815
|
+
*
|
|
9816
|
+
* @param request UpdateServiceInstanceRequest
|
|
9817
|
+
* @return UpdateServiceInstanceResponse
|
|
9818
|
+
*/
|
|
8888
9819
|
async updateServiceInstance(ClusterId: string, ServiceName: string, InstanceName: string, request: UpdateServiceInstanceRequest): Promise<UpdateServiceInstanceResponse> {
|
|
8889
9820
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8890
9821
|
let headers : {[key: string ]: string} = { };
|
|
8891
9822
|
return await this.updateServiceInstanceWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
8892
9823
|
}
|
|
8893
9824
|
|
|
9825
|
+
/**
|
|
9826
|
+
* @summary Adds service tags or updates existing service tags.
|
|
9827
|
+
*
|
|
9828
|
+
* @param request UpdateServiceLabelRequest
|
|
9829
|
+
* @param headers map
|
|
9830
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9831
|
+
* @return UpdateServiceLabelResponse
|
|
9832
|
+
*/
|
|
8894
9833
|
async updateServiceLabelWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceLabelRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceLabelResponse> {
|
|
8895
9834
|
Util.validateModel(request);
|
|
8896
9835
|
let body : {[key: string ]: any} = { };
|
|
@@ -8916,12 +9855,26 @@ export default class Client extends OpenApi {
|
|
|
8916
9855
|
return $tea.cast<UpdateServiceLabelResponse>(await this.callApi(params, req, runtime), new UpdateServiceLabelResponse({}));
|
|
8917
9856
|
}
|
|
8918
9857
|
|
|
9858
|
+
/**
|
|
9859
|
+
* @summary Adds service tags or updates existing service tags.
|
|
9860
|
+
*
|
|
9861
|
+
* @param request UpdateServiceLabelRequest
|
|
9862
|
+
* @return UpdateServiceLabelResponse
|
|
9863
|
+
*/
|
|
8919
9864
|
async updateServiceLabel(ClusterId: string, ServiceName: string, request: UpdateServiceLabelRequest): Promise<UpdateServiceLabelResponse> {
|
|
8920
9865
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8921
9866
|
let headers : {[key: string ]: string} = { };
|
|
8922
9867
|
return await this.updateServiceLabelWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8923
9868
|
}
|
|
8924
9869
|
|
|
9870
|
+
/**
|
|
9871
|
+
* @summary Updates the traffic mirroring configurations of a service.
|
|
9872
|
+
*
|
|
9873
|
+
* @param request UpdateServiceMirrorRequest
|
|
9874
|
+
* @param headers map
|
|
9875
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9876
|
+
* @return UpdateServiceMirrorResponse
|
|
9877
|
+
*/
|
|
8925
9878
|
async updateServiceMirrorWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceMirrorRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceMirrorResponse> {
|
|
8926
9879
|
Util.validateModel(request);
|
|
8927
9880
|
let body : {[key: string ]: any} = { };
|
|
@@ -8951,12 +9904,26 @@ export default class Client extends OpenApi {
|
|
|
8951
9904
|
return $tea.cast<UpdateServiceMirrorResponse>(await this.callApi(params, req, runtime), new UpdateServiceMirrorResponse({}));
|
|
8952
9905
|
}
|
|
8953
9906
|
|
|
9907
|
+
/**
|
|
9908
|
+
* @summary Updates the traffic mirroring configurations of a service.
|
|
9909
|
+
*
|
|
9910
|
+
* @param request UpdateServiceMirrorRequest
|
|
9911
|
+
* @return UpdateServiceMirrorResponse
|
|
9912
|
+
*/
|
|
8954
9913
|
async updateServiceMirror(ClusterId: string, ServiceName: string, request: UpdateServiceMirrorRequest): Promise<UpdateServiceMirrorResponse> {
|
|
8955
9914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8956
9915
|
let headers : {[key: string ]: string} = { };
|
|
8957
9916
|
return await this.updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8958
9917
|
}
|
|
8959
9918
|
|
|
9919
|
+
/**
|
|
9920
|
+
* @summary Updates the safety lock of a service to minimize misoperations on the service.
|
|
9921
|
+
*
|
|
9922
|
+
* @param request UpdateServiceSafetyLockRequest
|
|
9923
|
+
* @param headers map
|
|
9924
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9925
|
+
* @return UpdateServiceSafetyLockResponse
|
|
9926
|
+
*/
|
|
8960
9927
|
async updateServiceSafetyLockWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceSafetyLockResponse> {
|
|
8961
9928
|
Util.validateModel(request);
|
|
8962
9929
|
let body : {[key: string ]: any} = { };
|
|
@@ -8982,12 +9949,26 @@ export default class Client extends OpenApi {
|
|
|
8982
9949
|
return $tea.cast<UpdateServiceSafetyLockResponse>(await this.callApi(params, req, runtime), new UpdateServiceSafetyLockResponse({}));
|
|
8983
9950
|
}
|
|
8984
9951
|
|
|
9952
|
+
/**
|
|
9953
|
+
* @summary Updates the safety lock of a service to minimize misoperations on the service.
|
|
9954
|
+
*
|
|
9955
|
+
* @param request UpdateServiceSafetyLockRequest
|
|
9956
|
+
* @return UpdateServiceSafetyLockResponse
|
|
9957
|
+
*/
|
|
8985
9958
|
async updateServiceSafetyLock(ClusterId: string, ServiceName: string, request: UpdateServiceSafetyLockRequest): Promise<UpdateServiceSafetyLockResponse> {
|
|
8986
9959
|
let runtime = new $Util.RuntimeOptions({ });
|
|
8987
9960
|
let headers : {[key: string ]: string} = { };
|
|
8988
9961
|
return await this.updateServiceSafetyLockWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
8989
9962
|
}
|
|
8990
9963
|
|
|
9964
|
+
/**
|
|
9965
|
+
* @summary Updates the version of a service or rolls back the service to a specific version.
|
|
9966
|
+
*
|
|
9967
|
+
* @param request UpdateServiceVersionRequest
|
|
9968
|
+
* @param headers map
|
|
9969
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9970
|
+
* @return UpdateServiceVersionResponse
|
|
9971
|
+
*/
|
|
8991
9972
|
async updateServiceVersionWithOptions(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateServiceVersionResponse> {
|
|
8992
9973
|
Util.validateModel(request);
|
|
8993
9974
|
let body : {[key: string ]: any} = { };
|
|
@@ -9013,6 +9994,12 @@ export default class Client extends OpenApi {
|
|
|
9013
9994
|
return $tea.cast<UpdateServiceVersionResponse>(await this.callApi(params, req, runtime), new UpdateServiceVersionResponse({}));
|
|
9014
9995
|
}
|
|
9015
9996
|
|
|
9997
|
+
/**
|
|
9998
|
+
* @summary Updates the version of a service or rolls back the service to a specific version.
|
|
9999
|
+
*
|
|
10000
|
+
* @param request UpdateServiceVersionRequest
|
|
10001
|
+
* @return UpdateServiceVersionResponse
|
|
10002
|
+
*/
|
|
9016
10003
|
async updateServiceVersion(ClusterId: string, ServiceName: string, request: UpdateServiceVersionRequest): Promise<UpdateServiceVersionResponse> {
|
|
9017
10004
|
let runtime = new $Util.RuntimeOptions({ });
|
|
9018
10005
|
let headers : {[key: string ]: string} = { };
|