@alicloud/vpc20160428 6.9.0 → 6.10.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.
Files changed (124) hide show
  1. package/dist/client.d.ts +76 -12
  2. package/dist/client.js +238 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateNatIpResponseBody.d.ts +35 -0
  5. package/dist/models/CreateNatIpResponseBody.js +29 -1
  6. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  7. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.d.ts +2 -0
  8. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js +4 -0
  9. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js.map +1 -1
  10. package/dist/models/CreateSslVpnServerRequest.d.ts +20 -17
  11. package/dist/models/CreateSslVpnServerRequest.js.map +1 -1
  12. package/dist/models/DeleteExpressConnectRequest.d.ts +58 -0
  13. package/dist/models/DeleteExpressConnectRequest.js +72 -0
  14. package/dist/models/DeleteExpressConnectRequest.js.map +1 -0
  15. package/dist/models/DeleteExpressConnectResponse.d.ts +19 -0
  16. package/dist/models/DeleteExpressConnectResponse.js +69 -0
  17. package/dist/models/DeleteExpressConnectResponse.js.map +1 -0
  18. package/dist/models/DeleteExpressConnectResponseBody.d.ts +21 -0
  19. package/dist/models/DeleteExpressConnectResponseBody.js +58 -0
  20. package/dist/models/DeleteExpressConnectResponseBody.js.map +1 -0
  21. package/dist/models/DeleteVswitchRequest.d.ts +6 -0
  22. package/dist/models/DeleteVswitchRequest.js.map +1 -1
  23. package/dist/models/DescribeGrantRulesToEcrRequest.d.ts +94 -0
  24. package/dist/models/DescribeGrantRulesToEcrRequest.js +92 -0
  25. package/dist/models/DescribeGrantRulesToEcrRequest.js.map +1 -0
  26. package/dist/models/DescribeGrantRulesToEcrResponse.d.ts +19 -0
  27. package/dist/models/DescribeGrantRulesToEcrResponse.js +69 -0
  28. package/dist/models/DescribeGrantRulesToEcrResponse.js.map +1 -0
  29. package/dist/models/DescribeGrantRulesToEcrResponseBody.d.ts +94 -0
  30. package/dist/models/DescribeGrantRulesToEcrResponseBody.js +94 -0
  31. package/dist/models/DescribeGrantRulesToEcrResponseBody.js.map +1 -0
  32. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.d.ts +61 -0
  33. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.js.map +1 -1
  34. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.d.ts +61 -0
  35. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.js.map +1 -1
  36. package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +1 -0
  37. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js +2 -0
  38. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js.map +1 -1
  39. package/dist/models/DescribeVpcAttributeResponseBody.d.ts +7 -0
  40. package/dist/models/DescribeVpcAttributeResponseBody.js.map +1 -1
  41. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +45 -0
  42. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -1
  43. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +40 -0
  44. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -1
  45. package/dist/models/GetDhcpOptionsSetResponseBody.d.ts +8 -0
  46. package/dist/models/GetDhcpOptionsSetResponseBody.js.map +1 -1
  47. package/dist/models/ListBusinessRegionsRequest.d.ts +24 -0
  48. package/dist/models/ListBusinessRegionsRequest.js +58 -0
  49. package/dist/models/ListBusinessRegionsRequest.js.map +1 -0
  50. package/dist/models/ListBusinessRegionsResponse.d.ts +19 -0
  51. package/dist/models/ListBusinessRegionsResponse.js +69 -0
  52. package/dist/models/ListBusinessRegionsResponse.js.map +1 -0
  53. package/dist/models/ListBusinessRegionsResponseBody.d.ts +59 -0
  54. package/dist/models/ListBusinessRegionsResponseBody.js +86 -0
  55. package/dist/models/ListBusinessRegionsResponseBody.js.map +1 -0
  56. package/dist/models/ListDhcpOptionsSetsRequest.d.ts +2 -0
  57. package/dist/models/ListDhcpOptionsSetsRequest.js.map +1 -1
  58. package/dist/models/ListDhcpOptionsSetsResponseBody.d.ts +12 -4
  59. package/dist/models/ListDhcpOptionsSetsResponseBody.js.map +1 -1
  60. package/dist/models/ListNatIpsRequest.d.ts +5 -0
  61. package/dist/models/ListNatIpsRequest.js +2 -0
  62. package/dist/models/ListNatIpsRequest.js.map +1 -1
  63. package/dist/models/ListPhysicalConnectionFeaturesRequest.d.ts +51 -0
  64. package/dist/models/ListPhysicalConnectionFeaturesRequest.js +70 -0
  65. package/dist/models/ListPhysicalConnectionFeaturesRequest.js.map +1 -0
  66. package/dist/models/ListPhysicalConnectionFeaturesResponse.d.ts +19 -0
  67. package/dist/models/ListPhysicalConnectionFeaturesResponse.js +69 -0
  68. package/dist/models/ListPhysicalConnectionFeaturesResponse.js.map +1 -0
  69. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.d.ts +66 -0
  70. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js +84 -0
  71. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js.map +1 -0
  72. package/dist/models/ListTrafficMirrorFiltersResponseBody.d.ts +14 -0
  73. package/dist/models/ListTrafficMirrorFiltersResponseBody.js.map +1 -1
  74. package/dist/models/ListVpcGatewayEndpointsRequest.d.ts +8 -1
  75. package/dist/models/ListVpcGatewayEndpointsRequest.js.map +1 -1
  76. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +6 -0
  77. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  78. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.d.ts +1 -0
  79. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js +2 -0
  80. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js.map +1 -1
  81. package/dist/models/ModifyVpcPrefixListRequest.d.ts +1 -1
  82. package/dist/models/OpenPublicIpAddressPoolServiceRequest.d.ts +10 -0
  83. package/dist/models/OpenPublicIpAddressPoolServiceRequest.js.map +1 -1
  84. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.d.ts +9 -0
  85. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.js.map +1 -1
  86. package/dist/models/model.d.ts +17 -0
  87. package/dist/models/model.js +70 -36
  88. package/dist/models/model.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/client.ts +272 -12
  91. package/src/models/CreateNatIpResponseBody.ts +54 -0
  92. package/src/models/CreatePhysicalConnectionOccupancyOrderRequest.ts +6 -0
  93. package/src/models/CreateSslVpnServerRequest.ts +20 -17
  94. package/src/models/DeleteExpressConnectRequest.ts +85 -0
  95. package/src/models/DeleteExpressConnectResponse.ts +40 -0
  96. package/src/models/DeleteExpressConnectResponseBody.ts +34 -0
  97. package/src/models/DeleteVswitchRequest.ts +6 -0
  98. package/src/models/DescribeGrantRulesToEcrRequest.ts +132 -0
  99. package/src/models/DescribeGrantRulesToEcrResponse.ts +40 -0
  100. package/src/models/DescribeGrantRulesToEcrResponseBody.ts +134 -0
  101. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.ts +61 -0
  102. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.ts +61 -0
  103. package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +3 -0
  104. package/src/models/DescribeVpcAttributeResponseBody.ts +7 -0
  105. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +45 -0
  106. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +40 -0
  107. package/src/models/GetDhcpOptionsSetResponseBody.ts +10 -2
  108. package/src/models/ListBusinessRegionsRequest.ts +37 -0
  109. package/src/models/ListBusinessRegionsResponse.ts +40 -0
  110. package/src/models/ListBusinessRegionsResponseBody.ts +91 -0
  111. package/src/models/ListDhcpOptionsSetsRequest.ts +8 -6
  112. package/src/models/ListDhcpOptionsSetsResponseBody.ts +12 -4
  113. package/src/models/ListNatIpsRequest.ts +7 -0
  114. package/src/models/ListPhysicalConnectionFeaturesRequest.ts +76 -0
  115. package/src/models/ListPhysicalConnectionFeaturesResponse.ts +40 -0
  116. package/src/models/ListPhysicalConnectionFeaturesResponseBody.ts +96 -0
  117. package/src/models/ListTrafficMirrorFiltersResponseBody.ts +14 -0
  118. package/src/models/ListVpcGatewayEndpointsRequest.ts +8 -1
  119. package/src/models/ModifyFlowLogAttributeRequest.ts +6 -0
  120. package/src/models/ModifyVirtualBorderRouterAttributeRequest.ts +3 -0
  121. package/src/models/ModifyVpcPrefixListRequest.ts +1 -1
  122. package/src/models/OpenPublicIpAddressPoolServiceRequest.ts +10 -0
  123. package/src/models/OpenPublicIpAddressPoolServiceResponseBody.ts +9 -0
  124. package/src/models/model.ts +17 -0
@@ -0,0 +1,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteExpressConnectRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
10
+ * Use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
11
+ *
12
+ * @example
13
+ * 02fb3da4-130e-11e9-8e44-00****
14
+ */
15
+ clientToken?: string;
16
+ /**
17
+ * @remarks
18
+ * Specifies whether to delete the route entries associated with the Express Connect instance.
19
+ *
20
+ * * **true**: forcefully deletes the snapshot
21
+ * * **false**
22
+ *
23
+ * @example
24
+ * false
25
+ */
26
+ force?: boolean;
27
+ ownerAccount?: string;
28
+ ownerId?: number;
29
+ /**
30
+ * @remarks
31
+ * The ID of the region where the Express Connect instance is deployed. Call the [DescribeRegions](36063) operation to query the region list.
32
+ *
33
+ * This parameter is required.
34
+ *
35
+ * @example
36
+ * cn-shanghai
37
+ */
38
+ regionId?: string;
39
+ resourceOwnerAccount?: string;
40
+ resourceOwnerId?: number;
41
+ /**
42
+ * @remarks
43
+ * The ID of the Express Connect instance.
44
+ *
45
+ * This parameter is required.
46
+ *
47
+ * @example
48
+ * ri-119mfjz****
49
+ */
50
+ routerInterfaceId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ clientToken: 'ClientToken',
54
+ force: 'Force',
55
+ ownerAccount: 'OwnerAccount',
56
+ ownerId: 'OwnerId',
57
+ regionId: 'RegionId',
58
+ resourceOwnerAccount: 'ResourceOwnerAccount',
59
+ resourceOwnerId: 'ResourceOwnerId',
60
+ routerInterfaceId: 'RouterInterfaceId',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ clientToken: 'string',
67
+ force: 'boolean',
68
+ ownerAccount: 'string',
69
+ ownerId: 'number',
70
+ regionId: 'string',
71
+ resourceOwnerAccount: 'string',
72
+ resourceOwnerId: 'number',
73
+ routerInterfaceId: 'string',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteExpressConnectResponseBody } from "./DeleteExpressConnectResponseBody";
4
+
5
+
6
+ export class DeleteExpressConnectResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteExpressConnectResponseBody;
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: DeleteExpressConnectResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteExpressConnectResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 980960B0-2969-40BF-8542-EBB34FD358AB
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -4,6 +4,12 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteVSwitchRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Specifies whether to perform a dry run. Valid values:
9
+ *
10
+ * - **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
11
+ * - **false** (default): performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
12
+ *
7
13
  * @example
8
14
  * false
9
15
  */
@@ -0,0 +1,132 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGrantRulesToEcrRequestTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag keys. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.
9
+ *
10
+ * The tag key can be up to 128 characters in length. The tag key cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
11
+ *
12
+ * @example
13
+ * FinanceDept
14
+ */
15
+ key?: string;
16
+ /**
17
+ * @remarks
18
+ * The value of the tag.
19
+ *
20
+ * @example
21
+ * FinanceJoshua
22
+ */
23
+ value?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ key: 'Key',
27
+ value: 'Value',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ key: 'string',
34
+ value: 'string',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
47
+ export class DescribeGrantRulesToEcrRequest extends $dara.Model {
48
+ /**
49
+ * @remarks
50
+ * The ID of the VBR.
51
+ *
52
+ * This parameter is required.
53
+ *
54
+ * @example
55
+ * vbr-xxxxxx
56
+ */
57
+ instanceId?: string;
58
+ /**
59
+ * @remarks
60
+ * The number of the page to return. Default value: 1.
61
+ *
62
+ * @example
63
+ * 1
64
+ */
65
+ pageNumber?: number;
66
+ /**
67
+ * @remarks
68
+ * The number of entries per page. Maximum value: **50**. Default value: **10**.
69
+ *
70
+ * @example
71
+ * 20
72
+ */
73
+ pageSize?: number;
74
+ /**
75
+ * @remarks
76
+ * The region ID
77
+ *
78
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region list.
79
+ *
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * cn-hangzhou
84
+ */
85
+ regionId?: string;
86
+ /**
87
+ * @remarks
88
+ * The ID of the resource group.
89
+ *
90
+ * @example
91
+ * rg-acfmxazdjdhd****
92
+ */
93
+ resourceGroupId?: string;
94
+ /**
95
+ * @remarks
96
+ * The tag list.
97
+ */
98
+ tags?: DescribeGrantRulesToEcrRequestTags[];
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ instanceId: 'InstanceId',
102
+ pageNumber: 'PageNumber',
103
+ pageSize: 'PageSize',
104
+ regionId: 'RegionId',
105
+ resourceGroupId: 'ResourceGroupId',
106
+ tags: 'Tags',
107
+ };
108
+ }
109
+
110
+ static types(): { [key: string]: any } {
111
+ return {
112
+ instanceId: 'string',
113
+ pageNumber: 'number',
114
+ pageSize: 'number',
115
+ regionId: 'string',
116
+ resourceGroupId: 'string',
117
+ tags: { 'type': 'array', 'itemType': DescribeGrantRulesToEcrRequestTags },
118
+ };
119
+ }
120
+
121
+ validate() {
122
+ if(Array.isArray(this.tags)) {
123
+ $dara.Model.validateArray(this.tags);
124
+ }
125
+ super.validate();
126
+ }
127
+
128
+ constructor(map?: { [key: string]: any }) {
129
+ super(map);
130
+ }
131
+ }
132
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGrantRulesToEcrResponseBody } from "./DescribeGrantRulesToEcrResponseBody";
4
+
5
+
6
+ export class DescribeGrantRulesToEcrResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeGrantRulesToEcrResponseBody;
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: DescribeGrantRulesToEcrResponseBody,
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,134 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGrantRulesToEcrResponseBodyEcrGrantRules extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The authorization time. The time follows the ISO8601 standard and uses UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
9
+ *
10
+ * @example
11
+ * 2025-09-15T14:00:00Z
12
+ */
13
+ createTime?: string;
14
+ /**
15
+ * @remarks
16
+ * The ECR account ID.
17
+ *
18
+ * @example
19
+ * ecr-xxxxxx
20
+ */
21
+ ecrInstanceId?: string;
22
+ /**
23
+ * @remarks
24
+ * The ECR account ID.
25
+ *
26
+ * @example
27
+ * 11111111111
28
+ */
29
+ ecrUid?: number;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ createTime: 'CreateTime',
33
+ ecrInstanceId: 'EcrInstanceId',
34
+ ecrUid: 'EcrUid',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ createTime: 'string',
41
+ ecrInstanceId: 'string',
42
+ ecrUid: 'number',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class DescribeGrantRulesToEcrResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * The total number of entries returned.
59
+ *
60
+ * @example
61
+ * 0
62
+ */
63
+ count?: number;
64
+ /**
65
+ * @remarks
66
+ * The cross-account authorization list of the ECR
67
+ */
68
+ ecrGrantRules?: DescribeGrantRulesToEcrResponseBodyEcrGrantRules[];
69
+ /**
70
+ * @remarks
71
+ * The page number. Default value: **1**.
72
+ *
73
+ * @example
74
+ * 1
75
+ */
76
+ pageNumber?: number;
77
+ /**
78
+ * @remarks
79
+ * The number of entries on each page. Maximum value: 50. Default value: 10.
80
+ *
81
+ * @example
82
+ * 20
83
+ */
84
+ pageSize?: number;
85
+ /**
86
+ * @remarks
87
+ * The ID of the request.
88
+ *
89
+ * @example
90
+ * C1CCAB91-6AE6-50E3-AAA3-D0E5A2BC6ADE
91
+ */
92
+ requestId?: string;
93
+ /**
94
+ * @remarks
95
+ * The total number of entries returned.
96
+ *
97
+ * @example
98
+ * 0
99
+ */
100
+ totalCount?: number;
101
+ static names(): { [key: string]: string } {
102
+ return {
103
+ count: 'Count',
104
+ ecrGrantRules: 'EcrGrantRules',
105
+ pageNumber: 'PageNumber',
106
+ pageSize: 'PageSize',
107
+ requestId: 'RequestId',
108
+ totalCount: 'TotalCount',
109
+ };
110
+ }
111
+
112
+ static types(): { [key: string]: any } {
113
+ return {
114
+ count: 'number',
115
+ ecrGrantRules: { 'type': 'array', 'itemType': DescribeGrantRulesToEcrResponseBodyEcrGrantRules },
116
+ pageNumber: 'number',
117
+ pageSize: 'number',
118
+ requestId: 'string',
119
+ totalCount: 'number',
120
+ };
121
+ }
122
+
123
+ validate() {
124
+ if(Array.isArray(this.ecrGrantRules)) {
125
+ $dara.Model.validateArray(this.ecrGrantRules);
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
@@ -4,11 +4,29 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeNatGatewayAssociateNetworkInterfacesRequestFilter extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The filter key.
9
+ *
10
+ * * ResourceId
11
+ *
12
+ * > Specify the service resource ID in the Value field.
13
+ *
14
+ * * NetworkInterfaceId
15
+ *
16
+ * > Specify the ENI ID in the Value field.
17
+ *
18
+ * * ResourceOwnerId
19
+ *
20
+ * > Specify the UID of the account to which the service resource belongs.
21
+ *
7
22
  * @example
8
23
  * ResourceId
9
24
  */
10
25
  key?: string;
11
26
  /**
27
+ * @remarks
28
+ * Separate multiple values with commas (,).
29
+ *
12
30
  * @example
13
31
  * ep-8psre8c8936596cd****
14
32
  */
@@ -38,11 +56,21 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequestFilter extends $
38
56
 
39
57
  export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $dara.Model {
40
58
  /**
59
+ * @remarks
60
+ * The tag key You can specify at most 20 tag keys. It cannot be an empty string,
61
+ *
62
+ * The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
63
+ *
41
64
  * @example
42
65
  * FinanceDept
43
66
  */
44
67
  key?: string;
45
68
  /**
69
+ * @remarks
70
+ * The tag key. You can specify at most 20 tag keys. It cannot be an empty string.
71
+ *
72
+ * The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
73
+ *
46
74
  * @example
47
75
  * FinanceJoshua
48
76
  */
@@ -72,18 +100,34 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $dar
72
100
 
73
101
  export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $dara.Model {
74
102
  /**
103
+ * @remarks
104
+ * The client token that is used to ensure the idempotence of the request.
105
+ *
106
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
107
+ *
108
+ * > If you do not set this parameter, the value of **RequestId** is used.**** The **RequestId** may be different for each request.
109
+ *
75
110
  * @example
76
111
  * 5A2CFF0E-5718-45B5-9D4D-70B3FF****
77
112
  */
78
113
  clientToken?: string;
114
+ /**
115
+ * @remarks
116
+ * The filter information. You can specify a filter key and a filter value.
117
+ */
79
118
  filter?: DescribeNatGatewayAssociateNetworkInterfacesRequestFilter[];
80
119
  /**
120
+ * @remarks
121
+ * The number of entries to return per page. Valid values: **1 to 100**. Default value: **20**.
122
+ *
81
123
  * @example
82
124
  * 20
83
125
  */
84
126
  maxResults?: number;
85
127
  /**
86
128
  * @remarks
129
+ * The ID of the NAT gateway.
130
+ *
87
131
  * This parameter is required.
88
132
  *
89
133
  * @example
@@ -91,6 +135,12 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $dara.M
91
135
  */
92
136
  natGatewayId?: string;
93
137
  /**
138
+ * @remarks
139
+ * The pagination token that is used in the next request to retrieve a new page of results. Valid value:
140
+ *
141
+ * * If no value is returned for NetToken, you do not need to specify this parameter.
142
+ * * If a value is returned for NextToken, you must specify the token that is obtained from the previous query as the value of **NextToken**.
143
+ *
94
144
  * @example
95
145
  * caeba0bbb2be03f84eb48b699f0a****
96
146
  */
@@ -99,6 +149,10 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $dara.M
99
149
  ownerId?: number;
100
150
  /**
101
151
  * @remarks
152
+ * The region ID of the Internet NAT gateway.
153
+ *
154
+ * Call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region list.
155
+ *
102
156
  * This parameter is required.
103
157
  *
104
158
  * @example
@@ -106,12 +160,19 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequest extends $dara.M
106
160
  */
107
161
  regionId?: string;
108
162
  /**
163
+ * @remarks
164
+ * The resource group ID.
165
+ *
109
166
  * @example
110
167
  * rg-acfmxazdjdhd****
111
168
  */
112
169
  resourceGroupId?: string;
113
170
  resourceOwnerAccount?: string;
114
171
  resourceOwnerId?: number;
172
+ /**
173
+ * @remarks
174
+ * The information about resource tags.
175
+ */
115
176
  tag?: DescribeNatGatewayAssociateNetworkInterfacesRequestTag[];
116
177
  static names(): { [key: string]: string } {
117
178
  return {