@alicloud/ga20191120 2.0.0 → 2.1.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 +178 -20
- package/dist/client.js +240 -20
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +274 -20
package/dist/client.js
CHANGED
|
@@ -3720,6 +3720,7 @@ class DescribeApplicationMonitorResponseBody extends $tea.Model {
|
|
|
3720
3720
|
regionId: 'RegionId',
|
|
3721
3721
|
requestId: 'RequestId',
|
|
3722
3722
|
silenceTime: 'SilenceTime',
|
|
3723
|
+
state: 'State',
|
|
3723
3724
|
taskId: 'TaskId',
|
|
3724
3725
|
taskName: 'TaskName',
|
|
3725
3726
|
};
|
|
@@ -3737,6 +3738,7 @@ class DescribeApplicationMonitorResponseBody extends $tea.Model {
|
|
|
3737
3738
|
regionId: 'string',
|
|
3738
3739
|
requestId: 'string',
|
|
3739
3740
|
silenceTime: 'number',
|
|
3741
|
+
state: 'string',
|
|
3740
3742
|
taskId: 'string',
|
|
3741
3743
|
taskName: 'string',
|
|
3742
3744
|
};
|
|
@@ -4655,6 +4657,78 @@ class DescribeListenerResponse extends $tea.Model {
|
|
|
4655
4657
|
}
|
|
4656
4658
|
}
|
|
4657
4659
|
exports.DescribeListenerResponse = DescribeListenerResponse;
|
|
4660
|
+
class DescribeLogStoreOfEndpointGroupRequest extends $tea.Model {
|
|
4661
|
+
constructor(map) {
|
|
4662
|
+
super(map);
|
|
4663
|
+
}
|
|
4664
|
+
static names() {
|
|
4665
|
+
return {
|
|
4666
|
+
acceleratorId: 'AcceleratorId',
|
|
4667
|
+
endpointGroupId: 'EndpointGroupId',
|
|
4668
|
+
listenerId: 'ListenerId',
|
|
4669
|
+
regionId: 'RegionId',
|
|
4670
|
+
};
|
|
4671
|
+
}
|
|
4672
|
+
static types() {
|
|
4673
|
+
return {
|
|
4674
|
+
acceleratorId: 'string',
|
|
4675
|
+
endpointGroupId: 'string',
|
|
4676
|
+
listenerId: 'string',
|
|
4677
|
+
regionId: 'string',
|
|
4678
|
+
};
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
exports.DescribeLogStoreOfEndpointGroupRequest = DescribeLogStoreOfEndpointGroupRequest;
|
|
4682
|
+
class DescribeLogStoreOfEndpointGroupResponseBody extends $tea.Model {
|
|
4683
|
+
constructor(map) {
|
|
4684
|
+
super(map);
|
|
4685
|
+
}
|
|
4686
|
+
static names() {
|
|
4687
|
+
return {
|
|
4688
|
+
acceleratorId: 'AcceleratorId',
|
|
4689
|
+
endpointGroupId: 'EndpointGroupId',
|
|
4690
|
+
listenerId: 'ListenerId',
|
|
4691
|
+
requestId: 'RequestId',
|
|
4692
|
+
slsLogStoreName: 'SlsLogStoreName',
|
|
4693
|
+
slsProjectName: 'SlsProjectName',
|
|
4694
|
+
slsRegionId: 'SlsRegionId',
|
|
4695
|
+
status: 'Status',
|
|
4696
|
+
};
|
|
4697
|
+
}
|
|
4698
|
+
static types() {
|
|
4699
|
+
return {
|
|
4700
|
+
acceleratorId: 'string',
|
|
4701
|
+
endpointGroupId: 'string',
|
|
4702
|
+
listenerId: 'string',
|
|
4703
|
+
requestId: 'string',
|
|
4704
|
+
slsLogStoreName: 'string',
|
|
4705
|
+
slsProjectName: 'string',
|
|
4706
|
+
slsRegionId: 'string',
|
|
4707
|
+
status: 'string',
|
|
4708
|
+
};
|
|
4709
|
+
}
|
|
4710
|
+
}
|
|
4711
|
+
exports.DescribeLogStoreOfEndpointGroupResponseBody = DescribeLogStoreOfEndpointGroupResponseBody;
|
|
4712
|
+
class DescribeLogStoreOfEndpointGroupResponse extends $tea.Model {
|
|
4713
|
+
constructor(map) {
|
|
4714
|
+
super(map);
|
|
4715
|
+
}
|
|
4716
|
+
static names() {
|
|
4717
|
+
return {
|
|
4718
|
+
headers: 'headers',
|
|
4719
|
+
statusCode: 'statusCode',
|
|
4720
|
+
body: 'body',
|
|
4721
|
+
};
|
|
4722
|
+
}
|
|
4723
|
+
static types() {
|
|
4724
|
+
return {
|
|
4725
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4726
|
+
statusCode: 'number',
|
|
4727
|
+
body: DescribeLogStoreOfEndpointGroupResponseBody,
|
|
4728
|
+
};
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
exports.DescribeLogStoreOfEndpointGroupResponse = DescribeLogStoreOfEndpointGroupResponse;
|
|
4658
4732
|
class DescribeRegionsRequest extends $tea.Model {
|
|
4659
4733
|
constructor(map) {
|
|
4660
4734
|
super(map);
|
|
@@ -10642,6 +10716,7 @@ class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
10642
10716
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
10643
10717
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
10644
10718
|
endpoint: 'Endpoint',
|
|
10719
|
+
subAddress: 'SubAddress',
|
|
10645
10720
|
type: 'Type',
|
|
10646
10721
|
weight: 'Weight',
|
|
10647
10722
|
};
|
|
@@ -10651,6 +10726,7 @@ class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
10651
10726
|
enableClientIPPreservation: 'boolean',
|
|
10652
10727
|
enableProxyProtocol: 'boolean',
|
|
10653
10728
|
endpoint: 'string',
|
|
10729
|
+
subAddress: 'string',
|
|
10654
10730
|
type: 'string',
|
|
10655
10731
|
weight: 'number',
|
|
10656
10732
|
};
|
|
@@ -10700,6 +10776,7 @@ class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
10700
10776
|
static names() {
|
|
10701
10777
|
return {
|
|
10702
10778
|
endpoint: 'Endpoint',
|
|
10779
|
+
subAddress: 'SubAddress',
|
|
10703
10780
|
type: 'Type',
|
|
10704
10781
|
weight: 'Weight',
|
|
10705
10782
|
};
|
|
@@ -10707,6 +10784,7 @@ class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
10707
10784
|
static types() {
|
|
10708
10785
|
return {
|
|
10709
10786
|
endpoint: 'string',
|
|
10787
|
+
subAddress: 'string',
|
|
10710
10788
|
type: 'string',
|
|
10711
10789
|
weight: 'number',
|
|
10712
10790
|
};
|
|
@@ -11718,6 +11796,7 @@ class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $tea.Model
|
|
|
11718
11796
|
endpoint: 'Endpoint',
|
|
11719
11797
|
probePort: 'ProbePort',
|
|
11720
11798
|
probeProtocol: 'ProbeProtocol',
|
|
11799
|
+
subAddress: 'SubAddress',
|
|
11721
11800
|
type: 'Type',
|
|
11722
11801
|
weight: 'Weight',
|
|
11723
11802
|
};
|
|
@@ -11729,6 +11808,7 @@ class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $tea.Model
|
|
|
11729
11808
|
endpoint: 'string',
|
|
11730
11809
|
probePort: 'number',
|
|
11731
11810
|
probeProtocol: 'string',
|
|
11811
|
+
subAddress: 'string',
|
|
11732
11812
|
type: 'string',
|
|
11733
11813
|
weight: 'number',
|
|
11734
11814
|
};
|
|
@@ -13370,6 +13450,7 @@ class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations extends
|
|
|
13370
13450
|
endpointId: 'EndpointId',
|
|
13371
13451
|
probePort: 'ProbePort',
|
|
13372
13452
|
probeProtocol: 'ProbeProtocol',
|
|
13453
|
+
subAddress: 'SubAddress',
|
|
13373
13454
|
type: 'Type',
|
|
13374
13455
|
weight: 'Weight',
|
|
13375
13456
|
};
|
|
@@ -13381,6 +13462,7 @@ class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations extends
|
|
|
13381
13462
|
endpointId: 'string',
|
|
13382
13463
|
probePort: 'number',
|
|
13383
13464
|
probeProtocol: 'string',
|
|
13465
|
+
subAddress: 'string',
|
|
13384
13466
|
type: 'string',
|
|
13385
13467
|
weight: 'number',
|
|
13386
13468
|
};
|
|
@@ -14148,6 +14230,7 @@ class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
14148
14230
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
14149
14231
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
14150
14232
|
endpoint: 'Endpoint',
|
|
14233
|
+
subAddress: 'SubAddress',
|
|
14151
14234
|
type: 'Type',
|
|
14152
14235
|
weight: 'Weight',
|
|
14153
14236
|
};
|
|
@@ -14157,6 +14240,7 @@ class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
14157
14240
|
enableClientIPPreservation: 'boolean',
|
|
14158
14241
|
enableProxyProtocol: 'boolean',
|
|
14159
14242
|
endpoint: 'string',
|
|
14243
|
+
subAddress: 'string',
|
|
14160
14244
|
type: 'string',
|
|
14161
14245
|
weight: 'number',
|
|
14162
14246
|
};
|
|
@@ -14188,6 +14272,7 @@ class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
14188
14272
|
static names() {
|
|
14189
14273
|
return {
|
|
14190
14274
|
endpoint: 'Endpoint',
|
|
14275
|
+
subAddress: 'SubAddress',
|
|
14191
14276
|
type: 'Type',
|
|
14192
14277
|
weight: 'Weight',
|
|
14193
14278
|
};
|
|
@@ -14195,6 +14280,7 @@ class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
14195
14280
|
static types() {
|
|
14196
14281
|
return {
|
|
14197
14282
|
endpoint: 'string',
|
|
14283
|
+
subAddress: 'string',
|
|
14198
14284
|
type: 'string',
|
|
14199
14285
|
weight: 'number',
|
|
14200
14286
|
};
|
|
@@ -18172,6 +18258,14 @@ class Client extends openapi_client_1.default {
|
|
|
18172
18258
|
let runtime = new $Util.RuntimeOptions({});
|
|
18173
18259
|
return await this.describeEndpointGroupWithOptions(request, runtime);
|
|
18174
18260
|
}
|
|
18261
|
+
/**
|
|
18262
|
+
* ## Debugging
|
|
18263
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=DescribeIpSet\\&type=RPC\\&version=2019-11-20)
|
|
18264
|
+
*
|
|
18265
|
+
* @param request DescribeIpSetRequest
|
|
18266
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18267
|
+
* @return DescribeIpSetResponse
|
|
18268
|
+
*/
|
|
18175
18269
|
async describeIpSetWithOptions(request, runtime) {
|
|
18176
18270
|
tea_util_1.default.validateModel(request);
|
|
18177
18271
|
let query = {};
|
|
@@ -18197,6 +18291,13 @@ class Client extends openapi_client_1.default {
|
|
|
18197
18291
|
});
|
|
18198
18292
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeIpSetResponse({}));
|
|
18199
18293
|
}
|
|
18294
|
+
/**
|
|
18295
|
+
* ## Debugging
|
|
18296
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=DescribeIpSet\\&type=RPC\\&version=2019-11-20)
|
|
18297
|
+
*
|
|
18298
|
+
* @param request DescribeIpSetRequest
|
|
18299
|
+
* @return DescribeIpSetResponse
|
|
18300
|
+
*/
|
|
18200
18301
|
async describeIpSet(request) {
|
|
18201
18302
|
let runtime = new $Util.RuntimeOptions({});
|
|
18202
18303
|
return await this.describeIpSetWithOptions(request, runtime);
|
|
@@ -18243,6 +18344,41 @@ class Client extends openapi_client_1.default {
|
|
|
18243
18344
|
let runtime = new $Util.RuntimeOptions({});
|
|
18244
18345
|
return await this.describeListenerWithOptions(request, runtime);
|
|
18245
18346
|
}
|
|
18347
|
+
async describeLogStoreOfEndpointGroupWithOptions(request, runtime) {
|
|
18348
|
+
tea_util_1.default.validateModel(request);
|
|
18349
|
+
let query = {};
|
|
18350
|
+
if (!tea_util_1.default.isUnset(request.acceleratorId)) {
|
|
18351
|
+
query["AcceleratorId"] = request.acceleratorId;
|
|
18352
|
+
}
|
|
18353
|
+
if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
|
|
18354
|
+
query["EndpointGroupId"] = request.endpointGroupId;
|
|
18355
|
+
}
|
|
18356
|
+
if (!tea_util_1.default.isUnset(request.listenerId)) {
|
|
18357
|
+
query["ListenerId"] = request.listenerId;
|
|
18358
|
+
}
|
|
18359
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
18360
|
+
query["RegionId"] = request.regionId;
|
|
18361
|
+
}
|
|
18362
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18363
|
+
query: openapi_util_1.default.query(query),
|
|
18364
|
+
});
|
|
18365
|
+
let params = new $OpenApi.Params({
|
|
18366
|
+
action: "DescribeLogStoreOfEndpointGroup",
|
|
18367
|
+
version: "2019-11-20",
|
|
18368
|
+
protocol: "HTTPS",
|
|
18369
|
+
pathname: "/",
|
|
18370
|
+
method: "POST",
|
|
18371
|
+
authType: "AK",
|
|
18372
|
+
style: "RPC",
|
|
18373
|
+
reqBodyType: "formData",
|
|
18374
|
+
bodyType: "json",
|
|
18375
|
+
});
|
|
18376
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLogStoreOfEndpointGroupResponse({}));
|
|
18377
|
+
}
|
|
18378
|
+
async describeLogStoreOfEndpointGroup(request) {
|
|
18379
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18380
|
+
return await this.describeLogStoreOfEndpointGroupWithOptions(request, runtime);
|
|
18381
|
+
}
|
|
18246
18382
|
async describeRegionsWithOptions(request, runtime) {
|
|
18247
18383
|
tea_util_1.default.validateModel(request);
|
|
18248
18384
|
let query = {};
|
|
@@ -18318,6 +18454,7 @@ class Client extends openapi_client_1.default {
|
|
|
18318
18454
|
return await this.detachDdosFromAcceleratorWithOptions(request, runtime);
|
|
18319
18455
|
}
|
|
18320
18456
|
/**
|
|
18457
|
+
* ## Description
|
|
18321
18458
|
* * **DetachLogStoreFromEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
18322
18459
|
* * If the endpoint group is in the **updating** state, the Log Service Logstore is being disassociated from the endpoint group. In this case, you can perform only query operations.
|
|
18323
18460
|
* <!---->
|
|
@@ -18363,6 +18500,7 @@ class Client extends openapi_client_1.default {
|
|
|
18363
18500
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachLogStoreFromEndpointGroupResponse({}));
|
|
18364
18501
|
}
|
|
18365
18502
|
/**
|
|
18503
|
+
* ## Description
|
|
18366
18504
|
* * **DetachLogStoreFromEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
18367
18505
|
* * If the endpoint group is in the **updating** state, the Log Service Logstore is being disassociated from the endpoint group. In this case, you can perform only query operations.
|
|
18368
18506
|
* <!---->
|
|
@@ -18441,6 +18579,7 @@ class Client extends openapi_client_1.default {
|
|
|
18441
18579
|
return await this.disableApplicationMonitorWithOptions(request, runtime);
|
|
18442
18580
|
}
|
|
18443
18581
|
/**
|
|
18582
|
+
* ## Description
|
|
18444
18583
|
* * **DissociateAclsFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of a listener:
|
|
18445
18584
|
* * If the listener is in the **updating** state, ACLs are being disassociated from the listener. In this case, you can perform only query operations.
|
|
18446
18585
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -18485,6 +18624,7 @@ class Client extends openapi_client_1.default {
|
|
|
18485
18624
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateAclsFromListenerResponse({}));
|
|
18486
18625
|
}
|
|
18487
18626
|
/**
|
|
18627
|
+
* ## Description
|
|
18488
18628
|
* * **DissociateAclsFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of a listener:
|
|
18489
18629
|
* * If the listener is in the **updating** state, ACLs are being disassociated from the listener. In this case, you can perform only query operations.
|
|
18490
18630
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -18498,6 +18638,7 @@ class Client extends openapi_client_1.default {
|
|
|
18498
18638
|
return await this.dissociateAclsFromListenerWithOptions(request, runtime);
|
|
18499
18639
|
}
|
|
18500
18640
|
/**
|
|
18641
|
+
* ## Description
|
|
18501
18642
|
* * **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but this operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of an HTTPS listener.
|
|
18502
18643
|
* * If the listener is in the **updating** state, it indicates that the additional certificate is being dissociated from the listener. In this case, you can perform only query operations.
|
|
18503
18644
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -18542,6 +18683,7 @@ class Client extends openapi_client_1.default {
|
|
|
18542
18683
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateAdditionalCertificatesFromListenerResponse({}));
|
|
18543
18684
|
}
|
|
18544
18685
|
/**
|
|
18686
|
+
* ## Description
|
|
18545
18687
|
* * **DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but this operation is still being performed in the system background. You can call the [DescribeListener](~~153254~~) operation to query the state of an HTTPS listener.
|
|
18546
18688
|
* * If the listener is in the **updating** state, it indicates that the additional certificate is being dissociated from the listener. In this case, you can perform only query operations.
|
|
18547
18689
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -19603,6 +19745,14 @@ class Client extends openapi_client_1.default {
|
|
|
19603
19745
|
let runtime = new $Util.RuntimeOptions({});
|
|
19604
19746
|
return await this.listCustomRoutingEndpointGroupDestinationsWithOptions(request, runtime);
|
|
19605
19747
|
}
|
|
19748
|
+
/**
|
|
19749
|
+
* ## Debugging
|
|
19750
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListCustomRoutingEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
19751
|
+
*
|
|
19752
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
19753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19754
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
19755
|
+
*/
|
|
19606
19756
|
async listCustomRoutingEndpointGroupsWithOptions(request, runtime) {
|
|
19607
19757
|
tea_util_1.default.validateModel(request);
|
|
19608
19758
|
let query = {};
|
|
@@ -19640,6 +19790,13 @@ class Client extends openapi_client_1.default {
|
|
|
19640
19790
|
});
|
|
19641
19791
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCustomRoutingEndpointGroupsResponse({}));
|
|
19642
19792
|
}
|
|
19793
|
+
/**
|
|
19794
|
+
* ## Debugging
|
|
19795
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListCustomRoutingEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
19796
|
+
*
|
|
19797
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
19798
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
19799
|
+
*/
|
|
19643
19800
|
async listCustomRoutingEndpointGroups(request) {
|
|
19644
19801
|
let runtime = new $Util.RuntimeOptions({});
|
|
19645
19802
|
return await this.listCustomRoutingEndpointGroupsWithOptions(request, runtime);
|
|
@@ -19894,6 +20051,14 @@ class Client extends openapi_client_1.default {
|
|
|
19894
20051
|
let runtime = new $Util.RuntimeOptions({});
|
|
19895
20052
|
return await this.listEndpointGroupIpAddressCidrBlocksWithOptions(request, runtime);
|
|
19896
20053
|
}
|
|
20054
|
+
/**
|
|
20055
|
+
* ## Debugging
|
|
20056
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
20057
|
+
*
|
|
20058
|
+
* @param request ListEndpointGroupsRequest
|
|
20059
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20060
|
+
* @return ListEndpointGroupsResponse
|
|
20061
|
+
*/
|
|
19897
20062
|
async listEndpointGroupsWithOptions(request, runtime) {
|
|
19898
20063
|
tea_util_1.default.validateModel(request);
|
|
19899
20064
|
let query = {};
|
|
@@ -19940,12 +20105,19 @@ class Client extends openapi_client_1.default {
|
|
|
19940
20105
|
});
|
|
19941
20106
|
return $tea.cast(await this.callApi(params, req, runtime), new ListEndpointGroupsResponse({}));
|
|
19942
20107
|
}
|
|
20108
|
+
/**
|
|
20109
|
+
* ## Debugging
|
|
20110
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Ga\\&api=ListEndpointGroups\\&type=RPC\\&version=2019-11-20)
|
|
20111
|
+
*
|
|
20112
|
+
* @param request ListEndpointGroupsRequest
|
|
20113
|
+
* @return ListEndpointGroupsResponse
|
|
20114
|
+
*/
|
|
19943
20115
|
async listEndpointGroups(request) {
|
|
19944
20116
|
let runtime = new $Util.RuntimeOptions({});
|
|
19945
20117
|
return await this.listEndpointGroupsWithOptions(request, runtime);
|
|
19946
20118
|
}
|
|
19947
20119
|
/**
|
|
19948
|
-
* >
|
|
20120
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
19949
20121
|
*
|
|
19950
20122
|
* @param request ListForwardingRulesRequest
|
|
19951
20123
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19992,7 +20164,7 @@ class Client extends openapi_client_1.default {
|
|
|
19992
20164
|
return $tea.cast(await this.callApi(params, req, runtime), new ListForwardingRulesResponse({}));
|
|
19993
20165
|
}
|
|
19994
20166
|
/**
|
|
19995
|
-
* >
|
|
20167
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
19996
20168
|
*
|
|
19997
20169
|
* @param request ListForwardingRulesRequest
|
|
19998
20170
|
* @return ListForwardingRulesResponse
|
|
@@ -20788,6 +20960,18 @@ class Client extends openapi_client_1.default {
|
|
|
20788
20960
|
let runtime = new $Util.RuntimeOptions({});
|
|
20789
20961
|
return await this.updateAcceleratorCrossBorderModeWithOptions(request, runtime);
|
|
20790
20962
|
}
|
|
20963
|
+
/**
|
|
20964
|
+
* You can use this operation to enable or disable the cross-border data transmission feature for a GA instance. Before you enable the cross-border data transmission feature, make sure that the following requirements are met:
|
|
20965
|
+
* - **Basic GA instances**:
|
|
20966
|
+
* Cloud Data Transfer (CDT) is activated. When you call the CreateBasicAccelerator operation to create a basic GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
20967
|
+
* If you want to enable the cross-border data transmission feature, make sure that the current account has completed enterprise real-name registration. For more information, see Real-name registration FAQs.
|
|
20968
|
+
* - **Standard GA instances**:
|
|
20969
|
+
* CDT is activated. When you call the CreateAccelerator operation to create a standard GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
20970
|
+
*
|
|
20971
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
20972
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20973
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
20974
|
+
*/
|
|
20791
20975
|
async updateAcceleratorCrossBorderStatusWithOptions(request, runtime) {
|
|
20792
20976
|
tea_util_1.default.validateModel(request);
|
|
20793
20977
|
let query = {};
|
|
@@ -20819,6 +21003,17 @@ class Client extends openapi_client_1.default {
|
|
|
20819
21003
|
});
|
|
20820
21004
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAcceleratorCrossBorderStatusResponse({}));
|
|
20821
21005
|
}
|
|
21006
|
+
/**
|
|
21007
|
+
* You can use this operation to enable or disable the cross-border data transmission feature for a GA instance. Before you enable the cross-border data transmission feature, make sure that the following requirements are met:
|
|
21008
|
+
* - **Basic GA instances**:
|
|
21009
|
+
* Cloud Data Transfer (CDT) is activated. When you call the CreateBasicAccelerator operation to create a basic GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
21010
|
+
* If you want to enable the cross-border data transmission feature, make sure that the current account has completed enterprise real-name registration. For more information, see Real-name registration FAQs.
|
|
21011
|
+
* - **Standard GA instances**:
|
|
21012
|
+
* CDT is activated. When you call the CreateAccelerator operation to create a standard GA instance, set BandwidthBillingType to CDT. Then, the system automatically activates CDT. The data transfer fees are managed by CDT.
|
|
21013
|
+
*
|
|
21014
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
21015
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
21016
|
+
*/
|
|
20822
21017
|
async updateAcceleratorCrossBorderStatus(request) {
|
|
20823
21018
|
let runtime = new $Util.RuntimeOptions({});
|
|
20824
21019
|
return await this.updateAcceleratorCrossBorderStatusWithOptions(request, runtime);
|
|
@@ -21482,6 +21677,7 @@ class Client extends openapi_client_1.default {
|
|
|
21482
21677
|
return await this.updateCustomRoutingEndpointTrafficPoliciesWithOptions(request, runtime);
|
|
21483
21678
|
}
|
|
21484
21679
|
/**
|
|
21680
|
+
* ## Description
|
|
21485
21681
|
* * **UpdateCustomRoutingEndpoints** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeCustomRoutingEndpointGroup](~~449373~~) operation to query the state of the endpoint groups associated with a custom routing listener to check whether the endpoints in the endpoint groups are modified.
|
|
21486
21682
|
* * If an endpoint group is in the **updating** state, the endpoints in the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21487
21683
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -21523,6 +21719,7 @@ class Client extends openapi_client_1.default {
|
|
|
21523
21719
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCustomRoutingEndpointsResponse({}));
|
|
21524
21720
|
}
|
|
21525
21721
|
/**
|
|
21722
|
+
* ## Description
|
|
21526
21723
|
* * **UpdateCustomRoutingEndpoints** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeCustomRoutingEndpointGroup](~~449373~~) operation to query the state of the endpoint groups associated with a custom routing listener to check whether the endpoints in the endpoint groups are modified.
|
|
21527
21724
|
* * If an endpoint group is in the **updating** state, the endpoints in the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21528
21725
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -21628,9 +21825,9 @@ class Client extends openapi_client_1.default {
|
|
|
21628
21825
|
}
|
|
21629
21826
|
/**
|
|
21630
21827
|
* * **UpdateEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
21631
|
-
* * If the endpoint group is in the **updating** state, the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21632
|
-
* * If the endpoint group is in the **active** state, the configurations of the endpoint group are modified.
|
|
21633
|
-
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
21828
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21829
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
21830
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
21634
21831
|
*
|
|
21635
21832
|
* @param request UpdateEndpointGroupRequest
|
|
21636
21833
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21705,9 +21902,9 @@ class Client extends openapi_client_1.default {
|
|
|
21705
21902
|
}
|
|
21706
21903
|
/**
|
|
21707
21904
|
* * **UpdateEndpointGroup** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the system background. You can call the [DescribeEndpointGroup](~~153260~~) operation to query the state of an endpoint group.
|
|
21708
|
-
* * If the endpoint group is in the **updating** state, the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21709
|
-
* * If the endpoint group is in the **active** state, the configurations of the endpoint group are modified.
|
|
21710
|
-
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same GA instance within a specific period of time.
|
|
21905
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configurations of the endpoint group are being modified. In this case, you can perform only query operations.
|
|
21906
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
21907
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
21711
21908
|
*
|
|
21712
21909
|
* @param request UpdateEndpointGroupRequest
|
|
21713
21910
|
* @return UpdateEndpointGroupResponse
|
|
@@ -21755,10 +21952,11 @@ class Client extends openapi_client_1.default {
|
|
|
21755
21952
|
return await this.updateEndpointGroupAttributeWithOptions(request, runtime);
|
|
21756
21953
|
}
|
|
21757
21954
|
/**
|
|
21758
|
-
*
|
|
21759
|
-
*
|
|
21760
|
-
* * If the endpoint group is in the **
|
|
21761
|
-
*
|
|
21955
|
+
* ### Description
|
|
21956
|
+
* * **UpdateEndpointGroups** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeEndpointGroup](~~153260~~) or [ListEndpointGroups](~~153261~~) operation to query the status of an endpoint group.
|
|
21957
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configuration of the endpoint group is being modified. In this case, you can perform only query operations.
|
|
21958
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
21959
|
+
* * The **UpdateEndpointGroups** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
21762
21960
|
*
|
|
21763
21961
|
* @param request UpdateEndpointGroupsRequest
|
|
21764
21962
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21799,10 +21997,11 @@ class Client extends openapi_client_1.default {
|
|
|
21799
21997
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateEndpointGroupsResponse({}));
|
|
21800
21998
|
}
|
|
21801
21999
|
/**
|
|
21802
|
-
*
|
|
21803
|
-
*
|
|
21804
|
-
* * If the endpoint group is in the **
|
|
21805
|
-
*
|
|
22000
|
+
* ### Description
|
|
22001
|
+
* * **UpdateEndpointGroups** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeEndpointGroup](~~153260~~) or [ListEndpointGroups](~~153261~~) operation to query the status of an endpoint group.
|
|
22002
|
+
* * If the endpoint group is in the **updating** state, it indicates that the configuration of the endpoint group is being modified. In this case, you can perform only query operations.
|
|
22003
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
22004
|
+
* * The **UpdateEndpointGroups** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
21806
22005
|
*
|
|
21807
22006
|
* @param request UpdateEndpointGroupsRequest
|
|
21808
22007
|
* @return UpdateEndpointGroupsResponse
|
|
@@ -21812,10 +22011,10 @@ class Client extends openapi_client_1.default {
|
|
|
21812
22011
|
return await this.updateEndpointGroupsWithOptions(request, runtime);
|
|
21813
22012
|
}
|
|
21814
22013
|
/**
|
|
21815
|
-
* * **UpdateForwardingRules** is an asynchronous operation. After
|
|
22014
|
+
* * **UpdateForwardingRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListForwardingRules](~~205817~~) operation to query the status of a forwarding rule.
|
|
21816
22015
|
* * If the forwarding rule is in the **configuring** state, it indicates that the forwarding rule is being modified. In this case, you can perform only query operations.
|
|
21817
22016
|
* * If the forwarding rule is in the **active** state, it indicates that the forwarding rule is modified.
|
|
21818
|
-
* * The **UpdateForwardingRules** operation
|
|
22017
|
+
* * The **UpdateForwardingRules** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
21819
22018
|
*
|
|
21820
22019
|
* @param request UpdateForwardingRulesRequest
|
|
21821
22020
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21856,10 +22055,10 @@ class Client extends openapi_client_1.default {
|
|
|
21856
22055
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateForwardingRulesResponse({}));
|
|
21857
22056
|
}
|
|
21858
22057
|
/**
|
|
21859
|
-
* * **UpdateForwardingRules** is an asynchronous operation. After
|
|
22058
|
+
* * **UpdateForwardingRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListForwardingRules](~~205817~~) operation to query the status of a forwarding rule.
|
|
21860
22059
|
* * If the forwarding rule is in the **configuring** state, it indicates that the forwarding rule is being modified. In this case, you can perform only query operations.
|
|
21861
22060
|
* * If the forwarding rule is in the **active** state, it indicates that the forwarding rule is modified.
|
|
21862
|
-
* * The **UpdateForwardingRules** operation
|
|
22061
|
+
* * The **UpdateForwardingRules** operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
|
|
21863
22062
|
*
|
|
21864
22063
|
* @param request UpdateForwardingRulesRequest
|
|
21865
22064
|
* @return UpdateForwardingRulesResponse
|
|
@@ -22055,6 +22254,17 @@ class Client extends openapi_client_1.default {
|
|
|
22055
22254
|
let runtime = new $Util.RuntimeOptions({});
|
|
22056
22255
|
return await this.updateListenerWithOptions(request, runtime);
|
|
22057
22256
|
}
|
|
22257
|
+
/**
|
|
22258
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
22259
|
+
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you cannot change the mode of the instance to managed mode.
|
|
22260
|
+
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you can obtain all operation permissions on the instance.
|
|
22261
|
+
* **
|
|
22262
|
+
* **Warning** If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.
|
|
22263
|
+
*
|
|
22264
|
+
* @param request UpdateServiceManagedControlRequest
|
|
22265
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22266
|
+
* @return UpdateServiceManagedControlResponse
|
|
22267
|
+
*/
|
|
22058
22268
|
async updateServiceManagedControlWithOptions(request, runtime) {
|
|
22059
22269
|
tea_util_1.default.validateModel(request);
|
|
22060
22270
|
let query = {};
|
|
@@ -22089,6 +22299,16 @@ class Client extends openapi_client_1.default {
|
|
|
22089
22299
|
});
|
|
22090
22300
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceManagedControlResponse({}));
|
|
22091
22301
|
}
|
|
22302
|
+
/**
|
|
22303
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
22304
|
+
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you cannot change the mode of the instance to managed mode.
|
|
22305
|
+
* * After you change the control mode of a GA instance from managed mode to unmanaged mode, you can obtain all operation permissions on the instance.
|
|
22306
|
+
* **
|
|
22307
|
+
* **Warning** If you change or delete a configuration of a GA instance whose control mode is changed from managed mode to unmanaged mode, the cloud services that depend on the instance may not work as expected. Proceed with caution.
|
|
22308
|
+
*
|
|
22309
|
+
* @param request UpdateServiceManagedControlRequest
|
|
22310
|
+
* @return UpdateServiceManagedControlResponse
|
|
22311
|
+
*/
|
|
22092
22312
|
async updateServiceManagedControl(request) {
|
|
22093
22313
|
let runtime = new $Util.RuntimeOptions({});
|
|
22094
22314
|
return await this.updateServiceManagedControlWithOptions(request, runtime);
|