pulumi-alicloud 3.73.0a1736949061__py3-none-any.whl → 3.74.0__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/__init__.py +80 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +907 -244
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +239 -118
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +716 -218
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +81 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/outputs.py +48 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +56 -45
- {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
|
@@ -19,77 +19,136 @@ __all__ = ['Ipv4CidrBlockArgs', 'Ipv4CidrBlock']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class Ipv4CidrBlockArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
vpc_id: pulumi.Input[str],
|
|
23
|
+
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
secondary_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
secondary_cidr_mask: Optional[pulumi.Input[int]] = None):
|
|
24
26
|
"""
|
|
25
27
|
The set of arguments for constructing a Ipv4CidrBlock resource.
|
|
26
|
-
:param pulumi.Input[str] secondary_cidr_block: The IPv4 CIDR block. Take note of the following requirements:
|
|
27
|
-
* You can specify one of the following standard IPv4 CIDR blocks or their subnets as the secondary IPv4 CIDR block: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8.
|
|
28
|
-
* 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, or their subnets as the secondary IPv4 CIDR block of the VPC.
|
|
29
|
-
* The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
30
|
-
* The secondary CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block.
|
|
31
28
|
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
29
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
30
|
+
:param pulumi.Input[str] secondary_cidr_block: Additional network segment information.
|
|
31
|
+
:param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
32
|
+
|
|
33
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
32
34
|
"""
|
|
33
|
-
pulumi.set(__self__, "secondary_cidr_block", secondary_cidr_block)
|
|
34
35
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
36
|
+
if ipv4_ipam_pool_id is not None:
|
|
37
|
+
pulumi.set(__self__, "ipv4_ipam_pool_id", ipv4_ipam_pool_id)
|
|
38
|
+
if secondary_cidr_block is not None:
|
|
39
|
+
pulumi.set(__self__, "secondary_cidr_block", secondary_cidr_block)
|
|
40
|
+
if secondary_cidr_mask is not None:
|
|
41
|
+
pulumi.set(__self__, "secondary_cidr_mask", secondary_cidr_mask)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="vpcId")
|
|
45
|
+
def vpc_id(self) -> pulumi.Input[str]:
|
|
46
|
+
"""
|
|
47
|
+
The ID of the VPC.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "vpc_id")
|
|
50
|
+
|
|
51
|
+
@vpc_id.setter
|
|
52
|
+
def vpc_id(self, value: pulumi.Input[str]):
|
|
53
|
+
pulumi.set(self, "vpc_id", value)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter(name="ipv4IpamPoolId")
|
|
57
|
+
def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
58
|
+
"""
|
|
59
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
62
|
+
|
|
63
|
+
@ipv4_ipam_pool_id.setter
|
|
64
|
+
def ipv4_ipam_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
65
|
+
pulumi.set(self, "ipv4_ipam_pool_id", value)
|
|
35
66
|
|
|
36
67
|
@property
|
|
37
68
|
@pulumi.getter(name="secondaryCidrBlock")
|
|
38
|
-
def secondary_cidr_block(self) -> pulumi.Input[str]:
|
|
69
|
+
def secondary_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
39
70
|
"""
|
|
40
|
-
|
|
41
|
-
* You can specify one of the following standard IPv4 CIDR blocks or their subnets as the secondary IPv4 CIDR block: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8.
|
|
42
|
-
* 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, or their subnets as the secondary IPv4 CIDR block of the VPC.
|
|
43
|
-
* The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
44
|
-
* The secondary CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block.
|
|
71
|
+
Additional network segment information.
|
|
45
72
|
"""
|
|
46
73
|
return pulumi.get(self, "secondary_cidr_block")
|
|
47
74
|
|
|
48
75
|
@secondary_cidr_block.setter
|
|
49
|
-
def secondary_cidr_block(self, value: pulumi.Input[str]):
|
|
76
|
+
def secondary_cidr_block(self, value: Optional[pulumi.Input[str]]):
|
|
50
77
|
pulumi.set(self, "secondary_cidr_block", value)
|
|
51
78
|
|
|
52
79
|
@property
|
|
53
|
-
@pulumi.getter(name="
|
|
54
|
-
def
|
|
80
|
+
@pulumi.getter(name="secondaryCidrMask")
|
|
81
|
+
def secondary_cidr_mask(self) -> Optional[pulumi.Input[int]]:
|
|
55
82
|
"""
|
|
56
|
-
|
|
83
|
+
Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
84
|
+
|
|
85
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
57
86
|
"""
|
|
58
|
-
return pulumi.get(self, "
|
|
87
|
+
return pulumi.get(self, "secondary_cidr_mask")
|
|
59
88
|
|
|
60
|
-
@
|
|
61
|
-
def
|
|
62
|
-
pulumi.set(self, "
|
|
89
|
+
@secondary_cidr_mask.setter
|
|
90
|
+
def secondary_cidr_mask(self, value: Optional[pulumi.Input[int]]):
|
|
91
|
+
pulumi.set(self, "secondary_cidr_mask", value)
|
|
63
92
|
|
|
64
93
|
|
|
65
94
|
@pulumi.input_type
|
|
66
95
|
class _Ipv4CidrBlockState:
|
|
67
96
|
def __init__(__self__, *,
|
|
97
|
+
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
68
99
|
secondary_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
69
101
|
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
70
102
|
"""
|
|
71
103
|
Input properties used for looking up and filtering Ipv4CidrBlock resources.
|
|
72
|
-
:param pulumi.Input[str]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
104
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
105
|
+
:param pulumi.Input[str] region_id: The ID of the region where the VPC resides.
|
|
106
|
+
:param pulumi.Input[str] secondary_cidr_block: Additional network segment information.
|
|
107
|
+
:param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
108
|
+
|
|
109
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
77
110
|
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
78
111
|
"""
|
|
112
|
+
if ipv4_ipam_pool_id is not None:
|
|
113
|
+
pulumi.set(__self__, "ipv4_ipam_pool_id", ipv4_ipam_pool_id)
|
|
114
|
+
if region_id is not None:
|
|
115
|
+
pulumi.set(__self__, "region_id", region_id)
|
|
79
116
|
if secondary_cidr_block is not None:
|
|
80
117
|
pulumi.set(__self__, "secondary_cidr_block", secondary_cidr_block)
|
|
118
|
+
if secondary_cidr_mask is not None:
|
|
119
|
+
pulumi.set(__self__, "secondary_cidr_mask", secondary_cidr_mask)
|
|
81
120
|
if vpc_id is not None:
|
|
82
121
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
83
122
|
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter(name="ipv4IpamPoolId")
|
|
125
|
+
def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
126
|
+
"""
|
|
127
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
128
|
+
"""
|
|
129
|
+
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
130
|
+
|
|
131
|
+
@ipv4_ipam_pool_id.setter
|
|
132
|
+
def ipv4_ipam_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
133
|
+
pulumi.set(self, "ipv4_ipam_pool_id", value)
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
@pulumi.getter(name="regionId")
|
|
137
|
+
def region_id(self) -> Optional[pulumi.Input[str]]:
|
|
138
|
+
"""
|
|
139
|
+
The ID of the region where the VPC resides.
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "region_id")
|
|
142
|
+
|
|
143
|
+
@region_id.setter
|
|
144
|
+
def region_id(self, value: Optional[pulumi.Input[str]]):
|
|
145
|
+
pulumi.set(self, "region_id", value)
|
|
146
|
+
|
|
84
147
|
@property
|
|
85
148
|
@pulumi.getter(name="secondaryCidrBlock")
|
|
86
149
|
def secondary_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
|
87
150
|
"""
|
|
88
|
-
|
|
89
|
-
* You can specify one of the following standard IPv4 CIDR blocks or their subnets as the secondary IPv4 CIDR block: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8.
|
|
90
|
-
* 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, or their subnets as the secondary IPv4 CIDR block of the VPC.
|
|
91
|
-
* The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
92
|
-
* The secondary CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block.
|
|
151
|
+
Additional network segment information.
|
|
93
152
|
"""
|
|
94
153
|
return pulumi.get(self, "secondary_cidr_block")
|
|
95
154
|
|
|
@@ -97,6 +156,20 @@ class _Ipv4CidrBlockState:
|
|
|
97
156
|
def secondary_cidr_block(self, value: Optional[pulumi.Input[str]]):
|
|
98
157
|
pulumi.set(self, "secondary_cidr_block", value)
|
|
99
158
|
|
|
159
|
+
@property
|
|
160
|
+
@pulumi.getter(name="secondaryCidrMask")
|
|
161
|
+
def secondary_cidr_mask(self) -> Optional[pulumi.Input[int]]:
|
|
162
|
+
"""
|
|
163
|
+
Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
164
|
+
|
|
165
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
166
|
+
"""
|
|
167
|
+
return pulumi.get(self, "secondary_cidr_mask")
|
|
168
|
+
|
|
169
|
+
@secondary_cidr_mask.setter
|
|
170
|
+
def secondary_cidr_mask(self, value: Optional[pulumi.Input[int]]):
|
|
171
|
+
pulumi.set(self, "secondary_cidr_mask", value)
|
|
172
|
+
|
|
100
173
|
@property
|
|
101
174
|
@pulumi.getter(name="vpcId")
|
|
102
175
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -115,11 +188,15 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
115
188
|
def __init__(__self__,
|
|
116
189
|
resource_name: str,
|
|
117
190
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
191
|
+
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
118
192
|
secondary_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
193
|
+
secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
119
194
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
120
195
|
__props__=None):
|
|
121
196
|
"""
|
|
122
|
-
Provides a VPC Ipv4 Cidr Block resource.
|
|
197
|
+
Provides a VPC Ipv4 Cidr Block resource.
|
|
198
|
+
|
|
199
|
+
VPC IPv4 additional network segment.
|
|
123
200
|
|
|
124
201
|
For information about VPC Ipv4 Cidr Block and how to use it, see [What is Ipv4 Cidr Block](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/associatevpccidrblock).
|
|
125
202
|
|
|
@@ -153,11 +230,11 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
153
230
|
|
|
154
231
|
:param str resource_name: The name of the resource.
|
|
155
232
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
156
|
-
:param pulumi.Input[str]
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
233
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
234
|
+
:param pulumi.Input[str] secondary_cidr_block: Additional network segment information.
|
|
235
|
+
:param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
236
|
+
|
|
237
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
161
238
|
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
162
239
|
"""
|
|
163
240
|
...
|
|
@@ -167,7 +244,9 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
167
244
|
args: Ipv4CidrBlockArgs,
|
|
168
245
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
169
246
|
"""
|
|
170
|
-
Provides a VPC Ipv4 Cidr Block resource.
|
|
247
|
+
Provides a VPC Ipv4 Cidr Block resource.
|
|
248
|
+
|
|
249
|
+
VPC IPv4 additional network segment.
|
|
171
250
|
|
|
172
251
|
For information about VPC Ipv4 Cidr Block and how to use it, see [What is Ipv4 Cidr Block](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/associatevpccidrblock).
|
|
173
252
|
|
|
@@ -214,7 +293,9 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
214
293
|
def _internal_init(__self__,
|
|
215
294
|
resource_name: str,
|
|
216
295
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
296
|
+
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
217
297
|
secondary_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
298
|
+
secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
218
299
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
219
300
|
__props__=None):
|
|
220
301
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -225,12 +306,13 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
225
306
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
226
307
|
__props__ = Ipv4CidrBlockArgs.__new__(Ipv4CidrBlockArgs)
|
|
227
308
|
|
|
228
|
-
|
|
229
|
-
raise TypeError("Missing required property 'secondary_cidr_block'")
|
|
309
|
+
__props__.__dict__["ipv4_ipam_pool_id"] = ipv4_ipam_pool_id
|
|
230
310
|
__props__.__dict__["secondary_cidr_block"] = secondary_cidr_block
|
|
311
|
+
__props__.__dict__["secondary_cidr_mask"] = secondary_cidr_mask
|
|
231
312
|
if vpc_id is None and not opts.urn:
|
|
232
313
|
raise TypeError("Missing required property 'vpc_id'")
|
|
233
314
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
315
|
+
__props__.__dict__["region_id"] = None
|
|
234
316
|
super(Ipv4CidrBlock, __self__).__init__(
|
|
235
317
|
'alicloud:vpc/ipv4CidrBlock:Ipv4CidrBlock',
|
|
236
318
|
resource_name,
|
|
@@ -241,7 +323,10 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
241
323
|
def get(resource_name: str,
|
|
242
324
|
id: pulumi.Input[str],
|
|
243
325
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
326
|
+
ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
|
|
327
|
+
region_id: Optional[pulumi.Input[str]] = None,
|
|
244
328
|
secondary_cidr_block: Optional[pulumi.Input[str]] = None,
|
|
329
|
+
secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
|
|
245
330
|
vpc_id: Optional[pulumi.Input[str]] = None) -> 'Ipv4CidrBlock':
|
|
246
331
|
"""
|
|
247
332
|
Get an existing Ipv4CidrBlock resource's state with the given name, id, and optional extra
|
|
@@ -250,33 +335,59 @@ class Ipv4CidrBlock(pulumi.CustomResource):
|
|
|
250
335
|
:param str resource_name: The unique name of the resulting resource.
|
|
251
336
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
252
337
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
253
|
-
:param pulumi.Input[str]
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
338
|
+
:param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
339
|
+
:param pulumi.Input[str] region_id: The ID of the region where the VPC resides.
|
|
340
|
+
:param pulumi.Input[str] secondary_cidr_block: Additional network segment information.
|
|
341
|
+
:param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
342
|
+
|
|
343
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
258
344
|
:param pulumi.Input[str] vpc_id: The ID of the VPC.
|
|
259
345
|
"""
|
|
260
346
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
261
347
|
|
|
262
348
|
__props__ = _Ipv4CidrBlockState.__new__(_Ipv4CidrBlockState)
|
|
263
349
|
|
|
350
|
+
__props__.__dict__["ipv4_ipam_pool_id"] = ipv4_ipam_pool_id
|
|
351
|
+
__props__.__dict__["region_id"] = region_id
|
|
264
352
|
__props__.__dict__["secondary_cidr_block"] = secondary_cidr_block
|
|
353
|
+
__props__.__dict__["secondary_cidr_mask"] = secondary_cidr_mask
|
|
265
354
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
266
355
|
return Ipv4CidrBlock(resource_name, opts=opts, __props__=__props__)
|
|
267
356
|
|
|
357
|
+
@property
|
|
358
|
+
@pulumi.getter(name="ipv4IpamPoolId")
|
|
359
|
+
def ipv4_ipam_pool_id(self) -> pulumi.Output[Optional[str]]:
|
|
360
|
+
"""
|
|
361
|
+
The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
|
|
362
|
+
"""
|
|
363
|
+
return pulumi.get(self, "ipv4_ipam_pool_id")
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
@pulumi.getter(name="regionId")
|
|
367
|
+
def region_id(self) -> pulumi.Output[str]:
|
|
368
|
+
"""
|
|
369
|
+
The ID of the region where the VPC resides.
|
|
370
|
+
"""
|
|
371
|
+
return pulumi.get(self, "region_id")
|
|
372
|
+
|
|
268
373
|
@property
|
|
269
374
|
@pulumi.getter(name="secondaryCidrBlock")
|
|
270
375
|
def secondary_cidr_block(self) -> pulumi.Output[str]:
|
|
271
376
|
"""
|
|
272
|
-
|
|
273
|
-
* You can specify one of the following standard IPv4 CIDR blocks or their subnets as the secondary IPv4 CIDR block: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8.
|
|
274
|
-
* 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, or their subnets as the secondary IPv4 CIDR block of the VPC.
|
|
275
|
-
* The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length.
|
|
276
|
-
* The secondary CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block.
|
|
377
|
+
Additional network segment information.
|
|
277
378
|
"""
|
|
278
379
|
return pulumi.get(self, "secondary_cidr_block")
|
|
279
380
|
|
|
381
|
+
@property
|
|
382
|
+
@pulumi.getter(name="secondaryCidrMask")
|
|
383
|
+
def secondary_cidr_mask(self) -> pulumi.Output[Optional[int]]:
|
|
384
|
+
"""
|
|
385
|
+
Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
|
|
386
|
+
|
|
387
|
+
> **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
|
|
388
|
+
"""
|
|
389
|
+
return pulumi.get(self, "secondary_cidr_mask")
|
|
390
|
+
|
|
280
391
|
@property
|
|
281
392
|
@pulumi.getter(name="vpcId")
|
|
282
393
|
def vpc_id(self) -> pulumi.Output[str]:
|