@alicloud/vpc20160428 7.1.3 → 7.2.1
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 +30 -0
- package/dist/client.js +102 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AssociateMacSecKeyRequest.d.ts +53 -0
- package/dist/models/AssociateMacSecKeyRequest.js +66 -0
- package/dist/models/AssociateMacSecKeyRequest.js.map +1 -0
- package/dist/models/AssociateMacSecKeyResponse.d.ts +19 -0
- package/dist/models/AssociateMacSecKeyResponse.js +69 -0
- package/dist/models/AssociateMacSecKeyResponse.js.map +1 -0
- package/dist/models/AssociateMacSecKeyResponseBody.d.ts +18 -0
- package/dist/models/AssociateMacSecKeyResponseBody.js +58 -0
- package/dist/models/AssociateMacSecKeyResponseBody.js.map +1 -0
- package/dist/models/CreateNatGatewayRequest.d.ts +1 -0
- package/dist/models/CreateNatGatewayRequest.js +2 -0
- package/dist/models/CreateNatGatewayRequest.js.map +1 -1
- package/dist/models/CreateNatGatewayShrinkRequest.d.ts +1 -0
- package/dist/models/CreateNatGatewayShrinkRequest.js +2 -0
- package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
- package/dist/models/DescribeNatGatewaysRequest.d.ts +1 -0
- package/dist/models/DescribeNatGatewaysRequest.js +2 -0
- package/dist/models/DescribeNatGatewaysRequest.js.map +1 -1
- package/dist/models/DescribeNatGatewaysResponseBody.d.ts +1 -0
- package/dist/models/DescribeNatGatewaysResponseBody.js +2 -0
- package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
- package/dist/models/DisassociateMacSecKeyRequest.d.ts +37 -0
- package/dist/models/DisassociateMacSecKeyRequest.js +62 -0
- package/dist/models/DisassociateMacSecKeyRequest.js.map +1 -0
- package/dist/models/DisassociateMacSecKeyResponse.d.ts +19 -0
- package/dist/models/DisassociateMacSecKeyResponse.js +69 -0
- package/dist/models/DisassociateMacSecKeyResponse.js.map +1 -0
- package/dist/models/DisassociateMacSecKeyResponseBody.d.ts +18 -0
- package/dist/models/DisassociateMacSecKeyResponseBody.js +58 -0
- package/dist/models/DisassociateMacSecKeyResponseBody.js.map +1 -0
- package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +1 -0
- package/dist/models/GetNatGatewayAttributeResponseBody.js +2 -0
- package/dist/models/GetNatGatewayAttributeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +36 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +116 -0
- package/src/models/AssociateMacSecKeyRequest.ts +74 -0
- package/src/models/AssociateMacSecKeyResponse.ts +40 -0
- package/src/models/AssociateMacSecKeyResponseBody.ts +31 -0
- package/src/models/CreateNatGatewayRequest.ts +3 -0
- package/src/models/CreateNatGatewayShrinkRequest.ts +3 -0
- package/src/models/DescribeNatGatewaysRequest.ts +3 -0
- package/src/models/DescribeNatGatewaysResponseBody.ts +3 -0
- package/src/models/DisassociateMacSecKeyRequest.ts +54 -0
- package/src/models/DisassociateMacSecKeyResponse.ts +40 -0
- package/src/models/DisassociateMacSecKeyResponseBody.ts +31 -0
- package/src/models/GetNatGatewayAttributeResponseBody.ts +3 -0
- package/src/models/model.ts +6 -0
package/dist/client.d.ts
CHANGED
|
@@ -465,6 +465,21 @@ export default class Client extends OpenApi {
|
|
|
465
465
|
* @returns AssociateHaVipResponse
|
|
466
466
|
*/
|
|
467
467
|
associateHaVip(request: $_model.AssociateHaVipRequest): Promise<$_model.AssociateHaVipResponse>;
|
|
468
|
+
/**
|
|
469
|
+
* 关联MACSec配置到物理专线
|
|
470
|
+
*
|
|
471
|
+
* @param request - AssociateMacSecKeyRequest
|
|
472
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
473
|
+
* @returns AssociateMacSecKeyResponse
|
|
474
|
+
*/
|
|
475
|
+
associateMacSecKeyWithOptions(request: $_model.AssociateMacSecKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssociateMacSecKeyResponse>;
|
|
476
|
+
/**
|
|
477
|
+
* 关联MACSec配置到物理专线
|
|
478
|
+
*
|
|
479
|
+
* @param request - AssociateMacSecKeyRequest
|
|
480
|
+
* @returns AssociateMacSecKeyResponse
|
|
481
|
+
*/
|
|
482
|
+
associateMacSecKey(request: $_model.AssociateMacSecKeyRequest): Promise<$_model.AssociateMacSecKeyResponse>;
|
|
468
483
|
/**
|
|
469
484
|
* Associates a network access control list (ACL) with a vSwitch.
|
|
470
485
|
*
|
|
@@ -5279,6 +5294,21 @@ export default class Client extends OpenApi {
|
|
|
5279
5294
|
* @returns DisableVpcClassicLinkResponse
|
|
5280
5295
|
*/
|
|
5281
5296
|
disableVpcClassicLink(request: $_model.DisableVpcClassicLinkRequest): Promise<$_model.DisableVpcClassicLinkResponse>;
|
|
5297
|
+
/**
|
|
5298
|
+
* 取消关联MACSec配置到物理专线
|
|
5299
|
+
*
|
|
5300
|
+
* @param request - DisassociateMacSecKeyRequest
|
|
5301
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5302
|
+
* @returns DisassociateMacSecKeyResponse
|
|
5303
|
+
*/
|
|
5304
|
+
disassociateMacSecKeyWithOptions(request: $_model.DisassociateMacSecKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisassociateMacSecKeyResponse>;
|
|
5305
|
+
/**
|
|
5306
|
+
* 取消关联MACSec配置到物理专线
|
|
5307
|
+
*
|
|
5308
|
+
* @param request - DisassociateMacSecKeyRequest
|
|
5309
|
+
* @returns DisassociateMacSecKeyResponse
|
|
5310
|
+
*/
|
|
5311
|
+
disassociateMacSecKey(request: $_model.DisassociateMacSecKeyRequest): Promise<$_model.DisassociateMacSecKeyResponse>;
|
|
5282
5312
|
/**
|
|
5283
5313
|
* Disassociates a gateway route table from an IPv4 gateway.
|
|
5284
5314
|
*
|
package/dist/client.js
CHANGED
|
@@ -1602,6 +1602,57 @@ class Client extends openapi_core_1.default {
|
|
|
1602
1602
|
let runtime = new $dara.RuntimeOptions({});
|
|
1603
1603
|
return await this.associateHaVipWithOptions(request, runtime);
|
|
1604
1604
|
}
|
|
1605
|
+
/**
|
|
1606
|
+
* 关联MACSec配置到物理专线
|
|
1607
|
+
*
|
|
1608
|
+
* @param request - AssociateMacSecKeyRequest
|
|
1609
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1610
|
+
* @returns AssociateMacSecKeyResponse
|
|
1611
|
+
*/
|
|
1612
|
+
async associateMacSecKeyWithOptions(request, runtime) {
|
|
1613
|
+
request.validate();
|
|
1614
|
+
let query = {};
|
|
1615
|
+
if (!$dara.isNull(request.cak)) {
|
|
1616
|
+
query["Cak"] = request.cak;
|
|
1617
|
+
}
|
|
1618
|
+
if (!$dara.isNull(request.cipherSuite)) {
|
|
1619
|
+
query["CipherSuite"] = request.cipherSuite;
|
|
1620
|
+
}
|
|
1621
|
+
if (!$dara.isNull(request.ckn)) {
|
|
1622
|
+
query["Ckn"] = request.ckn;
|
|
1623
|
+
}
|
|
1624
|
+
if (!$dara.isNull(request.physicalConnectionId)) {
|
|
1625
|
+
query["PhysicalConnectionId"] = request.physicalConnectionId;
|
|
1626
|
+
}
|
|
1627
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1628
|
+
query["RegionId"] = request.regionId;
|
|
1629
|
+
}
|
|
1630
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1631
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1632
|
+
});
|
|
1633
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1634
|
+
action: "AssociateMacSecKey",
|
|
1635
|
+
version: "2016-04-28",
|
|
1636
|
+
protocol: "HTTPS",
|
|
1637
|
+
pathname: "/",
|
|
1638
|
+
method: "POST",
|
|
1639
|
+
authType: "AK",
|
|
1640
|
+
style: "RPC",
|
|
1641
|
+
reqBodyType: "formData",
|
|
1642
|
+
bodyType: "json",
|
|
1643
|
+
});
|
|
1644
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AssociateMacSecKeyResponse({}));
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* 关联MACSec配置到物理专线
|
|
1648
|
+
*
|
|
1649
|
+
* @param request - AssociateMacSecKeyRequest
|
|
1650
|
+
* @returns AssociateMacSecKeyResponse
|
|
1651
|
+
*/
|
|
1652
|
+
async associateMacSecKey(request) {
|
|
1653
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1654
|
+
return await this.associateMacSecKeyWithOptions(request, runtime);
|
|
1655
|
+
}
|
|
1605
1656
|
/**
|
|
1606
1657
|
* Associates a network access control list (ACL) with a vSwitch.
|
|
1607
1658
|
*
|
|
@@ -5112,6 +5163,9 @@ class Client extends openapi_core_1.default {
|
|
|
5112
5163
|
if (!$dara.isNull(request.autoPay)) {
|
|
5113
5164
|
query["AutoPay"] = request.autoPay;
|
|
5114
5165
|
}
|
|
5166
|
+
if (!$dara.isNull(request.availabilityMode)) {
|
|
5167
|
+
query["AvailabilityMode"] = request.availabilityMode;
|
|
5168
|
+
}
|
|
5115
5169
|
if (!$dara.isNull(request.clientToken)) {
|
|
5116
5170
|
query["ClientToken"] = request.clientToken;
|
|
5117
5171
|
}
|
|
@@ -14836,6 +14890,9 @@ class Client extends openapi_core_1.default {
|
|
|
14836
14890
|
async describeNatGatewaysWithOptions(request, runtime) {
|
|
14837
14891
|
request.validate();
|
|
14838
14892
|
let query = {};
|
|
14893
|
+
if (!$dara.isNull(request.availabilityMode)) {
|
|
14894
|
+
query["AvailabilityMode"] = request.availabilityMode;
|
|
14895
|
+
}
|
|
14839
14896
|
if (!$dara.isNull(request.dryRun)) {
|
|
14840
14897
|
query["DryRun"] = request.dryRun;
|
|
14841
14898
|
}
|
|
@@ -18005,6 +18062,51 @@ class Client extends openapi_core_1.default {
|
|
|
18005
18062
|
let runtime = new $dara.RuntimeOptions({});
|
|
18006
18063
|
return await this.disableVpcClassicLinkWithOptions(request, runtime);
|
|
18007
18064
|
}
|
|
18065
|
+
/**
|
|
18066
|
+
* 取消关联MACSec配置到物理专线
|
|
18067
|
+
*
|
|
18068
|
+
* @param request - DisassociateMacSecKeyRequest
|
|
18069
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18070
|
+
* @returns DisassociateMacSecKeyResponse
|
|
18071
|
+
*/
|
|
18072
|
+
async disassociateMacSecKeyWithOptions(request, runtime) {
|
|
18073
|
+
request.validate();
|
|
18074
|
+
let query = {};
|
|
18075
|
+
if (!$dara.isNull(request.ckn)) {
|
|
18076
|
+
query["Ckn"] = request.ckn;
|
|
18077
|
+
}
|
|
18078
|
+
if (!$dara.isNull(request.physicalConnectionId)) {
|
|
18079
|
+
query["PhysicalConnectionId"] = request.physicalConnectionId;
|
|
18080
|
+
}
|
|
18081
|
+
if (!$dara.isNull(request.regionId)) {
|
|
18082
|
+
query["RegionId"] = request.regionId;
|
|
18083
|
+
}
|
|
18084
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
18085
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
18086
|
+
});
|
|
18087
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
18088
|
+
action: "DisassociateMacSecKey",
|
|
18089
|
+
version: "2016-04-28",
|
|
18090
|
+
protocol: "HTTPS",
|
|
18091
|
+
pathname: "/",
|
|
18092
|
+
method: "POST",
|
|
18093
|
+
authType: "AK",
|
|
18094
|
+
style: "RPC",
|
|
18095
|
+
reqBodyType: "formData",
|
|
18096
|
+
bodyType: "json",
|
|
18097
|
+
});
|
|
18098
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisassociateMacSecKeyResponse({}));
|
|
18099
|
+
}
|
|
18100
|
+
/**
|
|
18101
|
+
* 取消关联MACSec配置到物理专线
|
|
18102
|
+
*
|
|
18103
|
+
* @param request - DisassociateMacSecKeyRequest
|
|
18104
|
+
* @returns DisassociateMacSecKeyResponse
|
|
18105
|
+
*/
|
|
18106
|
+
async disassociateMacSecKey(request) {
|
|
18107
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
18108
|
+
return await this.disassociateMacSecKeyWithOptions(request, runtime);
|
|
18109
|
+
}
|
|
18008
18110
|
/**
|
|
18009
18111
|
* Disassociates a gateway route table from an IPv4 gateway.
|
|
18010
18112
|
*
|