@alicloud/vpc20160428 4.0.1 → 4.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 +48 -0
- package/dist/client.js +81 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +105 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6201,6 +6201,7 @@ export class CreatePhysicalConnectionSetupOrderResponse extends $tea.Model {
|
|
|
6201
6201
|
}
|
|
6202
6202
|
|
|
6203
6203
|
export class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
6204
|
+
bizType?: string;
|
|
6204
6205
|
clientToken?: string;
|
|
6205
6206
|
description?: string;
|
|
6206
6207
|
dryRun?: boolean;
|
|
@@ -6213,8 +6214,10 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
6213
6214
|
resourceOwnerAccount?: string;
|
|
6214
6215
|
resourceOwnerId?: number;
|
|
6215
6216
|
tag?: CreatePublicIpAddressPoolRequestTag[];
|
|
6217
|
+
zones?: string[];
|
|
6216
6218
|
static names(): { [key: string]: string } {
|
|
6217
6219
|
return {
|
|
6220
|
+
bizType: 'BizType',
|
|
6218
6221
|
clientToken: 'ClientToken',
|
|
6219
6222
|
description: 'Description',
|
|
6220
6223
|
dryRun: 'DryRun',
|
|
@@ -6227,11 +6230,13 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
6227
6230
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6228
6231
|
resourceOwnerId: 'ResourceOwnerId',
|
|
6229
6232
|
tag: 'Tag',
|
|
6233
|
+
zones: 'Zones',
|
|
6230
6234
|
};
|
|
6231
6235
|
}
|
|
6232
6236
|
|
|
6233
6237
|
static types(): { [key: string]: any } {
|
|
6234
6238
|
return {
|
|
6239
|
+
bizType: 'string',
|
|
6235
6240
|
clientToken: 'string',
|
|
6236
6241
|
description: 'string',
|
|
6237
6242
|
dryRun: 'boolean',
|
|
@@ -6244,6 +6249,7 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
6244
6249
|
resourceOwnerAccount: 'string',
|
|
6245
6250
|
resourceOwnerId: 'number',
|
|
6246
6251
|
tag: { 'type': 'array', 'itemType': CreatePublicIpAddressPoolRequestTag },
|
|
6252
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
6247
6253
|
};
|
|
6248
6254
|
}
|
|
6249
6255
|
|
|
@@ -21270,6 +21276,7 @@ export class EnableNatGatewayEcsMetricResponse extends $tea.Model {
|
|
|
21270
21276
|
}
|
|
21271
21277
|
|
|
21272
21278
|
export class EnablePhysicalConnectionRequest extends $tea.Model {
|
|
21279
|
+
byPassSp?: boolean;
|
|
21273
21280
|
clientToken?: string;
|
|
21274
21281
|
ownerAccount?: string;
|
|
21275
21282
|
ownerId?: number;
|
|
@@ -21279,6 +21286,7 @@ export class EnablePhysicalConnectionRequest extends $tea.Model {
|
|
|
21279
21286
|
resourceOwnerId?: number;
|
|
21280
21287
|
static names(): { [key: string]: string } {
|
|
21281
21288
|
return {
|
|
21289
|
+
byPassSp: 'ByPassSp',
|
|
21282
21290
|
clientToken: 'ClientToken',
|
|
21283
21291
|
ownerAccount: 'OwnerAccount',
|
|
21284
21292
|
ownerId: 'OwnerId',
|
|
@@ -21291,6 +21299,7 @@ export class EnablePhysicalConnectionRequest extends $tea.Model {
|
|
|
21291
21299
|
|
|
21292
21300
|
static types(): { [key: string]: any } {
|
|
21293
21301
|
return {
|
|
21302
|
+
byPassSp: 'boolean',
|
|
21294
21303
|
clientToken: 'string',
|
|
21295
21304
|
ownerAccount: 'string',
|
|
21296
21305
|
ownerId: 'number',
|
|
@@ -35813,6 +35822,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
|
|
|
35813
35822
|
export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackage extends $tea.Model {
|
|
35814
35823
|
bandwidth?: string;
|
|
35815
35824
|
bandwidthPackageId?: string;
|
|
35825
|
+
bizType?: string;
|
|
35816
35826
|
businessStatus?: string;
|
|
35817
35827
|
creationTime?: string;
|
|
35818
35828
|
deletionProtection?: boolean;
|
|
@@ -35835,10 +35845,12 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
|
|
|
35835
35845
|
serviceManaged?: number;
|
|
35836
35846
|
status?: string;
|
|
35837
35847
|
tags?: DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackageTags;
|
|
35848
|
+
zone?: string;
|
|
35838
35849
|
static names(): { [key: string]: string } {
|
|
35839
35850
|
return {
|
|
35840
35851
|
bandwidth: 'Bandwidth',
|
|
35841
35852
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
35853
|
+
bizType: 'BizType',
|
|
35842
35854
|
businessStatus: 'BusinessStatus',
|
|
35843
35855
|
creationTime: 'CreationTime',
|
|
35844
35856
|
deletionProtection: 'DeletionProtection',
|
|
@@ -35861,6 +35873,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
|
|
|
35861
35873
|
serviceManaged: 'ServiceManaged',
|
|
35862
35874
|
status: 'Status',
|
|
35863
35875
|
tags: 'Tags',
|
|
35876
|
+
zone: 'Zone',
|
|
35864
35877
|
};
|
|
35865
35878
|
}
|
|
35866
35879
|
|
|
@@ -35868,6 +35881,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
|
|
|
35868
35881
|
return {
|
|
35869
35882
|
bandwidth: 'string',
|
|
35870
35883
|
bandwidthPackageId: 'string',
|
|
35884
|
+
bizType: 'string',
|
|
35871
35885
|
businessStatus: 'string',
|
|
35872
35886
|
creationTime: 'string',
|
|
35873
35887
|
deletionProtection: 'boolean',
|
|
@@ -35890,6 +35904,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
|
|
|
35890
35904
|
serviceManaged: 'number',
|
|
35891
35905
|
status: 'string',
|
|
35892
35906
|
tags: DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackageTags,
|
|
35907
|
+
zone: 'string',
|
|
35893
35908
|
};
|
|
35894
35909
|
}
|
|
35895
35910
|
|
|
@@ -36256,6 +36271,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
|
|
|
36256
36271
|
bandwidthPackageBandwidth?: string;
|
|
36257
36272
|
bandwidthPackageId?: string;
|
|
36258
36273
|
bandwidthPackageType?: string;
|
|
36274
|
+
bizType?: string;
|
|
36259
36275
|
businessStatus?: string;
|
|
36260
36276
|
chargeType?: string;
|
|
36261
36277
|
deletionProtection?: boolean;
|
|
@@ -36296,6 +36312,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
|
|
|
36296
36312
|
bandwidthPackageBandwidth: 'BandwidthPackageBandwidth',
|
|
36297
36313
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
36298
36314
|
bandwidthPackageType: 'BandwidthPackageType',
|
|
36315
|
+
bizType: 'BizType',
|
|
36299
36316
|
businessStatus: 'BusinessStatus',
|
|
36300
36317
|
chargeType: 'ChargeType',
|
|
36301
36318
|
deletionProtection: 'DeletionProtection',
|
|
@@ -36339,6 +36356,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
|
|
|
36339
36356
|
bandwidthPackageBandwidth: 'string',
|
|
36340
36357
|
bandwidthPackageId: 'string',
|
|
36341
36358
|
bandwidthPackageType: 'string',
|
|
36359
|
+
bizType: 'string',
|
|
36342
36360
|
businessStatus: 'string',
|
|
36343
36361
|
chargeType: 'string',
|
|
36344
36362
|
deletionProtection: 'boolean',
|
|
@@ -38843,6 +38861,47 @@ export class DescribePhysicalConnectionsRequestTags extends $tea.Model {
|
|
|
38843
38861
|
}
|
|
38844
38862
|
}
|
|
38845
38863
|
|
|
38864
|
+
export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags extends $tea.Model {
|
|
38865
|
+
key?: string;
|
|
38866
|
+
value?: string;
|
|
38867
|
+
static names(): { [key: string]: string } {
|
|
38868
|
+
return {
|
|
38869
|
+
key: 'Key',
|
|
38870
|
+
value: 'Value',
|
|
38871
|
+
};
|
|
38872
|
+
}
|
|
38873
|
+
|
|
38874
|
+
static types(): { [key: string]: any } {
|
|
38875
|
+
return {
|
|
38876
|
+
key: 'string',
|
|
38877
|
+
value: 'string',
|
|
38878
|
+
};
|
|
38879
|
+
}
|
|
38880
|
+
|
|
38881
|
+
constructor(map?: { [key: string]: any }) {
|
|
38882
|
+
super(map);
|
|
38883
|
+
}
|
|
38884
|
+
}
|
|
38885
|
+
|
|
38886
|
+
export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags extends $tea.Model {
|
|
38887
|
+
tags?: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags[];
|
|
38888
|
+
static names(): { [key: string]: string } {
|
|
38889
|
+
return {
|
|
38890
|
+
tags: 'tags',
|
|
38891
|
+
};
|
|
38892
|
+
}
|
|
38893
|
+
|
|
38894
|
+
static types(): { [key: string]: any } {
|
|
38895
|
+
return {
|
|
38896
|
+
tags: { 'type': 'array', 'itemType': DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags },
|
|
38897
|
+
};
|
|
38898
|
+
}
|
|
38899
|
+
|
|
38900
|
+
constructor(map?: { [key: string]: any }) {
|
|
38901
|
+
super(map);
|
|
38902
|
+
}
|
|
38903
|
+
}
|
|
38904
|
+
|
|
38846
38905
|
export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionType extends $tea.Model {
|
|
38847
38906
|
accessPointId?: string;
|
|
38848
38907
|
accessPointType?: string;
|
|
@@ -38876,6 +38935,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
|
|
|
38876
38935
|
resourceGroupId?: string;
|
|
38877
38936
|
spec?: string;
|
|
38878
38937
|
status?: string;
|
|
38938
|
+
tags?: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags;
|
|
38879
38939
|
type?: string;
|
|
38880
38940
|
virtualPhysicalConnectionCount?: number;
|
|
38881
38941
|
vlanId?: string;
|
|
@@ -38914,6 +38974,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
|
|
|
38914
38974
|
resourceGroupId: 'ResourceGroupId',
|
|
38915
38975
|
spec: 'Spec',
|
|
38916
38976
|
status: 'Status',
|
|
38977
|
+
tags: 'Tags',
|
|
38917
38978
|
type: 'Type',
|
|
38918
38979
|
virtualPhysicalConnectionCount: 'VirtualPhysicalConnectionCount',
|
|
38919
38980
|
vlanId: 'VlanId',
|
|
@@ -38955,6 +39016,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
|
|
|
38955
39016
|
resourceGroupId: 'string',
|
|
38956
39017
|
spec: 'string',
|
|
38957
39018
|
status: 'string',
|
|
39019
|
+
tags: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags,
|
|
38958
39020
|
type: 'string',
|
|
38959
39021
|
virtualPhysicalConnectionCount: 'number',
|
|
38960
39022
|
vlanId: 'string',
|
|
@@ -44519,6 +44581,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags ext
|
|
|
44519
44581
|
}
|
|
44520
44582
|
|
|
44521
44583
|
export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.Model {
|
|
44584
|
+
bizType?: string;
|
|
44522
44585
|
creationTime?: string;
|
|
44523
44586
|
description?: string;
|
|
44524
44587
|
ipAddressRemaining?: boolean;
|
|
@@ -44534,8 +44597,10 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
|
|
|
44534
44597
|
totalIpNum?: number;
|
|
44535
44598
|
usedIpNum?: number;
|
|
44536
44599
|
userType?: boolean;
|
|
44600
|
+
zones?: string[];
|
|
44537
44601
|
static names(): { [key: string]: string } {
|
|
44538
44602
|
return {
|
|
44603
|
+
bizType: 'BizType',
|
|
44539
44604
|
creationTime: 'CreationTime',
|
|
44540
44605
|
description: 'Description',
|
|
44541
44606
|
ipAddressRemaining: 'IpAddressRemaining',
|
|
@@ -44551,11 +44616,13 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
|
|
|
44551
44616
|
totalIpNum: 'TotalIpNum',
|
|
44552
44617
|
usedIpNum: 'UsedIpNum',
|
|
44553
44618
|
userType: 'UserType',
|
|
44619
|
+
zones: 'Zones',
|
|
44554
44620
|
};
|
|
44555
44621
|
}
|
|
44556
44622
|
|
|
44557
44623
|
static types(): { [key: string]: any } {
|
|
44558
44624
|
return {
|
|
44625
|
+
bizType: 'string',
|
|
44559
44626
|
creationTime: 'string',
|
|
44560
44627
|
description: 'string',
|
|
44561
44628
|
ipAddressRemaining: 'boolean',
|
|
@@ -44571,6 +44638,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
|
|
|
44571
44638
|
totalIpNum: 'number',
|
|
44572
44639
|
usedIpNum: 'number',
|
|
44573
44640
|
userType: 'boolean',
|
|
44641
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
44574
44642
|
};
|
|
44575
44643
|
}
|
|
44576
44644
|
|
|
@@ -45026,6 +45094,28 @@ export class ListVirtualPhysicalConnectionsRequestTags extends $tea.Model {
|
|
|
45026
45094
|
}
|
|
45027
45095
|
}
|
|
45028
45096
|
|
|
45097
|
+
export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags extends $tea.Model {
|
|
45098
|
+
key?: string;
|
|
45099
|
+
value?: string;
|
|
45100
|
+
static names(): { [key: string]: string } {
|
|
45101
|
+
return {
|
|
45102
|
+
key: 'Key',
|
|
45103
|
+
value: 'Value',
|
|
45104
|
+
};
|
|
45105
|
+
}
|
|
45106
|
+
|
|
45107
|
+
static types(): { [key: string]: any } {
|
|
45108
|
+
return {
|
|
45109
|
+
key: 'string',
|
|
45110
|
+
value: 'string',
|
|
45111
|
+
};
|
|
45112
|
+
}
|
|
45113
|
+
|
|
45114
|
+
constructor(map?: { [key: string]: any }) {
|
|
45115
|
+
super(map);
|
|
45116
|
+
}
|
|
45117
|
+
}
|
|
45118
|
+
|
|
45029
45119
|
export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnections extends $tea.Model {
|
|
45030
45120
|
accessPointId?: string;
|
|
45031
45121
|
adLocation?: string;
|
|
@@ -45054,6 +45144,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
|
|
|
45054
45144
|
resourceGroupId?: string;
|
|
45055
45145
|
spec?: string;
|
|
45056
45146
|
status?: string;
|
|
45147
|
+
tags?: ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags[];
|
|
45057
45148
|
type?: string;
|
|
45058
45149
|
virtualPhysicalConnectionStatus?: string;
|
|
45059
45150
|
vlanId?: string;
|
|
@@ -45086,6 +45177,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
|
|
|
45086
45177
|
resourceGroupId: 'ResourceGroupId',
|
|
45087
45178
|
spec: 'Spec',
|
|
45088
45179
|
status: 'Status',
|
|
45180
|
+
tags: 'Tags',
|
|
45089
45181
|
type: 'Type',
|
|
45090
45182
|
virtualPhysicalConnectionStatus: 'VirtualPhysicalConnectionStatus',
|
|
45091
45183
|
vlanId: 'VlanId',
|
|
@@ -45121,6 +45213,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
|
|
|
45121
45213
|
resourceGroupId: 'string',
|
|
45122
45214
|
spec: 'string',
|
|
45123
45215
|
status: 'string',
|
|
45216
|
+
tags: { 'type': 'array', 'itemType': ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags },
|
|
45124
45217
|
type: 'string',
|
|
45125
45218
|
virtualPhysicalConnectionStatus: 'string',
|
|
45126
45219
|
vlanId: 'string',
|
|
@@ -51607,6 +51700,10 @@ export default class Client extends OpenApi {
|
|
|
51607
51700
|
async createPublicIpAddressPoolWithOptions(request: CreatePublicIpAddressPoolRequest, runtime: $Util.RuntimeOptions): Promise<CreatePublicIpAddressPoolResponse> {
|
|
51608
51701
|
Util.validateModel(request);
|
|
51609
51702
|
let query = { };
|
|
51703
|
+
if (!Util.isUnset(request.bizType)) {
|
|
51704
|
+
query["BizType"] = request.bizType;
|
|
51705
|
+
}
|
|
51706
|
+
|
|
51610
51707
|
if (!Util.isUnset(request.clientToken)) {
|
|
51611
51708
|
query["ClientToken"] = request.clientToken;
|
|
51612
51709
|
}
|
|
@@ -51655,6 +51752,10 @@ export default class Client extends OpenApi {
|
|
|
51655
51752
|
query["Tag"] = request.tag;
|
|
51656
51753
|
}
|
|
51657
51754
|
|
|
51755
|
+
if (!Util.isUnset(request.zones)) {
|
|
51756
|
+
query["Zones"] = request.zones;
|
|
51757
|
+
}
|
|
51758
|
+
|
|
51658
51759
|
let req = new $OpenApi.OpenApiRequest({
|
|
51659
51760
|
query: OpenApiUtil.query(query),
|
|
51660
51761
|
});
|
|
@@ -63078,6 +63179,10 @@ export default class Client extends OpenApi {
|
|
|
63078
63179
|
async enablePhysicalConnectionWithOptions(request: EnablePhysicalConnectionRequest, runtime: $Util.RuntimeOptions): Promise<EnablePhysicalConnectionResponse> {
|
|
63079
63180
|
Util.validateModel(request);
|
|
63080
63181
|
let query = { };
|
|
63182
|
+
if (!Util.isUnset(request.byPassSp)) {
|
|
63183
|
+
query["ByPassSp"] = request.byPassSp;
|
|
63184
|
+
}
|
|
63185
|
+
|
|
63081
63186
|
if (!Util.isUnset(request.clientToken)) {
|
|
63082
63187
|
query["ClientToken"] = request.clientToken;
|
|
63083
63188
|
}
|