pulumi-alicloud 3.56.0a1717132537__py3-none-any.whl → 3.56.0a1717175543__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 +96 -0
- pulumi_alicloud/alikafka/instance.py +47 -0
- pulumi_alicloud/apigateway/__init__.py +1 -0
- pulumi_alicloud/apigateway/_inputs.py +40 -0
- pulumi_alicloud/apigateway/access_control_list.py +322 -0
- pulumi_alicloud/apigateway/get_apis.py +96 -23
- pulumi_alicloud/apigateway/outputs.py +72 -14
- pulumi_alicloud/apigateway/plugin.py +225 -73
- pulumi_alicloud/cen/get_transit_router_vpc_attachments.py +171 -18
- pulumi_alicloud/cen/outputs.py +51 -22
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/_inputs.py +68 -0
- pulumi_alicloud/cloudfirewall/nat_firewall.py +811 -0
- pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +1589 -0
- pulumi_alicloud/cloudfirewall/outputs.py +75 -0
- pulumi_alicloud/ecs/security_group_rule.py +75 -53
- pulumi_alicloud/ess/_inputs.py +56 -0
- pulumi_alicloud/ess/outputs.py +61 -0
- pulumi_alicloud/ess/scaling_group.py +101 -7
- pulumi_alicloud/kms/key.py +251 -333
- pulumi_alicloud/kms/secret.py +210 -125
- pulumi_alicloud/nas/__init__.py +2 -0
- pulumi_alicloud/nas/_inputs.py +126 -0
- pulumi_alicloud/nas/access_point.py +743 -0
- pulumi_alicloud/nas/outputs.py +128 -0
- pulumi_alicloud/oss/__init__.py +7 -0
- pulumi_alicloud/oss/account_public_access_block.py +200 -0
- pulumi_alicloud/oss/bucket_access_monitor.py +206 -0
- pulumi_alicloud/oss/bucket_data_redundancy_transition.py +290 -0
- pulumi_alicloud/oss/bucket_meta_query.py +270 -0
- pulumi_alicloud/oss/bucket_public_access_block.py +258 -0
- pulumi_alicloud/oss/bucket_transfer_acceleration.py +205 -0
- pulumi_alicloud/oss/bucket_user_defined_log_fields.py +328 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +188 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +384 -0
- pulumi_alicloud/sls/outputs.py +358 -0
- pulumi_alicloud/sls/scheduled_sql.py +523 -0
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/RECORD +43 -30
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.56.0a1717132537.dist-info → pulumi_alicloud-3.56.0a1717175543.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ class GetTransitRouterVpcAttachmentsResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getTransitRouterVpcAttachments.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, attachments=None, cen_id=None, id=None, ids=None, output_file=None, status=None, transit_router_id=None):
|
|
25
|
+
def __init__(__self__, attachments=None, cen_id=None, id=None, ids=None, name_regex=None, names=None, output_file=None, status=None, transit_router_attachment_id=None, transit_router_id=None, vpc_id=None):
|
|
26
26
|
if attachments and not isinstance(attachments, list):
|
|
27
27
|
raise TypeError("Expected argument 'attachments' to be a list")
|
|
28
28
|
pulumi.set(__self__, "attachments", attachments)
|
|
@@ -35,27 +35,42 @@ class GetTransitRouterVpcAttachmentsResult:
|
|
|
35
35
|
if ids and not isinstance(ids, list):
|
|
36
36
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
37
37
|
pulumi.set(__self__, "ids", ids)
|
|
38
|
+
if name_regex and not isinstance(name_regex, str):
|
|
39
|
+
raise TypeError("Expected argument 'name_regex' to be a str")
|
|
40
|
+
pulumi.set(__self__, "name_regex", name_regex)
|
|
41
|
+
if names and not isinstance(names, list):
|
|
42
|
+
raise TypeError("Expected argument 'names' to be a list")
|
|
43
|
+
pulumi.set(__self__, "names", names)
|
|
38
44
|
if output_file and not isinstance(output_file, str):
|
|
39
45
|
raise TypeError("Expected argument 'output_file' to be a str")
|
|
40
46
|
pulumi.set(__self__, "output_file", output_file)
|
|
41
47
|
if status and not isinstance(status, str):
|
|
42
48
|
raise TypeError("Expected argument 'status' to be a str")
|
|
43
49
|
pulumi.set(__self__, "status", status)
|
|
50
|
+
if transit_router_attachment_id and not isinstance(transit_router_attachment_id, str):
|
|
51
|
+
raise TypeError("Expected argument 'transit_router_attachment_id' to be a str")
|
|
52
|
+
pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
|
|
44
53
|
if transit_router_id and not isinstance(transit_router_id, str):
|
|
45
54
|
raise TypeError("Expected argument 'transit_router_id' to be a str")
|
|
46
55
|
pulumi.set(__self__, "transit_router_id", transit_router_id)
|
|
56
|
+
if vpc_id and not isinstance(vpc_id, str):
|
|
57
|
+
raise TypeError("Expected argument 'vpc_id' to be a str")
|
|
58
|
+
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
47
59
|
|
|
48
60
|
@property
|
|
49
61
|
@pulumi.getter
|
|
50
62
|
def attachments(self) -> Sequence['outputs.GetTransitRouterVpcAttachmentsAttachmentResult']:
|
|
51
63
|
"""
|
|
52
|
-
A list of
|
|
64
|
+
A list of Transit Router VPC Attachments. Each element contains the following attributes:
|
|
53
65
|
"""
|
|
54
66
|
return pulumi.get(self, "attachments")
|
|
55
67
|
|
|
56
68
|
@property
|
|
57
69
|
@pulumi.getter(name="cenId")
|
|
58
70
|
def cen_id(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
(Available since v1.224.0) The ID of the CEN instance.
|
|
73
|
+
"""
|
|
59
74
|
return pulumi.get(self, "cen_id")
|
|
60
75
|
|
|
61
76
|
@property
|
|
@@ -71,6 +86,19 @@ class GetTransitRouterVpcAttachmentsResult:
|
|
|
71
86
|
def ids(self) -> Sequence[str]:
|
|
72
87
|
return pulumi.get(self, "ids")
|
|
73
88
|
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="nameRegex")
|
|
91
|
+
def name_regex(self) -> Optional[str]:
|
|
92
|
+
return pulumi.get(self, "name_regex")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def names(self) -> Sequence[str]:
|
|
97
|
+
"""
|
|
98
|
+
A list of Transit Router VPC Attachment names.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "names")
|
|
101
|
+
|
|
74
102
|
@property
|
|
75
103
|
@pulumi.getter(name="outputFile")
|
|
76
104
|
def output_file(self) -> Optional[str]:
|
|
@@ -80,18 +108,34 @@ class GetTransitRouterVpcAttachmentsResult:
|
|
|
80
108
|
@pulumi.getter
|
|
81
109
|
def status(self) -> Optional[str]:
|
|
82
110
|
"""
|
|
83
|
-
The status of the
|
|
111
|
+
The status of the Transit Router VPC Attachment.
|
|
84
112
|
"""
|
|
85
113
|
return pulumi.get(self, "status")
|
|
86
114
|
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter(name="transitRouterAttachmentId")
|
|
117
|
+
def transit_router_attachment_id(self) -> Optional[str]:
|
|
118
|
+
"""
|
|
119
|
+
The ID of the Transit Router VPC Attachment.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "transit_router_attachment_id")
|
|
122
|
+
|
|
87
123
|
@property
|
|
88
124
|
@pulumi.getter(name="transitRouterId")
|
|
89
125
|
def transit_router_id(self) -> Optional[str]:
|
|
90
126
|
"""
|
|
91
|
-
ID of the transit router.
|
|
127
|
+
(Available since v1.224.0) The ID of the transit router.
|
|
92
128
|
"""
|
|
93
129
|
return pulumi.get(self, "transit_router_id")
|
|
94
130
|
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="vpcId")
|
|
133
|
+
def vpc_id(self) -> Optional[str]:
|
|
134
|
+
"""
|
|
135
|
+
The ID of the VPC.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "vpc_id")
|
|
138
|
+
|
|
95
139
|
|
|
96
140
|
class AwaitableGetTransitRouterVpcAttachmentsResult(GetTransitRouterVpcAttachmentsResult):
|
|
97
141
|
# pylint: disable=using-constant-test
|
|
@@ -103,35 +147,91 @@ class AwaitableGetTransitRouterVpcAttachmentsResult(GetTransitRouterVpcAttachmen
|
|
|
103
147
|
cen_id=self.cen_id,
|
|
104
148
|
id=self.id,
|
|
105
149
|
ids=self.ids,
|
|
150
|
+
name_regex=self.name_regex,
|
|
151
|
+
names=self.names,
|
|
106
152
|
output_file=self.output_file,
|
|
107
153
|
status=self.status,
|
|
108
|
-
|
|
154
|
+
transit_router_attachment_id=self.transit_router_attachment_id,
|
|
155
|
+
transit_router_id=self.transit_router_id,
|
|
156
|
+
vpc_id=self.vpc_id)
|
|
109
157
|
|
|
110
158
|
|
|
111
159
|
def get_transit_router_vpc_attachments(cen_id: Optional[str] = None,
|
|
112
160
|
ids: Optional[Sequence[str]] = None,
|
|
161
|
+
name_regex: Optional[str] = None,
|
|
113
162
|
output_file: Optional[str] = None,
|
|
114
163
|
status: Optional[str] = None,
|
|
164
|
+
transit_router_attachment_id: Optional[str] = None,
|
|
115
165
|
transit_router_id: Optional[str] = None,
|
|
166
|
+
vpc_id: Optional[str] = None,
|
|
116
167
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTransitRouterVpcAttachmentsResult:
|
|
117
168
|
"""
|
|
118
|
-
This data source provides CEN Transit Router VPC Attachments
|
|
169
|
+
This data source provides the CEN Transit Router VPC Attachments of the current Alibaba Cloud user.
|
|
170
|
+
|
|
171
|
+
> **NOTE:** Available since v1.126.0.
|
|
172
|
+
|
|
173
|
+
## Example Usage
|
|
119
174
|
|
|
120
|
-
|
|
175
|
+
Basic Usage
|
|
121
176
|
|
|
177
|
+
```python
|
|
178
|
+
import pulumi
|
|
179
|
+
import pulumi_alicloud as alicloud
|
|
122
180
|
|
|
123
|
-
|
|
124
|
-
|
|
181
|
+
config = pulumi.Config()
|
|
182
|
+
name = config.get("name")
|
|
183
|
+
if name is None:
|
|
184
|
+
name = "terraform-example"
|
|
185
|
+
default = alicloud.get_zones()
|
|
186
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
187
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
188
|
+
zone_id=default.ids[0])
|
|
189
|
+
default_master = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
190
|
+
zone_id=default.ids[1])
|
|
191
|
+
default_instance = alicloud.cen.Instance("default",
|
|
192
|
+
cen_instance_name=name,
|
|
193
|
+
protection_level="REDUCED")
|
|
194
|
+
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default_instance.id)
|
|
195
|
+
default_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("default",
|
|
196
|
+
cen_id=default_instance.id,
|
|
197
|
+
vpc_id=default_get_networks.ids[0],
|
|
198
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
199
|
+
transit_router_attachment_name=name,
|
|
200
|
+
transit_router_attachment_description=name,
|
|
201
|
+
zone_mappings=[
|
|
202
|
+
alicloud.cen.TransitRouterVpcAttachmentZoneMappingArgs(
|
|
203
|
+
vswitch_id=default_master.vswitches[0].id,
|
|
204
|
+
zone_id=default_master.vswitches[0].zone_id,
|
|
205
|
+
),
|
|
206
|
+
alicloud.cen.TransitRouterVpcAttachmentZoneMappingArgs(
|
|
207
|
+
vswitch_id=default_get_switches.vswitches[0].id,
|
|
208
|
+
zone_id=default_get_switches.vswitches[0].zone_id,
|
|
209
|
+
),
|
|
210
|
+
])
|
|
211
|
+
ids = alicloud.cen.get_transit_router_vpc_attachments_output(ids=[default_transit_router_vpc_attachment.id],
|
|
212
|
+
cen_id=default_instance.id)
|
|
213
|
+
pulumi.export("cenTransitRouterVpcAttachmentsId0", ids.attachments[0].id)
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
:param str cen_id: The ID of the CEN instance.
|
|
218
|
+
:param Sequence[str] ids: A list of Transit Router VPC Attachment IDs.
|
|
219
|
+
:param str name_regex: A regex string to filter results by Transit Router VPC Attachment name.
|
|
125
220
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
126
|
-
:param str status: The status of the
|
|
127
|
-
:param str
|
|
221
|
+
:param str status: The status of the Transit Router VPC Attachment. Valid Values: `Attached`, `Attaching`, `Detaching`.
|
|
222
|
+
:param str transit_router_attachment_id: The ID of the Transit Router VPC Attachment.
|
|
223
|
+
:param str transit_router_id: The ID of the transit router.
|
|
224
|
+
:param str vpc_id: The ID of the VPC.
|
|
128
225
|
"""
|
|
129
226
|
__args__ = dict()
|
|
130
227
|
__args__['cenId'] = cen_id
|
|
131
228
|
__args__['ids'] = ids
|
|
229
|
+
__args__['nameRegex'] = name_regex
|
|
132
230
|
__args__['outputFile'] = output_file
|
|
133
231
|
__args__['status'] = status
|
|
232
|
+
__args__['transitRouterAttachmentId'] = transit_router_attachment_id
|
|
134
233
|
__args__['transitRouterId'] = transit_router_id
|
|
234
|
+
__args__['vpcId'] = vpc_id
|
|
135
235
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
236
|
__ret__ = pulumi.runtime.invoke('alicloud:cen/getTransitRouterVpcAttachments:getTransitRouterVpcAttachments', __args__, opts=opts, typ=GetTransitRouterVpcAttachmentsResult).value
|
|
137
237
|
|
|
@@ -140,28 +240,81 @@ def get_transit_router_vpc_attachments(cen_id: Optional[str] = None,
|
|
|
140
240
|
cen_id=pulumi.get(__ret__, 'cen_id'),
|
|
141
241
|
id=pulumi.get(__ret__, 'id'),
|
|
142
242
|
ids=pulumi.get(__ret__, 'ids'),
|
|
243
|
+
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
244
|
+
names=pulumi.get(__ret__, 'names'),
|
|
143
245
|
output_file=pulumi.get(__ret__, 'output_file'),
|
|
144
246
|
status=pulumi.get(__ret__, 'status'),
|
|
145
|
-
|
|
247
|
+
transit_router_attachment_id=pulumi.get(__ret__, 'transit_router_attachment_id'),
|
|
248
|
+
transit_router_id=pulumi.get(__ret__, 'transit_router_id'),
|
|
249
|
+
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
146
250
|
|
|
147
251
|
|
|
148
252
|
@_utilities.lift_output_func(get_transit_router_vpc_attachments)
|
|
149
253
|
def get_transit_router_vpc_attachments_output(cen_id: Optional[pulumi.Input[str]] = None,
|
|
150
254
|
ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
|
255
|
+
name_regex: Optional[pulumi.Input[Optional[str]]] = None,
|
|
151
256
|
output_file: Optional[pulumi.Input[Optional[str]]] = None,
|
|
152
257
|
status: Optional[pulumi.Input[Optional[str]]] = None,
|
|
258
|
+
transit_router_attachment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
153
259
|
transit_router_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
260
|
+
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
154
261
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitRouterVpcAttachmentsResult]:
|
|
155
262
|
"""
|
|
156
|
-
This data source provides CEN Transit Router VPC Attachments
|
|
263
|
+
This data source provides the CEN Transit Router VPC Attachments of the current Alibaba Cloud user.
|
|
264
|
+
|
|
265
|
+
> **NOTE:** Available since v1.126.0.
|
|
266
|
+
|
|
267
|
+
## Example Usage
|
|
268
|
+
|
|
269
|
+
Basic Usage
|
|
270
|
+
|
|
271
|
+
```python
|
|
272
|
+
import pulumi
|
|
273
|
+
import pulumi_alicloud as alicloud
|
|
157
274
|
|
|
158
|
-
|
|
275
|
+
config = pulumi.Config()
|
|
276
|
+
name = config.get("name")
|
|
277
|
+
if name is None:
|
|
278
|
+
name = "terraform-example"
|
|
279
|
+
default = alicloud.get_zones()
|
|
280
|
+
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
|
|
281
|
+
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
282
|
+
zone_id=default.ids[0])
|
|
283
|
+
default_master = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
|
|
284
|
+
zone_id=default.ids[1])
|
|
285
|
+
default_instance = alicloud.cen.Instance("default",
|
|
286
|
+
cen_instance_name=name,
|
|
287
|
+
protection_level="REDUCED")
|
|
288
|
+
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default_instance.id)
|
|
289
|
+
default_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("default",
|
|
290
|
+
cen_id=default_instance.id,
|
|
291
|
+
vpc_id=default_get_networks.ids[0],
|
|
292
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
293
|
+
transit_router_attachment_name=name,
|
|
294
|
+
transit_router_attachment_description=name,
|
|
295
|
+
zone_mappings=[
|
|
296
|
+
alicloud.cen.TransitRouterVpcAttachmentZoneMappingArgs(
|
|
297
|
+
vswitch_id=default_master.vswitches[0].id,
|
|
298
|
+
zone_id=default_master.vswitches[0].zone_id,
|
|
299
|
+
),
|
|
300
|
+
alicloud.cen.TransitRouterVpcAttachmentZoneMappingArgs(
|
|
301
|
+
vswitch_id=default_get_switches.vswitches[0].id,
|
|
302
|
+
zone_id=default_get_switches.vswitches[0].zone_id,
|
|
303
|
+
),
|
|
304
|
+
])
|
|
305
|
+
ids = alicloud.cen.get_transit_router_vpc_attachments_output(ids=[default_transit_router_vpc_attachment.id],
|
|
306
|
+
cen_id=default_instance.id)
|
|
307
|
+
pulumi.export("cenTransitRouterVpcAttachmentsId0", ids.attachments[0].id)
|
|
308
|
+
```
|
|
159
309
|
|
|
160
310
|
|
|
161
|
-
:param str cen_id: ID of the CEN instance.
|
|
162
|
-
:param Sequence[str] ids: A list of
|
|
311
|
+
:param str cen_id: The ID of the CEN instance.
|
|
312
|
+
:param Sequence[str] ids: A list of Transit Router VPC Attachment IDs.
|
|
313
|
+
:param str name_regex: A regex string to filter results by Transit Router VPC Attachment name.
|
|
163
314
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
164
|
-
:param str status: The status of the
|
|
165
|
-
:param str
|
|
315
|
+
:param str status: The status of the Transit Router VPC Attachment. Valid Values: `Attached`, `Attaching`, `Detaching`.
|
|
316
|
+
:param str transit_router_attachment_id: The ID of the Transit Router VPC Attachment.
|
|
317
|
+
:param str transit_router_id: The ID of the transit router.
|
|
318
|
+
:param str vpc_id: The ID of the VPC.
|
|
166
319
|
"""
|
|
167
320
|
...
|
pulumi_alicloud/cen/outputs.py
CHANGED
|
@@ -3106,6 +3106,8 @@ class GetTransitRouterVbrAttachmentsAttachmentResult(dict):
|
|
|
3106
3106
|
@pulumi.output_type
|
|
3107
3107
|
class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
3108
3108
|
def __init__(__self__, *,
|
|
3109
|
+
auto_publish_route_enabled: bool,
|
|
3110
|
+
cen_id: str,
|
|
3109
3111
|
id: str,
|
|
3110
3112
|
payment_type: str,
|
|
3111
3113
|
resource_type: str,
|
|
@@ -3113,21 +3115,26 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3113
3115
|
transit_router_attachment_description: str,
|
|
3114
3116
|
transit_router_attachment_id: str,
|
|
3115
3117
|
transit_router_attachment_name: str,
|
|
3118
|
+
transit_router_id: str,
|
|
3116
3119
|
vpc_id: str,
|
|
3117
3120
|
vpc_owner_id: str,
|
|
3118
3121
|
zone_mappings: Sequence['outputs.GetTransitRouterVpcAttachmentsAttachmentZoneMappingResult']):
|
|
3119
3122
|
"""
|
|
3120
|
-
:param
|
|
3123
|
+
:param bool auto_publish_route_enabled: (Available since v1.224.0) Whether the transit router is automatically published to the VPC instance.
|
|
3124
|
+
:param str cen_id: The ID of the CEN instance.
|
|
3121
3125
|
:param str payment_type: The payment type of the resource.
|
|
3122
|
-
:param str resource_type:
|
|
3123
|
-
:param str status: The status of the
|
|
3124
|
-
:param str transit_router_attachment_description: The description of
|
|
3125
|
-
:param str transit_router_attachment_id: ID of the
|
|
3126
|
-
:param str transit_router_attachment_name:
|
|
3127
|
-
:param str
|
|
3126
|
+
:param str resource_type: The resource type of the Transit Router VPC Attachment.
|
|
3127
|
+
:param str status: The status of the Transit Router VPC Attachment. Valid Values: `Attached`, `Attaching`, `Detaching`.
|
|
3128
|
+
:param str transit_router_attachment_description: The description of the Transit Router VPC Attachment.
|
|
3129
|
+
:param str transit_router_attachment_id: The ID of the Transit Router VPC Attachment.
|
|
3130
|
+
:param str transit_router_attachment_name: The name of the Transit Router VPC Attachment.
|
|
3131
|
+
:param str transit_router_id: The ID of the transit router.
|
|
3132
|
+
:param str vpc_id: The ID of the VPC.
|
|
3128
3133
|
:param str vpc_owner_id: The Owner ID of the VPC.
|
|
3129
|
-
:param Sequence['GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs'] zone_mappings: The
|
|
3134
|
+
:param Sequence['GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs'] zone_mappings: The list of zone mapping of the VPC.
|
|
3130
3135
|
"""
|
|
3136
|
+
pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
|
|
3137
|
+
pulumi.set(__self__, "cen_id", cen_id)
|
|
3131
3138
|
pulumi.set(__self__, "id", id)
|
|
3132
3139
|
pulumi.set(__self__, "payment_type", payment_type)
|
|
3133
3140
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
@@ -3135,16 +3142,30 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3135
3142
|
pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
|
|
3136
3143
|
pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
|
|
3137
3144
|
pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
|
|
3145
|
+
pulumi.set(__self__, "transit_router_id", transit_router_id)
|
|
3138
3146
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
3139
3147
|
pulumi.set(__self__, "vpc_owner_id", vpc_owner_id)
|
|
3140
3148
|
pulumi.set(__self__, "zone_mappings", zone_mappings)
|
|
3141
3149
|
|
|
3142
3150
|
@property
|
|
3143
|
-
@pulumi.getter
|
|
3144
|
-
def
|
|
3151
|
+
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
3152
|
+
def auto_publish_route_enabled(self) -> bool:
|
|
3145
3153
|
"""
|
|
3146
|
-
|
|
3154
|
+
(Available since v1.224.0) Whether the transit router is automatically published to the VPC instance.
|
|
3155
|
+
"""
|
|
3156
|
+
return pulumi.get(self, "auto_publish_route_enabled")
|
|
3157
|
+
|
|
3158
|
+
@property
|
|
3159
|
+
@pulumi.getter(name="cenId")
|
|
3160
|
+
def cen_id(self) -> str:
|
|
3161
|
+
"""
|
|
3162
|
+
The ID of the CEN instance.
|
|
3147
3163
|
"""
|
|
3164
|
+
return pulumi.get(self, "cen_id")
|
|
3165
|
+
|
|
3166
|
+
@property
|
|
3167
|
+
@pulumi.getter
|
|
3168
|
+
def id(self) -> str:
|
|
3148
3169
|
return pulumi.get(self, "id")
|
|
3149
3170
|
|
|
3150
3171
|
@property
|
|
@@ -3159,7 +3180,7 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3159
3180
|
@pulumi.getter(name="resourceType")
|
|
3160
3181
|
def resource_type(self) -> str:
|
|
3161
3182
|
"""
|
|
3162
|
-
|
|
3183
|
+
The resource type of the Transit Router VPC Attachment.
|
|
3163
3184
|
"""
|
|
3164
3185
|
return pulumi.get(self, "resource_type")
|
|
3165
3186
|
|
|
@@ -3167,7 +3188,7 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3167
3188
|
@pulumi.getter
|
|
3168
3189
|
def status(self) -> str:
|
|
3169
3190
|
"""
|
|
3170
|
-
The status of the
|
|
3191
|
+
The status of the Transit Router VPC Attachment. Valid Values: `Attached`, `Attaching`, `Detaching`.
|
|
3171
3192
|
"""
|
|
3172
3193
|
return pulumi.get(self, "status")
|
|
3173
3194
|
|
|
@@ -3175,7 +3196,7 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3175
3196
|
@pulumi.getter(name="transitRouterAttachmentDescription")
|
|
3176
3197
|
def transit_router_attachment_description(self) -> str:
|
|
3177
3198
|
"""
|
|
3178
|
-
The description of
|
|
3199
|
+
The description of the Transit Router VPC Attachment.
|
|
3179
3200
|
"""
|
|
3180
3201
|
return pulumi.get(self, "transit_router_attachment_description")
|
|
3181
3202
|
|
|
@@ -3183,7 +3204,7 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3183
3204
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
3184
3205
|
def transit_router_attachment_id(self) -> str:
|
|
3185
3206
|
"""
|
|
3186
|
-
ID of the
|
|
3207
|
+
The ID of the Transit Router VPC Attachment.
|
|
3187
3208
|
"""
|
|
3188
3209
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
3189
3210
|
|
|
@@ -3191,15 +3212,23 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3191
3212
|
@pulumi.getter(name="transitRouterAttachmentName")
|
|
3192
3213
|
def transit_router_attachment_name(self) -> str:
|
|
3193
3214
|
"""
|
|
3194
|
-
|
|
3215
|
+
The name of the Transit Router VPC Attachment.
|
|
3195
3216
|
"""
|
|
3196
3217
|
return pulumi.get(self, "transit_router_attachment_name")
|
|
3197
3218
|
|
|
3219
|
+
@property
|
|
3220
|
+
@pulumi.getter(name="transitRouterId")
|
|
3221
|
+
def transit_router_id(self) -> str:
|
|
3222
|
+
"""
|
|
3223
|
+
The ID of the transit router.
|
|
3224
|
+
"""
|
|
3225
|
+
return pulumi.get(self, "transit_router_id")
|
|
3226
|
+
|
|
3198
3227
|
@property
|
|
3199
3228
|
@pulumi.getter(name="vpcId")
|
|
3200
3229
|
def vpc_id(self) -> str:
|
|
3201
3230
|
"""
|
|
3202
|
-
ID of the VPC.
|
|
3231
|
+
The ID of the VPC.
|
|
3203
3232
|
"""
|
|
3204
3233
|
return pulumi.get(self, "vpc_id")
|
|
3205
3234
|
|
|
@@ -3215,7 +3244,7 @@ class GetTransitRouterVpcAttachmentsAttachmentResult(dict):
|
|
|
3215
3244
|
@pulumi.getter(name="zoneMappings")
|
|
3216
3245
|
def zone_mappings(self) -> Sequence['outputs.GetTransitRouterVpcAttachmentsAttachmentZoneMappingResult']:
|
|
3217
3246
|
"""
|
|
3218
|
-
The
|
|
3247
|
+
The list of zone mapping of the VPC.
|
|
3219
3248
|
"""
|
|
3220
3249
|
return pulumi.get(self, "zone_mappings")
|
|
3221
3250
|
|
|
@@ -3226,8 +3255,8 @@ class GetTransitRouterVpcAttachmentsAttachmentZoneMappingResult(dict):
|
|
|
3226
3255
|
vswitch_id: str,
|
|
3227
3256
|
zone_id: str):
|
|
3228
3257
|
"""
|
|
3229
|
-
:param str vswitch_id: The
|
|
3230
|
-
:param str zone_id: The zone
|
|
3258
|
+
:param str vswitch_id: The ID of the vSwitch.
|
|
3259
|
+
:param str zone_id: The ID of the zone.
|
|
3231
3260
|
"""
|
|
3232
3261
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
3233
3262
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -3236,7 +3265,7 @@ class GetTransitRouterVpcAttachmentsAttachmentZoneMappingResult(dict):
|
|
|
3236
3265
|
@pulumi.getter(name="vswitchId")
|
|
3237
3266
|
def vswitch_id(self) -> str:
|
|
3238
3267
|
"""
|
|
3239
|
-
The
|
|
3268
|
+
The ID of the vSwitch.
|
|
3240
3269
|
"""
|
|
3241
3270
|
return pulumi.get(self, "vswitch_id")
|
|
3242
3271
|
|
|
@@ -3244,7 +3273,7 @@ class GetTransitRouterVpcAttachmentsAttachmentZoneMappingResult(dict):
|
|
|
3244
3273
|
@pulumi.getter(name="zoneId")
|
|
3245
3274
|
def zone_id(self) -> str:
|
|
3246
3275
|
"""
|
|
3247
|
-
The zone
|
|
3276
|
+
The ID of the zone.
|
|
3248
3277
|
"""
|
|
3249
3278
|
return pulumi.get(self, "zone_id")
|
|
3250
3279
|
|
|
@@ -20,5 +20,7 @@ from .get_vpc_firewall_control_policies import *
|
|
|
20
20
|
from .get_vpc_firewalls import *
|
|
21
21
|
from .instance import *
|
|
22
22
|
from .instance_member import *
|
|
23
|
+
from .nat_firewall import *
|
|
24
|
+
from .nat_firewall_control_policy import *
|
|
23
25
|
from ._inputs import *
|
|
24
26
|
from . import outputs
|
|
@@ -21,6 +21,7 @@ __all__ = [
|
|
|
21
21
|
'FirewallVpcFirewallPeerVpcArgs',
|
|
22
22
|
'FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs',
|
|
23
23
|
'FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs',
|
|
24
|
+
'NatFirewallNatRouteEntryListArgs',
|
|
24
25
|
]
|
|
25
26
|
|
|
26
27
|
@pulumi.input_type
|
|
@@ -797,3 +798,70 @@ class FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs:
|
|
|
797
798
|
pulumi.set(self, "peer_next_hop_instance_id", value)
|
|
798
799
|
|
|
799
800
|
|
|
801
|
+
@pulumi.input_type
|
|
802
|
+
class NatFirewallNatRouteEntryListArgs:
|
|
803
|
+
def __init__(__self__, *,
|
|
804
|
+
destination_cidr: pulumi.Input[str],
|
|
805
|
+
nexthop_id: pulumi.Input[str],
|
|
806
|
+
nexthop_type: pulumi.Input[str],
|
|
807
|
+
route_table_id: pulumi.Input[str]):
|
|
808
|
+
"""
|
|
809
|
+
:param pulumi.Input[str] destination_cidr: The destination network segment of the default route.
|
|
810
|
+
:param pulumi.Input[str] nexthop_id: The next hop address of the original NAT gateway.
|
|
811
|
+
:param pulumi.Input[str] nexthop_type: The network type of the next hop. Value: NatGateway : NAT Gateway.
|
|
812
|
+
:param pulumi.Input[str] route_table_id: The route table where the default route of the NAT gateway is located.
|
|
813
|
+
"""
|
|
814
|
+
pulumi.set(__self__, "destination_cidr", destination_cidr)
|
|
815
|
+
pulumi.set(__self__, "nexthop_id", nexthop_id)
|
|
816
|
+
pulumi.set(__self__, "nexthop_type", nexthop_type)
|
|
817
|
+
pulumi.set(__self__, "route_table_id", route_table_id)
|
|
818
|
+
|
|
819
|
+
@property
|
|
820
|
+
@pulumi.getter(name="destinationCidr")
|
|
821
|
+
def destination_cidr(self) -> pulumi.Input[str]:
|
|
822
|
+
"""
|
|
823
|
+
The destination network segment of the default route.
|
|
824
|
+
"""
|
|
825
|
+
return pulumi.get(self, "destination_cidr")
|
|
826
|
+
|
|
827
|
+
@destination_cidr.setter
|
|
828
|
+
def destination_cidr(self, value: pulumi.Input[str]):
|
|
829
|
+
pulumi.set(self, "destination_cidr", value)
|
|
830
|
+
|
|
831
|
+
@property
|
|
832
|
+
@pulumi.getter(name="nexthopId")
|
|
833
|
+
def nexthop_id(self) -> pulumi.Input[str]:
|
|
834
|
+
"""
|
|
835
|
+
The next hop address of the original NAT gateway.
|
|
836
|
+
"""
|
|
837
|
+
return pulumi.get(self, "nexthop_id")
|
|
838
|
+
|
|
839
|
+
@nexthop_id.setter
|
|
840
|
+
def nexthop_id(self, value: pulumi.Input[str]):
|
|
841
|
+
pulumi.set(self, "nexthop_id", value)
|
|
842
|
+
|
|
843
|
+
@property
|
|
844
|
+
@pulumi.getter(name="nexthopType")
|
|
845
|
+
def nexthop_type(self) -> pulumi.Input[str]:
|
|
846
|
+
"""
|
|
847
|
+
The network type of the next hop. Value: NatGateway : NAT Gateway.
|
|
848
|
+
"""
|
|
849
|
+
return pulumi.get(self, "nexthop_type")
|
|
850
|
+
|
|
851
|
+
@nexthop_type.setter
|
|
852
|
+
def nexthop_type(self, value: pulumi.Input[str]):
|
|
853
|
+
pulumi.set(self, "nexthop_type", value)
|
|
854
|
+
|
|
855
|
+
@property
|
|
856
|
+
@pulumi.getter(name="routeTableId")
|
|
857
|
+
def route_table_id(self) -> pulumi.Input[str]:
|
|
858
|
+
"""
|
|
859
|
+
The route table where the default route of the NAT gateway is located.
|
|
860
|
+
"""
|
|
861
|
+
return pulumi.get(self, "route_table_id")
|
|
862
|
+
|
|
863
|
+
@route_table_id.setter
|
|
864
|
+
def route_table_id(self, value: pulumi.Input[str]):
|
|
865
|
+
pulumi.set(self, "route_table_id", value)
|
|
866
|
+
|
|
867
|
+
|