@pulumi/alicloud 3.59.0 → 3.59.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/cen/getTransitRouterService.d.ts +2 -2
- package/cen/getTransitRouterService.js +2 -2
- package/cloudfirewall/controlPolicyOrder.d.ts +24 -19
- package/cloudfirewall/controlPolicyOrder.js +16 -11
- package/cloudfirewall/controlPolicyOrder.js.map +1 -1
- package/cs/nodePool.d.ts +3 -3
- package/dcdn/domain.d.ts +111 -76
- package/dcdn/domain.js +21 -14
- package/dcdn/domain.js.map +1 -1
- package/directmail/getDomains.d.ts +29 -34
- package/directmail/getDomains.js +14 -28
- package/directmail/getDomains.js.map +1 -1
- package/ecs/ecsDisk.d.ts +3 -0
- package/ecs/ecsDisk.js.map +1 -1
- package/ecs/instance.d.ts +98 -44
- package/ecs/instance.js +8 -0
- package/ecs/instance.js.map +1 -1
- package/maxcompute/project.d.ts +77 -23
- package/maxcompute/project.js +20 -5
- package/maxcompute/project.js.map +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +12 -12
- package/rdc/organization.d.ts +1 -1
- package/rdc/organization.js +1 -1
- package/slb/serverGroup.d.ts +58 -36
- package/slb/serverGroup.js +24 -21
- package/slb/serverGroup.js.map +1 -1
- package/types/input.d.ts +2415 -37
- package/types/output.d.ts +2641 -74
- package/vpc/network.d.ts +119 -59
- package/vpc/network.js +13 -5
- package/vpc/network.js.map +1 -1
- package/vpc/publicIpAddressPool.d.ts +35 -5
- package/vpc/publicIpAddressPool.js +7 -3
- package/vpc/publicIpAddressPool.js.map +1 -1
package/vpc/network.d.ts
CHANGED
|
@@ -2,18 +2,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a
|
|
5
|
+
* Provides a VPC Vpc resource.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* A VPC instance creates a VPC. You can fully control your own VPC, such as selecting IP address ranges, configuring routing tables, and gateways. You can use Alibaba cloud resources such as cloud servers, apsaradb for RDS, and load balancer in your own VPC.
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** This resource will auto build a router and a route table while it uses `alicloud.vpc.Network` to build a vpc resource.
|
|
10
10
|
*
|
|
11
|
+
* > **NOTE:** Available since v1.0.0.
|
|
12
|
+
*
|
|
11
13
|
* ## Module Support
|
|
12
14
|
*
|
|
13
15
|
* You can use the existing vpc module
|
|
14
16
|
* to create a VPC and several VSwitches one-click.
|
|
15
17
|
*
|
|
16
|
-
* For information about
|
|
18
|
+
* For information about VPC Vpc and how to use it, see [What is Vpc](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/what-is-a-vpc).
|
|
17
19
|
*
|
|
18
20
|
* ## Example Usage
|
|
19
21
|
*
|
|
@@ -36,7 +38,7 @@ import * as outputs from "../types/output";
|
|
|
36
38
|
*
|
|
37
39
|
* ## Import
|
|
38
40
|
*
|
|
39
|
-
*
|
|
41
|
+
* VPC Vpc can be imported using the id, e.g.
|
|
40
42
|
*
|
|
41
43
|
* ```sh
|
|
42
44
|
* $ pulumi import alicloud:vpc/network:Network example <id>
|
|
@@ -59,7 +61,9 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
59
61
|
*/
|
|
60
62
|
static isInstance(obj: any): obj is Network;
|
|
61
63
|
/**
|
|
62
|
-
* The CIDR block
|
|
64
|
+
* The CIDR block of the VPC.
|
|
65
|
+
* - You can specify one of the following CIDR blocks or their subsets as the primary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. These CIDR blocks are standard private CIDR blocks as defined by Request for Comments (RFC) documents. The subnet mask must be 8 to 28 bits in length.
|
|
66
|
+
* - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
|
|
63
67
|
*/
|
|
64
68
|
readonly cidrBlock: pulumi.Output<string>;
|
|
65
69
|
/**
|
|
@@ -71,24 +75,25 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
71
75
|
*/
|
|
72
76
|
readonly createTime: pulumi.Output<string>;
|
|
73
77
|
/**
|
|
74
|
-
* The
|
|
78
|
+
* The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
75
79
|
*/
|
|
76
80
|
readonly description: pulumi.Output<string | undefined>;
|
|
77
81
|
/**
|
|
78
|
-
*
|
|
79
|
-
* - **true**: The check request is sent without creating a VPC. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.
|
|
80
|
-
* - **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
82
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
81
83
|
*/
|
|
82
84
|
readonly dryRun: pulumi.Output<boolean | undefined>;
|
|
83
85
|
/**
|
|
84
|
-
*
|
|
85
|
-
* - **false** (default): not enabled.
|
|
86
|
-
* - **true**: on.
|
|
86
|
+
* The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
87
87
|
*/
|
|
88
88
|
readonly enableIpv6: pulumi.Output<boolean | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
91
|
+
*/
|
|
89
92
|
readonly ipv4IpamPoolId: pulumi.Output<string | undefined>;
|
|
90
93
|
/**
|
|
91
|
-
* The IPv6 CIDR block of the VPC.
|
|
94
|
+
* The IPv6 CIDR block of the default VPC.
|
|
95
|
+
*
|
|
96
|
+
* > **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
92
97
|
*/
|
|
93
98
|
readonly ipv6CidrBlock: pulumi.Output<string>;
|
|
94
99
|
/**
|
|
@@ -97,13 +102,18 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
97
102
|
readonly ipv6CidrBlocks: pulumi.Output<outputs.vpc.NetworkIpv6CidrBlock[]>;
|
|
98
103
|
/**
|
|
99
104
|
* The IPv6 address segment type of the VPC. Value:
|
|
100
|
-
* -
|
|
101
|
-
* -
|
|
102
|
-
* -
|
|
103
|
-
* -
|
|
104
|
-
*
|
|
105
|
+
* - `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
106
|
+
* - `ChinaMobile`: China Mobile (single line).
|
|
107
|
+
* - `ChinaUnicom`: China Unicom (single line).
|
|
108
|
+
* - `ChinaTelecom`: China Telecom (single line).
|
|
109
|
+
*
|
|
110
|
+
* > **NOTE:** If a single-line bandwidth whitelist is enabled, this field can be set to `ChinaTelecom` (China Telecom), `ChinaUnicom` (China Unicom), or `ChinaMobile` (China Mobile).
|
|
105
111
|
*/
|
|
106
112
|
readonly ipv6Isp: pulumi.Output<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies whether to create the default VPC in the specified region. Valid values:
|
|
115
|
+
*/
|
|
116
|
+
readonly isDefault: pulumi.Output<boolean | undefined>;
|
|
107
117
|
/**
|
|
108
118
|
* . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
109
119
|
*
|
|
@@ -111,19 +121,21 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
111
121
|
*/
|
|
112
122
|
readonly name: pulumi.Output<string>;
|
|
113
123
|
/**
|
|
114
|
-
* The ID of the resource group to which the
|
|
124
|
+
* The ID of the resource group to which you want to move the resource.
|
|
125
|
+
*
|
|
126
|
+
* > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
115
127
|
*/
|
|
116
128
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
117
129
|
/**
|
|
118
|
-
* The
|
|
130
|
+
* The ID of the route table that you want to query.
|
|
119
131
|
*/
|
|
120
132
|
readonly routeTableId: pulumi.Output<string>;
|
|
121
133
|
/**
|
|
122
|
-
* The ID of the
|
|
134
|
+
* The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
|
|
123
135
|
*/
|
|
124
136
|
readonly routerId: pulumi.Output<string>;
|
|
125
137
|
/**
|
|
126
|
-
* Field 'router_table_id' has been deprecated from provider version 1.
|
|
138
|
+
* . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
127
139
|
*
|
|
128
140
|
* @deprecated Field 'router_table_id' has been deprecated since provider version 1.221.0. New field 'route_table_id' instead.
|
|
129
141
|
*/
|
|
@@ -135,9 +147,17 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
135
147
|
*/
|
|
136
148
|
readonly secondaryCidrBlocks: pulumi.Output<string[]>;
|
|
137
149
|
/**
|
|
138
|
-
* The status of the VPC.
|
|
150
|
+
* The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
139
151
|
*/
|
|
140
152
|
readonly status: pulumi.Output<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
155
|
+
*/
|
|
156
|
+
readonly systemRouteTableDescription: pulumi.Output<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
159
|
+
*/
|
|
160
|
+
readonly systemRouteTableName: pulumi.Output<string | undefined>;
|
|
141
161
|
/**
|
|
142
162
|
* The tags of Vpc.
|
|
143
163
|
*/
|
|
@@ -149,7 +169,7 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
149
169
|
*/
|
|
150
170
|
readonly userCidrs: pulumi.Output<string[]>;
|
|
151
171
|
/**
|
|
152
|
-
* The name of the VPC.
|
|
172
|
+
* The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
153
173
|
*
|
|
154
174
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
155
175
|
*/
|
|
@@ -168,7 +188,9 @@ export declare class Network extends pulumi.CustomResource {
|
|
|
168
188
|
*/
|
|
169
189
|
export interface NetworkState {
|
|
170
190
|
/**
|
|
171
|
-
* The CIDR block
|
|
191
|
+
* The CIDR block of the VPC.
|
|
192
|
+
* - You can specify one of the following CIDR blocks or their subsets as the primary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. These CIDR blocks are standard private CIDR blocks as defined by Request for Comments (RFC) documents. The subnet mask must be 8 to 28 bits in length.
|
|
193
|
+
* - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
|
|
172
194
|
*/
|
|
173
195
|
cidrBlock?: pulumi.Input<string>;
|
|
174
196
|
/**
|
|
@@ -180,24 +202,25 @@ export interface NetworkState {
|
|
|
180
202
|
*/
|
|
181
203
|
createTime?: pulumi.Input<string>;
|
|
182
204
|
/**
|
|
183
|
-
* The
|
|
205
|
+
* The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
184
206
|
*/
|
|
185
207
|
description?: pulumi.Input<string>;
|
|
186
208
|
/**
|
|
187
|
-
*
|
|
188
|
-
* - **true**: The check request is sent without creating a VPC. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.
|
|
189
|
-
* - **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
209
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
190
210
|
*/
|
|
191
211
|
dryRun?: pulumi.Input<boolean>;
|
|
192
212
|
/**
|
|
193
|
-
*
|
|
194
|
-
* - **false** (default): not enabled.
|
|
195
|
-
* - **true**: on.
|
|
213
|
+
* The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
196
214
|
*/
|
|
197
215
|
enableIpv6?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
218
|
+
*/
|
|
198
219
|
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
199
220
|
/**
|
|
200
|
-
* The IPv6 CIDR block of the VPC.
|
|
221
|
+
* The IPv6 CIDR block of the default VPC.
|
|
222
|
+
*
|
|
223
|
+
* > **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
201
224
|
*/
|
|
202
225
|
ipv6CidrBlock?: pulumi.Input<string>;
|
|
203
226
|
/**
|
|
@@ -206,13 +229,18 @@ export interface NetworkState {
|
|
|
206
229
|
ipv6CidrBlocks?: pulumi.Input<pulumi.Input<inputs.vpc.NetworkIpv6CidrBlock>[]>;
|
|
207
230
|
/**
|
|
208
231
|
* The IPv6 address segment type of the VPC. Value:
|
|
209
|
-
* -
|
|
210
|
-
* -
|
|
211
|
-
* -
|
|
212
|
-
* -
|
|
213
|
-
*
|
|
232
|
+
* - `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
233
|
+
* - `ChinaMobile`: China Mobile (single line).
|
|
234
|
+
* - `ChinaUnicom`: China Unicom (single line).
|
|
235
|
+
* - `ChinaTelecom`: China Telecom (single line).
|
|
236
|
+
*
|
|
237
|
+
* > **NOTE:** If a single-line bandwidth whitelist is enabled, this field can be set to `ChinaTelecom` (China Telecom), `ChinaUnicom` (China Unicom), or `ChinaMobile` (China Mobile).
|
|
214
238
|
*/
|
|
215
239
|
ipv6Isp?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* Specifies whether to create the default VPC in the specified region. Valid values:
|
|
242
|
+
*/
|
|
243
|
+
isDefault?: pulumi.Input<boolean>;
|
|
216
244
|
/**
|
|
217
245
|
* . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
218
246
|
*
|
|
@@ -220,19 +248,21 @@ export interface NetworkState {
|
|
|
220
248
|
*/
|
|
221
249
|
name?: pulumi.Input<string>;
|
|
222
250
|
/**
|
|
223
|
-
* The ID of the resource group to which the
|
|
251
|
+
* The ID of the resource group to which you want to move the resource.
|
|
252
|
+
*
|
|
253
|
+
* > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
224
254
|
*/
|
|
225
255
|
resourceGroupId?: pulumi.Input<string>;
|
|
226
256
|
/**
|
|
227
|
-
* The
|
|
257
|
+
* The ID of the route table that you want to query.
|
|
228
258
|
*/
|
|
229
259
|
routeTableId?: pulumi.Input<string>;
|
|
230
260
|
/**
|
|
231
|
-
* The ID of the
|
|
261
|
+
* The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
|
|
232
262
|
*/
|
|
233
263
|
routerId?: pulumi.Input<string>;
|
|
234
264
|
/**
|
|
235
|
-
* Field 'router_table_id' has been deprecated from provider version 1.
|
|
265
|
+
* . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
236
266
|
*
|
|
237
267
|
* @deprecated Field 'router_table_id' has been deprecated since provider version 1.221.0. New field 'route_table_id' instead.
|
|
238
268
|
*/
|
|
@@ -244,9 +274,17 @@ export interface NetworkState {
|
|
|
244
274
|
*/
|
|
245
275
|
secondaryCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
246
276
|
/**
|
|
247
|
-
* The status of the VPC.
|
|
277
|
+
* The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
248
278
|
*/
|
|
249
279
|
status?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
282
|
+
*/
|
|
283
|
+
systemRouteTableDescription?: pulumi.Input<string>;
|
|
284
|
+
/**
|
|
285
|
+
* The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
286
|
+
*/
|
|
287
|
+
systemRouteTableName?: pulumi.Input<string>;
|
|
250
288
|
/**
|
|
251
289
|
* The tags of Vpc.
|
|
252
290
|
*/
|
|
@@ -258,7 +296,7 @@ export interface NetworkState {
|
|
|
258
296
|
*/
|
|
259
297
|
userCidrs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
260
298
|
/**
|
|
261
|
-
* The name of the VPC.
|
|
299
|
+
* The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
262
300
|
*
|
|
263
301
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
264
302
|
*/
|
|
@@ -269,7 +307,9 @@ export interface NetworkState {
|
|
|
269
307
|
*/
|
|
270
308
|
export interface NetworkArgs {
|
|
271
309
|
/**
|
|
272
|
-
* The CIDR block
|
|
310
|
+
* The CIDR block of the VPC.
|
|
311
|
+
* - You can specify one of the following CIDR blocks or their subsets as the primary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. These CIDR blocks are standard private CIDR blocks as defined by Request for Comments (RFC) documents. The subnet mask must be 8 to 28 bits in length.
|
|
312
|
+
* - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
|
|
273
313
|
*/
|
|
274
314
|
cidrBlock?: pulumi.Input<string>;
|
|
275
315
|
/**
|
|
@@ -277,31 +317,41 @@ export interface NetworkArgs {
|
|
|
277
317
|
*/
|
|
278
318
|
classicLinkEnabled?: pulumi.Input<boolean>;
|
|
279
319
|
/**
|
|
280
|
-
* The
|
|
320
|
+
* The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
281
321
|
*/
|
|
282
322
|
description?: pulumi.Input<string>;
|
|
283
323
|
/**
|
|
284
|
-
*
|
|
285
|
-
* - **true**: The check request is sent without creating a VPC. Check items include whether required parameters, request format, and business restrictions are filled in. If the check does not pass, the corresponding error is returned. If the check passes, the error code 'DryRunOperation' is returned '.
|
|
286
|
-
* - **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
324
|
+
* Specifies whether to perform a dry run. Valid values:
|
|
287
325
|
*/
|
|
288
326
|
dryRun?: pulumi.Input<boolean>;
|
|
289
327
|
/**
|
|
290
|
-
*
|
|
291
|
-
* - **false** (default): not enabled.
|
|
292
|
-
* - **true**: on.
|
|
328
|
+
* The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
293
329
|
*/
|
|
294
330
|
enableIpv6?: pulumi.Input<boolean>;
|
|
331
|
+
/**
|
|
332
|
+
* The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
333
|
+
*/
|
|
295
334
|
ipv4IpamPoolId?: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* The IPv6 CIDR block of the default VPC.
|
|
337
|
+
*
|
|
338
|
+
* > **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
339
|
+
*/
|
|
340
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
296
341
|
/**
|
|
297
342
|
* The IPv6 address segment type of the VPC. Value:
|
|
298
|
-
* -
|
|
299
|
-
* -
|
|
300
|
-
* -
|
|
301
|
-
* -
|
|
302
|
-
*
|
|
343
|
+
* - `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
344
|
+
* - `ChinaMobile`: China Mobile (single line).
|
|
345
|
+
* - `ChinaUnicom`: China Unicom (single line).
|
|
346
|
+
* - `ChinaTelecom`: China Telecom (single line).
|
|
347
|
+
*
|
|
348
|
+
* > **NOTE:** If a single-line bandwidth whitelist is enabled, this field can be set to `ChinaTelecom` (China Telecom), `ChinaUnicom` (China Unicom), or `ChinaMobile` (China Mobile).
|
|
303
349
|
*/
|
|
304
350
|
ipv6Isp?: pulumi.Input<string>;
|
|
351
|
+
/**
|
|
352
|
+
* Specifies whether to create the default VPC in the specified region. Valid values:
|
|
353
|
+
*/
|
|
354
|
+
isDefault?: pulumi.Input<boolean>;
|
|
305
355
|
/**
|
|
306
356
|
* . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
307
357
|
*
|
|
@@ -309,7 +359,9 @@ export interface NetworkArgs {
|
|
|
309
359
|
*/
|
|
310
360
|
name?: pulumi.Input<string>;
|
|
311
361
|
/**
|
|
312
|
-
* The ID of the resource group to which the
|
|
362
|
+
* The ID of the resource group to which you want to move the resource.
|
|
363
|
+
*
|
|
364
|
+
* > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
|
|
313
365
|
*/
|
|
314
366
|
resourceGroupId?: pulumi.Input<string>;
|
|
315
367
|
/**
|
|
@@ -318,6 +370,14 @@ export interface NetworkArgs {
|
|
|
318
370
|
* @deprecated Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0. Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondaryCidrBlocks` attributes and `alicloud.vpc.Ipv4CidrBlock` resource cannot be used at the same time.
|
|
319
371
|
*/
|
|
320
372
|
secondaryCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
373
|
+
/**
|
|
374
|
+
* The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
375
|
+
*/
|
|
376
|
+
systemRouteTableDescription?: pulumi.Input<string>;
|
|
377
|
+
/**
|
|
378
|
+
* The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
379
|
+
*/
|
|
380
|
+
systemRouteTableName?: pulumi.Input<string>;
|
|
321
381
|
/**
|
|
322
382
|
* The tags of Vpc.
|
|
323
383
|
*/
|
|
@@ -329,7 +389,7 @@ export interface NetworkArgs {
|
|
|
329
389
|
*/
|
|
330
390
|
userCidrs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
331
391
|
/**
|
|
332
|
-
* The name of the VPC.
|
|
392
|
+
* The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
333
393
|
*
|
|
334
394
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
335
395
|
*/
|
package/vpc/network.js
CHANGED
|
@@ -6,18 +6,20 @@ exports.Network = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a
|
|
9
|
+
* Provides a VPC Vpc resource.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* A VPC instance creates a VPC. You can fully control your own VPC, such as selecting IP address ranges, configuring routing tables, and gateways. You can use Alibaba cloud resources such as cloud servers, apsaradb for RDS, and load balancer in your own VPC.
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** This resource will auto build a router and a route table while it uses `alicloud.vpc.Network` to build a vpc resource.
|
|
14
14
|
*
|
|
15
|
+
* > **NOTE:** Available since v1.0.0.
|
|
16
|
+
*
|
|
15
17
|
* ## Module Support
|
|
16
18
|
*
|
|
17
19
|
* You can use the existing vpc module
|
|
18
20
|
* to create a VPC and several VSwitches one-click.
|
|
19
21
|
*
|
|
20
|
-
* For information about
|
|
22
|
+
* For information about VPC Vpc and how to use it, see [What is Vpc](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/what-is-a-vpc).
|
|
21
23
|
*
|
|
22
24
|
* ## Example Usage
|
|
23
25
|
*
|
|
@@ -40,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
40
42
|
*
|
|
41
43
|
* ## Import
|
|
42
44
|
*
|
|
43
|
-
*
|
|
45
|
+
* VPC Vpc can be imported using the id, e.g.
|
|
44
46
|
*
|
|
45
47
|
* ```sh
|
|
46
48
|
* $ pulumi import alicloud:vpc/network:Network example <id>
|
|
@@ -84,6 +86,7 @@ class Network extends pulumi.CustomResource {
|
|
|
84
86
|
resourceInputs["ipv6CidrBlock"] = state ? state.ipv6CidrBlock : undefined;
|
|
85
87
|
resourceInputs["ipv6CidrBlocks"] = state ? state.ipv6CidrBlocks : undefined;
|
|
86
88
|
resourceInputs["ipv6Isp"] = state ? state.ipv6Isp : undefined;
|
|
89
|
+
resourceInputs["isDefault"] = state ? state.isDefault : undefined;
|
|
87
90
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
88
91
|
resourceInputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
|
|
89
92
|
resourceInputs["routeTableId"] = state ? state.routeTableId : undefined;
|
|
@@ -91,6 +94,8 @@ class Network extends pulumi.CustomResource {
|
|
|
91
94
|
resourceInputs["routerTableId"] = state ? state.routerTableId : undefined;
|
|
92
95
|
resourceInputs["secondaryCidrBlocks"] = state ? state.secondaryCidrBlocks : undefined;
|
|
93
96
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
97
|
+
resourceInputs["systemRouteTableDescription"] = state ? state.systemRouteTableDescription : undefined;
|
|
98
|
+
resourceInputs["systemRouteTableName"] = state ? state.systemRouteTableName : undefined;
|
|
94
99
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
95
100
|
resourceInputs["userCidrs"] = state ? state.userCidrs : undefined;
|
|
96
101
|
resourceInputs["vpcName"] = state ? state.vpcName : undefined;
|
|
@@ -103,15 +108,18 @@ class Network extends pulumi.CustomResource {
|
|
|
103
108
|
resourceInputs["dryRun"] = args ? args.dryRun : undefined;
|
|
104
109
|
resourceInputs["enableIpv6"] = args ? args.enableIpv6 : undefined;
|
|
105
110
|
resourceInputs["ipv4IpamPoolId"] = args ? args.ipv4IpamPoolId : undefined;
|
|
111
|
+
resourceInputs["ipv6CidrBlock"] = args ? args.ipv6CidrBlock : undefined;
|
|
106
112
|
resourceInputs["ipv6Isp"] = args ? args.ipv6Isp : undefined;
|
|
113
|
+
resourceInputs["isDefault"] = args ? args.isDefault : undefined;
|
|
107
114
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
108
115
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
109
116
|
resourceInputs["secondaryCidrBlocks"] = args ? args.secondaryCidrBlocks : undefined;
|
|
117
|
+
resourceInputs["systemRouteTableDescription"] = args ? args.systemRouteTableDescription : undefined;
|
|
118
|
+
resourceInputs["systemRouteTableName"] = args ? args.systemRouteTableName : undefined;
|
|
110
119
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
111
120
|
resourceInputs["userCidrs"] = args ? args.userCidrs : undefined;
|
|
112
121
|
resourceInputs["vpcName"] = args ? args.vpcName : undefined;
|
|
113
122
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
114
|
-
resourceInputs["ipv6CidrBlock"] = undefined /*out*/;
|
|
115
123
|
resourceInputs["ipv6CidrBlocks"] = undefined /*out*/;
|
|
116
124
|
resourceInputs["routeTableId"] = undefined /*out*/;
|
|
117
125
|
resourceInputs["routerId"] = undefined /*out*/;
|
package/vpc/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../vpc/network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../vpc/network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,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CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7ML,0BA8MC;AAhMG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a
|
|
3
|
+
* Provides a VPC Public Ip Address Pool resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about
|
|
5
|
+
* For information about VPC Public Ip Address Pool and how to use it, see [What is Public Ip Address Pool](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createpublicipaddresspool).
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.186.0.
|
|
8
8
|
*
|
|
@@ -29,7 +29,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
29
|
*
|
|
30
30
|
* ## Import
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* VPC Public Ip Address Pool can be imported using the id, e.g.
|
|
33
33
|
*
|
|
34
34
|
* ```sh
|
|
35
35
|
* $ pulumi import alicloud:vpc/publicIpAddressPool:PublicIpAddressPool example <id>
|
|
@@ -52,7 +52,11 @@ export declare class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
52
52
|
*/
|
|
53
53
|
static isInstance(obj: any): obj is PublicIpAddressPool;
|
|
54
54
|
/**
|
|
55
|
-
* The
|
|
55
|
+
* The name of the VPC Public IP address pool.
|
|
56
|
+
*/
|
|
57
|
+
readonly bizType: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The creation time of the resource
|
|
56
60
|
*/
|
|
57
61
|
readonly createTime: pulumi.Output<string>;
|
|
58
62
|
/**
|
|
@@ -76,6 +80,12 @@ export declare class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
76
80
|
* The resource group ID of the VPC Public IP address pool.
|
|
77
81
|
*/
|
|
78
82
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Security protection level.
|
|
85
|
+
* - If the configuration is empty, the default value is DDoS protection (Basic edition).
|
|
86
|
+
* - `AntiDDoS_Enhanced` indicates DDoS protection (enhanced version).
|
|
87
|
+
*/
|
|
88
|
+
readonly securityProtectionTypes: pulumi.Output<string[] | undefined>;
|
|
79
89
|
/**
|
|
80
90
|
* The status of the VPC Public IP address pool.
|
|
81
91
|
*/
|
|
@@ -108,7 +118,11 @@ export declare class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
108
118
|
*/
|
|
109
119
|
export interface PublicIpAddressPoolState {
|
|
110
120
|
/**
|
|
111
|
-
* The
|
|
121
|
+
* The name of the VPC Public IP address pool.
|
|
122
|
+
*/
|
|
123
|
+
bizType?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The creation time of the resource
|
|
112
126
|
*/
|
|
113
127
|
createTime?: pulumi.Input<string>;
|
|
114
128
|
/**
|
|
@@ -132,6 +146,12 @@ export interface PublicIpAddressPoolState {
|
|
|
132
146
|
* The resource group ID of the VPC Public IP address pool.
|
|
133
147
|
*/
|
|
134
148
|
resourceGroupId?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Security protection level.
|
|
151
|
+
* - If the configuration is empty, the default value is DDoS protection (Basic edition).
|
|
152
|
+
* - `AntiDDoS_Enhanced` indicates DDoS protection (enhanced version).
|
|
153
|
+
*/
|
|
154
|
+
securityProtectionTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
135
155
|
/**
|
|
136
156
|
* The status of the VPC Public IP address pool.
|
|
137
157
|
*/
|
|
@@ -155,6 +175,10 @@ export interface PublicIpAddressPoolState {
|
|
|
155
175
|
* The set of arguments for constructing a PublicIpAddressPool resource.
|
|
156
176
|
*/
|
|
157
177
|
export interface PublicIpAddressPoolArgs {
|
|
178
|
+
/**
|
|
179
|
+
* The name of the VPC Public IP address pool.
|
|
180
|
+
*/
|
|
181
|
+
bizType?: pulumi.Input<string>;
|
|
158
182
|
/**
|
|
159
183
|
* Description.
|
|
160
184
|
*/
|
|
@@ -171,6 +195,12 @@ export interface PublicIpAddressPoolArgs {
|
|
|
171
195
|
* The resource group ID of the VPC Public IP address pool.
|
|
172
196
|
*/
|
|
173
197
|
resourceGroupId?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Security protection level.
|
|
200
|
+
* - If the configuration is empty, the default value is DDoS protection (Basic edition).
|
|
201
|
+
* - `AntiDDoS_Enhanced` indicates DDoS protection (enhanced version).
|
|
202
|
+
*/
|
|
203
|
+
securityProtectionTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
174
204
|
/**
|
|
175
205
|
* The tags of PrefixList.
|
|
176
206
|
*/
|
|
@@ -6,9 +6,9 @@ exports.PublicIpAddressPool = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a
|
|
9
|
+
* Provides a VPC Public Ip Address Pool resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about
|
|
11
|
+
* For information about VPC Public Ip Address Pool and how to use it, see [What is Public Ip Address Pool](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createpublicipaddresspool).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.186.0.
|
|
14
14
|
*
|
|
@@ -35,7 +35,7 @@ const utilities = require("../utilities");
|
|
|
35
35
|
*
|
|
36
36
|
* ## Import
|
|
37
37
|
*
|
|
38
|
-
*
|
|
38
|
+
* VPC Public Ip Address Pool can be imported using the id, e.g.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
41
|
* $ pulumi import alicloud:vpc/publicIpAddressPool:PublicIpAddressPool example <id>
|
|
@@ -69,6 +69,7 @@ class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
if (opts.id) {
|
|
71
71
|
const state = argsOrState;
|
|
72
|
+
resourceInputs["bizType"] = state ? state.bizType : undefined;
|
|
72
73
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
73
74
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
74
75
|
resourceInputs["ipAddressRemaining"] = state ? state.ipAddressRemaining : undefined;
|
|
@@ -76,6 +77,7 @@ class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
76
77
|
resourceInputs["publicIpAddressPoolId"] = state ? state.publicIpAddressPoolId : undefined;
|
|
77
78
|
resourceInputs["publicIpAddressPoolName"] = state ? state.publicIpAddressPoolName : undefined;
|
|
78
79
|
resourceInputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
|
|
80
|
+
resourceInputs["securityProtectionTypes"] = state ? state.securityProtectionTypes : undefined;
|
|
79
81
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
80
82
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
81
83
|
resourceInputs["totalIpNum"] = state ? state.totalIpNum : undefined;
|
|
@@ -83,10 +85,12 @@ class PublicIpAddressPool extends pulumi.CustomResource {
|
|
|
83
85
|
}
|
|
84
86
|
else {
|
|
85
87
|
const args = argsOrState;
|
|
88
|
+
resourceInputs["bizType"] = args ? args.bizType : undefined;
|
|
86
89
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
87
90
|
resourceInputs["isp"] = args ? args.isp : undefined;
|
|
88
91
|
resourceInputs["publicIpAddressPoolName"] = args ? args.publicIpAddressPoolName : undefined;
|
|
89
92
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
93
|
+
resourceInputs["securityProtectionTypes"] = args ? args.securityProtectionTypes : undefined;
|
|
90
94
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
91
95
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
92
96
|
resourceInputs["ipAddressRemaining"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicIpAddressPool.js","sourceRoot":"","sources":["../../vpc/publicIpAddressPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"publicIpAddressPool.js","sourceRoot":"","sources":["../../vpc/publicIpAddressPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAy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