pulumi-alicloud 3.60.0a1721884766__py3-none-any.whl → 3.60.0a1721971165__py3-none-any.whl
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.
- pulumi_alicloud/_utilities.py +2 -0
- pulumi_alicloud/cen/get_transit_router_service.py +2 -2
- pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/dcdn/_inputs.py +23 -27
- pulumi_alicloud/dcdn/domain.py +366 -217
- pulumi_alicloud/dcdn/outputs.py +18 -22
- pulumi_alicloud/directmail/get_domains.py +31 -24
- pulumi_alicloud/directmail/outputs.py +131 -32
- pulumi_alicloud/eci/_inputs.py +8 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/_inputs.py +40 -8
- pulumi_alicloud/ecs/ecs_disk.py +7 -0
- pulumi_alicloud/ecs/instance.py +304 -102
- pulumi_alicloud/ecs/outputs.py +37 -9
- pulumi_alicloud/maxcompute/_inputs.py +44 -42
- pulumi_alicloud/maxcompute/outputs.py +44 -42
- pulumi_alicloud/maxcompute/project.py +230 -66
- pulumi_alicloud/polardb/cluster.py +28 -28
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rdc/organization.py +2 -2
- pulumi_alicloud/slb/_inputs.py +8 -8
- pulumi_alicloud/slb/outputs.py +8 -8
- pulumi_alicloud/slb/server_group.py +140 -84
- pulumi_alicloud/vpc/_inputs.py +18 -12
- pulumi_alicloud/vpc/network.py +332 -134
- pulumi_alicloud/vpc/outputs.py +18 -12
- pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/RECORD +32 -32
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721971165.dist-info}/top_level.txt +0 -0
pulumi_alicloud/vpc/network.py
CHANGED
|
@@ -22,36 +22,48 @@ class NetworkArgs:
|
|
|
22
22
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
23
23
|
enable_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
24
24
|
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
25
26
|
ipv6_isp: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
|
26
28
|
name: Optional[pulumi.Input[str]] = None,
|
|
27
29
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
28
30
|
secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
|
+
system_route_table_description: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
system_route_table_name: Optional[pulumi.Input[str]] = None,
|
|
29
33
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
30
34
|
user_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
31
35
|
vpc_name: Optional[pulumi.Input[str]] = None):
|
|
32
36
|
"""
|
|
33
37
|
The set of arguments for constructing a Network resource.
|
|
34
|
-
:param pulumi.Input[str] cidr_block: The CIDR block
|
|
38
|
+
:param pulumi.Input[str] cidr_block: The CIDR block of the VPC.
|
|
39
|
+
- 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.
|
|
40
|
+
- 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.
|
|
35
41
|
:param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
|
|
36
|
-
:param pulumi.Input[str] description: The
|
|
37
|
-
:param pulumi.Input[bool] dry_run:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
:param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
43
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
|
|
44
|
+
:param pulumi.Input[bool] enable_ipv6: The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
45
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
46
|
+
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
|
|
47
|
+
|
|
48
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
43
49
|
:param pulumi.Input[str] ipv6_isp: The IPv6 address segment type of the VPC. Value:
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
|
|
50
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
51
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
52
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
53
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
54
|
+
|
|
55
|
+
> **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).
|
|
56
|
+
:param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
|
|
49
57
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
50
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the
|
|
58
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
59
|
+
|
|
60
|
+
> **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)
|
|
51
61
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: 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'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
|
|
62
|
+
:param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
63
|
+
:param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
52
64
|
:param pulumi.Input[Mapping[str, Any]] tags: The tags of Vpc.
|
|
53
65
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
|
|
54
|
-
:param pulumi.Input[str] vpc_name: The name of the VPC.
|
|
66
|
+
:param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
55
67
|
|
|
56
68
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
57
69
|
"""
|
|
@@ -67,8 +79,12 @@ class NetworkArgs:
|
|
|
67
79
|
pulumi.set(__self__, "enable_ipv6", enable_ipv6)
|
|
68
80
|
if ipv4_ipam_pool_id is not None:
|
|
69
81
|
pulumi.set(__self__, "ipv4_ipam_pool_id", ipv4_ipam_pool_id)
|
|
82
|
+
if ipv6_cidr_block is not None:
|
|
83
|
+
pulumi.set(__self__, "ipv6_cidr_block", ipv6_cidr_block)
|
|
70
84
|
if ipv6_isp is not None:
|
|
71
85
|
pulumi.set(__self__, "ipv6_isp", ipv6_isp)
|
|
86
|
+
if is_default is not None:
|
|
87
|
+
pulumi.set(__self__, "is_default", is_default)
|
|
72
88
|
if name is not None:
|
|
73
89
|
warnings.warn("""Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""", DeprecationWarning)
|
|
74
90
|
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
|
|
@@ -81,6 +97,10 @@ class NetworkArgs:
|
|
|
81
97
|
pulumi.log.warn("""secondary_cidr_blocks is 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'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.""")
|
|
82
98
|
if secondary_cidr_blocks is not None:
|
|
83
99
|
pulumi.set(__self__, "secondary_cidr_blocks", secondary_cidr_blocks)
|
|
100
|
+
if system_route_table_description is not None:
|
|
101
|
+
pulumi.set(__self__, "system_route_table_description", system_route_table_description)
|
|
102
|
+
if system_route_table_name is not None:
|
|
103
|
+
pulumi.set(__self__, "system_route_table_name", system_route_table_name)
|
|
84
104
|
if tags is not None:
|
|
85
105
|
pulumi.set(__self__, "tags", tags)
|
|
86
106
|
if user_cidrs is not None:
|
|
@@ -92,7 +112,9 @@ class NetworkArgs:
|
|
|
92
112
|
@pulumi.getter(name="cidrBlock")
|
|
93
113
|
def cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
94
114
|
"""
|
|
95
|
-
The CIDR block
|
|
115
|
+
The CIDR block of the VPC.
|
|
116
|
+
- 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.
|
|
117
|
+
- 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.
|
|
96
118
|
"""
|
|
97
119
|
return pulumi.get(self, "cidr_block")
|
|
98
120
|
|
|
@@ -116,7 +138,7 @@ class NetworkArgs:
|
|
|
116
138
|
@pulumi.getter
|
|
117
139
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
118
140
|
"""
|
|
119
|
-
The
|
|
141
|
+
The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
120
142
|
"""
|
|
121
143
|
return pulumi.get(self, "description")
|
|
122
144
|
|
|
@@ -128,9 +150,7 @@ class NetworkArgs:
|
|
|
128
150
|
@pulumi.getter(name="dryRun")
|
|
129
151
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
130
152
|
"""
|
|
131
|
-
|
|
132
|
-
- **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 '.
|
|
133
|
-
- **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
153
|
+
Specifies whether to perform a dry run. Valid values:
|
|
134
154
|
"""
|
|
135
155
|
return pulumi.get(self, "dry_run")
|
|
136
156
|
|
|
@@ -142,9 +162,7 @@ class NetworkArgs:
|
|
|
142
162
|
@pulumi.getter(name="enableIpv6")
|
|
143
163
|
def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
|
144
164
|
"""
|
|
145
|
-
|
|
146
|
-
- **false** (default): not enabled.
|
|
147
|
-
- **true**: on.
|
|
165
|
+
The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
148
166
|
"""
|
|
149
167
|
return pulumi.get(self, "enable_ipv6")
|
|
150
168
|
|
|
@@ -155,22 +173,40 @@ class NetworkArgs:
|
|
|
155
173
|
@property
|
|
156
174
|
@pulumi.getter(name="ipv4IpamPoolId")
|
|
157
175
|
def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
176
|
+
"""
|
|
177
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
178
|
+
"""
|
|
158
179
|
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
159
180
|
|
|
160
181
|
@ipv4_ipam_pool_id.setter
|
|
161
182
|
def ipv4_ipam_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
162
183
|
pulumi.set(self, "ipv4_ipam_pool_id", value)
|
|
163
184
|
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter(name="ipv6CidrBlock")
|
|
187
|
+
def ipv6_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
188
|
+
"""
|
|
189
|
+
The IPv6 CIDR block of the default VPC.
|
|
190
|
+
|
|
191
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "ipv6_cidr_block")
|
|
194
|
+
|
|
195
|
+
@ipv6_cidr_block.setter
|
|
196
|
+
def ipv6_cidr_block(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
pulumi.set(self, "ipv6_cidr_block", value)
|
|
198
|
+
|
|
164
199
|
@property
|
|
165
200
|
@pulumi.getter(name="ipv6Isp")
|
|
166
201
|
def ipv6_isp(self) -> Optional[pulumi.Input[str]]:
|
|
167
202
|
"""
|
|
168
203
|
The IPv6 address segment type of the VPC. Value:
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
|
|
204
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
205
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
206
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
207
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
208
|
+
|
|
209
|
+
> **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).
|
|
174
210
|
"""
|
|
175
211
|
return pulumi.get(self, "ipv6_isp")
|
|
176
212
|
|
|
@@ -178,6 +214,18 @@ class NetworkArgs:
|
|
|
178
214
|
def ipv6_isp(self, value: Optional[pulumi.Input[str]]):
|
|
179
215
|
pulumi.set(self, "ipv6_isp", value)
|
|
180
216
|
|
|
217
|
+
@property
|
|
218
|
+
@pulumi.getter(name="isDefault")
|
|
219
|
+
def is_default(self) -> Optional[pulumi.Input[bool]]:
|
|
220
|
+
"""
|
|
221
|
+
Specifies whether to create the default VPC in the specified region. Valid values:
|
|
222
|
+
"""
|
|
223
|
+
return pulumi.get(self, "is_default")
|
|
224
|
+
|
|
225
|
+
@is_default.setter
|
|
226
|
+
def is_default(self, value: Optional[pulumi.Input[bool]]):
|
|
227
|
+
pulumi.set(self, "is_default", value)
|
|
228
|
+
|
|
181
229
|
@property
|
|
182
230
|
@pulumi.getter
|
|
183
231
|
@_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
|
|
@@ -195,7 +243,9 @@ class NetworkArgs:
|
|
|
195
243
|
@pulumi.getter(name="resourceGroupId")
|
|
196
244
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
197
245
|
"""
|
|
198
|
-
The ID of the resource group to which the
|
|
246
|
+
The ID of the resource group to which you want to move the resource.
|
|
247
|
+
|
|
248
|
+
> **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)
|
|
199
249
|
"""
|
|
200
250
|
return pulumi.get(self, "resource_group_id")
|
|
201
251
|
|
|
@@ -216,6 +266,30 @@ class NetworkArgs:
|
|
|
216
266
|
def secondary_cidr_blocks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
217
267
|
pulumi.set(self, "secondary_cidr_blocks", value)
|
|
218
268
|
|
|
269
|
+
@property
|
|
270
|
+
@pulumi.getter(name="systemRouteTableDescription")
|
|
271
|
+
def system_route_table_description(self) -> Optional[pulumi.Input[str]]:
|
|
272
|
+
"""
|
|
273
|
+
The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
274
|
+
"""
|
|
275
|
+
return pulumi.get(self, "system_route_table_description")
|
|
276
|
+
|
|
277
|
+
@system_route_table_description.setter
|
|
278
|
+
def system_route_table_description(self, value: Optional[pulumi.Input[str]]):
|
|
279
|
+
pulumi.set(self, "system_route_table_description", value)
|
|
280
|
+
|
|
281
|
+
@property
|
|
282
|
+
@pulumi.getter(name="systemRouteTableName")
|
|
283
|
+
def system_route_table_name(self) -> Optional[pulumi.Input[str]]:
|
|
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
|
+
return pulumi.get(self, "system_route_table_name")
|
|
288
|
+
|
|
289
|
+
@system_route_table_name.setter
|
|
290
|
+
def system_route_table_name(self, value: Optional[pulumi.Input[str]]):
|
|
291
|
+
pulumi.set(self, "system_route_table_name", value)
|
|
292
|
+
|
|
219
293
|
@property
|
|
220
294
|
@pulumi.getter
|
|
221
295
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
@@ -244,7 +318,7 @@ class NetworkArgs:
|
|
|
244
318
|
@pulumi.getter(name="vpcName")
|
|
245
319
|
def vpc_name(self) -> Optional[pulumi.Input[str]]:
|
|
246
320
|
"""
|
|
247
|
-
The name of the VPC.
|
|
321
|
+
The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
248
322
|
|
|
249
323
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
250
324
|
"""
|
|
@@ -268,6 +342,7 @@ class _NetworkState:
|
|
|
268
342
|
ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
269
343
|
ipv6_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkIpv6CidrBlockArgs']]]] = None,
|
|
270
344
|
ipv6_isp: Optional[pulumi.Input[str]] = None,
|
|
345
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
|
271
346
|
name: Optional[pulumi.Input[str]] = None,
|
|
272
347
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
273
348
|
route_table_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -275,39 +350,48 @@ class _NetworkState:
|
|
|
275
350
|
router_table_id: Optional[pulumi.Input[str]] = None,
|
|
276
351
|
secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
277
352
|
status: Optional[pulumi.Input[str]] = None,
|
|
353
|
+
system_route_table_description: Optional[pulumi.Input[str]] = None,
|
|
354
|
+
system_route_table_name: Optional[pulumi.Input[str]] = None,
|
|
278
355
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
279
356
|
user_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
280
357
|
vpc_name: Optional[pulumi.Input[str]] = None):
|
|
281
358
|
"""
|
|
282
359
|
Input properties used for looking up and filtering Network resources.
|
|
283
|
-
:param pulumi.Input[str] cidr_block: The CIDR block
|
|
360
|
+
:param pulumi.Input[str] cidr_block: The CIDR block of the VPC.
|
|
361
|
+
- 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.
|
|
362
|
+
- 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.
|
|
284
363
|
:param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
|
|
285
364
|
:param pulumi.Input[str] create_time: The creation time of the VPC.
|
|
286
|
-
:param pulumi.Input[str] description: The
|
|
287
|
-
:param pulumi.Input[bool] dry_run:
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
:param pulumi.Input[
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the VPC.
|
|
365
|
+
:param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
366
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
|
|
367
|
+
:param pulumi.Input[bool] enable_ipv6: The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
368
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
369
|
+
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
|
|
370
|
+
|
|
371
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
294
372
|
:param pulumi.Input[Sequence[pulumi.Input['NetworkIpv6CidrBlockArgs']]] ipv6_cidr_blocks: The IPv6 CIDR block information of the VPC.
|
|
295
373
|
:param pulumi.Input[str] ipv6_isp: The IPv6 address segment type of the VPC. Value:
|
|
296
|
-
-
|
|
297
|
-
-
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
|
|
374
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
375
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
376
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
377
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
378
|
+
|
|
379
|
+
> **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).
|
|
380
|
+
:param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
|
|
301
381
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
302
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
:param pulumi.Input[str]
|
|
382
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
383
|
+
|
|
384
|
+
> **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)
|
|
385
|
+
:param pulumi.Input[str] route_table_id: The ID of the route table that you want to query.
|
|
386
|
+
:param pulumi.Input[str] router_id: 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.
|
|
387
|
+
:param pulumi.Input[str] router_table_id: . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
306
388
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: 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'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
|
|
307
|
-
:param pulumi.Input[str] status: The status of the VPC.
|
|
389
|
+
:param pulumi.Input[str] status: The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
390
|
+
:param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
391
|
+
:param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
308
392
|
:param pulumi.Input[Mapping[str, Any]] tags: The tags of Vpc.
|
|
309
393
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
|
|
310
|
-
:param pulumi.Input[str] vpc_name: The name of the VPC.
|
|
394
|
+
:param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
311
395
|
|
|
312
396
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
313
397
|
"""
|
|
@@ -331,6 +415,8 @@ class _NetworkState:
|
|
|
331
415
|
pulumi.set(__self__, "ipv6_cidr_blocks", ipv6_cidr_blocks)
|
|
332
416
|
if ipv6_isp is not None:
|
|
333
417
|
pulumi.set(__self__, "ipv6_isp", ipv6_isp)
|
|
418
|
+
if is_default is not None:
|
|
419
|
+
pulumi.set(__self__, "is_default", is_default)
|
|
334
420
|
if name is not None:
|
|
335
421
|
warnings.warn("""Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""", DeprecationWarning)
|
|
336
422
|
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
|
|
@@ -354,6 +440,10 @@ class _NetworkState:
|
|
|
354
440
|
pulumi.set(__self__, "secondary_cidr_blocks", secondary_cidr_blocks)
|
|
355
441
|
if status is not None:
|
|
356
442
|
pulumi.set(__self__, "status", status)
|
|
443
|
+
if system_route_table_description is not None:
|
|
444
|
+
pulumi.set(__self__, "system_route_table_description", system_route_table_description)
|
|
445
|
+
if system_route_table_name is not None:
|
|
446
|
+
pulumi.set(__self__, "system_route_table_name", system_route_table_name)
|
|
357
447
|
if tags is not None:
|
|
358
448
|
pulumi.set(__self__, "tags", tags)
|
|
359
449
|
if user_cidrs is not None:
|
|
@@ -365,7 +455,9 @@ class _NetworkState:
|
|
|
365
455
|
@pulumi.getter(name="cidrBlock")
|
|
366
456
|
def cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
367
457
|
"""
|
|
368
|
-
The CIDR block
|
|
458
|
+
The CIDR block of the VPC.
|
|
459
|
+
- 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.
|
|
460
|
+
- 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.
|
|
369
461
|
"""
|
|
370
462
|
return pulumi.get(self, "cidr_block")
|
|
371
463
|
|
|
@@ -401,7 +493,7 @@ class _NetworkState:
|
|
|
401
493
|
@pulumi.getter
|
|
402
494
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
403
495
|
"""
|
|
404
|
-
The
|
|
496
|
+
The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
405
497
|
"""
|
|
406
498
|
return pulumi.get(self, "description")
|
|
407
499
|
|
|
@@ -413,9 +505,7 @@ class _NetworkState:
|
|
|
413
505
|
@pulumi.getter(name="dryRun")
|
|
414
506
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
415
507
|
"""
|
|
416
|
-
|
|
417
|
-
- **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 '.
|
|
418
|
-
- **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
508
|
+
Specifies whether to perform a dry run. Valid values:
|
|
419
509
|
"""
|
|
420
510
|
return pulumi.get(self, "dry_run")
|
|
421
511
|
|
|
@@ -427,9 +517,7 @@ class _NetworkState:
|
|
|
427
517
|
@pulumi.getter(name="enableIpv6")
|
|
428
518
|
def enable_ipv6(self) -> Optional[pulumi.Input[bool]]:
|
|
429
519
|
"""
|
|
430
|
-
|
|
431
|
-
- **false** (default): not enabled.
|
|
432
|
-
- **true**: on.
|
|
520
|
+
The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
433
521
|
"""
|
|
434
522
|
return pulumi.get(self, "enable_ipv6")
|
|
435
523
|
|
|
@@ -440,6 +528,9 @@ class _NetworkState:
|
|
|
440
528
|
@property
|
|
441
529
|
@pulumi.getter(name="ipv4IpamPoolId")
|
|
442
530
|
def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
531
|
+
"""
|
|
532
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
533
|
+
"""
|
|
443
534
|
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
444
535
|
|
|
445
536
|
@ipv4_ipam_pool_id.setter
|
|
@@ -450,7 +541,9 @@ class _NetworkState:
|
|
|
450
541
|
@pulumi.getter(name="ipv6CidrBlock")
|
|
451
542
|
def ipv6_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
452
543
|
"""
|
|
453
|
-
The IPv6 CIDR block of the VPC.
|
|
544
|
+
The IPv6 CIDR block of the default VPC.
|
|
545
|
+
|
|
546
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
454
547
|
"""
|
|
455
548
|
return pulumi.get(self, "ipv6_cidr_block")
|
|
456
549
|
|
|
@@ -475,11 +568,12 @@ class _NetworkState:
|
|
|
475
568
|
def ipv6_isp(self) -> Optional[pulumi.Input[str]]:
|
|
476
569
|
"""
|
|
477
570
|
The IPv6 address segment type of the VPC. Value:
|
|
478
|
-
-
|
|
479
|
-
-
|
|
480
|
-
-
|
|
481
|
-
-
|
|
482
|
-
|
|
571
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
572
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
573
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
574
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
575
|
+
|
|
576
|
+
> **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).
|
|
483
577
|
"""
|
|
484
578
|
return pulumi.get(self, "ipv6_isp")
|
|
485
579
|
|
|
@@ -487,6 +581,18 @@ class _NetworkState:
|
|
|
487
581
|
def ipv6_isp(self, value: Optional[pulumi.Input[str]]):
|
|
488
582
|
pulumi.set(self, "ipv6_isp", value)
|
|
489
583
|
|
|
584
|
+
@property
|
|
585
|
+
@pulumi.getter(name="isDefault")
|
|
586
|
+
def is_default(self) -> Optional[pulumi.Input[bool]]:
|
|
587
|
+
"""
|
|
588
|
+
Specifies whether to create the default VPC in the specified region. Valid values:
|
|
589
|
+
"""
|
|
590
|
+
return pulumi.get(self, "is_default")
|
|
591
|
+
|
|
592
|
+
@is_default.setter
|
|
593
|
+
def is_default(self, value: Optional[pulumi.Input[bool]]):
|
|
594
|
+
pulumi.set(self, "is_default", value)
|
|
595
|
+
|
|
490
596
|
@property
|
|
491
597
|
@pulumi.getter
|
|
492
598
|
@_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
|
|
@@ -504,7 +610,9 @@ class _NetworkState:
|
|
|
504
610
|
@pulumi.getter(name="resourceGroupId")
|
|
505
611
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
506
612
|
"""
|
|
507
|
-
The ID of the resource group to which the
|
|
613
|
+
The ID of the resource group to which you want to move the resource.
|
|
614
|
+
|
|
615
|
+
> **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)
|
|
508
616
|
"""
|
|
509
617
|
return pulumi.get(self, "resource_group_id")
|
|
510
618
|
|
|
@@ -516,7 +624,7 @@ class _NetworkState:
|
|
|
516
624
|
@pulumi.getter(name="routeTableId")
|
|
517
625
|
def route_table_id(self) -> Optional[pulumi.Input[str]]:
|
|
518
626
|
"""
|
|
519
|
-
The
|
|
627
|
+
The ID of the route table that you want to query.
|
|
520
628
|
"""
|
|
521
629
|
return pulumi.get(self, "route_table_id")
|
|
522
630
|
|
|
@@ -528,7 +636,7 @@ class _NetworkState:
|
|
|
528
636
|
@pulumi.getter(name="routerId")
|
|
529
637
|
def router_id(self) -> Optional[pulumi.Input[str]]:
|
|
530
638
|
"""
|
|
531
|
-
The ID of the
|
|
639
|
+
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.
|
|
532
640
|
"""
|
|
533
641
|
return pulumi.get(self, "router_id")
|
|
534
642
|
|
|
@@ -541,7 +649,7 @@ class _NetworkState:
|
|
|
541
649
|
@_utilities.deprecated("""Field 'router_table_id' has been deprecated since provider version 1.221.0. New field 'route_table_id' instead.""")
|
|
542
650
|
def router_table_id(self) -> Optional[pulumi.Input[str]]:
|
|
543
651
|
"""
|
|
544
|
-
Field 'router_table_id' has been deprecated from provider version 1.
|
|
652
|
+
. Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
545
653
|
"""
|
|
546
654
|
return pulumi.get(self, "router_table_id")
|
|
547
655
|
|
|
@@ -566,7 +674,7 @@ class _NetworkState:
|
|
|
566
674
|
@pulumi.getter
|
|
567
675
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
568
676
|
"""
|
|
569
|
-
The status of the VPC.
|
|
677
|
+
The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
570
678
|
"""
|
|
571
679
|
return pulumi.get(self, "status")
|
|
572
680
|
|
|
@@ -574,6 +682,30 @@ class _NetworkState:
|
|
|
574
682
|
def status(self, value: Optional[pulumi.Input[str]]):
|
|
575
683
|
pulumi.set(self, "status", value)
|
|
576
684
|
|
|
685
|
+
@property
|
|
686
|
+
@pulumi.getter(name="systemRouteTableDescription")
|
|
687
|
+
def system_route_table_description(self) -> Optional[pulumi.Input[str]]:
|
|
688
|
+
"""
|
|
689
|
+
The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
690
|
+
"""
|
|
691
|
+
return pulumi.get(self, "system_route_table_description")
|
|
692
|
+
|
|
693
|
+
@system_route_table_description.setter
|
|
694
|
+
def system_route_table_description(self, value: Optional[pulumi.Input[str]]):
|
|
695
|
+
pulumi.set(self, "system_route_table_description", value)
|
|
696
|
+
|
|
697
|
+
@property
|
|
698
|
+
@pulumi.getter(name="systemRouteTableName")
|
|
699
|
+
def system_route_table_name(self) -> Optional[pulumi.Input[str]]:
|
|
700
|
+
"""
|
|
701
|
+
The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
702
|
+
"""
|
|
703
|
+
return pulumi.get(self, "system_route_table_name")
|
|
704
|
+
|
|
705
|
+
@system_route_table_name.setter
|
|
706
|
+
def system_route_table_name(self, value: Optional[pulumi.Input[str]]):
|
|
707
|
+
pulumi.set(self, "system_route_table_name", value)
|
|
708
|
+
|
|
577
709
|
@property
|
|
578
710
|
@pulumi.getter
|
|
579
711
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
@@ -602,7 +734,7 @@ class _NetworkState:
|
|
|
602
734
|
@pulumi.getter(name="vpcName")
|
|
603
735
|
def vpc_name(self) -> Optional[pulumi.Input[str]]:
|
|
604
736
|
"""
|
|
605
|
-
The name of the VPC.
|
|
737
|
+
The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
606
738
|
|
|
607
739
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
608
740
|
"""
|
|
@@ -624,27 +756,33 @@ class Network(pulumi.CustomResource):
|
|
|
624
756
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
625
757
|
enable_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
626
758
|
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
759
|
+
ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
627
760
|
ipv6_isp: Optional[pulumi.Input[str]] = None,
|
|
761
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
|
628
762
|
name: Optional[pulumi.Input[str]] = None,
|
|
629
763
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
630
764
|
secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
765
|
+
system_route_table_description: Optional[pulumi.Input[str]] = None,
|
|
766
|
+
system_route_table_name: Optional[pulumi.Input[str]] = None,
|
|
631
767
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
632
768
|
user_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
633
769
|
vpc_name: Optional[pulumi.Input[str]] = None,
|
|
634
770
|
__props__=None):
|
|
635
771
|
"""
|
|
636
|
-
Provides a
|
|
772
|
+
Provides a VPC Vpc resource.
|
|
637
773
|
|
|
638
|
-
|
|
774
|
+
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.
|
|
639
775
|
|
|
640
776
|
> **NOTE:** This resource will auto build a router and a route table while it uses `vpc.Network` to build a vpc resource.
|
|
641
777
|
|
|
778
|
+
> **NOTE:** Available since v1.0.0.
|
|
779
|
+
|
|
642
780
|
## Module Support
|
|
643
781
|
|
|
644
782
|
You can use the existing vpc module
|
|
645
783
|
to create a VPC and several VSwitches one-click.
|
|
646
784
|
|
|
647
|
-
For information about
|
|
785
|
+
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).
|
|
648
786
|
|
|
649
787
|
## Example Usage
|
|
650
788
|
|
|
@@ -668,7 +806,7 @@ class Network(pulumi.CustomResource):
|
|
|
668
806
|
|
|
669
807
|
## Import
|
|
670
808
|
|
|
671
|
-
|
|
809
|
+
VPC Vpc can be imported using the id, e.g.
|
|
672
810
|
|
|
673
811
|
```sh
|
|
674
812
|
$ pulumi import alicloud:vpc/network:Network example <id>
|
|
@@ -676,27 +814,35 @@ class Network(pulumi.CustomResource):
|
|
|
676
814
|
|
|
677
815
|
:param str resource_name: The name of the resource.
|
|
678
816
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
679
|
-
:param pulumi.Input[str] cidr_block: The CIDR block
|
|
817
|
+
:param pulumi.Input[str] cidr_block: The CIDR block of the VPC.
|
|
818
|
+
- 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.
|
|
819
|
+
- 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.
|
|
680
820
|
:param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
|
|
681
|
-
:param pulumi.Input[str] description: The
|
|
682
|
-
:param pulumi.Input[bool] dry_run:
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
:param pulumi.Input[
|
|
686
|
-
|
|
687
|
-
|
|
821
|
+
:param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
822
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
|
|
823
|
+
:param pulumi.Input[bool] enable_ipv6: The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
824
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
825
|
+
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
|
|
826
|
+
|
|
827
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
688
828
|
:param pulumi.Input[str] ipv6_isp: The IPv6 address segment type of the VPC. Value:
|
|
689
|
-
-
|
|
690
|
-
-
|
|
691
|
-
-
|
|
692
|
-
-
|
|
693
|
-
|
|
829
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
830
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
831
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
832
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
833
|
+
|
|
834
|
+
> **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).
|
|
835
|
+
:param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
|
|
694
836
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
695
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the
|
|
837
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
838
|
+
|
|
839
|
+
> **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)
|
|
696
840
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: 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'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
|
|
841
|
+
:param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
842
|
+
:param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
697
843
|
:param pulumi.Input[Mapping[str, Any]] tags: The tags of Vpc.
|
|
698
844
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
|
|
699
|
-
:param pulumi.Input[str] vpc_name: The name of the VPC.
|
|
845
|
+
:param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
700
846
|
|
|
701
847
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
702
848
|
"""
|
|
@@ -707,18 +853,20 @@ class Network(pulumi.CustomResource):
|
|
|
707
853
|
args: Optional[NetworkArgs] = None,
|
|
708
854
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
709
855
|
"""
|
|
710
|
-
Provides a
|
|
856
|
+
Provides a VPC Vpc resource.
|
|
711
857
|
|
|
712
|
-
|
|
858
|
+
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.
|
|
713
859
|
|
|
714
860
|
> **NOTE:** This resource will auto build a router and a route table while it uses `vpc.Network` to build a vpc resource.
|
|
715
861
|
|
|
862
|
+
> **NOTE:** Available since v1.0.0.
|
|
863
|
+
|
|
716
864
|
## Module Support
|
|
717
865
|
|
|
718
866
|
You can use the existing vpc module
|
|
719
867
|
to create a VPC and several VSwitches one-click.
|
|
720
868
|
|
|
721
|
-
For information about
|
|
869
|
+
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).
|
|
722
870
|
|
|
723
871
|
## Example Usage
|
|
724
872
|
|
|
@@ -742,7 +890,7 @@ class Network(pulumi.CustomResource):
|
|
|
742
890
|
|
|
743
891
|
## Import
|
|
744
892
|
|
|
745
|
-
|
|
893
|
+
VPC Vpc can be imported using the id, e.g.
|
|
746
894
|
|
|
747
895
|
```sh
|
|
748
896
|
$ pulumi import alicloud:vpc/network:Network example <id>
|
|
@@ -769,10 +917,14 @@ class Network(pulumi.CustomResource):
|
|
|
769
917
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
770
918
|
enable_ipv6: Optional[pulumi.Input[bool]] = None,
|
|
771
919
|
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
920
|
+
ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
772
921
|
ipv6_isp: Optional[pulumi.Input[str]] = None,
|
|
922
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
|
773
923
|
name: Optional[pulumi.Input[str]] = None,
|
|
774
924
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
775
925
|
secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
926
|
+
system_route_table_description: Optional[pulumi.Input[str]] = None,
|
|
927
|
+
system_route_table_name: Optional[pulumi.Input[str]] = None,
|
|
776
928
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
777
929
|
user_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
778
930
|
vpc_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -791,15 +943,18 @@ class Network(pulumi.CustomResource):
|
|
|
791
943
|
__props__.__dict__["dry_run"] = dry_run
|
|
792
944
|
__props__.__dict__["enable_ipv6"] = enable_ipv6
|
|
793
945
|
__props__.__dict__["ipv4_ipam_pool_id"] = ipv4_ipam_pool_id
|
|
946
|
+
__props__.__dict__["ipv6_cidr_block"] = ipv6_cidr_block
|
|
794
947
|
__props__.__dict__["ipv6_isp"] = ipv6_isp
|
|
948
|
+
__props__.__dict__["is_default"] = is_default
|
|
795
949
|
__props__.__dict__["name"] = name
|
|
796
950
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
797
951
|
__props__.__dict__["secondary_cidr_blocks"] = secondary_cidr_blocks
|
|
952
|
+
__props__.__dict__["system_route_table_description"] = system_route_table_description
|
|
953
|
+
__props__.__dict__["system_route_table_name"] = system_route_table_name
|
|
798
954
|
__props__.__dict__["tags"] = tags
|
|
799
955
|
__props__.__dict__["user_cidrs"] = user_cidrs
|
|
800
956
|
__props__.__dict__["vpc_name"] = vpc_name
|
|
801
957
|
__props__.__dict__["create_time"] = None
|
|
802
|
-
__props__.__dict__["ipv6_cidr_block"] = None
|
|
803
958
|
__props__.__dict__["ipv6_cidr_blocks"] = None
|
|
804
959
|
__props__.__dict__["route_table_id"] = None
|
|
805
960
|
__props__.__dict__["router_id"] = None
|
|
@@ -825,6 +980,7 @@ class Network(pulumi.CustomResource):
|
|
|
825
980
|
ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
826
981
|
ipv6_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkIpv6CidrBlockArgs']]]]] = None,
|
|
827
982
|
ipv6_isp: Optional[pulumi.Input[str]] = None,
|
|
983
|
+
is_default: Optional[pulumi.Input[bool]] = None,
|
|
828
984
|
name: Optional[pulumi.Input[str]] = None,
|
|
829
985
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
830
986
|
route_table_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -832,6 +988,8 @@ class Network(pulumi.CustomResource):
|
|
|
832
988
|
router_table_id: Optional[pulumi.Input[str]] = None,
|
|
833
989
|
secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
834
990
|
status: Optional[pulumi.Input[str]] = None,
|
|
991
|
+
system_route_table_description: Optional[pulumi.Input[str]] = None,
|
|
992
|
+
system_route_table_name: Optional[pulumi.Input[str]] = None,
|
|
835
993
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
836
994
|
user_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
837
995
|
vpc_name: Optional[pulumi.Input[str]] = None) -> 'Network':
|
|
@@ -842,34 +1000,41 @@ class Network(pulumi.CustomResource):
|
|
|
842
1000
|
:param str resource_name: The unique name of the resulting resource.
|
|
843
1001
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
844
1002
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
845
|
-
:param pulumi.Input[str] cidr_block: The CIDR block
|
|
1003
|
+
:param pulumi.Input[str] cidr_block: The CIDR block of the VPC.
|
|
1004
|
+
- 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.
|
|
1005
|
+
- 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.
|
|
846
1006
|
:param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
|
|
847
1007
|
:param pulumi.Input[str] create_time: The creation time of the VPC.
|
|
848
|
-
:param pulumi.Input[str] description: The
|
|
849
|
-
:param pulumi.Input[bool] dry_run:
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
:param pulumi.Input[
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the VPC.
|
|
1008
|
+
:param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
1009
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
|
|
1010
|
+
:param pulumi.Input[bool] enable_ipv6: The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
1011
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
1012
|
+
:param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
|
|
1013
|
+
|
|
1014
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
856
1015
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NetworkIpv6CidrBlockArgs']]]] ipv6_cidr_blocks: The IPv6 CIDR block information of the VPC.
|
|
857
1016
|
:param pulumi.Input[str] ipv6_isp: The IPv6 address segment type of the VPC. Value:
|
|
858
|
-
-
|
|
859
|
-
-
|
|
860
|
-
-
|
|
861
|
-
-
|
|
862
|
-
|
|
1017
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
1018
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
1019
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
1020
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
1021
|
+
|
|
1022
|
+
> **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).
|
|
1023
|
+
:param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
|
|
863
1024
|
:param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
|
|
864
|
-
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which the
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
:param pulumi.Input[str]
|
|
1025
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
|
|
1026
|
+
|
|
1027
|
+
> **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)
|
|
1028
|
+
:param pulumi.Input[str] route_table_id: The ID of the route table that you want to query.
|
|
1029
|
+
:param pulumi.Input[str] router_id: 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.
|
|
1030
|
+
:param pulumi.Input[str] router_table_id: . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
868
1031
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: 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'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
|
|
869
|
-
:param pulumi.Input[str] status: The status of the VPC.
|
|
1032
|
+
:param pulumi.Input[str] status: The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
1033
|
+
:param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
1034
|
+
:param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
870
1035
|
:param pulumi.Input[Mapping[str, Any]] tags: The tags of Vpc.
|
|
871
1036
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
|
|
872
|
-
:param pulumi.Input[str] vpc_name: The name of the VPC.
|
|
1037
|
+
:param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
873
1038
|
|
|
874
1039
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
875
1040
|
"""
|
|
@@ -887,6 +1052,7 @@ class Network(pulumi.CustomResource):
|
|
|
887
1052
|
__props__.__dict__["ipv6_cidr_block"] = ipv6_cidr_block
|
|
888
1053
|
__props__.__dict__["ipv6_cidr_blocks"] = ipv6_cidr_blocks
|
|
889
1054
|
__props__.__dict__["ipv6_isp"] = ipv6_isp
|
|
1055
|
+
__props__.__dict__["is_default"] = is_default
|
|
890
1056
|
__props__.__dict__["name"] = name
|
|
891
1057
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
892
1058
|
__props__.__dict__["route_table_id"] = route_table_id
|
|
@@ -894,6 +1060,8 @@ class Network(pulumi.CustomResource):
|
|
|
894
1060
|
__props__.__dict__["router_table_id"] = router_table_id
|
|
895
1061
|
__props__.__dict__["secondary_cidr_blocks"] = secondary_cidr_blocks
|
|
896
1062
|
__props__.__dict__["status"] = status
|
|
1063
|
+
__props__.__dict__["system_route_table_description"] = system_route_table_description
|
|
1064
|
+
__props__.__dict__["system_route_table_name"] = system_route_table_name
|
|
897
1065
|
__props__.__dict__["tags"] = tags
|
|
898
1066
|
__props__.__dict__["user_cidrs"] = user_cidrs
|
|
899
1067
|
__props__.__dict__["vpc_name"] = vpc_name
|
|
@@ -903,7 +1071,9 @@ class Network(pulumi.CustomResource):
|
|
|
903
1071
|
@pulumi.getter(name="cidrBlock")
|
|
904
1072
|
def cidr_block(self) -> pulumi.Output[str]:
|
|
905
1073
|
"""
|
|
906
|
-
The CIDR block
|
|
1074
|
+
The CIDR block of the VPC.
|
|
1075
|
+
- 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.
|
|
1076
|
+
- 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.
|
|
907
1077
|
"""
|
|
908
1078
|
return pulumi.get(self, "cidr_block")
|
|
909
1079
|
|
|
@@ -927,7 +1097,7 @@ class Network(pulumi.CustomResource):
|
|
|
927
1097
|
@pulumi.getter
|
|
928
1098
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
929
1099
|
"""
|
|
930
|
-
The
|
|
1100
|
+
The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
931
1101
|
"""
|
|
932
1102
|
return pulumi.get(self, "description")
|
|
933
1103
|
|
|
@@ -935,9 +1105,7 @@ class Network(pulumi.CustomResource):
|
|
|
935
1105
|
@pulumi.getter(name="dryRun")
|
|
936
1106
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
937
1107
|
"""
|
|
938
|
-
|
|
939
|
-
- **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 '.
|
|
940
|
-
- **false** (default): Sends a normal request, returns an HTTP 2xx status code and directly creates a VPC.
|
|
1108
|
+
Specifies whether to perform a dry run. Valid values:
|
|
941
1109
|
"""
|
|
942
1110
|
return pulumi.get(self, "dry_run")
|
|
943
1111
|
|
|
@@ -945,22 +1113,25 @@ class Network(pulumi.CustomResource):
|
|
|
945
1113
|
@pulumi.getter(name="enableIpv6")
|
|
946
1114
|
def enable_ipv6(self) -> pulumi.Output[Optional[bool]]:
|
|
947
1115
|
"""
|
|
948
|
-
|
|
949
|
-
- **false** (default): not enabled.
|
|
950
|
-
- **true**: on.
|
|
1116
|
+
The name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
951
1117
|
"""
|
|
952
1118
|
return pulumi.get(self, "enable_ipv6")
|
|
953
1119
|
|
|
954
1120
|
@property
|
|
955
1121
|
@pulumi.getter(name="ipv4IpamPoolId")
|
|
956
1122
|
def ipv4_ipam_pool_id(self) -> pulumi.Output[Optional[str]]:
|
|
1123
|
+
"""
|
|
1124
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
1125
|
+
"""
|
|
957
1126
|
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
958
1127
|
|
|
959
1128
|
@property
|
|
960
1129
|
@pulumi.getter(name="ipv6CidrBlock")
|
|
961
1130
|
def ipv6_cidr_block(self) -> pulumi.Output[str]:
|
|
962
1131
|
"""
|
|
963
|
-
The IPv6 CIDR block of the VPC.
|
|
1132
|
+
The IPv6 CIDR block of the default VPC.
|
|
1133
|
+
|
|
1134
|
+
> **NOTE:** When `EnableIpv6` is set to `true`, this parameter is required.
|
|
964
1135
|
"""
|
|
965
1136
|
return pulumi.get(self, "ipv6_cidr_block")
|
|
966
1137
|
|
|
@@ -977,14 +1148,23 @@ class Network(pulumi.CustomResource):
|
|
|
977
1148
|
def ipv6_isp(self) -> pulumi.Output[Optional[str]]:
|
|
978
1149
|
"""
|
|
979
1150
|
The IPv6 address segment type of the VPC. Value:
|
|
980
|
-
-
|
|
981
|
-
-
|
|
982
|
-
-
|
|
983
|
-
-
|
|
984
|
-
|
|
1151
|
+
- `BGP` (default): Alibaba Cloud BGP IPv6.
|
|
1152
|
+
- `ChinaMobile`: China Mobile (single line).
|
|
1153
|
+
- `ChinaUnicom`: China Unicom (single line).
|
|
1154
|
+
- `ChinaTelecom`: China Telecom (single line).
|
|
1155
|
+
|
|
1156
|
+
> **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).
|
|
985
1157
|
"""
|
|
986
1158
|
return pulumi.get(self, "ipv6_isp")
|
|
987
1159
|
|
|
1160
|
+
@property
|
|
1161
|
+
@pulumi.getter(name="isDefault")
|
|
1162
|
+
def is_default(self) -> pulumi.Output[Optional[bool]]:
|
|
1163
|
+
"""
|
|
1164
|
+
Specifies whether to create the default VPC in the specified region. Valid values:
|
|
1165
|
+
"""
|
|
1166
|
+
return pulumi.get(self, "is_default")
|
|
1167
|
+
|
|
988
1168
|
@property
|
|
989
1169
|
@pulumi.getter
|
|
990
1170
|
@_utilities.deprecated("""Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
|
|
@@ -998,7 +1178,9 @@ class Network(pulumi.CustomResource):
|
|
|
998
1178
|
@pulumi.getter(name="resourceGroupId")
|
|
999
1179
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
1000
1180
|
"""
|
|
1001
|
-
The ID of the resource group to which the
|
|
1181
|
+
The ID of the resource group to which you want to move the resource.
|
|
1182
|
+
|
|
1183
|
+
> **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)
|
|
1002
1184
|
"""
|
|
1003
1185
|
return pulumi.get(self, "resource_group_id")
|
|
1004
1186
|
|
|
@@ -1006,7 +1188,7 @@ class Network(pulumi.CustomResource):
|
|
|
1006
1188
|
@pulumi.getter(name="routeTableId")
|
|
1007
1189
|
def route_table_id(self) -> pulumi.Output[str]:
|
|
1008
1190
|
"""
|
|
1009
|
-
The
|
|
1191
|
+
The ID of the route table that you want to query.
|
|
1010
1192
|
"""
|
|
1011
1193
|
return pulumi.get(self, "route_table_id")
|
|
1012
1194
|
|
|
@@ -1014,7 +1196,7 @@ class Network(pulumi.CustomResource):
|
|
|
1014
1196
|
@pulumi.getter(name="routerId")
|
|
1015
1197
|
def router_id(self) -> pulumi.Output[str]:
|
|
1016
1198
|
"""
|
|
1017
|
-
The ID of the
|
|
1199
|
+
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.
|
|
1018
1200
|
"""
|
|
1019
1201
|
return pulumi.get(self, "router_id")
|
|
1020
1202
|
|
|
@@ -1023,7 +1205,7 @@ class Network(pulumi.CustomResource):
|
|
|
1023
1205
|
@_utilities.deprecated("""Field 'router_table_id' has been deprecated since provider version 1.221.0. New field 'route_table_id' instead.""")
|
|
1024
1206
|
def router_table_id(self) -> pulumi.Output[str]:
|
|
1025
1207
|
"""
|
|
1026
|
-
Field 'router_table_id' has been deprecated from provider version 1.
|
|
1208
|
+
. Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
|
|
1027
1209
|
"""
|
|
1028
1210
|
return pulumi.get(self, "router_table_id")
|
|
1029
1211
|
|
|
@@ -1040,10 +1222,26 @@ class Network(pulumi.CustomResource):
|
|
|
1040
1222
|
@pulumi.getter
|
|
1041
1223
|
def status(self) -> pulumi.Output[str]:
|
|
1042
1224
|
"""
|
|
1043
|
-
The status of the VPC.
|
|
1225
|
+
The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
|
|
1044
1226
|
"""
|
|
1045
1227
|
return pulumi.get(self, "status")
|
|
1046
1228
|
|
|
1229
|
+
@property
|
|
1230
|
+
@pulumi.getter(name="systemRouteTableDescription")
|
|
1231
|
+
def system_route_table_description(self) -> pulumi.Output[Optional[str]]:
|
|
1232
|
+
"""
|
|
1233
|
+
The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
|
|
1234
|
+
"""
|
|
1235
|
+
return pulumi.get(self, "system_route_table_description")
|
|
1236
|
+
|
|
1237
|
+
@property
|
|
1238
|
+
@pulumi.getter(name="systemRouteTableName")
|
|
1239
|
+
def system_route_table_name(self) -> pulumi.Output[Optional[str]]:
|
|
1240
|
+
"""
|
|
1241
|
+
The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
1242
|
+
"""
|
|
1243
|
+
return pulumi.get(self, "system_route_table_name")
|
|
1244
|
+
|
|
1047
1245
|
@property
|
|
1048
1246
|
@pulumi.getter
|
|
1049
1247
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
|
@@ -1064,7 +1262,7 @@ class Network(pulumi.CustomResource):
|
|
|
1064
1262
|
@pulumi.getter(name="vpcName")
|
|
1065
1263
|
def vpc_name(self) -> pulumi.Output[str]:
|
|
1066
1264
|
"""
|
|
1067
|
-
The name of the VPC.
|
|
1265
|
+
The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
1068
1266
|
|
|
1069
1267
|
The following arguments will be discarded. Please use new fields as soon as possible:
|
|
1070
1268
|
"""
|