@alicloud/vpc20160428 5.0.0 → 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 +10 -14
- package/dist/client.js +25 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -14
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',
|
|
@@ -24737,12 +24746,14 @@ export class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
24737
24746
|
nextToken?: string;
|
|
24738
24747
|
requestId?: string;
|
|
24739
24748
|
services?: ListVpcEndpointServicesByEndUserResponseBodyServices[];
|
|
24749
|
+
totalCount?: string;
|
|
24740
24750
|
static names(): { [key: string]: string } {
|
|
24741
24751
|
return {
|
|
24742
24752
|
maxResults: 'MaxResults',
|
|
24743
24753
|
nextToken: 'NextToken',
|
|
24744
24754
|
requestId: 'RequestId',
|
|
24745
24755
|
services: 'Services',
|
|
24756
|
+
totalCount: 'TotalCount',
|
|
24746
24757
|
};
|
|
24747
24758
|
}
|
|
24748
24759
|
|
|
@@ -24752,6 +24763,7 @@ export class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
24752
24763
|
nextToken: 'string',
|
|
24753
24764
|
requestId: 'string',
|
|
24754
24765
|
services: { 'type': 'array', 'itemType': ListVpcEndpointServicesByEndUserResponseBodyServices },
|
|
24766
|
+
totalCount: 'string',
|
|
24755
24767
|
};
|
|
24756
24768
|
}
|
|
24757
24769
|
|
|
@@ -38839,6 +38851,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38839
38851
|
instanceId?: string;
|
|
38840
38852
|
lineCode?: string;
|
|
38841
38853
|
lineLabel?: string;
|
|
38854
|
+
lineSPContactInfo?: string;
|
|
38855
|
+
lineServiceProvider?: string;
|
|
38842
38856
|
lineType?: string;
|
|
38843
38857
|
loaUrl?: string;
|
|
38844
38858
|
PMInfo?: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo;
|
|
@@ -38852,6 +38866,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38852
38866
|
instanceId: 'InstanceId',
|
|
38853
38867
|
lineCode: 'LineCode',
|
|
38854
38868
|
lineLabel: 'LineLabel',
|
|
38869
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
38870
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
38855
38871
|
lineType: 'LineType',
|
|
38856
38872
|
loaUrl: 'LoaUrl',
|
|
38857
38873
|
PMInfo: 'PMInfo',
|
|
@@ -38868,6 +38884,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38868
38884
|
instanceId: 'string',
|
|
38869
38885
|
lineCode: 'string',
|
|
38870
38886
|
lineLabel: 'string',
|
|
38887
|
+
lineSPContactInfo: 'string',
|
|
38888
|
+
lineServiceProvider: 'string',
|
|
38871
38889
|
lineType: 'string',
|
|
38872
38890
|
loaUrl: 'string',
|
|
38873
38891
|
PMInfo: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo,
|
|
@@ -48641,7 +48659,6 @@ export default class Client extends OpenApi {
|
|
|
48641
48659
|
}
|
|
48642
48660
|
|
|
48643
48661
|
/**
|
|
48644
|
-
* ## Usage notes
|
|
48645
48662
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
48646
48663
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
48647
48664
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -48703,7 +48720,6 @@ export default class Client extends OpenApi {
|
|
|
48703
48720
|
}
|
|
48704
48721
|
|
|
48705
48722
|
/**
|
|
48706
|
-
* ## Usage notes
|
|
48707
48723
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
48708
48724
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
48709
48725
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -49152,6 +49168,10 @@ export default class Client extends OpenApi {
|
|
|
49152
49168
|
query["ClientToken"] = request.clientToken;
|
|
49153
49169
|
}
|
|
49154
49170
|
|
|
49171
|
+
if (!Util.isUnset(request.finishWork)) {
|
|
49172
|
+
query["FinishWork"] = request.finishWork;
|
|
49173
|
+
}
|
|
49174
|
+
|
|
49155
49175
|
if (!Util.isUnset(request.instanceId)) {
|
|
49156
49176
|
query["InstanceId"] = request.instanceId;
|
|
49157
49177
|
}
|
|
@@ -49164,6 +49184,14 @@ export default class Client extends OpenApi {
|
|
|
49164
49184
|
query["LineLabel"] = request.lineLabel;
|
|
49165
49185
|
}
|
|
49166
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
|
+
|
|
49167
49195
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
49168
49196
|
query["OwnerAccount"] = request.ownerAccount;
|
|
49169
49197
|
}
|
|
@@ -53308,7 +53336,7 @@ export default class Client extends OpenApi {
|
|
|
53308
53336
|
|
|
53309
53337
|
/**
|
|
53310
53338
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53311
|
-
* *
|
|
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.
|
|
53312
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.
|
|
53313
53341
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53314
53342
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -53384,7 +53412,7 @@ export default class Client extends OpenApi {
|
|
|
53384
53412
|
|
|
53385
53413
|
/**
|
|
53386
53414
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53387
|
-
* *
|
|
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.
|
|
53388
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.
|
|
53389
53417
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53390
53418
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -53997,9 +54025,8 @@ export default class Client extends OpenApi {
|
|
|
53997
54025
|
}
|
|
53998
54026
|
|
|
53999
54027
|
/**
|
|
54000
|
-
* # Usage notes
|
|
54001
54028
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
54002
|
-
*
|
|
54029
|
+
* ### Prerequisites
|
|
54003
54030
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
54004
54031
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
54005
54032
|
*
|
|
@@ -54108,9 +54135,8 @@ export default class Client extends OpenApi {
|
|
|
54108
54135
|
}
|
|
54109
54136
|
|
|
54110
54137
|
/**
|
|
54111
|
-
* # Usage notes
|
|
54112
54138
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
54113
|
-
*
|
|
54139
|
+
* ### Prerequisites
|
|
54114
54140
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
54115
54141
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
54116
54142
|
*
|
|
@@ -54123,7 +54149,6 @@ export default class Client extends OpenApi {
|
|
|
54123
54149
|
}
|
|
54124
54150
|
|
|
54125
54151
|
/**
|
|
54126
|
-
* # Usage notes
|
|
54127
54152
|
* * **CreateVpnConnection** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
54128
54153
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
54129
54154
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -54253,7 +54278,6 @@ export default class Client extends OpenApi {
|
|
|
54253
54278
|
}
|
|
54254
54279
|
|
|
54255
54280
|
/**
|
|
54256
|
-
* # Usage notes
|
|
54257
54281
|
* * **CreateVpnConnection** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
54258
54282
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
54259
54283
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -63308,7 +63332,6 @@ export default class Client extends OpenApi {
|
|
|
63308
63332
|
}
|
|
63309
63333
|
|
|
63310
63334
|
/**
|
|
63311
|
-
* ## Usage notes
|
|
63312
63335
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
63313
63336
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
63314
63337
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -63363,7 +63386,6 @@ export default class Client extends OpenApi {
|
|
|
63363
63386
|
}
|
|
63364
63387
|
|
|
63365
63388
|
/**
|
|
63366
|
-
* ## Usage notes
|
|
63367
63389
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
63368
63390
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
63369
63391
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -65875,7 +65897,6 @@ export default class Client extends OpenApi {
|
|
|
65875
65897
|
}
|
|
65876
65898
|
|
|
65877
65899
|
/**
|
|
65878
|
-
* ## Usage notes
|
|
65879
65900
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
65880
65901
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
65881
65902
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|
|
@@ -65931,7 +65952,6 @@ export default class Client extends OpenApi {
|
|
|
65931
65952
|
}
|
|
65932
65953
|
|
|
65933
65954
|
/**
|
|
65934
|
-
* ## Usage notes
|
|
65935
65955
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
65936
65956
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
65937
65957
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|