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