@alicloud/ga20191120 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +173 -16
- package/dist/client.js +234 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +267 -16
package/dist/client.js
CHANGED
|
@@ -4655,6 +4655,78 @@ class DescribeListenerResponse extends $tea.Model {
|
|
|
4655
4655
|
}
|
|
4656
4656
|
}
|
|
4657
4657
|
exports.DescribeListenerResponse = DescribeListenerResponse;
|
|
4658
|
+
class DescribeLogStoreOfEndpointGroupRequest extends $tea.Model {
|
|
4659
|
+
constructor(map) {
|
|
4660
|
+
super(map);
|
|
4661
|
+
}
|
|
4662
|
+
static names() {
|
|
4663
|
+
return {
|
|
4664
|
+
acceleratorId: 'AcceleratorId',
|
|
4665
|
+
endpointGroupId: 'EndpointGroupId',
|
|
4666
|
+
listenerId: 'ListenerId',
|
|
4667
|
+
regionId: 'RegionId',
|
|
4668
|
+
};
|
|
4669
|
+
}
|
|
4670
|
+
static types() {
|
|
4671
|
+
return {
|
|
4672
|
+
acceleratorId: 'string',
|
|
4673
|
+
endpointGroupId: 'string',
|
|
4674
|
+
listenerId: 'string',
|
|
4675
|
+
regionId: 'string',
|
|
4676
|
+
};
|
|
4677
|
+
}
|
|
4678
|
+
}
|
|
4679
|
+
exports.DescribeLogStoreOfEndpointGroupRequest = DescribeLogStoreOfEndpointGroupRequest;
|
|
4680
|
+
class DescribeLogStoreOfEndpointGroupResponseBody extends $tea.Model {
|
|
4681
|
+
constructor(map) {
|
|
4682
|
+
super(map);
|
|
4683
|
+
}
|
|
4684
|
+
static names() {
|
|
4685
|
+
return {
|
|
4686
|
+
acceleratorId: 'AcceleratorId',
|
|
4687
|
+
endpointGroupId: 'EndpointGroupId',
|
|
4688
|
+
listenerId: 'ListenerId',
|
|
4689
|
+
requestId: 'RequestId',
|
|
4690
|
+
slsLogStoreName: 'SlsLogStoreName',
|
|
4691
|
+
slsProjectName: 'SlsProjectName',
|
|
4692
|
+
slsRegionId: 'SlsRegionId',
|
|
4693
|
+
status: 'Status',
|
|
4694
|
+
};
|
|
4695
|
+
}
|
|
4696
|
+
static types() {
|
|
4697
|
+
return {
|
|
4698
|
+
acceleratorId: 'string',
|
|
4699
|
+
endpointGroupId: 'string',
|
|
4700
|
+
listenerId: 'string',
|
|
4701
|
+
requestId: 'string',
|
|
4702
|
+
slsLogStoreName: 'string',
|
|
4703
|
+
slsProjectName: 'string',
|
|
4704
|
+
slsRegionId: 'string',
|
|
4705
|
+
status: 'string',
|
|
4706
|
+
};
|
|
4707
|
+
}
|
|
4708
|
+
}
|
|
4709
|
+
exports.DescribeLogStoreOfEndpointGroupResponseBody = DescribeLogStoreOfEndpointGroupResponseBody;
|
|
4710
|
+
class DescribeLogStoreOfEndpointGroupResponse extends $tea.Model {
|
|
4711
|
+
constructor(map) {
|
|
4712
|
+
super(map);
|
|
4713
|
+
}
|
|
4714
|
+
static names() {
|
|
4715
|
+
return {
|
|
4716
|
+
headers: 'headers',
|
|
4717
|
+
statusCode: 'statusCode',
|
|
4718
|
+
body: 'body',
|
|
4719
|
+
};
|
|
4720
|
+
}
|
|
4721
|
+
static types() {
|
|
4722
|
+
return {
|
|
4723
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4724
|
+
statusCode: 'number',
|
|
4725
|
+
body: DescribeLogStoreOfEndpointGroupResponseBody,
|
|
4726
|
+
};
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4729
|
+
exports.DescribeLogStoreOfEndpointGroupResponse = DescribeLogStoreOfEndpointGroupResponse;
|
|
4658
4730
|
class DescribeRegionsRequest extends $tea.Model {
|
|
4659
4731
|
constructor(map) {
|
|
4660
4732
|
super(map);
|
|
@@ -10642,6 +10714,7 @@ class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
10642
10714
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
10643
10715
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
10644
10716
|
endpoint: 'Endpoint',
|
|
10717
|
+
subAddress: 'SubAddress',
|
|
10645
10718
|
type: 'Type',
|
|
10646
10719
|
weight: 'Weight',
|
|
10647
10720
|
};
|
|
@@ -10651,6 +10724,7 @@ class CreateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
10651
10724
|
enableClientIPPreservation: 'boolean',
|
|
10652
10725
|
enableProxyProtocol: 'boolean',
|
|
10653
10726
|
endpoint: 'string',
|
|
10727
|
+
subAddress: 'string',
|
|
10654
10728
|
type: 'string',
|
|
10655
10729
|
weight: 'number',
|
|
10656
10730
|
};
|
|
@@ -10700,6 +10774,7 @@ class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
10700
10774
|
static names() {
|
|
10701
10775
|
return {
|
|
10702
10776
|
endpoint: 'Endpoint',
|
|
10777
|
+
subAddress: 'SubAddress',
|
|
10703
10778
|
type: 'Type',
|
|
10704
10779
|
weight: 'Weight',
|
|
10705
10780
|
};
|
|
@@ -10707,6 +10782,7 @@ class CreateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
10707
10782
|
static types() {
|
|
10708
10783
|
return {
|
|
10709
10784
|
endpoint: 'string',
|
|
10785
|
+
subAddress: 'string',
|
|
10710
10786
|
type: 'string',
|
|
10711
10787
|
weight: 'number',
|
|
10712
10788
|
};
|
|
@@ -11718,6 +11794,7 @@ class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $tea.Model
|
|
|
11718
11794
|
endpoint: 'Endpoint',
|
|
11719
11795
|
probePort: 'ProbePort',
|
|
11720
11796
|
probeProtocol: 'ProbeProtocol',
|
|
11797
|
+
subAddress: 'SubAddress',
|
|
11721
11798
|
type: 'Type',
|
|
11722
11799
|
weight: 'Weight',
|
|
11723
11800
|
};
|
|
@@ -11729,6 +11806,7 @@ class DescribeEndpointGroupResponseBodyEndpointConfigurations extends $tea.Model
|
|
|
11729
11806
|
endpoint: 'string',
|
|
11730
11807
|
probePort: 'number',
|
|
11731
11808
|
probeProtocol: 'string',
|
|
11809
|
+
subAddress: 'string',
|
|
11732
11810
|
type: 'string',
|
|
11733
11811
|
weight: 'number',
|
|
11734
11812
|
};
|
|
@@ -13370,6 +13448,7 @@ class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations extends
|
|
|
13370
13448
|
endpointId: 'EndpointId',
|
|
13371
13449
|
probePort: 'ProbePort',
|
|
13372
13450
|
probeProtocol: 'ProbeProtocol',
|
|
13451
|
+
subAddress: 'SubAddress',
|
|
13373
13452
|
type: 'Type',
|
|
13374
13453
|
weight: 'Weight',
|
|
13375
13454
|
};
|
|
@@ -13381,6 +13460,7 @@ class ListEndpointGroupsResponseBodyEndpointGroupsEndpointConfigurations extends
|
|
|
13381
13460
|
endpointId: 'string',
|
|
13382
13461
|
probePort: 'number',
|
|
13383
13462
|
probeProtocol: 'string',
|
|
13463
|
+
subAddress: 'string',
|
|
13384
13464
|
type: 'string',
|
|
13385
13465
|
weight: 'number',
|
|
13386
13466
|
};
|
|
@@ -14148,6 +14228,7 @@ class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
14148
14228
|
enableClientIPPreservation: 'EnableClientIPPreservation',
|
|
14149
14229
|
enableProxyProtocol: 'EnableProxyProtocol',
|
|
14150
14230
|
endpoint: 'Endpoint',
|
|
14231
|
+
subAddress: 'SubAddress',
|
|
14151
14232
|
type: 'Type',
|
|
14152
14233
|
weight: 'Weight',
|
|
14153
14234
|
};
|
|
@@ -14157,6 +14238,7 @@ class UpdateEndpointGroupRequestEndpointConfigurations extends $tea.Model {
|
|
|
14157
14238
|
enableClientIPPreservation: 'boolean',
|
|
14158
14239
|
enableProxyProtocol: 'boolean',
|
|
14159
14240
|
endpoint: 'string',
|
|
14241
|
+
subAddress: 'string',
|
|
14160
14242
|
type: 'string',
|
|
14161
14243
|
weight: 'number',
|
|
14162
14244
|
};
|
|
@@ -14188,6 +14270,7 @@ class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
14188
14270
|
static names() {
|
|
14189
14271
|
return {
|
|
14190
14272
|
endpoint: 'Endpoint',
|
|
14273
|
+
subAddress: 'SubAddress',
|
|
14191
14274
|
type: 'Type',
|
|
14192
14275
|
weight: 'Weight',
|
|
14193
14276
|
};
|
|
@@ -14195,6 +14278,7 @@ class UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfiguratio
|
|
|
14195
14278
|
static types() {
|
|
14196
14279
|
return {
|
|
14197
14280
|
endpoint: 'string',
|
|
14281
|
+
subAddress: 'string',
|
|
14198
14282
|
type: 'string',
|
|
14199
14283
|
weight: 'number',
|
|
14200
14284
|
};
|
|
@@ -18172,6 +18256,14 @@ class Client extends openapi_client_1.default {
|
|
|
18172
18256
|
let runtime = new $Util.RuntimeOptions({});
|
|
18173
18257
|
return await this.describeEndpointGroupWithOptions(request, runtime);
|
|
18174
18258
|
}
|
|
18259
|
+
/**
|
|
18260
|
+
* ## Debugging
|
|
18261
|
+
* [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)
|
|
18262
|
+
*
|
|
18263
|
+
* @param request DescribeIpSetRequest
|
|
18264
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18265
|
+
* @return DescribeIpSetResponse
|
|
18266
|
+
*/
|
|
18175
18267
|
async describeIpSetWithOptions(request, runtime) {
|
|
18176
18268
|
tea_util_1.default.validateModel(request);
|
|
18177
18269
|
let query = {};
|
|
@@ -18197,6 +18289,13 @@ class Client extends openapi_client_1.default {
|
|
|
18197
18289
|
});
|
|
18198
18290
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeIpSetResponse({}));
|
|
18199
18291
|
}
|
|
18292
|
+
/**
|
|
18293
|
+
* ## Debugging
|
|
18294
|
+
* [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)
|
|
18295
|
+
*
|
|
18296
|
+
* @param request DescribeIpSetRequest
|
|
18297
|
+
* @return DescribeIpSetResponse
|
|
18298
|
+
*/
|
|
18200
18299
|
async describeIpSet(request) {
|
|
18201
18300
|
let runtime = new $Util.RuntimeOptions({});
|
|
18202
18301
|
return await this.describeIpSetWithOptions(request, runtime);
|
|
@@ -18243,6 +18342,41 @@ class Client extends openapi_client_1.default {
|
|
|
18243
18342
|
let runtime = new $Util.RuntimeOptions({});
|
|
18244
18343
|
return await this.describeListenerWithOptions(request, runtime);
|
|
18245
18344
|
}
|
|
18345
|
+
async describeLogStoreOfEndpointGroupWithOptions(request, runtime) {
|
|
18346
|
+
tea_util_1.default.validateModel(request);
|
|
18347
|
+
let query = {};
|
|
18348
|
+
if (!tea_util_1.default.isUnset(request.acceleratorId)) {
|
|
18349
|
+
query["AcceleratorId"] = request.acceleratorId;
|
|
18350
|
+
}
|
|
18351
|
+
if (!tea_util_1.default.isUnset(request.endpointGroupId)) {
|
|
18352
|
+
query["EndpointGroupId"] = request.endpointGroupId;
|
|
18353
|
+
}
|
|
18354
|
+
if (!tea_util_1.default.isUnset(request.listenerId)) {
|
|
18355
|
+
query["ListenerId"] = request.listenerId;
|
|
18356
|
+
}
|
|
18357
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
18358
|
+
query["RegionId"] = request.regionId;
|
|
18359
|
+
}
|
|
18360
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18361
|
+
query: openapi_util_1.default.query(query),
|
|
18362
|
+
});
|
|
18363
|
+
let params = new $OpenApi.Params({
|
|
18364
|
+
action: "DescribeLogStoreOfEndpointGroup",
|
|
18365
|
+
version: "2019-11-20",
|
|
18366
|
+
protocol: "HTTPS",
|
|
18367
|
+
pathname: "/",
|
|
18368
|
+
method: "POST",
|
|
18369
|
+
authType: "AK",
|
|
18370
|
+
style: "RPC",
|
|
18371
|
+
reqBodyType: "formData",
|
|
18372
|
+
bodyType: "json",
|
|
18373
|
+
});
|
|
18374
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLogStoreOfEndpointGroupResponse({}));
|
|
18375
|
+
}
|
|
18376
|
+
async describeLogStoreOfEndpointGroup(request) {
|
|
18377
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18378
|
+
return await this.describeLogStoreOfEndpointGroupWithOptions(request, runtime);
|
|
18379
|
+
}
|
|
18246
18380
|
async describeRegionsWithOptions(request, runtime) {
|
|
18247
18381
|
tea_util_1.default.validateModel(request);
|
|
18248
18382
|
let query = {};
|
|
@@ -18318,6 +18452,7 @@ class Client extends openapi_client_1.default {
|
|
|
18318
18452
|
return await this.detachDdosFromAcceleratorWithOptions(request, runtime);
|
|
18319
18453
|
}
|
|
18320
18454
|
/**
|
|
18455
|
+
* ## Description
|
|
18321
18456
|
* * **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
18457
|
* * 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
18458
|
* <!---->
|
|
@@ -18363,6 +18498,7 @@ class Client extends openapi_client_1.default {
|
|
|
18363
18498
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachLogStoreFromEndpointGroupResponse({}));
|
|
18364
18499
|
}
|
|
18365
18500
|
/**
|
|
18501
|
+
* ## Description
|
|
18366
18502
|
* * **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
18503
|
* * 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
18504
|
* <!---->
|
|
@@ -18441,6 +18577,7 @@ class Client extends openapi_client_1.default {
|
|
|
18441
18577
|
return await this.disableApplicationMonitorWithOptions(request, runtime);
|
|
18442
18578
|
}
|
|
18443
18579
|
/**
|
|
18580
|
+
* ## Description
|
|
18444
18581
|
* * **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
18582
|
* * 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
18583
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -18485,6 +18622,7 @@ class Client extends openapi_client_1.default {
|
|
|
18485
18622
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateAclsFromListenerResponse({}));
|
|
18486
18623
|
}
|
|
18487
18624
|
/**
|
|
18625
|
+
* ## Description
|
|
18488
18626
|
* * **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
18627
|
* * 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
18628
|
* * If the listener is in the **active** state, ACLs are disassociated from the listener.
|
|
@@ -18498,6 +18636,7 @@ class Client extends openapi_client_1.default {
|
|
|
18498
18636
|
return await this.dissociateAclsFromListenerWithOptions(request, runtime);
|
|
18499
18637
|
}
|
|
18500
18638
|
/**
|
|
18639
|
+
* ## Description
|
|
18501
18640
|
* * **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
18641
|
* * 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
18642
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -18542,6 +18681,7 @@ class Client extends openapi_client_1.default {
|
|
|
18542
18681
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateAdditionalCertificatesFromListenerResponse({}));
|
|
18543
18682
|
}
|
|
18544
18683
|
/**
|
|
18684
|
+
* ## Description
|
|
18545
18685
|
* * **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
18686
|
* * 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
18687
|
* * If the listener is in the **active** state, it indicates that the additional certificate is dissociated from the listener.
|
|
@@ -19603,6 +19743,14 @@ class Client extends openapi_client_1.default {
|
|
|
19603
19743
|
let runtime = new $Util.RuntimeOptions({});
|
|
19604
19744
|
return await this.listCustomRoutingEndpointGroupDestinationsWithOptions(request, runtime);
|
|
19605
19745
|
}
|
|
19746
|
+
/**
|
|
19747
|
+
* ## Debugging
|
|
19748
|
+
* [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)
|
|
19749
|
+
*
|
|
19750
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
19751
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19752
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
19753
|
+
*/
|
|
19606
19754
|
async listCustomRoutingEndpointGroupsWithOptions(request, runtime) {
|
|
19607
19755
|
tea_util_1.default.validateModel(request);
|
|
19608
19756
|
let query = {};
|
|
@@ -19640,6 +19788,13 @@ class Client extends openapi_client_1.default {
|
|
|
19640
19788
|
});
|
|
19641
19789
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCustomRoutingEndpointGroupsResponse({}));
|
|
19642
19790
|
}
|
|
19791
|
+
/**
|
|
19792
|
+
* ## Debugging
|
|
19793
|
+
* [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)
|
|
19794
|
+
*
|
|
19795
|
+
* @param request ListCustomRoutingEndpointGroupsRequest
|
|
19796
|
+
* @return ListCustomRoutingEndpointGroupsResponse
|
|
19797
|
+
*/
|
|
19643
19798
|
async listCustomRoutingEndpointGroups(request) {
|
|
19644
19799
|
let runtime = new $Util.RuntimeOptions({});
|
|
19645
19800
|
return await this.listCustomRoutingEndpointGroupsWithOptions(request, runtime);
|
|
@@ -19894,6 +20049,14 @@ class Client extends openapi_client_1.default {
|
|
|
19894
20049
|
let runtime = new $Util.RuntimeOptions({});
|
|
19895
20050
|
return await this.listEndpointGroupIpAddressCidrBlocksWithOptions(request, runtime);
|
|
19896
20051
|
}
|
|
20052
|
+
/**
|
|
20053
|
+
* ## Debugging
|
|
20054
|
+
* [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)
|
|
20055
|
+
*
|
|
20056
|
+
* @param request ListEndpointGroupsRequest
|
|
20057
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20058
|
+
* @return ListEndpointGroupsResponse
|
|
20059
|
+
*/
|
|
19897
20060
|
async listEndpointGroupsWithOptions(request, runtime) {
|
|
19898
20061
|
tea_util_1.default.validateModel(request);
|
|
19899
20062
|
let query = {};
|
|
@@ -19940,12 +20103,19 @@ class Client extends openapi_client_1.default {
|
|
|
19940
20103
|
});
|
|
19941
20104
|
return $tea.cast(await this.callApi(params, req, runtime), new ListEndpointGroupsResponse({}));
|
|
19942
20105
|
}
|
|
20106
|
+
/**
|
|
20107
|
+
* ## Debugging
|
|
20108
|
+
* [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)
|
|
20109
|
+
*
|
|
20110
|
+
* @param request ListEndpointGroupsRequest
|
|
20111
|
+
* @return ListEndpointGroupsResponse
|
|
20112
|
+
*/
|
|
19943
20113
|
async listEndpointGroups(request) {
|
|
19944
20114
|
let runtime = new $Util.RuntimeOptions({});
|
|
19945
20115
|
return await this.listEndpointGroupsWithOptions(request, runtime);
|
|
19946
20116
|
}
|
|
19947
20117
|
/**
|
|
19948
|
-
* >
|
|
20118
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
19949
20119
|
*
|
|
19950
20120
|
* @param request ListForwardingRulesRequest
|
|
19951
20121
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19992,7 +20162,7 @@ class Client extends openapi_client_1.default {
|
|
|
19992
20162
|
return $tea.cast(await this.callApi(params, req, runtime), new ListForwardingRulesResponse({}));
|
|
19993
20163
|
}
|
|
19994
20164
|
/**
|
|
19995
|
-
* >
|
|
20165
|
+
* > This operation is used to query only custom forwarding rules, not the default forwarding rule.
|
|
19996
20166
|
*
|
|
19997
20167
|
* @param request ListForwardingRulesRequest
|
|
19998
20168
|
* @return ListForwardingRulesResponse
|
|
@@ -20788,6 +20958,18 @@ class Client extends openapi_client_1.default {
|
|
|
20788
20958
|
let runtime = new $Util.RuntimeOptions({});
|
|
20789
20959
|
return await this.updateAcceleratorCrossBorderModeWithOptions(request, runtime);
|
|
20790
20960
|
}
|
|
20961
|
+
/**
|
|
20962
|
+
* 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:
|
|
20963
|
+
* - **Basic GA instances**:
|
|
20964
|
+
* 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.
|
|
20965
|
+
* 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.
|
|
20966
|
+
* - **Standard GA instances**:
|
|
20967
|
+
* 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.
|
|
20968
|
+
*
|
|
20969
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
20970
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20971
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
20972
|
+
*/
|
|
20791
20973
|
async updateAcceleratorCrossBorderStatusWithOptions(request, runtime) {
|
|
20792
20974
|
tea_util_1.default.validateModel(request);
|
|
20793
20975
|
let query = {};
|
|
@@ -20819,6 +21001,17 @@ class Client extends openapi_client_1.default {
|
|
|
20819
21001
|
});
|
|
20820
21002
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAcceleratorCrossBorderStatusResponse({}));
|
|
20821
21003
|
}
|
|
21004
|
+
/**
|
|
21005
|
+
* 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:
|
|
21006
|
+
* - **Basic GA instances**:
|
|
21007
|
+
* 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.
|
|
21008
|
+
* 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.
|
|
21009
|
+
* - **Standard GA instances**:
|
|
21010
|
+
* 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.
|
|
21011
|
+
*
|
|
21012
|
+
* @param request UpdateAcceleratorCrossBorderStatusRequest
|
|
21013
|
+
* @return UpdateAcceleratorCrossBorderStatusResponse
|
|
21014
|
+
*/
|
|
20822
21015
|
async updateAcceleratorCrossBorderStatus(request) {
|
|
20823
21016
|
let runtime = new $Util.RuntimeOptions({});
|
|
20824
21017
|
return await this.updateAcceleratorCrossBorderStatusWithOptions(request, runtime);
|
|
@@ -21482,6 +21675,7 @@ class Client extends openapi_client_1.default {
|
|
|
21482
21675
|
return await this.updateCustomRoutingEndpointTrafficPoliciesWithOptions(request, runtime);
|
|
21483
21676
|
}
|
|
21484
21677
|
/**
|
|
21678
|
+
* ## Description
|
|
21485
21679
|
* * **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
21680
|
* * 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
21681
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -21523,6 +21717,7 @@ class Client extends openapi_client_1.default {
|
|
|
21523
21717
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCustomRoutingEndpointsResponse({}));
|
|
21524
21718
|
}
|
|
21525
21719
|
/**
|
|
21720
|
+
* ## Description
|
|
21526
21721
|
* * **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
21722
|
* * 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
21723
|
* * If an endpoint group is in the **active** state, the endpoints in the endpoint group are modified.
|
|
@@ -21628,9 +21823,9 @@ class Client extends openapi_client_1.default {
|
|
|
21628
21823
|
}
|
|
21629
21824
|
/**
|
|
21630
21825
|
* * **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.
|
|
21826
|
+
* * 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.
|
|
21827
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
21828
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
21634
21829
|
*
|
|
21635
21830
|
* @param request UpdateEndpointGroupRequest
|
|
21636
21831
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21705,9 +21900,9 @@ class Client extends openapi_client_1.default {
|
|
|
21705
21900
|
}
|
|
21706
21901
|
/**
|
|
21707
21902
|
* * **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.
|
|
21903
|
+
* * 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.
|
|
21904
|
+
* * If the endpoint group is in the **active** state, it indicates that the configurations of the endpoint group are modified.
|
|
21905
|
+
* * The **UpdateEndpointGroup** operation cannot be repeatedly called for the same Global Accelerator (GA) instance within a specific period of time.
|
|
21711
21906
|
*
|
|
21712
21907
|
* @param request UpdateEndpointGroupRequest
|
|
21713
21908
|
* @return UpdateEndpointGroupResponse
|
|
@@ -21755,10 +21950,11 @@ class Client extends openapi_client_1.default {
|
|
|
21755
21950
|
return await this.updateEndpointGroupAttributeWithOptions(request, runtime);
|
|
21756
21951
|
}
|
|
21757
21952
|
/**
|
|
21758
|
-
*
|
|
21759
|
-
*
|
|
21760
|
-
* * If the endpoint group is in the **
|
|
21761
|
-
*
|
|
21953
|
+
* ### Description
|
|
21954
|
+
* * **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.
|
|
21955
|
+
* * 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.
|
|
21956
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
21957
|
+
* * 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
21958
|
*
|
|
21763
21959
|
* @param request UpdateEndpointGroupsRequest
|
|
21764
21960
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21799,10 +21995,11 @@ class Client extends openapi_client_1.default {
|
|
|
21799
21995
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateEndpointGroupsResponse({}));
|
|
21800
21996
|
}
|
|
21801
21997
|
/**
|
|
21802
|
-
*
|
|
21803
|
-
*
|
|
21804
|
-
* * If the endpoint group is in the **
|
|
21805
|
-
*
|
|
21998
|
+
* ### Description
|
|
21999
|
+
* * **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.
|
|
22000
|
+
* * 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.
|
|
22001
|
+
* * If the endpoint group is in the **active** state, it indicates that the configuration of the endpoint group is modified.
|
|
22002
|
+
* * 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
22003
|
*
|
|
21807
22004
|
* @param request UpdateEndpointGroupsRequest
|
|
21808
22005
|
* @return UpdateEndpointGroupsResponse
|
|
@@ -22055,6 +22252,17 @@ class Client extends openapi_client_1.default {
|
|
|
22055
22252
|
let runtime = new $Util.RuntimeOptions({});
|
|
22056
22253
|
return await this.updateListenerWithOptions(request, runtime);
|
|
22057
22254
|
}
|
|
22255
|
+
/**
|
|
22256
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
22257
|
+
* * 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.
|
|
22258
|
+
* * 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.
|
|
22259
|
+
* **
|
|
22260
|
+
* **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.
|
|
22261
|
+
*
|
|
22262
|
+
* @param request UpdateServiceManagedControlRequest
|
|
22263
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22264
|
+
* @return UpdateServiceManagedControlResponse
|
|
22265
|
+
*/
|
|
22058
22266
|
async updateServiceManagedControlWithOptions(request, runtime) {
|
|
22059
22267
|
tea_util_1.default.validateModel(request);
|
|
22060
22268
|
let query = {};
|
|
@@ -22089,6 +22297,16 @@ class Client extends openapi_client_1.default {
|
|
|
22089
22297
|
});
|
|
22090
22298
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateServiceManagedControlResponse({}));
|
|
22091
22299
|
}
|
|
22300
|
+
/**
|
|
22301
|
+
* * This operation is applicable only to **managed** Global Accelerator (GA) instances.
|
|
22302
|
+
* * 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.
|
|
22303
|
+
* * 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.
|
|
22304
|
+
* **
|
|
22305
|
+
* **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.
|
|
22306
|
+
*
|
|
22307
|
+
* @param request UpdateServiceManagedControlRequest
|
|
22308
|
+
* @return UpdateServiceManagedControlResponse
|
|
22309
|
+
*/
|
|
22092
22310
|
async updateServiceManagedControl(request) {
|
|
22093
22311
|
let runtime = new $Util.RuntimeOptions({});
|
|
22094
22312
|
return await this.updateServiceManagedControlWithOptions(request, runtime);
|