@alicloud/vpc20160428 6.10.1 → 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 +381 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateHighReliablePhysicalConnectionRequest.d.ts +1 -0
- package/dist/models/CreateHighReliablePhysicalConnectionRequest.js +2 -0
- package/dist/models/CreateHighReliablePhysicalConnectionRequest.js.map +1 -1
- package/dist/models/CreatePhysicalConnectionRequest.d.ts +1 -0
- package/dist/models/CreatePhysicalConnectionRequest.js +2 -0
- package/dist/models/CreatePhysicalConnectionRequest.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/DescribePhysicalConnectionsResponseBody.d.ts +1 -0
- package/dist/models/DescribePhysicalConnectionsResponseBody.js +2 -0
- package/dist/models/DescribePhysicalConnectionsResponseBody.js.map +1 -1
- 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/ListBusinessAccessPointsResponseBody.d.ts +15 -0
- package/dist/models/ListBusinessAccessPointsResponseBody.js +27 -1
- package/dist/models/ListBusinessAccessPointsResponseBody.js.map +1 -1
- 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 +31 -0
- package/dist/models/model.js +100 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +430 -0
- package/src/models/CreateHighReliablePhysicalConnectionRequest.ts +3 -0
- package/src/models/CreatePhysicalConnectionRequest.ts +3 -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/DescribePhysicalConnectionsResponseBody.ts +3 -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/ListBusinessAccessPointsResponseBody.ts +32 -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 +31 -0
package/src/client.ts
CHANGED
|
@@ -6382,6 +6382,10 @@ export default class Client extends OpenApi {
|
|
|
6382
6382
|
query["Name"] = request.name;
|
|
6383
6383
|
}
|
|
6384
6384
|
|
|
6385
|
+
if (!$dara.isNull(request.opticalModuleModel)) {
|
|
6386
|
+
query["OpticalModuleModel"] = request.opticalModuleModel;
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6385
6389
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
6386
6390
|
query["OwnerAccount"] = request.ownerAccount;
|
|
6387
6391
|
}
|
|
@@ -7098,6 +7102,96 @@ export default class Client extends OpenApi {
|
|
|
7098
7102
|
return await this.createRouteTableWithOptions(request, runtime);
|
|
7099
7103
|
}
|
|
7100
7104
|
|
|
7105
|
+
/**
|
|
7106
|
+
* Create Route Target Group
|
|
7107
|
+
*
|
|
7108
|
+
* @remarks
|
|
7109
|
+
* - 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:
|
|
7110
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
7111
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
7112
|
+
* - **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.
|
|
7113
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
7114
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
7115
|
+
*
|
|
7116
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
7117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7118
|
+
* @returns CreateRouteTargetGroupResponse
|
|
7119
|
+
*/
|
|
7120
|
+
async createRouteTargetGroupWithOptions(request: $_model.CreateRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRouteTargetGroupResponse> {
|
|
7121
|
+
request.validate();
|
|
7122
|
+
let query = { };
|
|
7123
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
7124
|
+
query["ClientToken"] = request.clientToken;
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
if (!$dara.isNull(request.configMode)) {
|
|
7128
|
+
query["ConfigMode"] = request.configMode;
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
if (!$dara.isNull(request.regionId)) {
|
|
7132
|
+
query["RegionId"] = request.regionId;
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
7136
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
7137
|
+
}
|
|
7138
|
+
|
|
7139
|
+
if (!$dara.isNull(request.routeTargetGroupDescription)) {
|
|
7140
|
+
query["RouteTargetGroupDescription"] = request.routeTargetGroupDescription;
|
|
7141
|
+
}
|
|
7142
|
+
|
|
7143
|
+
if (!$dara.isNull(request.routeTargetGroupName)) {
|
|
7144
|
+
query["RouteTargetGroupName"] = request.routeTargetGroupName;
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
if (!$dara.isNull(request.routeTargetMemberList)) {
|
|
7148
|
+
query["RouteTargetMemberList"] = request.routeTargetMemberList;
|
|
7149
|
+
}
|
|
7150
|
+
|
|
7151
|
+
if (!$dara.isNull(request.tag)) {
|
|
7152
|
+
query["Tag"] = request.tag;
|
|
7153
|
+
}
|
|
7154
|
+
|
|
7155
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
7156
|
+
query["VpcId"] = request.vpcId;
|
|
7157
|
+
}
|
|
7158
|
+
|
|
7159
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7160
|
+
query: OpenApiUtil.query(query),
|
|
7161
|
+
});
|
|
7162
|
+
let params = new $OpenApiUtil.Params({
|
|
7163
|
+
action: "CreateRouteTargetGroup",
|
|
7164
|
+
version: "2016-04-28",
|
|
7165
|
+
protocol: "HTTPS",
|
|
7166
|
+
pathname: "/",
|
|
7167
|
+
method: "POST",
|
|
7168
|
+
authType: "AK",
|
|
7169
|
+
style: "RPC",
|
|
7170
|
+
reqBodyType: "formData",
|
|
7171
|
+
bodyType: "json",
|
|
7172
|
+
});
|
|
7173
|
+
return $dara.cast<$_model.CreateRouteTargetGroupResponse>(await this.callApi(params, req, runtime), new $_model.CreateRouteTargetGroupResponse({}));
|
|
7174
|
+
}
|
|
7175
|
+
|
|
7176
|
+
/**
|
|
7177
|
+
* Create Route Target Group
|
|
7178
|
+
*
|
|
7179
|
+
* @remarks
|
|
7180
|
+
* - 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:
|
|
7181
|
+
* - When the route target group is in the **Pending** state, it indicates that the route target group is being created.
|
|
7182
|
+
* - When the route target group is in the **Available**, **Unavailable**, **Switched**, or **Abnormal** state, it indicates that the route target group has been created.
|
|
7183
|
+
* - **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.
|
|
7184
|
+
* - **Primary Instance**: The weight is 100. Under normal circumstances, it carries all traffic and takes effect when the health check is normal.
|
|
7185
|
+
* - **Standby Instance**: The weight is 0. It takes over the traffic after the primary instance fails, serving as a disaster recovery backup.
|
|
7186
|
+
*
|
|
7187
|
+
* @param request - CreateRouteTargetGroupRequest
|
|
7188
|
+
* @returns CreateRouteTargetGroupResponse
|
|
7189
|
+
*/
|
|
7190
|
+
async createRouteTargetGroup(request: $_model.CreateRouteTargetGroupRequest): Promise<$_model.CreateRouteTargetGroupResponse> {
|
|
7191
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7192
|
+
return await this.createRouteTargetGroupWithOptions(request, runtime);
|
|
7193
|
+
}
|
|
7194
|
+
|
|
7101
7195
|
/**
|
|
7102
7196
|
* Creates a router interface.
|
|
7103
7197
|
*
|
|
@@ -12480,6 +12574,70 @@ export default class Client extends OpenApi {
|
|
|
12480
12574
|
return await this.deleteRouteTableWithOptions(request, runtime);
|
|
12481
12575
|
}
|
|
12482
12576
|
|
|
12577
|
+
/**
|
|
12578
|
+
* Delete Route Target Group
|
|
12579
|
+
*
|
|
12580
|
+
* @remarks
|
|
12581
|
+
* - 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:
|
|
12582
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
12583
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
12584
|
+
*
|
|
12585
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
12586
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12587
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
12588
|
+
*/
|
|
12589
|
+
async deleteRouteTargetGroupWithOptions(request: $_model.DeleteRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRouteTargetGroupResponse> {
|
|
12590
|
+
request.validate();
|
|
12591
|
+
let query = { };
|
|
12592
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
12593
|
+
query["ClientToken"] = request.clientToken;
|
|
12594
|
+
}
|
|
12595
|
+
|
|
12596
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12597
|
+
query["RegionId"] = request.regionId;
|
|
12598
|
+
}
|
|
12599
|
+
|
|
12600
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
12601
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
if (!$dara.isNull(request.tag)) {
|
|
12605
|
+
query["Tag"] = request.tag;
|
|
12606
|
+
}
|
|
12607
|
+
|
|
12608
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12609
|
+
query: OpenApiUtil.query(query),
|
|
12610
|
+
});
|
|
12611
|
+
let params = new $OpenApiUtil.Params({
|
|
12612
|
+
action: "DeleteRouteTargetGroup",
|
|
12613
|
+
version: "2016-04-28",
|
|
12614
|
+
protocol: "HTTPS",
|
|
12615
|
+
pathname: "/",
|
|
12616
|
+
method: "POST",
|
|
12617
|
+
authType: "AK",
|
|
12618
|
+
style: "RPC",
|
|
12619
|
+
reqBodyType: "formData",
|
|
12620
|
+
bodyType: "json",
|
|
12621
|
+
});
|
|
12622
|
+
return $dara.cast<$_model.DeleteRouteTargetGroupResponse>(await this.callApi(params, req, runtime), new $_model.DeleteRouteTargetGroupResponse({}));
|
|
12623
|
+
}
|
|
12624
|
+
|
|
12625
|
+
/**
|
|
12626
|
+
* Delete Route Target Group
|
|
12627
|
+
*
|
|
12628
|
+
* @remarks
|
|
12629
|
+
* - 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:
|
|
12630
|
+
* - When the route target group is in the **Deleting** state, it indicates that the route target group is being deleted.
|
|
12631
|
+
* - If you cannot find the specified route target group, it means the route target group has been successfully deleted.
|
|
12632
|
+
*
|
|
12633
|
+
* @param request - DeleteRouteTargetGroupRequest
|
|
12634
|
+
* @returns DeleteRouteTargetGroupResponse
|
|
12635
|
+
*/
|
|
12636
|
+
async deleteRouteTargetGroup(request: $_model.DeleteRouteTargetGroupRequest): Promise<$_model.DeleteRouteTargetGroupResponse> {
|
|
12637
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12638
|
+
return await this.deleteRouteTargetGroupWithOptions(request, runtime);
|
|
12639
|
+
}
|
|
12640
|
+
|
|
12483
12641
|
/**
|
|
12484
12642
|
* Deletes a router interface.
|
|
12485
12643
|
*
|
|
@@ -21806,6 +21964,66 @@ export default class Client extends OpenApi {
|
|
|
21806
21964
|
return await this.getPublicIpAddressPoolServiceStatusWithOptions(request, runtime);
|
|
21807
21965
|
}
|
|
21808
21966
|
|
|
21967
|
+
/**
|
|
21968
|
+
* Get the route target group
|
|
21969
|
+
*
|
|
21970
|
+
* @remarks
|
|
21971
|
+
* Get the information of the route target group instance.
|
|
21972
|
+
*
|
|
21973
|
+
* @param request - GetRouteTargetGroupRequest
|
|
21974
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21975
|
+
* @returns GetRouteTargetGroupResponse
|
|
21976
|
+
*/
|
|
21977
|
+
async getRouteTargetGroupWithOptions(request: $_model.GetRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetRouteTargetGroupResponse> {
|
|
21978
|
+
request.validate();
|
|
21979
|
+
let query = { };
|
|
21980
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
21981
|
+
query["ClientToken"] = request.clientToken;
|
|
21982
|
+
}
|
|
21983
|
+
|
|
21984
|
+
if (!$dara.isNull(request.regionId)) {
|
|
21985
|
+
query["RegionId"] = request.regionId;
|
|
21986
|
+
}
|
|
21987
|
+
|
|
21988
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
21989
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
21990
|
+
}
|
|
21991
|
+
|
|
21992
|
+
if (!$dara.isNull(request.tag)) {
|
|
21993
|
+
query["Tag"] = request.tag;
|
|
21994
|
+
}
|
|
21995
|
+
|
|
21996
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
21997
|
+
query: OpenApiUtil.query(query),
|
|
21998
|
+
});
|
|
21999
|
+
let params = new $OpenApiUtil.Params({
|
|
22000
|
+
action: "GetRouteTargetGroup",
|
|
22001
|
+
version: "2016-04-28",
|
|
22002
|
+
protocol: "HTTPS",
|
|
22003
|
+
pathname: "/",
|
|
22004
|
+
method: "POST",
|
|
22005
|
+
authType: "AK",
|
|
22006
|
+
style: "RPC",
|
|
22007
|
+
reqBodyType: "formData",
|
|
22008
|
+
bodyType: "json",
|
|
22009
|
+
});
|
|
22010
|
+
return $dara.cast<$_model.GetRouteTargetGroupResponse>(await this.callApi(params, req, runtime), new $_model.GetRouteTargetGroupResponse({}));
|
|
22011
|
+
}
|
|
22012
|
+
|
|
22013
|
+
/**
|
|
22014
|
+
* Get the route target group
|
|
22015
|
+
*
|
|
22016
|
+
* @remarks
|
|
22017
|
+
* Get the information of the route target group instance.
|
|
22018
|
+
*
|
|
22019
|
+
* @param request - GetRouteTargetGroupRequest
|
|
22020
|
+
* @returns GetRouteTargetGroupResponse
|
|
22021
|
+
*/
|
|
22022
|
+
async getRouteTargetGroup(request: $_model.GetRouteTargetGroupRequest): Promise<$_model.GetRouteTargetGroupResponse> {
|
|
22023
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
22024
|
+
return await this.getRouteTargetGroupWithOptions(request, runtime);
|
|
22025
|
+
}
|
|
22026
|
+
|
|
21809
22027
|
/**
|
|
21810
22028
|
* Queries the status of the traffic mirror feature.
|
|
21811
22029
|
*
|
|
@@ -23646,6 +23864,86 @@ export default class Client extends OpenApi {
|
|
|
23646
23864
|
return await this.listPublicIpAddressPoolsWithOptions(request, runtime);
|
|
23647
23865
|
}
|
|
23648
23866
|
|
|
23867
|
+
/**
|
|
23868
|
+
* Batch query for route target groups
|
|
23869
|
+
*
|
|
23870
|
+
* @remarks
|
|
23871
|
+
* Lists the route target groups.
|
|
23872
|
+
*
|
|
23873
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
23874
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
23875
|
+
* @returns ListRouteTargetGroupsResponse
|
|
23876
|
+
*/
|
|
23877
|
+
async listRouteTargetGroupsWithOptions(request: $_model.ListRouteTargetGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRouteTargetGroupsResponse> {
|
|
23878
|
+
request.validate();
|
|
23879
|
+
let query = { };
|
|
23880
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
23881
|
+
query["ClientToken"] = request.clientToken;
|
|
23882
|
+
}
|
|
23883
|
+
|
|
23884
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
23885
|
+
query["MaxResults"] = request.maxResults;
|
|
23886
|
+
}
|
|
23887
|
+
|
|
23888
|
+
if (!$dara.isNull(request.memberId)) {
|
|
23889
|
+
query["MemberId"] = request.memberId;
|
|
23890
|
+
}
|
|
23891
|
+
|
|
23892
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
23893
|
+
query["NextToken"] = request.nextToken;
|
|
23894
|
+
}
|
|
23895
|
+
|
|
23896
|
+
if (!$dara.isNull(request.regionId)) {
|
|
23897
|
+
query["RegionId"] = request.regionId;
|
|
23898
|
+
}
|
|
23899
|
+
|
|
23900
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
23901
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
23902
|
+
}
|
|
23903
|
+
|
|
23904
|
+
if (!$dara.isNull(request.routeTargetGroupIds)) {
|
|
23905
|
+
query["RouteTargetGroupIds"] = request.routeTargetGroupIds;
|
|
23906
|
+
}
|
|
23907
|
+
|
|
23908
|
+
if (!$dara.isNull(request.tag)) {
|
|
23909
|
+
query["Tag"] = request.tag;
|
|
23910
|
+
}
|
|
23911
|
+
|
|
23912
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
23913
|
+
query["VpcId"] = request.vpcId;
|
|
23914
|
+
}
|
|
23915
|
+
|
|
23916
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
23917
|
+
query: OpenApiUtil.query(query),
|
|
23918
|
+
});
|
|
23919
|
+
let params = new $OpenApiUtil.Params({
|
|
23920
|
+
action: "ListRouteTargetGroups",
|
|
23921
|
+
version: "2016-04-28",
|
|
23922
|
+
protocol: "HTTPS",
|
|
23923
|
+
pathname: "/",
|
|
23924
|
+
method: "POST",
|
|
23925
|
+
authType: "AK",
|
|
23926
|
+
style: "RPC",
|
|
23927
|
+
reqBodyType: "formData",
|
|
23928
|
+
bodyType: "json",
|
|
23929
|
+
});
|
|
23930
|
+
return $dara.cast<$_model.ListRouteTargetGroupsResponse>(await this.callApi(params, req, runtime), new $_model.ListRouteTargetGroupsResponse({}));
|
|
23931
|
+
}
|
|
23932
|
+
|
|
23933
|
+
/**
|
|
23934
|
+
* Batch query for route target groups
|
|
23935
|
+
*
|
|
23936
|
+
* @remarks
|
|
23937
|
+
* Lists the route target groups.
|
|
23938
|
+
*
|
|
23939
|
+
* @param request - ListRouteTargetGroupsRequest
|
|
23940
|
+
* @returns ListRouteTargetGroupsResponse
|
|
23941
|
+
*/
|
|
23942
|
+
async listRouteTargetGroups(request: $_model.ListRouteTargetGroupsRequest): Promise<$_model.ListRouteTargetGroupsResponse> {
|
|
23943
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
23944
|
+
return await this.listRouteTargetGroupsWithOptions(request, runtime);
|
|
23945
|
+
}
|
|
23946
|
+
|
|
23649
23947
|
/**
|
|
23650
23948
|
* Queries the tags that are added to resources.
|
|
23651
23949
|
*
|
|
@@ -31518,6 +31816,66 @@ export default class Client extends OpenApi {
|
|
|
31518
31816
|
return await this.stopFailoverTestJobWithOptions(request, runtime);
|
|
31519
31817
|
}
|
|
31520
31818
|
|
|
31819
|
+
/**
|
|
31820
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
31821
|
+
*
|
|
31822
|
+
* @remarks
|
|
31823
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
31824
|
+
*
|
|
31825
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
31826
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31827
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
31828
|
+
*/
|
|
31829
|
+
async switchActiveRouteTargetWithOptions(request: $_model.SwitchActiveRouteTargetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SwitchActiveRouteTargetResponse> {
|
|
31830
|
+
request.validate();
|
|
31831
|
+
let query = { };
|
|
31832
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
31833
|
+
query["ClientToken"] = request.clientToken;
|
|
31834
|
+
}
|
|
31835
|
+
|
|
31836
|
+
if (!$dara.isNull(request.regionId)) {
|
|
31837
|
+
query["RegionId"] = request.regionId;
|
|
31838
|
+
}
|
|
31839
|
+
|
|
31840
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
31841
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
31842
|
+
}
|
|
31843
|
+
|
|
31844
|
+
if (!$dara.isNull(request.tag)) {
|
|
31845
|
+
query["Tag"] = request.tag;
|
|
31846
|
+
}
|
|
31847
|
+
|
|
31848
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
31849
|
+
query: OpenApiUtil.query(query),
|
|
31850
|
+
});
|
|
31851
|
+
let params = new $OpenApiUtil.Params({
|
|
31852
|
+
action: "SwitchActiveRouteTarget",
|
|
31853
|
+
version: "2016-04-28",
|
|
31854
|
+
protocol: "HTTPS",
|
|
31855
|
+
pathname: "/",
|
|
31856
|
+
method: "POST",
|
|
31857
|
+
authType: "AK",
|
|
31858
|
+
style: "RPC",
|
|
31859
|
+
reqBodyType: "formData",
|
|
31860
|
+
bodyType: "json",
|
|
31861
|
+
});
|
|
31862
|
+
return $dara.cast<$_model.SwitchActiveRouteTargetResponse>(await this.callApi(params, req, runtime), new $_model.SwitchActiveRouteTargetResponse({}));
|
|
31863
|
+
}
|
|
31864
|
+
|
|
31865
|
+
/**
|
|
31866
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
31867
|
+
*
|
|
31868
|
+
* @remarks
|
|
31869
|
+
* Switch Active and Standby For RouteTargetGroup.
|
|
31870
|
+
*
|
|
31871
|
+
* @param request - SwitchActiveRouteTargetRequest
|
|
31872
|
+
* @returns SwitchActiveRouteTargetResponse
|
|
31873
|
+
*/
|
|
31874
|
+
async switchActiveRouteTarget(request: $_model.SwitchActiveRouteTargetRequest): Promise<$_model.SwitchActiveRouteTargetResponse> {
|
|
31875
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
31876
|
+
return await this.switchActiveRouteTargetWithOptions(request, runtime);
|
|
31877
|
+
}
|
|
31878
|
+
|
|
31521
31879
|
/**
|
|
31522
31880
|
* Creates and adds tags to resources.
|
|
31523
31881
|
*
|
|
@@ -33407,6 +33765,78 @@ export default class Client extends OpenApi {
|
|
|
33407
33765
|
return await this.updatePublicIpAddressPoolAttributeWithOptions(request, runtime);
|
|
33408
33766
|
}
|
|
33409
33767
|
|
|
33768
|
+
/**
|
|
33769
|
+
* Update Route Target Group
|
|
33770
|
+
*
|
|
33771
|
+
* @remarks
|
|
33772
|
+
* - 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:
|
|
33773
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
33774
|
+
* - 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.
|
|
33775
|
+
*
|
|
33776
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
33777
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
33778
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
33779
|
+
*/
|
|
33780
|
+
async updateRouteTargetGroupWithOptions(request: $_model.UpdateRouteTargetGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRouteTargetGroupResponse> {
|
|
33781
|
+
request.validate();
|
|
33782
|
+
let query = { };
|
|
33783
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
33784
|
+
query["ClientToken"] = request.clientToken;
|
|
33785
|
+
}
|
|
33786
|
+
|
|
33787
|
+
if (!$dara.isNull(request.regionId)) {
|
|
33788
|
+
query["RegionId"] = request.regionId;
|
|
33789
|
+
}
|
|
33790
|
+
|
|
33791
|
+
if (!$dara.isNull(request.routeTargetGroupDescription)) {
|
|
33792
|
+
query["RouteTargetGroupDescription"] = request.routeTargetGroupDescription;
|
|
33793
|
+
}
|
|
33794
|
+
|
|
33795
|
+
if (!$dara.isNull(request.routeTargetGroupId)) {
|
|
33796
|
+
query["RouteTargetGroupId"] = request.routeTargetGroupId;
|
|
33797
|
+
}
|
|
33798
|
+
|
|
33799
|
+
if (!$dara.isNull(request.routeTargetGroupName)) {
|
|
33800
|
+
query["RouteTargetGroupName"] = request.routeTargetGroupName;
|
|
33801
|
+
}
|
|
33802
|
+
|
|
33803
|
+
if (!$dara.isNull(request.routeTargetMemberList)) {
|
|
33804
|
+
query["RouteTargetMemberList"] = request.routeTargetMemberList;
|
|
33805
|
+
}
|
|
33806
|
+
|
|
33807
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
33808
|
+
query: OpenApiUtil.query(query),
|
|
33809
|
+
});
|
|
33810
|
+
let params = new $OpenApiUtil.Params({
|
|
33811
|
+
action: "UpdateRouteTargetGroup",
|
|
33812
|
+
version: "2016-04-28",
|
|
33813
|
+
protocol: "HTTPS",
|
|
33814
|
+
pathname: "/",
|
|
33815
|
+
method: "POST",
|
|
33816
|
+
authType: "AK",
|
|
33817
|
+
style: "RPC",
|
|
33818
|
+
reqBodyType: "formData",
|
|
33819
|
+
bodyType: "json",
|
|
33820
|
+
});
|
|
33821
|
+
return $dara.cast<$_model.UpdateRouteTargetGroupResponse>(await this.callApi(params, req, runtime), new $_model.UpdateRouteTargetGroupResponse({}));
|
|
33822
|
+
}
|
|
33823
|
+
|
|
33824
|
+
/**
|
|
33825
|
+
* Update Route Target Group
|
|
33826
|
+
*
|
|
33827
|
+
* @remarks
|
|
33828
|
+
* - 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:
|
|
33829
|
+
* - When the route target group is in the **Updating** state, it indicates that the route target group is being created.
|
|
33830
|
+
* - 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.
|
|
33831
|
+
*
|
|
33832
|
+
* @param request - UpdateRouteTargetGroupRequest
|
|
33833
|
+
* @returns UpdateRouteTargetGroupResponse
|
|
33834
|
+
*/
|
|
33835
|
+
async updateRouteTargetGroup(request: $_model.UpdateRouteTargetGroupRequest): Promise<$_model.UpdateRouteTargetGroupResponse> {
|
|
33836
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
33837
|
+
return await this.updateRouteTargetGroupWithOptions(request, runtime);
|
|
33838
|
+
}
|
|
33839
|
+
|
|
33410
33840
|
/**
|
|
33411
33841
|
* Modifies the configuration of a filter for traffic mirror.
|
|
33412
33842
|
*
|
|
@@ -70,6 +70,7 @@ export class CreateHighReliablePhysicalConnectionRequestApList extends $dara.Mod
|
|
|
70
70
|
* test
|
|
71
71
|
*/
|
|
72
72
|
name?: string;
|
|
73
|
+
opticalModuleModel?: string;
|
|
73
74
|
/**
|
|
74
75
|
* @remarks
|
|
75
76
|
* The geographical location of the data center.
|
|
@@ -114,6 +115,7 @@ export class CreateHighReliablePhysicalConnectionRequestApList extends $dara.Mod
|
|
|
114
115
|
description: 'Description',
|
|
115
116
|
lineOperator: 'LineOperator',
|
|
116
117
|
name: 'Name',
|
|
118
|
+
opticalModuleModel: 'OpticalModuleModel',
|
|
117
119
|
peerLocation: 'PeerLocation',
|
|
118
120
|
portNum: 'PortNum',
|
|
119
121
|
regionId: 'RegionId',
|
|
@@ -129,6 +131,7 @@ export class CreateHighReliablePhysicalConnectionRequestApList extends $dara.Mod
|
|
|
129
131
|
description: 'string',
|
|
130
132
|
lineOperator: 'string',
|
|
131
133
|
name: 'string',
|
|
134
|
+
opticalModuleModel: 'string',
|
|
132
135
|
peerLocation: 'string',
|
|
133
136
|
portNum: 'number',
|
|
134
137
|
regionId: 'string',
|
|
@@ -119,6 +119,7 @@ export class CreatePhysicalConnectionRequest extends $dara.Model {
|
|
|
119
119
|
* test
|
|
120
120
|
*/
|
|
121
121
|
name?: string;
|
|
122
|
+
opticalModuleModel?: string;
|
|
122
123
|
ownerAccount?: string;
|
|
123
124
|
ownerId?: number;
|
|
124
125
|
/**
|
|
@@ -209,6 +210,7 @@ export class CreatePhysicalConnectionRequest extends $dara.Model {
|
|
|
209
210
|
deviceAdvancedCapacity: 'DeviceAdvancedCapacity',
|
|
210
211
|
lineOperator: 'LineOperator',
|
|
211
212
|
name: 'Name',
|
|
213
|
+
opticalModuleModel: 'OpticalModuleModel',
|
|
212
214
|
ownerAccount: 'OwnerAccount',
|
|
213
215
|
ownerId: 'OwnerId',
|
|
214
216
|
peerLocation: 'PeerLocation',
|
|
@@ -233,6 +235,7 @@ export class CreatePhysicalConnectionRequest extends $dara.Model {
|
|
|
233
235
|
deviceAdvancedCapacity: { 'type': 'array', 'itemType': 'string' },
|
|
234
236
|
lineOperator: 'string',
|
|
235
237
|
name: 'string',
|
|
238
|
+
opticalModuleModel: 'string',
|
|
236
239
|
ownerAccount: 'string',
|
|
237
240
|
ownerId: 'number',
|
|
238
241
|
peerLocation: 'string',
|