@alicloud/vpc20160428 6.2.2 → 6.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "6.2.2",
3
+ "version": "6.3.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1142,6 +1142,114 @@ export class AllocateEipSegmentAddressResponse extends $tea.Model {
1142
1142
  }
1143
1143
  }
1144
1144
 
1145
+ export class AllocateIpv6AddressRequest extends $tea.Model {
1146
+ clientToken?: string;
1147
+ dryRun?: boolean;
1148
+ ipv6Address?: string;
1149
+ ipv6AddressDescription?: string;
1150
+ ipv6AddressName?: string;
1151
+ ownerAccount?: string;
1152
+ ownerId?: number;
1153
+ regionId?: string;
1154
+ resourceGroupId?: string;
1155
+ resourceOwnerAccount?: string;
1156
+ resourceOwnerId?: number;
1157
+ tag?: AllocateIpv6AddressRequestTag[];
1158
+ vSwitchId?: string;
1159
+ static names(): { [key: string]: string } {
1160
+ return {
1161
+ clientToken: 'ClientToken',
1162
+ dryRun: 'DryRun',
1163
+ ipv6Address: 'Ipv6Address',
1164
+ ipv6AddressDescription: 'Ipv6AddressDescription',
1165
+ ipv6AddressName: 'Ipv6AddressName',
1166
+ ownerAccount: 'OwnerAccount',
1167
+ ownerId: 'OwnerId',
1168
+ regionId: 'RegionId',
1169
+ resourceGroupId: 'ResourceGroupId',
1170
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1171
+ resourceOwnerId: 'ResourceOwnerId',
1172
+ tag: 'Tag',
1173
+ vSwitchId: 'VSwitchId',
1174
+ };
1175
+ }
1176
+
1177
+ static types(): { [key: string]: any } {
1178
+ return {
1179
+ clientToken: 'string',
1180
+ dryRun: 'boolean',
1181
+ ipv6Address: 'string',
1182
+ ipv6AddressDescription: 'string',
1183
+ ipv6AddressName: 'string',
1184
+ ownerAccount: 'string',
1185
+ ownerId: 'number',
1186
+ regionId: 'string',
1187
+ resourceGroupId: 'string',
1188
+ resourceOwnerAccount: 'string',
1189
+ resourceOwnerId: 'number',
1190
+ tag: { 'type': 'array', 'itemType': AllocateIpv6AddressRequestTag },
1191
+ vSwitchId: 'string',
1192
+ };
1193
+ }
1194
+
1195
+ constructor(map?: { [key: string]: any }) {
1196
+ super(map);
1197
+ }
1198
+ }
1199
+
1200
+ export class AllocateIpv6AddressResponseBody extends $tea.Model {
1201
+ ipv6Address?: string;
1202
+ ipv6AddressId?: string;
1203
+ requestId?: string;
1204
+ resourceGroupId?: string;
1205
+ static names(): { [key: string]: string } {
1206
+ return {
1207
+ ipv6Address: 'Ipv6Address',
1208
+ ipv6AddressId: 'Ipv6AddressId',
1209
+ requestId: 'RequestId',
1210
+ resourceGroupId: 'ResourceGroupId',
1211
+ };
1212
+ }
1213
+
1214
+ static types(): { [key: string]: any } {
1215
+ return {
1216
+ ipv6Address: 'string',
1217
+ ipv6AddressId: 'string',
1218
+ requestId: 'string',
1219
+ resourceGroupId: 'string',
1220
+ };
1221
+ }
1222
+
1223
+ constructor(map?: { [key: string]: any }) {
1224
+ super(map);
1225
+ }
1226
+ }
1227
+
1228
+ export class AllocateIpv6AddressResponse extends $tea.Model {
1229
+ headers: { [key: string]: string };
1230
+ statusCode: number;
1231
+ body: AllocateIpv6AddressResponseBody;
1232
+ static names(): { [key: string]: string } {
1233
+ return {
1234
+ headers: 'headers',
1235
+ statusCode: 'statusCode',
1236
+ body: 'body',
1237
+ };
1238
+ }
1239
+
1240
+ static types(): { [key: string]: any } {
1241
+ return {
1242
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1243
+ statusCode: 'number',
1244
+ body: AllocateIpv6AddressResponseBody,
1245
+ };
1246
+ }
1247
+
1248
+ constructor(map?: { [key: string]: any }) {
1249
+ super(map);
1250
+ }
1251
+ }
1252
+
1145
1253
  export class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
1146
1254
  bandwidth?: number;
1147
1255
  clientToken?: string;
@@ -19736,6 +19844,7 @@ export class DescribeVpcAttributeRequest extends $tea.Model {
19736
19844
 
19737
19845
  export class DescribeVpcAttributeResponseBody extends $tea.Model {
19738
19846
  associatedCens?: DescribeVpcAttributeResponseBodyAssociatedCens;
19847
+ associatedPropagationSources?: DescribeVpcAttributeResponseBodyAssociatedPropagationSources;
19739
19848
  cidrBlock?: string;
19740
19849
  classicLinkEnabled?: boolean;
19741
19850
  cloudResources?: DescribeVpcAttributeResponseBodyCloudResources;
@@ -19763,6 +19872,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
19763
19872
  static names(): { [key: string]: string } {
19764
19873
  return {
19765
19874
  associatedCens: 'AssociatedCens',
19875
+ associatedPropagationSources: 'AssociatedPropagationSources',
19766
19876
  cidrBlock: 'CidrBlock',
19767
19877
  classicLinkEnabled: 'ClassicLinkEnabled',
19768
19878
  cloudResources: 'CloudResources',
@@ -19793,6 +19903,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
19793
19903
  static types(): { [key: string]: any } {
19794
19904
  return {
19795
19905
  associatedCens: DescribeVpcAttributeResponseBodyAssociatedCens,
19906
+ associatedPropagationSources: DescribeVpcAttributeResponseBodyAssociatedPropagationSources,
19796
19907
  cidrBlock: 'string',
19797
19908
  classicLinkEnabled: 'boolean',
19798
19909
  cloudResources: DescribeVpcAttributeResponseBodyCloudResources,
@@ -31913,6 +32024,90 @@ export class ReleaseEipSegmentAddressResponse extends $tea.Model {
31913
32024
  }
31914
32025
  }
31915
32026
 
32027
+ export class ReleaseIpv6AddressRequest extends $tea.Model {
32028
+ clientToken?: string;
32029
+ dryRun?: boolean;
32030
+ ipv6AddressId?: string;
32031
+ ownerAccount?: string;
32032
+ ownerId?: number;
32033
+ regionId?: string;
32034
+ resourceOwnerAccount?: string;
32035
+ resourceOwnerId?: number;
32036
+ static names(): { [key: string]: string } {
32037
+ return {
32038
+ clientToken: 'ClientToken',
32039
+ dryRun: 'DryRun',
32040
+ ipv6AddressId: 'Ipv6AddressId',
32041
+ ownerAccount: 'OwnerAccount',
32042
+ ownerId: 'OwnerId',
32043
+ regionId: 'RegionId',
32044
+ resourceOwnerAccount: 'ResourceOwnerAccount',
32045
+ resourceOwnerId: 'ResourceOwnerId',
32046
+ };
32047
+ }
32048
+
32049
+ static types(): { [key: string]: any } {
32050
+ return {
32051
+ clientToken: 'string',
32052
+ dryRun: 'boolean',
32053
+ ipv6AddressId: 'string',
32054
+ ownerAccount: 'string',
32055
+ ownerId: 'number',
32056
+ regionId: 'string',
32057
+ resourceOwnerAccount: 'string',
32058
+ resourceOwnerId: 'number',
32059
+ };
32060
+ }
32061
+
32062
+ constructor(map?: { [key: string]: any }) {
32063
+ super(map);
32064
+ }
32065
+ }
32066
+
32067
+ export class ReleaseIpv6AddressResponseBody extends $tea.Model {
32068
+ requestId?: string;
32069
+ static names(): { [key: string]: string } {
32070
+ return {
32071
+ requestId: 'RequestId',
32072
+ };
32073
+ }
32074
+
32075
+ static types(): { [key: string]: any } {
32076
+ return {
32077
+ requestId: 'string',
32078
+ };
32079
+ }
32080
+
32081
+ constructor(map?: { [key: string]: any }) {
32082
+ super(map);
32083
+ }
32084
+ }
32085
+
32086
+ export class ReleaseIpv6AddressResponse extends $tea.Model {
32087
+ headers: { [key: string]: string };
32088
+ statusCode: number;
32089
+ body: ReleaseIpv6AddressResponseBody;
32090
+ static names(): { [key: string]: string } {
32091
+ return {
32092
+ headers: 'headers',
32093
+ statusCode: 'statusCode',
32094
+ body: 'body',
32095
+ };
32096
+ }
32097
+
32098
+ static types(): { [key: string]: any } {
32099
+ return {
32100
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
32101
+ statusCode: 'number',
32102
+ body: ReleaseIpv6AddressResponseBody,
32103
+ };
32104
+ }
32105
+
32106
+ constructor(map?: { [key: string]: any }) {
32107
+ super(map);
32108
+ }
32109
+ }
32110
+
31916
32111
  export class RemoveCommonBandwidthPackageIpRequest extends $tea.Model {
31917
32112
  bandwidthPackageId?: string;
31918
32113
  clientToken?: string;
@@ -35505,6 +35700,28 @@ export class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.
35505
35700
  }
35506
35701
  }
35507
35702
 
35703
+ export class AllocateIpv6AddressRequestTag extends $tea.Model {
35704
+ key?: string;
35705
+ value?: string;
35706
+ static names(): { [key: string]: string } {
35707
+ return {
35708
+ key: 'Key',
35709
+ value: 'Value',
35710
+ };
35711
+ }
35712
+
35713
+ static types(): { [key: string]: any } {
35714
+ return {
35715
+ key: 'string',
35716
+ value: 'string',
35717
+ };
35718
+ }
35719
+
35720
+ constructor(map?: { [key: string]: any }) {
35721
+ super(map);
35722
+ }
35723
+ }
35724
+
35508
35725
  export class ApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
35509
35726
  PMCertificateNo?: string;
35510
35727
  PMCertificateType?: string;
@@ -41071,6 +41288,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41071
41288
  gmtModified?: string;
41072
41289
  ipVersion?: string;
41073
41290
  nextHops?: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops;
41291
+ origin?: string;
41074
41292
  routeEntryId?: string;
41075
41293
  routeEntryName?: string;
41076
41294
  routeTableId?: string;
@@ -41084,6 +41302,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41084
41302
  gmtModified: 'GmtModified',
41085
41303
  ipVersion: 'IpVersion',
41086
41304
  nextHops: 'NextHops',
41305
+ origin: 'Origin',
41087
41306
  routeEntryId: 'RouteEntryId',
41088
41307
  routeEntryName: 'RouteEntryName',
41089
41308
  routeTableId: 'RouteTableId',
@@ -41100,6 +41319,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41100
41319
  gmtModified: 'string',
41101
41320
  ipVersion: 'string',
41102
41321
  nextHops: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops,
41322
+ origin: 'string',
41103
41323
  routeEntryId: 'string',
41104
41324
  routeEntryName: 'string',
41105
41325
  routeTableId: 'string',
@@ -41241,6 +41461,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41241
41461
  gatewayIds?: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds;
41242
41462
  ownerId?: number;
41243
41463
  resourceGroupId?: string;
41464
+ routePropagationEnable?: boolean;
41244
41465
  routeTableId?: string;
41245
41466
  routeTableName?: string;
41246
41467
  routeTableType?: string;
@@ -41258,6 +41479,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41258
41479
  gatewayIds: 'GatewayIds',
41259
41480
  ownerId: 'OwnerId',
41260
41481
  resourceGroupId: 'ResourceGroupId',
41482
+ routePropagationEnable: 'RoutePropagationEnable',
41261
41483
  routeTableId: 'RouteTableId',
41262
41484
  routeTableName: 'RouteTableName',
41263
41485
  routeTableType: 'RouteTableType',
@@ -41278,6 +41500,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41278
41500
  gatewayIds: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds,
41279
41501
  ownerId: 'number',
41280
41502
  resourceGroupId: 'string',
41503
+ routePropagationEnable: 'boolean',
41281
41504
  routeTableId: 'string',
41282
41505
  routeTableName: 'string',
41283
41506
  routeTableType: 'string',
@@ -43119,6 +43342,56 @@ export class DescribeVpcAttributeResponseBodyAssociatedCens extends $tea.Model {
43119
43342
  }
43120
43343
  }
43121
43344
 
43345
+ export class DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources extends $tea.Model {
43346
+ routePropagated?: boolean;
43347
+ sourceInstanceId?: string;
43348
+ sourceOwnerId?: number;
43349
+ sourceType?: string;
43350
+ status?: string;
43351
+ static names(): { [key: string]: string } {
43352
+ return {
43353
+ routePropagated: 'RoutePropagated',
43354
+ sourceInstanceId: 'SourceInstanceId',
43355
+ sourceOwnerId: 'SourceOwnerId',
43356
+ sourceType: 'SourceType',
43357
+ status: 'Status',
43358
+ };
43359
+ }
43360
+
43361
+ static types(): { [key: string]: any } {
43362
+ return {
43363
+ routePropagated: 'boolean',
43364
+ sourceInstanceId: 'string',
43365
+ sourceOwnerId: 'number',
43366
+ sourceType: 'string',
43367
+ status: 'string',
43368
+ };
43369
+ }
43370
+
43371
+ constructor(map?: { [key: string]: any }) {
43372
+ super(map);
43373
+ }
43374
+ }
43375
+
43376
+ export class DescribeVpcAttributeResponseBodyAssociatedPropagationSources extends $tea.Model {
43377
+ associatedPropagationSources?: DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources[];
43378
+ static names(): { [key: string]: string } {
43379
+ return {
43380
+ associatedPropagationSources: 'AssociatedPropagationSources',
43381
+ };
43382
+ }
43383
+
43384
+ static types(): { [key: string]: any } {
43385
+ return {
43386
+ associatedPropagationSources: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources },
43387
+ };
43388
+ }
43389
+
43390
+ constructor(map?: { [key: string]: any }) {
43391
+ super(map);
43392
+ }
43393
+ }
43394
+
43122
43395
  export class DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType extends $tea.Model {
43123
43396
  resourceCount?: number;
43124
43397
  resourceType?: string;
@@ -49618,6 +49891,87 @@ export default class Client extends OpenApi {
49618
49891
  return await this.allocateEipSegmentAddressWithOptions(request, runtime);
49619
49892
  }
49620
49893
 
49894
+ async allocateIpv6AddressWithOptions(request: AllocateIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateIpv6AddressResponse> {
49895
+ Util.validateModel(request);
49896
+ let query = { };
49897
+ if (!Util.isUnset(request.clientToken)) {
49898
+ query["ClientToken"] = request.clientToken;
49899
+ }
49900
+
49901
+ if (!Util.isUnset(request.dryRun)) {
49902
+ query["DryRun"] = request.dryRun;
49903
+ }
49904
+
49905
+ if (!Util.isUnset(request.ipv6Address)) {
49906
+ query["Ipv6Address"] = request.ipv6Address;
49907
+ }
49908
+
49909
+ if (!Util.isUnset(request.ipv6AddressDescription)) {
49910
+ query["Ipv6AddressDescription"] = request.ipv6AddressDescription;
49911
+ }
49912
+
49913
+ if (!Util.isUnset(request.ipv6AddressName)) {
49914
+ query["Ipv6AddressName"] = request.ipv6AddressName;
49915
+ }
49916
+
49917
+ if (!Util.isUnset(request.ownerAccount)) {
49918
+ query["OwnerAccount"] = request.ownerAccount;
49919
+ }
49920
+
49921
+ if (!Util.isUnset(request.ownerId)) {
49922
+ query["OwnerId"] = request.ownerId;
49923
+ }
49924
+
49925
+ if (!Util.isUnset(request.regionId)) {
49926
+ query["RegionId"] = request.regionId;
49927
+ }
49928
+
49929
+ if (!Util.isUnset(request.regionId)) {
49930
+ query["RegionId"] = request.regionId;
49931
+ }
49932
+
49933
+ if (!Util.isUnset(request.resourceGroupId)) {
49934
+ query["ResourceGroupId"] = request.resourceGroupId;
49935
+ }
49936
+
49937
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
49938
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
49939
+ }
49940
+
49941
+ if (!Util.isUnset(request.resourceOwnerId)) {
49942
+ query["ResourceOwnerId"] = request.resourceOwnerId;
49943
+ }
49944
+
49945
+ if (!Util.isUnset(request.tag)) {
49946
+ query["Tag"] = request.tag;
49947
+ }
49948
+
49949
+ if (!Util.isUnset(request.vSwitchId)) {
49950
+ query["VSwitchId"] = request.vSwitchId;
49951
+ }
49952
+
49953
+ let req = new $OpenApi.OpenApiRequest({
49954
+ query: OpenApiUtil.query(query),
49955
+ });
49956
+ let params = new $OpenApi.Params({
49957
+ action: "AllocateIpv6Address",
49958
+ version: "2016-04-28",
49959
+ protocol: "HTTPS",
49960
+ pathname: "/",
49961
+ method: "POST",
49962
+ authType: "AK",
49963
+ style: "RPC",
49964
+ reqBodyType: "formData",
49965
+ bodyType: "json",
49966
+ });
49967
+ return $tea.cast<AllocateIpv6AddressResponse>(await this.callApi(params, req, runtime), new AllocateIpv6AddressResponse({}));
49968
+ }
49969
+
49970
+ async allocateIpv6Address(request: AllocateIpv6AddressRequest): Promise<AllocateIpv6AddressResponse> {
49971
+ let runtime = new $Util.RuntimeOptions({ });
49972
+ return await this.allocateIpv6AddressWithOptions(request, runtime);
49973
+ }
49974
+
49621
49975
  /**
49622
49976
  * You cannot repeatedly call the **AllocateIpv6InternetBandwidth** operation within a specific time period.
49623
49977
  *
@@ -73704,6 +74058,67 @@ export default class Client extends OpenApi {
73704
74058
  return await this.releaseEipSegmentAddressWithOptions(request, runtime);
73705
74059
  }
73706
74060
 
74061
+ async releaseIpv6AddressWithOptions(request: ReleaseIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseIpv6AddressResponse> {
74062
+ Util.validateModel(request);
74063
+ let query = { };
74064
+ if (!Util.isUnset(request.clientToken)) {
74065
+ query["ClientToken"] = request.clientToken;
74066
+ }
74067
+
74068
+ if (!Util.isUnset(request.dryRun)) {
74069
+ query["DryRun"] = request.dryRun;
74070
+ }
74071
+
74072
+ if (!Util.isUnset(request.ipv6AddressId)) {
74073
+ query["Ipv6AddressId"] = request.ipv6AddressId;
74074
+ }
74075
+
74076
+ if (!Util.isUnset(request.ownerAccount)) {
74077
+ query["OwnerAccount"] = request.ownerAccount;
74078
+ }
74079
+
74080
+ if (!Util.isUnset(request.ownerId)) {
74081
+ query["OwnerId"] = request.ownerId;
74082
+ }
74083
+
74084
+ if (!Util.isUnset(request.regionId)) {
74085
+ query["RegionId"] = request.regionId;
74086
+ }
74087
+
74088
+ if (!Util.isUnset(request.regionId)) {
74089
+ query["RegionId"] = request.regionId;
74090
+ }
74091
+
74092
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
74093
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
74094
+ }
74095
+
74096
+ if (!Util.isUnset(request.resourceOwnerId)) {
74097
+ query["ResourceOwnerId"] = request.resourceOwnerId;
74098
+ }
74099
+
74100
+ let req = new $OpenApi.OpenApiRequest({
74101
+ query: OpenApiUtil.query(query),
74102
+ });
74103
+ let params = new $OpenApi.Params({
74104
+ action: "ReleaseIpv6Address",
74105
+ version: "2016-04-28",
74106
+ protocol: "HTTPS",
74107
+ pathname: "/",
74108
+ method: "POST",
74109
+ authType: "AK",
74110
+ style: "RPC",
74111
+ reqBodyType: "formData",
74112
+ bodyType: "json",
74113
+ });
74114
+ return $tea.cast<ReleaseIpv6AddressResponse>(await this.callApi(params, req, runtime), new ReleaseIpv6AddressResponse({}));
74115
+ }
74116
+
74117
+ async releaseIpv6Address(request: ReleaseIpv6AddressRequest): Promise<ReleaseIpv6AddressResponse> {
74118
+ let runtime = new $Util.RuntimeOptions({ });
74119
+ return await this.releaseIpv6AddressWithOptions(request, runtime);
74120
+ }
74121
+
73707
74122
  async removeCommonBandwidthPackageIpWithOptions(request: RemoveCommonBandwidthPackageIpRequest, runtime: $Util.RuntimeOptions): Promise<RemoveCommonBandwidthPackageIpResponse> {
73708
74123
  Util.validateModel(request);
73709
74124
  let query = { };