@alicloud/vpc20160428 5.0.1 → 5.0.2
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 +7 -2
- package/dist/client.js +21 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +29 -2
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2977,9 +2977,12 @@ export class CheckVpnBgpEnabledResponse extends $tea.Model {
|
|
|
2977
2977
|
|
|
2978
2978
|
export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
2979
2979
|
clientToken?: string;
|
|
2980
|
+
finishWork?: boolean;
|
|
2980
2981
|
instanceId?: string;
|
|
2981
2982
|
lineCode?: string;
|
|
2982
2983
|
lineLabel?: string;
|
|
2984
|
+
lineSPContactInfo?: string;
|
|
2985
|
+
lineServiceProvider?: string;
|
|
2983
2986
|
ownerAccount?: string;
|
|
2984
2987
|
ownerId?: number;
|
|
2985
2988
|
regionId?: string;
|
|
@@ -2988,9 +2991,12 @@ export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
2988
2991
|
static names(): { [key: string]: string } {
|
|
2989
2992
|
return {
|
|
2990
2993
|
clientToken: 'ClientToken',
|
|
2994
|
+
finishWork: 'FinishWork',
|
|
2991
2995
|
instanceId: 'InstanceId',
|
|
2992
2996
|
lineCode: 'LineCode',
|
|
2993
2997
|
lineLabel: 'LineLabel',
|
|
2998
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
2999
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
2994
3000
|
ownerAccount: 'OwnerAccount',
|
|
2995
3001
|
ownerId: 'OwnerId',
|
|
2996
3002
|
regionId: 'RegionId',
|
|
@@ -3002,9 +3008,12 @@ export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
3002
3008
|
static types(): { [key: string]: any } {
|
|
3003
3009
|
return {
|
|
3004
3010
|
clientToken: 'string',
|
|
3011
|
+
finishWork: 'boolean',
|
|
3005
3012
|
instanceId: 'string',
|
|
3006
3013
|
lineCode: 'string',
|
|
3007
3014
|
lineLabel: 'string',
|
|
3015
|
+
lineSPContactInfo: 'string',
|
|
3016
|
+
lineServiceProvider: 'string',
|
|
3008
3017
|
ownerAccount: 'string',
|
|
3009
3018
|
ownerId: 'number',
|
|
3010
3019
|
regionId: 'string',
|
|
@@ -38842,6 +38851,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38842
38851
|
instanceId?: string;
|
|
38843
38852
|
lineCode?: string;
|
|
38844
38853
|
lineLabel?: string;
|
|
38854
|
+
lineSPContactInfo?: string;
|
|
38855
|
+
lineServiceProvider?: string;
|
|
38845
38856
|
lineType?: string;
|
|
38846
38857
|
loaUrl?: string;
|
|
38847
38858
|
PMInfo?: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo;
|
|
@@ -38855,6 +38866,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38855
38866
|
instanceId: 'InstanceId',
|
|
38856
38867
|
lineCode: 'LineCode',
|
|
38857
38868
|
lineLabel: 'LineLabel',
|
|
38869
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
38870
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
38858
38871
|
lineType: 'LineType',
|
|
38859
38872
|
loaUrl: 'LoaUrl',
|
|
38860
38873
|
PMInfo: 'PMInfo',
|
|
@@ -38871,6 +38884,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38871
38884
|
instanceId: 'string',
|
|
38872
38885
|
lineCode: 'string',
|
|
38873
38886
|
lineLabel: 'string',
|
|
38887
|
+
lineSPContactInfo: 'string',
|
|
38888
|
+
lineServiceProvider: 'string',
|
|
38874
38889
|
lineType: 'string',
|
|
38875
38890
|
loaUrl: 'string',
|
|
38876
38891
|
PMInfo: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo,
|
|
@@ -49153,6 +49168,10 @@ export default class Client extends OpenApi {
|
|
|
49153
49168
|
query["ClientToken"] = request.clientToken;
|
|
49154
49169
|
}
|
|
49155
49170
|
|
|
49171
|
+
if (!Util.isUnset(request.finishWork)) {
|
|
49172
|
+
query["FinishWork"] = request.finishWork;
|
|
49173
|
+
}
|
|
49174
|
+
|
|
49156
49175
|
if (!Util.isUnset(request.instanceId)) {
|
|
49157
49176
|
query["InstanceId"] = request.instanceId;
|
|
49158
49177
|
}
|
|
@@ -49165,6 +49184,14 @@ export default class Client extends OpenApi {
|
|
|
49165
49184
|
query["LineLabel"] = request.lineLabel;
|
|
49166
49185
|
}
|
|
49167
49186
|
|
|
49187
|
+
if (!Util.isUnset(request.lineSPContactInfo)) {
|
|
49188
|
+
query["LineSPContactInfo"] = request.lineSPContactInfo;
|
|
49189
|
+
}
|
|
49190
|
+
|
|
49191
|
+
if (!Util.isUnset(request.lineServiceProvider)) {
|
|
49192
|
+
query["LineServiceProvider"] = request.lineServiceProvider;
|
|
49193
|
+
}
|
|
49194
|
+
|
|
49168
49195
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
49169
49196
|
query["OwnerAccount"] = request.ownerAccount;
|
|
49170
49197
|
}
|
|
@@ -53309,7 +53336,7 @@ export default class Client extends OpenApi {
|
|
|
53309
53336
|
|
|
53310
53337
|
/**
|
|
53311
53338
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53312
|
-
* *
|
|
53339
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
53313
53340
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
53314
53341
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53315
53342
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -53385,7 +53412,7 @@ export default class Client extends OpenApi {
|
|
|
53385
53412
|
|
|
53386
53413
|
/**
|
|
53387
53414
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53388
|
-
* *
|
|
53415
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
53389
53416
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
53390
53417
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53391
53418
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|