@alicloud/vpc20160428 6.10.2 → 6.11.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 +144 -0
- package/dist/client.js +378 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRouteTargetGroupRequest.d.ts +185 -0
- package/dist/models/CreateRouteTargetGroupRequest.js +124 -0
- package/dist/models/CreateRouteTargetGroupRequest.js.map +1 -0
- package/dist/models/CreateRouteTargetGroupResponse.d.ts +19 -0
- package/dist/models/CreateRouteTargetGroupResponse.js +69 -0
- package/dist/models/CreateRouteTargetGroupResponse.js.map +1 -0
- package/dist/models/CreateRouteTargetGroupResponseBody.d.ts +29 -0
- package/dist/models/CreateRouteTargetGroupResponseBody.js +60 -0
- package/dist/models/CreateRouteTargetGroupResponseBody.js.map +1 -0
- package/dist/models/DeleteRouteTargetGroupRequest.d.ts +84 -0
- package/dist/models/DeleteRouteTargetGroupRequest.js +88 -0
- package/dist/models/DeleteRouteTargetGroupRequest.js.map +1 -0
- package/dist/models/DeleteRouteTargetGroupResponse.d.ts +19 -0
- package/dist/models/DeleteRouteTargetGroupResponse.js +69 -0
- package/dist/models/DeleteRouteTargetGroupResponse.js.map +1 -0
- package/dist/models/DeleteRouteTargetGroupResponseBody.d.ts +21 -0
- package/dist/models/DeleteRouteTargetGroupResponseBody.js +58 -0
- package/dist/models/DeleteRouteTargetGroupResponseBody.js.map +1 -0
- package/dist/models/GetRouteTargetGroupRequest.d.ts +82 -0
- package/dist/models/GetRouteTargetGroupRequest.js +88 -0
- package/dist/models/GetRouteTargetGroupRequest.js.map +1 -0
- package/dist/models/GetRouteTargetGroupResponse.d.ts +19 -0
- package/dist/models/GetRouteTargetGroupResponse.js +69 -0
- package/dist/models/GetRouteTargetGroupResponse.js.map +1 -0
- package/dist/models/GetRouteTargetGroupResponseBody.d.ts +201 -0
- package/dist/models/GetRouteTargetGroupResponseBody.js +134 -0
- package/dist/models/GetRouteTargetGroupResponseBody.js.map +1 -0
- package/dist/models/ListRouteTargetGroupsRequest.d.ts +116 -0
- package/dist/models/ListRouteTargetGroupsRequest.js +101 -0
- package/dist/models/ListRouteTargetGroupsRequest.js.map +1 -0
- package/dist/models/ListRouteTargetGroupsResponse.d.ts +19 -0
- package/dist/models/ListRouteTargetGroupsResponse.js +69 -0
- package/dist/models/ListRouteTargetGroupsResponse.js.map +1 -0
- package/dist/models/ListRouteTargetGroupsResponseBody.d.ts +256 -0
- package/dist/models/ListRouteTargetGroupsResponseBody.js +162 -0
- package/dist/models/ListRouteTargetGroupsResponseBody.js.map +1 -0
- package/dist/models/SwitchActiveRouteTargetRequest.d.ts +78 -0
- package/dist/models/SwitchActiveRouteTargetRequest.js +88 -0
- package/dist/models/SwitchActiveRouteTargetRequest.js.map +1 -0
- package/dist/models/SwitchActiveRouteTargetResponse.d.ts +19 -0
- package/dist/models/SwitchActiveRouteTargetResponse.js +69 -0
- package/dist/models/SwitchActiveRouteTargetResponse.js.map +1 -0
- package/dist/models/SwitchActiveRouteTargetResponseBody.d.ts +21 -0
- package/dist/models/SwitchActiveRouteTargetResponseBody.js +58 -0
- package/dist/models/SwitchActiveRouteTargetResponseBody.js.map +1 -0
- package/dist/models/UpdateRouteTargetGroupRequest.d.ts +112 -0
- package/dist/models/UpdateRouteTargetGroupRequest.js +94 -0
- package/dist/models/UpdateRouteTargetGroupRequest.js.map +1 -0
- package/dist/models/UpdateRouteTargetGroupResponse.d.ts +19 -0
- package/dist/models/UpdateRouteTargetGroupResponse.js +69 -0
- package/dist/models/UpdateRouteTargetGroupResponse.js.map +1 -0
- package/dist/models/UpdateRouteTargetGroupResponseBody.d.ts +21 -0
- package/dist/models/UpdateRouteTargetGroupResponseBody.js +58 -0
- package/dist/models/UpdateRouteTargetGroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +95 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +426 -0
- package/src/models/CreateRouteTargetGroupRequest.ts +246 -0
- package/src/models/CreateRouteTargetGroupResponse.ts +40 -0
- package/src/models/CreateRouteTargetGroupResponseBody.ts +44 -0
- package/src/models/DeleteRouteTargetGroupRequest.ts +118 -0
- package/src/models/DeleteRouteTargetGroupResponse.ts +40 -0
- package/src/models/DeleteRouteTargetGroupResponseBody.ts +34 -0
- package/src/models/GetRouteTargetGroupRequest.ts +116 -0
- package/src/models/GetRouteTargetGroupResponse.ts +40 -0
- package/src/models/GetRouteTargetGroupResponseBody.ts +272 -0
- package/src/models/ListRouteTargetGroupsRequest.ts +163 -0
- package/src/models/ListRouteTargetGroupsResponse.ts +40 -0
- package/src/models/ListRouteTargetGroupsResponseBody.ts +346 -0
- package/src/models/SwitchActiveRouteTargetRequest.ts +112 -0
- package/src/models/SwitchActiveRouteTargetResponse.ts +40 -0
- package/src/models/SwitchActiveRouteTargetResponseBody.ts +34 -0
- package/src/models/UpdateRouteTargetGroupRequest.ts +152 -0
- package/src/models/UpdateRouteTargetGroupResponse.ts +40 -0
- package/src/models/UpdateRouteTargetGroupResponseBody.ts +34 -0
- package/src/models/model.ts +30 -0
package/dist/client.d.ts
CHANGED
|
@@ -1872,6 +1872,37 @@ export default class Client extends OpenApi {
|
|
|
1872
1872
|
* @returns CreateRouteTableResponse
|
|
1873
1873
|
*/
|
|
1874
1874
|
createRouteTable(request: $_model.CreateRouteTableRequest): Promise<$_model.CreateRouteTableResponse>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Create Route Target Group
|
|
1877
|
+
*
|
|
1878
|
+
* @remarks
|
|
1879
|
+
* - The **CreateRouteTargetGroup** interface is an asynchronous interface, meaning the system will return an instance ID, but the route target group instance has not yet been fully created, and the system\\"s background creation task is still in progress. You can call **ListRouteTargetGroup** to query the creation status of the route target group:
|
|
1880
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
1881
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
1882
|
+
* - **Active-Standby Mode**: When creating a route target group, you need to configure primary and standby instances that are located in different availability zones and have the same type.
|
|
1883
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
1884
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
1885
|
+
*
|
|
1886
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
1887
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1888
|
+
* @returns CreateRouteTargetGroupResponse
|
|
1889
|
+
*/
|
|
1890
|
+
createRouteTargetGroupWithOptions(request: $_model.CreateRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRouteTargetGroupResponse>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Create Route Target Group
|
|
1893
|
+
*
|
|
1894
|
+
* @remarks
|
|
1895
|
+
* - The **CreateRouteTargetGroup** interface is an asynchronous interface, meaning the system will return an instance ID, but the route target group instance has not yet been fully created, and the system\\"s background creation task is still in progress. You can call **ListRouteTargetGroup** to query the creation status of the route target group:
|
|
1896
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
1897
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
1898
|
+
* - **Active-Standby Mode**: When creating a route target group, you need to configure primary and standby instances that are located in different availability zones and have the same type.
|
|
1899
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
1900
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
1901
|
+
*
|
|
1902
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
1903
|
+
* @returns CreateRouteTargetGroupResponse
|
|
1904
|
+
*/
|
|
1905
|
+
createRouteTargetGroup(request: $_model.CreateRouteTargetGroupRequest): Promise<$_model.CreateRouteTargetGroupResponse>;
|
|
1875
1906
|
/**
|
|
1876
1907
|
* Creates a router interface.
|
|
1877
1908
|
*
|
|
@@ -3380,6 +3411,31 @@ export default class Client extends OpenApi {
|
|
|
3380
3411
|
* @returns DeleteRouteTableResponse
|
|
3381
3412
|
*/
|
|
3382
3413
|
deleteRouteTable(request: $_model.DeleteRouteTableRequest): Promise<$_model.DeleteRouteTableResponse>;
|
|
3414
|
+
/**
|
|
3415
|
+
* Delete Route Target Group
|
|
3416
|
+
*
|
|
3417
|
+
* @remarks
|
|
3418
|
+
* - The **DeleteRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been successfully deleted as the deletion task is still in progress in the background. You can call ListRouteTargetGroup to query the deletion status of the route target group:
|
|
3419
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
3420
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
3421
|
+
*
|
|
3422
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
3423
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3424
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
3425
|
+
*/
|
|
3426
|
+
deleteRouteTargetGroupWithOptions(request: $_model.DeleteRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRouteTargetGroupResponse>;
|
|
3427
|
+
/**
|
|
3428
|
+
* Delete Route Target Group
|
|
3429
|
+
*
|
|
3430
|
+
* @remarks
|
|
3431
|
+
* - The **DeleteRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been successfully deleted as the deletion task is still in progress in the background. You can call ListRouteTargetGroup to query the deletion status of the route target group:
|
|
3432
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
3433
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
3434
|
+
*
|
|
3435
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
3436
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
3437
|
+
*/
|
|
3438
|
+
deleteRouteTargetGroup(request: $_model.DeleteRouteTargetGroupRequest): Promise<$_model.DeleteRouteTargetGroupResponse>;
|
|
3383
3439
|
/**
|
|
3384
3440
|
* Deletes a router interface.
|
|
3385
3441
|
*
|
|
@@ -5533,6 +5589,27 @@ export default class Client extends OpenApi {
|
|
|
5533
5589
|
* @returns GetPublicIpAddressPoolServiceStatusResponse
|
|
5534
5590
|
*/
|
|
5535
5591
|
getPublicIpAddressPoolServiceStatus(request: $_model.GetPublicIpAddressPoolServiceStatusRequest): Promise<$_model.GetPublicIpAddressPoolServiceStatusResponse>;
|
|
5592
|
+
/**
|
|
5593
|
+
* Get the route target group
|
|
5594
|
+
*
|
|
5595
|
+
* @remarks
|
|
5596
|
+
* Get the information of the route target group instance.
|
|
5597
|
+
*
|
|
5598
|
+
* @param request - GetRouteTargetGroupRequest
|
|
5599
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5600
|
+
* @returns GetRouteTargetGroupResponse
|
|
5601
|
+
*/
|
|
5602
|
+
getRouteTargetGroupWithOptions(request: $_model.GetRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetRouteTargetGroupResponse>;
|
|
5603
|
+
/**
|
|
5604
|
+
* Get the route target group
|
|
5605
|
+
*
|
|
5606
|
+
* @remarks
|
|
5607
|
+
* Get the information of the route target group instance.
|
|
5608
|
+
*
|
|
5609
|
+
* @param request - GetRouteTargetGroupRequest
|
|
5610
|
+
* @returns GetRouteTargetGroupResponse
|
|
5611
|
+
*/
|
|
5612
|
+
getRouteTargetGroup(request: $_model.GetRouteTargetGroupRequest): Promise<$_model.GetRouteTargetGroupResponse>;
|
|
5536
5613
|
/**
|
|
5537
5614
|
* Queries the status of the traffic mirror feature.
|
|
5538
5615
|
*
|
|
@@ -5936,6 +6013,27 @@ export default class Client extends OpenApi {
|
|
|
5936
6013
|
* @returns ListPublicIpAddressPoolsResponse
|
|
5937
6014
|
*/
|
|
5938
6015
|
listPublicIpAddressPools(request: $_model.ListPublicIpAddressPoolsRequest): Promise<$_model.ListPublicIpAddressPoolsResponse>;
|
|
6016
|
+
/**
|
|
6017
|
+
* Batch query for route target groups
|
|
6018
|
+
*
|
|
6019
|
+
* @remarks
|
|
6020
|
+
* Lists the route target groups.
|
|
6021
|
+
*
|
|
6022
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
6023
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6024
|
+
* @returns ListRouteTargetGroupsResponse
|
|
6025
|
+
*/
|
|
6026
|
+
listRouteTargetGroupsWithOptions(request: $_model.ListRouteTargetGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRouteTargetGroupsResponse>;
|
|
6027
|
+
/**
|
|
6028
|
+
* Batch query for route target groups
|
|
6029
|
+
*
|
|
6030
|
+
* @remarks
|
|
6031
|
+
* Lists the route target groups.
|
|
6032
|
+
*
|
|
6033
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
6034
|
+
* @returns ListRouteTargetGroupsResponse
|
|
6035
|
+
*/
|
|
6036
|
+
listRouteTargetGroups(request: $_model.ListRouteTargetGroupsRequest): Promise<$_model.ListRouteTargetGroupsResponse>;
|
|
5939
6037
|
/**
|
|
5940
6038
|
* Queries the tags that are added to resources.
|
|
5941
6039
|
*
|
|
@@ -7858,6 +7956,27 @@ export default class Client extends OpenApi {
|
|
|
7858
7956
|
* @returns StopFailoverTestJobResponse
|
|
7859
7957
|
*/
|
|
7860
7958
|
stopFailoverTestJob(request: $_model.StopFailoverTestJobRequest): Promise<$_model.StopFailoverTestJobResponse>;
|
|
7959
|
+
/**
|
|
7960
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
7961
|
+
*
|
|
7962
|
+
* @remarks
|
|
7963
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
7964
|
+
*
|
|
7965
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
7966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7967
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
7968
|
+
*/
|
|
7969
|
+
switchActiveRouteTargetWithOptions(request: $_model.SwitchActiveRouteTargetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SwitchActiveRouteTargetResponse>;
|
|
7970
|
+
/**
|
|
7971
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
7972
|
+
*
|
|
7973
|
+
* @remarks
|
|
7974
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
7975
|
+
*
|
|
7976
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
7977
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
7978
|
+
*/
|
|
7979
|
+
switchActiveRouteTarget(request: $_model.SwitchActiveRouteTargetRequest): Promise<$_model.SwitchActiveRouteTargetResponse>;
|
|
7861
7980
|
/**
|
|
7862
7981
|
* Creates and adds tags to resources.
|
|
7863
7982
|
*
|
|
@@ -8376,6 +8495,31 @@ export default class Client extends OpenApi {
|
|
|
8376
8495
|
* @returns UpdatePublicIpAddressPoolAttributeResponse
|
|
8377
8496
|
*/
|
|
8378
8497
|
updatePublicIpAddressPoolAttribute(request: $_model.UpdatePublicIpAddressPoolAttributeRequest): Promise<$_model.UpdatePublicIpAddressPoolAttributeResponse>;
|
|
8498
|
+
/**
|
|
8499
|
+
* Update Route Target Group
|
|
8500
|
+
*
|
|
8501
|
+
* @remarks
|
|
8502
|
+
* - The **UpdateRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been fully updated, and the system\\"s background update task is still in progress. You can call ListRouteTargetGroup to query the update status of the route target group:
|
|
8503
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
8504
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has completed its update.
|
|
8505
|
+
*
|
|
8506
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
8507
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8508
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
8509
|
+
*/
|
|
8510
|
+
updateRouteTargetGroupWithOptions(request: $_model.UpdateRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRouteTargetGroupResponse>;
|
|
8511
|
+
/**
|
|
8512
|
+
* Update Route Target Group
|
|
8513
|
+
*
|
|
8514
|
+
* @remarks
|
|
8515
|
+
* - The **UpdateRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been fully updated, and the system\\"s background update task is still in progress. You can call ListRouteTargetGroup to query the update status of the route target group:
|
|
8516
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
8517
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has completed its update.
|
|
8518
|
+
*
|
|
8519
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
8520
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
8521
|
+
*/
|
|
8522
|
+
updateRouteTargetGroup(request: $_model.UpdateRouteTargetGroupRequest): Promise<$_model.UpdateRouteTargetGroupResponse>;
|
|
8379
8523
|
/**
|
|
8380
8524
|
* Modifies the configuration of a filter for traffic mirror.
|
|
8381
8525
|
*
|
package/dist/client.js
CHANGED
|
@@ -6121,6 +6121,85 @@ class Client extends openapi_core_1.default {
|
|
|
6121
6121
|
let runtime = new $dara.RuntimeOptions({});
|
|
6122
6122
|
return await this.createRouteTableWithOptions(request, runtime);
|
|
6123
6123
|
}
|
|
6124
|
+
/**
|
|
6125
|
+
* Create Route Target Group
|
|
6126
|
+
*
|
|
6127
|
+
* @remarks
|
|
6128
|
+
* - The **CreateRouteTargetGroup** interface is an asynchronous interface, meaning the system will return an instance ID, but the route target group instance has not yet been fully created, and the system\\"s background creation task is still in progress. You can call **ListRouteTargetGroup** to query the creation status of the route target group:
|
|
6129
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
6130
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
6131
|
+
* - **Active-Standby Mode**: When creating a route target group, you need to configure primary and standby instances that are located in different availability zones and have the same type.
|
|
6132
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
6133
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
6134
|
+
*
|
|
6135
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
6136
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6137
|
+
* @returns CreateRouteTargetGroupResponse
|
|
6138
|
+
*/
|
|
6139
|
+
async createRouteTargetGroupWithOptions(request, runtime) {
|
|
6140
|
+
request.validate();
|
|
6141
|
+
let query = {};
|
|
6142
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
6143
|
+
query["ClientToken"] = request.clientToken;
|
|
6144
|
+
}
|
|
6145
|
+
if (!$dara.isNull(request.configMode)) {
|
|
6146
|
+
query["ConfigMode"] = request.configMode;
|
|
6147
|
+
}
|
|
6148
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6149
|
+
query["RegionId"] = request.regionId;
|
|
6150
|
+
}
|
|
6151
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
6152
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
6153
|
+
}
|
|
6154
|
+
if (!$dara.isNull(request.routeTargetGroupDescription)) {
|
|
6155
|
+
query["RouteTargetGroupDescription"] = request.routeTargetGroupDescription;
|
|
6156
|
+
}
|
|
6157
|
+
if (!$dara.isNull(request.routeTargetGroupName)) {
|
|
6158
|
+
query["RouteTargetGroupName"] = request.routeTargetGroupName;
|
|
6159
|
+
}
|
|
6160
|
+
if (!$dara.isNull(request.routeTargetMemberList)) {
|
|
6161
|
+
query["RouteTargetMemberList"] = request.routeTargetMemberList;
|
|
6162
|
+
}
|
|
6163
|
+
if (!$dara.isNull(request.tag)) {
|
|
6164
|
+
query["Tag"] = request.tag;
|
|
6165
|
+
}
|
|
6166
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
6167
|
+
query["VpcId"] = request.vpcId;
|
|
6168
|
+
}
|
|
6169
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6170
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6171
|
+
});
|
|
6172
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6173
|
+
action: "CreateRouteTargetGroup",
|
|
6174
|
+
version: "2016-04-28",
|
|
6175
|
+
protocol: "HTTPS",
|
|
6176
|
+
pathname: "/",
|
|
6177
|
+
method: "POST",
|
|
6178
|
+
authType: "AK",
|
|
6179
|
+
style: "RPC",
|
|
6180
|
+
reqBodyType: "formData",
|
|
6181
|
+
bodyType: "json",
|
|
6182
|
+
});
|
|
6183
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRouteTargetGroupResponse({}));
|
|
6184
|
+
}
|
|
6185
|
+
/**
|
|
6186
|
+
* Create Route Target Group
|
|
6187
|
+
*
|
|
6188
|
+
* @remarks
|
|
6189
|
+
* - The **CreateRouteTargetGroup** interface is an asynchronous interface, meaning the system will return an instance ID, but the route target group instance has not yet been fully created, and the system\\"s background creation task is still in progress. You can call **ListRouteTargetGroup** to query the creation status of the route target group:
|
|
6190
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
6191
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
6192
|
+
* - **Active-Standby Mode**: When creating a route target group, you need to configure primary and standby instances that are located in different availability zones and have the same type.
|
|
6193
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
6194
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
6195
|
+
*
|
|
6196
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
6197
|
+
* @returns CreateRouteTargetGroupResponse
|
|
6198
|
+
*/
|
|
6199
|
+
async createRouteTargetGroup(request) {
|
|
6200
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6201
|
+
return await this.createRouteTargetGroupWithOptions(request, runtime);
|
|
6202
|
+
}
|
|
6124
6203
|
/**
|
|
6125
6204
|
* Creates a router interface.
|
|
6126
6205
|
*
|
|
@@ -10750,6 +10829,64 @@ class Client extends openapi_core_1.default {
|
|
|
10750
10829
|
let runtime = new $dara.RuntimeOptions({});
|
|
10751
10830
|
return await this.deleteRouteTableWithOptions(request, runtime);
|
|
10752
10831
|
}
|
|
10832
|
+
/**
|
|
10833
|
+
* Delete Route Target Group
|
|
10834
|
+
*
|
|
10835
|
+
* @remarks
|
|
10836
|
+
* - The **DeleteRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been successfully deleted as the deletion task is still in progress in the background. You can call ListRouteTargetGroup to query the deletion status of the route target group:
|
|
10837
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
10838
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
10839
|
+
*
|
|
10840
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
10841
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10842
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
10843
|
+
*/
|
|
10844
|
+
async deleteRouteTargetGroupWithOptions(request, runtime) {
|
|
10845
|
+
request.validate();
|
|
10846
|
+
let query = {};
|
|
10847
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
10848
|
+
query["ClientToken"] = request.clientToken;
|
|
10849
|
+
}
|
|
10850
|
+
if (!$dara.isNull(request.regionId)) {
|
|
10851
|
+
query["RegionId"] = request.regionId;
|
|
10852
|
+
}
|
|
10853
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
10854
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
10855
|
+
}
|
|
10856
|
+
if (!$dara.isNull(request.tag)) {
|
|
10857
|
+
query["Tag"] = request.tag;
|
|
10858
|
+
}
|
|
10859
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10860
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10861
|
+
});
|
|
10862
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10863
|
+
action: "DeleteRouteTargetGroup",
|
|
10864
|
+
version: "2016-04-28",
|
|
10865
|
+
protocol: "HTTPS",
|
|
10866
|
+
pathname: "/",
|
|
10867
|
+
method: "POST",
|
|
10868
|
+
authType: "AK",
|
|
10869
|
+
style: "RPC",
|
|
10870
|
+
reqBodyType: "formData",
|
|
10871
|
+
bodyType: "json",
|
|
10872
|
+
});
|
|
10873
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteRouteTargetGroupResponse({}));
|
|
10874
|
+
}
|
|
10875
|
+
/**
|
|
10876
|
+
* Delete Route Target Group
|
|
10877
|
+
*
|
|
10878
|
+
* @remarks
|
|
10879
|
+
* - The **DeleteRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been successfully deleted as the deletion task is still in progress in the background. You can call ListRouteTargetGroup to query the deletion status of the route target group:
|
|
10880
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
10881
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
10882
|
+
*
|
|
10883
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
10884
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
10885
|
+
*/
|
|
10886
|
+
async deleteRouteTargetGroup(request) {
|
|
10887
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10888
|
+
return await this.deleteRouteTargetGroupWithOptions(request, runtime);
|
|
10889
|
+
}
|
|
10753
10890
|
/**
|
|
10754
10891
|
* Deletes a router interface.
|
|
10755
10892
|
*
|
|
@@ -18723,6 +18860,60 @@ class Client extends openapi_core_1.default {
|
|
|
18723
18860
|
let runtime = new $dara.RuntimeOptions({});
|
|
18724
18861
|
return await this.getPublicIpAddressPoolServiceStatusWithOptions(request, runtime);
|
|
18725
18862
|
}
|
|
18863
|
+
/**
|
|
18864
|
+
* Get the route target group
|
|
18865
|
+
*
|
|
18866
|
+
* @remarks
|
|
18867
|
+
* Get the information of the route target group instance.
|
|
18868
|
+
*
|
|
18869
|
+
* @param request - GetRouteTargetGroupRequest
|
|
18870
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18871
|
+
* @returns GetRouteTargetGroupResponse
|
|
18872
|
+
*/
|
|
18873
|
+
async getRouteTargetGroupWithOptions(request, runtime) {
|
|
18874
|
+
request.validate();
|
|
18875
|
+
let query = {};
|
|
18876
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
18877
|
+
query["ClientToken"] = request.clientToken;
|
|
18878
|
+
}
|
|
18879
|
+
if (!$dara.isNull(request.regionId)) {
|
|
18880
|
+
query["RegionId"] = request.regionId;
|
|
18881
|
+
}
|
|
18882
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
18883
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
18884
|
+
}
|
|
18885
|
+
if (!$dara.isNull(request.tag)) {
|
|
18886
|
+
query["Tag"] = request.tag;
|
|
18887
|
+
}
|
|
18888
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
18889
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
18890
|
+
});
|
|
18891
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
18892
|
+
action: "GetRouteTargetGroup",
|
|
18893
|
+
version: "2016-04-28",
|
|
18894
|
+
protocol: "HTTPS",
|
|
18895
|
+
pathname: "/",
|
|
18896
|
+
method: "POST",
|
|
18897
|
+
authType: "AK",
|
|
18898
|
+
style: "RPC",
|
|
18899
|
+
reqBodyType: "formData",
|
|
18900
|
+
bodyType: "json",
|
|
18901
|
+
});
|
|
18902
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRouteTargetGroupResponse({}));
|
|
18903
|
+
}
|
|
18904
|
+
/**
|
|
18905
|
+
* Get the route target group
|
|
18906
|
+
*
|
|
18907
|
+
* @remarks
|
|
18908
|
+
* Get the information of the route target group instance.
|
|
18909
|
+
*
|
|
18910
|
+
* @param request - GetRouteTargetGroupRequest
|
|
18911
|
+
* @returns GetRouteTargetGroupResponse
|
|
18912
|
+
*/
|
|
18913
|
+
async getRouteTargetGroup(request) {
|
|
18914
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
18915
|
+
return await this.getRouteTargetGroupWithOptions(request, runtime);
|
|
18916
|
+
}
|
|
18726
18917
|
/**
|
|
18727
18918
|
* Queries the status of the traffic mirror feature.
|
|
18728
18919
|
*
|
|
@@ -20297,6 +20488,75 @@ class Client extends openapi_core_1.default {
|
|
|
20297
20488
|
let runtime = new $dara.RuntimeOptions({});
|
|
20298
20489
|
return await this.listPublicIpAddressPoolsWithOptions(request, runtime);
|
|
20299
20490
|
}
|
|
20491
|
+
/**
|
|
20492
|
+
* Batch query for route target groups
|
|
20493
|
+
*
|
|
20494
|
+
* @remarks
|
|
20495
|
+
* Lists the route target groups.
|
|
20496
|
+
*
|
|
20497
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
20498
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20499
|
+
* @returns ListRouteTargetGroupsResponse
|
|
20500
|
+
*/
|
|
20501
|
+
async listRouteTargetGroupsWithOptions(request, runtime) {
|
|
20502
|
+
request.validate();
|
|
20503
|
+
let query = {};
|
|
20504
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
20505
|
+
query["ClientToken"] = request.clientToken;
|
|
20506
|
+
}
|
|
20507
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
20508
|
+
query["MaxResults"] = request.maxResults;
|
|
20509
|
+
}
|
|
20510
|
+
if (!$dara.isNull(request.memberId)) {
|
|
20511
|
+
query["MemberId"] = request.memberId;
|
|
20512
|
+
}
|
|
20513
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
20514
|
+
query["NextToken"] = request.nextToken;
|
|
20515
|
+
}
|
|
20516
|
+
if (!$dara.isNull(request.regionId)) {
|
|
20517
|
+
query["RegionId"] = request.regionId;
|
|
20518
|
+
}
|
|
20519
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
20520
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
20521
|
+
}
|
|
20522
|
+
if (!$dara.isNull(request.routeTargetGroupIds)) {
|
|
20523
|
+
query["RouteTargetGroupIds"] = request.routeTargetGroupIds;
|
|
20524
|
+
}
|
|
20525
|
+
if (!$dara.isNull(request.tag)) {
|
|
20526
|
+
query["Tag"] = request.tag;
|
|
20527
|
+
}
|
|
20528
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
20529
|
+
query["VpcId"] = request.vpcId;
|
|
20530
|
+
}
|
|
20531
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
20532
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
20533
|
+
});
|
|
20534
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
20535
|
+
action: "ListRouteTargetGroups",
|
|
20536
|
+
version: "2016-04-28",
|
|
20537
|
+
protocol: "HTTPS",
|
|
20538
|
+
pathname: "/",
|
|
20539
|
+
method: "POST",
|
|
20540
|
+
authType: "AK",
|
|
20541
|
+
style: "RPC",
|
|
20542
|
+
reqBodyType: "formData",
|
|
20543
|
+
bodyType: "json",
|
|
20544
|
+
});
|
|
20545
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRouteTargetGroupsResponse({}));
|
|
20546
|
+
}
|
|
20547
|
+
/**
|
|
20548
|
+
* Batch query for route target groups
|
|
20549
|
+
*
|
|
20550
|
+
* @remarks
|
|
20551
|
+
* Lists the route target groups.
|
|
20552
|
+
*
|
|
20553
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
20554
|
+
* @returns ListRouteTargetGroupsResponse
|
|
20555
|
+
*/
|
|
20556
|
+
async listRouteTargetGroups(request) {
|
|
20557
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
20558
|
+
return await this.listRouteTargetGroupsWithOptions(request, runtime);
|
|
20559
|
+
}
|
|
20300
20560
|
/**
|
|
20301
20561
|
* Queries the tags that are added to resources.
|
|
20302
20562
|
*
|
|
@@ -27018,6 +27278,60 @@ class Client extends openapi_core_1.default {
|
|
|
27018
27278
|
let runtime = new $dara.RuntimeOptions({});
|
|
27019
27279
|
return await this.stopFailoverTestJobWithOptions(request, runtime);
|
|
27020
27280
|
}
|
|
27281
|
+
/**
|
|
27282
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
27283
|
+
*
|
|
27284
|
+
* @remarks
|
|
27285
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
27286
|
+
*
|
|
27287
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
27288
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27289
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
27290
|
+
*/
|
|
27291
|
+
async switchActiveRouteTargetWithOptions(request, runtime) {
|
|
27292
|
+
request.validate();
|
|
27293
|
+
let query = {};
|
|
27294
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
27295
|
+
query["ClientToken"] = request.clientToken;
|
|
27296
|
+
}
|
|
27297
|
+
if (!$dara.isNull(request.regionId)) {
|
|
27298
|
+
query["RegionId"] = request.regionId;
|
|
27299
|
+
}
|
|
27300
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
27301
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
27302
|
+
}
|
|
27303
|
+
if (!$dara.isNull(request.tag)) {
|
|
27304
|
+
query["Tag"] = request.tag;
|
|
27305
|
+
}
|
|
27306
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
27307
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
27308
|
+
});
|
|
27309
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
27310
|
+
action: "SwitchActiveRouteTarget",
|
|
27311
|
+
version: "2016-04-28",
|
|
27312
|
+
protocol: "HTTPS",
|
|
27313
|
+
pathname: "/",
|
|
27314
|
+
method: "POST",
|
|
27315
|
+
authType: "AK",
|
|
27316
|
+
style: "RPC",
|
|
27317
|
+
reqBodyType: "formData",
|
|
27318
|
+
bodyType: "json",
|
|
27319
|
+
});
|
|
27320
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SwitchActiveRouteTargetResponse({}));
|
|
27321
|
+
}
|
|
27322
|
+
/**
|
|
27323
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
27324
|
+
*
|
|
27325
|
+
* @remarks
|
|
27326
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
27327
|
+
*
|
|
27328
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
27329
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
27330
|
+
*/
|
|
27331
|
+
async switchActiveRouteTarget(request) {
|
|
27332
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
27333
|
+
return await this.switchActiveRouteTargetWithOptions(request, runtime);
|
|
27334
|
+
}
|
|
27021
27335
|
/**
|
|
27022
27336
|
* Creates and adds tags to resources.
|
|
27023
27337
|
*
|
|
@@ -28647,6 +28961,70 @@ class Client extends openapi_core_1.default {
|
|
|
28647
28961
|
let runtime = new $dara.RuntimeOptions({});
|
|
28648
28962
|
return await this.updatePublicIpAddressPoolAttributeWithOptions(request, runtime);
|
|
28649
28963
|
}
|
|
28964
|
+
/**
|
|
28965
|
+
* Update Route Target Group
|
|
28966
|
+
*
|
|
28967
|
+
* @remarks
|
|
28968
|
+
* - The **UpdateRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been fully updated, and the system\\"s background update task is still in progress. You can call ListRouteTargetGroup to query the update status of the route target group:
|
|
28969
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
28970
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has completed its update.
|
|
28971
|
+
*
|
|
28972
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
28973
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28974
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
28975
|
+
*/
|
|
28976
|
+
async updateRouteTargetGroupWithOptions(request, runtime) {
|
|
28977
|
+
request.validate();
|
|
28978
|
+
let query = {};
|
|
28979
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
28980
|
+
query["ClientToken"] = request.clientToken;
|
|
28981
|
+
}
|
|
28982
|
+
if (!$dara.isNull(request.regionId)) {
|
|
28983
|
+
query["RegionId"] = request.regionId;
|
|
28984
|
+
}
|
|
28985
|
+
if (!$dara.isNull(request.routeTargetGroupDescription)) {
|
|
28986
|
+
query["RouteTargetGroupDescription"] = request.routeTargetGroupDescription;
|
|
28987
|
+
}
|
|
28988
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
28989
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
28990
|
+
}
|
|
28991
|
+
if (!$dara.isNull(request.routeTargetGroupName)) {
|
|
28992
|
+
query["RouteTargetGroupName"] = request.routeTargetGroupName;
|
|
28993
|
+
}
|
|
28994
|
+
if (!$dara.isNull(request.routeTargetMemberList)) {
|
|
28995
|
+
query["RouteTargetMemberList"] = request.routeTargetMemberList;
|
|
28996
|
+
}
|
|
28997
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
28998
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
28999
|
+
});
|
|
29000
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
29001
|
+
action: "UpdateRouteTargetGroup",
|
|
29002
|
+
version: "2016-04-28",
|
|
29003
|
+
protocol: "HTTPS",
|
|
29004
|
+
pathname: "/",
|
|
29005
|
+
method: "POST",
|
|
29006
|
+
authType: "AK",
|
|
29007
|
+
style: "RPC",
|
|
29008
|
+
reqBodyType: "formData",
|
|
29009
|
+
bodyType: "json",
|
|
29010
|
+
});
|
|
29011
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateRouteTargetGroupResponse({}));
|
|
29012
|
+
}
|
|
29013
|
+
/**
|
|
29014
|
+
* Update Route Target Group
|
|
29015
|
+
*
|
|
29016
|
+
* @remarks
|
|
29017
|
+
* - The **UpdateRouteTargetGroup** interface is an asynchronous API, meaning the system will return a request ID, but the route target group has not yet been fully updated, and the system\\"s background update task is still in progress. You can call ListRouteTargetGroup to query the update status of the route target group:
|
|
29018
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
29019
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has completed its update.
|
|
29020
|
+
*
|
|
29021
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
29022
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
29023
|
+
*/
|
|
29024
|
+
async updateRouteTargetGroup(request) {
|
|
29025
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
29026
|
+
return await this.updateRouteTargetGroupWithOptions(request, runtime);
|
|
29027
|
+
}
|
|
28650
29028
|
/**
|
|
28651
29029
|
* Modifies the configuration of a filter for traffic mirror.
|
|
28652
29030
|
*
|