@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.
Files changed (53) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +102 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateMacSecKeyRequest.d.ts +53 -0
  5. package/dist/models/AssociateMacSecKeyRequest.js +66 -0
  6. package/dist/models/AssociateMacSecKeyRequest.js.map +1 -0
  7. package/dist/models/AssociateMacSecKeyResponse.d.ts +19 -0
  8. package/dist/models/AssociateMacSecKeyResponse.js +69 -0
  9. package/dist/models/AssociateMacSecKeyResponse.js.map +1 -0
  10. package/dist/models/AssociateMacSecKeyResponseBody.d.ts +18 -0
  11. package/dist/models/AssociateMacSecKeyResponseBody.js +58 -0
  12. package/dist/models/AssociateMacSecKeyResponseBody.js.map +1 -0
  13. package/dist/models/CreateNatGatewayRequest.d.ts +1 -0
  14. package/dist/models/CreateNatGatewayRequest.js +2 -0
  15. package/dist/models/CreateNatGatewayRequest.js.map +1 -1
  16. package/dist/models/CreateNatGatewayShrinkRequest.d.ts +1 -0
  17. package/dist/models/CreateNatGatewayShrinkRequest.js +2 -0
  18. package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
  19. package/dist/models/DescribeNatGatewaysRequest.d.ts +1 -0
  20. package/dist/models/DescribeNatGatewaysRequest.js +2 -0
  21. package/dist/models/DescribeNatGatewaysRequest.js.map +1 -1
  22. package/dist/models/DescribeNatGatewaysResponseBody.d.ts +1 -0
  23. package/dist/models/DescribeNatGatewaysResponseBody.js +2 -0
  24. package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
  25. package/dist/models/DisassociateMacSecKeyRequest.d.ts +37 -0
  26. package/dist/models/DisassociateMacSecKeyRequest.js +62 -0
  27. package/dist/models/DisassociateMacSecKeyRequest.js.map +1 -0
  28. package/dist/models/DisassociateMacSecKeyResponse.d.ts +19 -0
  29. package/dist/models/DisassociateMacSecKeyResponse.js +69 -0
  30. package/dist/models/DisassociateMacSecKeyResponse.js.map +1 -0
  31. package/dist/models/DisassociateMacSecKeyResponseBody.d.ts +18 -0
  32. package/dist/models/DisassociateMacSecKeyResponseBody.js +58 -0
  33. package/dist/models/DisassociateMacSecKeyResponseBody.js.map +1 -0
  34. package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +1 -0
  35. package/dist/models/GetNatGatewayAttributeResponseBody.js +2 -0
  36. package/dist/models/GetNatGatewayAttributeResponseBody.js.map +1 -1
  37. package/dist/models/model.d.ts +6 -0
  38. package/dist/models/model.js +36 -24
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +116 -0
  42. package/src/models/AssociateMacSecKeyRequest.ts +74 -0
  43. package/src/models/AssociateMacSecKeyResponse.ts +40 -0
  44. package/src/models/AssociateMacSecKeyResponseBody.ts +31 -0
  45. package/src/models/CreateNatGatewayRequest.ts +3 -0
  46. package/src/models/CreateNatGatewayShrinkRequest.ts +3 -0
  47. package/src/models/DescribeNatGatewaysRequest.ts +3 -0
  48. package/src/models/DescribeNatGatewaysResponseBody.ts +3 -0
  49. package/src/models/DisassociateMacSecKeyRequest.ts +54 -0
  50. package/src/models/DisassociateMacSecKeyResponse.ts +40 -0
  51. package/src/models/DisassociateMacSecKeyResponseBody.ts +31 -0
  52. package/src/models/GetNatGatewayAttributeResponseBody.ts +3 -0
  53. package/src/models/model.ts +6 -0
@@ -59,6 +59,7 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
59
59
  * Invalid parameter.
60
60
  */
61
61
  autoPay?: boolean;
62
+ availabilityMode?: string;
62
63
  /**
63
64
  * @remarks
64
65
  * The client token that is used to ensure the idempotence of the request.
@@ -270,6 +271,7 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
270
271
  return {
271
272
  accessModeShrink: 'AccessMode',
272
273
  autoPay: 'AutoPay',
274
+ availabilityMode: 'AvailabilityMode',
273
275
  clientToken: 'ClientToken',
274
276
  description: 'Description',
275
277
  duration: 'Duration',
@@ -301,6 +303,7 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
301
303
  return {
302
304
  accessModeShrink: 'string',
303
305
  autoPay: 'boolean',
306
+ availabilityMode: 'string',
304
307
  clientToken: 'string',
305
308
  description: 'string',
306
309
  duration: 'string',
@@ -47,6 +47,7 @@ export class DescribeNatGatewaysRequestTag extends $dara.Model {
47
47
  }
48
48
 
49
49
  export class DescribeNatGatewaysRequest extends $dara.Model {
50
+ availabilityMode?: string;
50
51
  /**
51
52
  * @remarks
52
53
  * Specifies whether to perform a dry run. Valid values:
@@ -190,6 +191,7 @@ export class DescribeNatGatewaysRequest extends $dara.Model {
190
191
  zoneId?: string;
191
192
  static names(): { [key: string]: string } {
192
193
  return {
194
+ availabilityMode: 'AvailabilityMode',
193
195
  dryRun: 'DryRun',
194
196
  instanceChargeType: 'InstanceChargeType',
195
197
  name: 'Name',
@@ -214,6 +216,7 @@ export class DescribeNatGatewaysRequest extends $dara.Model {
214
216
 
215
217
  static types(): { [key: string]: any } {
216
218
  return {
219
+ availabilityMode: 'string',
217
220
  dryRun: 'boolean',
218
221
  instanceChargeType: 'string',
219
222
  name: 'string',
@@ -315,6 +315,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $d
315
315
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.Model {
316
316
  accessMode?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode;
317
317
  autoPay?: boolean;
318
+ availabilityMode?: string;
318
319
  businessStatus?: string;
319
320
  creationTime?: string;
320
321
  deletionProtection?: boolean;
@@ -353,6 +354,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
353
354
  return {
354
355
  accessMode: 'AccessMode',
355
356
  autoPay: 'AutoPay',
357
+ availabilityMode: 'AvailabilityMode',
356
358
  businessStatus: 'BusinessStatus',
357
359
  creationTime: 'CreationTime',
358
360
  deletionProtection: 'DeletionProtection',
@@ -390,6 +392,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $dara.
390
392
  return {
391
393
  accessMode: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode,
392
394
  autoPay: 'boolean',
395
+ availabilityMode: 'string',
393
396
  businessStatus: 'string',
394
397
  creationTime: 'string',
395
398
  deletionProtection: 'boolean',
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DisassociateMacSecKeyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 0123456789ABCDEF0123456789ABCDEF
12
+ */
13
+ ckn?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * pc-bp1hp0wr072f6****
20
+ */
21
+ physicalConnectionId?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * cn-hangzhou
28
+ */
29
+ regionId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ ckn: 'Ckn',
33
+ physicalConnectionId: 'PhysicalConnectionId',
34
+ regionId: 'RegionId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ ckn: 'string',
41
+ physicalConnectionId: 'string',
42
+ regionId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DisassociateMacSecKeyResponseBody } from "./DisassociateMacSecKeyResponseBody";
4
+
5
+
6
+ export class DisassociateMacSecKeyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DisassociateMacSecKeyResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DisassociateMacSecKeyResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DisassociateMacSecKeyResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * D32B3C26-6C6C-4988-93E9-D2A6444CE6AE
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -466,6 +466,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
466
466
  * Access mode for reverse access to VPC NAT gateway.
467
467
  */
468
468
  accessMode?: GetNatGatewayAttributeResponseBodyAccessMode;
469
+ availabilityMode?: string;
469
470
  /**
470
471
  * @remarks
471
472
  * The billing information.
@@ -668,6 +669,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
668
669
  static names(): { [key: string]: string } {
669
670
  return {
670
671
  accessMode: 'AccessMode',
672
+ availabilityMode: 'AvailabilityMode',
671
673
  billingConfig: 'BillingConfig',
672
674
  businessStatus: 'BusinessStatus',
673
675
  creationTime: 'CreationTime',
@@ -699,6 +701,7 @@ export class GetNatGatewayAttributeResponseBody extends $dara.Model {
699
701
  static types(): { [key: string]: any } {
700
702
  return {
701
703
  accessMode: GetNatGatewayAttributeResponseBodyAccessMode,
704
+ availabilityMode: 'string',
702
705
  billingConfig: GetNatGatewayAttributeResponseBodyBillingConfig,
703
706
  businessStatus: 'string',
704
707
  creationTime: 'string',
@@ -576,6 +576,9 @@ export { AssociateEipAddressBatchResponse } from './AssociateEipAddressBatchResp
576
576
  export { AssociateHaVipRequest } from './AssociateHaVipRequest';
577
577
  export { AssociateHaVipResponseBody } from './AssociateHaVipResponseBody';
578
578
  export { AssociateHaVipResponse } from './AssociateHaVipResponse';
579
+ export { AssociateMacSecKeyRequest } from './AssociateMacSecKeyRequest';
580
+ export { AssociateMacSecKeyResponseBody } from './AssociateMacSecKeyResponseBody';
581
+ export { AssociateMacSecKeyResponse } from './AssociateMacSecKeyResponse';
579
582
  export { AssociateNetworkAclRequest } from './AssociateNetworkAclRequest';
580
583
  export { AssociateNetworkAclResponseBody } from './AssociateNetworkAclResponseBody';
581
584
  export { AssociateNetworkAclResponse } from './AssociateNetworkAclResponse';
@@ -1231,6 +1234,9 @@ export { DiagnoseVpnGatewayResponse } from './DiagnoseVpnGatewayResponse';
1231
1234
  export { DisableVpcClassicLinkRequest } from './DisableVpcClassicLinkRequest';
1232
1235
  export { DisableVpcClassicLinkResponseBody } from './DisableVpcClassicLinkResponseBody';
1233
1236
  export { DisableVpcClassicLinkResponse } from './DisableVpcClassicLinkResponse';
1237
+ export { DisassociateMacSecKeyRequest } from './DisassociateMacSecKeyRequest';
1238
+ export { DisassociateMacSecKeyResponseBody } from './DisassociateMacSecKeyResponseBody';
1239
+ export { DisassociateMacSecKeyResponse } from './DisassociateMacSecKeyResponse';
1234
1240
  export { DissociateRouteTableFromGatewayRequest } from './DissociateRouteTableFromGatewayRequest';
1235
1241
  export { DissociateRouteTableFromGatewayResponseBody } from './DissociateRouteTableFromGatewayResponseBody';
1236
1242
  export { DissociateRouteTableFromGatewayResponse } from './DissociateRouteTableFromGatewayResponse';