pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.81.0a1750651450__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 +8 -0
- pulumi_alicloud/cdn/get_service.py +4 -4
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
- pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
- pulumi_alicloud/cen/outputs.py +56 -41
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/node_pool.py +158 -45
- pulumi_alicloud/cs/outputs.py +51 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +66 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
- pulumi_alicloud/ecs/outputs.py +48 -0
- pulumi_alicloud/eflo/node_group.py +103 -7
- pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- pulumi_alicloud/maxcompute/project.py +2 -2
- pulumi_alicloud/message/__init__.py +1 -0
- pulumi_alicloud/message/service_service.py +132 -0
- pulumi_alicloud/message/service_subscription.py +37 -23
- pulumi_alicloud/mns/get_service.py +8 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/role.py +306 -105
- pulumi_alicloud/rds/_inputs.py +0 -9
- pulumi_alicloud/rds/custom.py +360 -31
- pulumi_alicloud/rds/outputs.py +0 -6
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/RECORD +34 -33
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.81.0a1750651450.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -5745,6 +5745,14 @@ _utilities.register(
|
|
|
5745
5745
|
"alicloud:message/serviceQueue:ServiceQueue": "ServiceQueue"
|
|
5746
5746
|
}
|
|
5747
5747
|
},
|
|
5748
|
+
{
|
|
5749
|
+
"pkg": "alicloud",
|
|
5750
|
+
"mod": "message/serviceService",
|
|
5751
|
+
"fqn": "pulumi_alicloud.message",
|
|
5752
|
+
"classes": {
|
|
5753
|
+
"alicloud:message/serviceService:ServiceService": "ServiceService"
|
|
5754
|
+
}
|
|
5755
|
+
},
|
|
5748
5756
|
{
|
|
5749
5757
|
"pkg": "alicloud",
|
|
5750
5758
|
"mod": "message/serviceSubscription",
|
|
@@ -54,7 +54,7 @@ class GetServiceResult:
|
|
|
54
54
|
@pulumi.getter(name="changingAffectTime")
|
|
55
55
|
def changing_affect_time(self) -> builtins.str:
|
|
56
56
|
"""
|
|
57
|
-
The time when the
|
|
57
|
+
The time when the metering method for the next cycle takes effect. The time is displayed in GMT.
|
|
58
58
|
"""
|
|
59
59
|
return pulumi.get(self, "changing_affect_time")
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ class GetServiceResult:
|
|
|
62
62
|
@pulumi.getter(name="changingChargeType")
|
|
63
63
|
def changing_charge_type(self) -> builtins.str:
|
|
64
64
|
"""
|
|
65
|
-
The
|
|
65
|
+
The metering method for the next cycle.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "changing_charge_type")
|
|
68
68
|
|
|
@@ -137,7 +137,7 @@ def get_service(enable: Optional[builtins.str] = None,
|
|
|
137
137
|
```
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
140
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On`, `Off`.
|
|
141
141
|
:param builtins.str internet_charge_type: The new billing method. Valid values: `PayByTraffic` and `PayByBandwidth`. Default value: `PayByTraffic`.
|
|
142
142
|
It is required when `enable = on`. If the CDN service has been opened and you can update its internet charge type by modifying the filed `internet_charge_type`.
|
|
143
143
|
As a note, the updated internet charge type will be effective in the next day zero time.
|
|
@@ -179,7 +179,7 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
182
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On`, `Off`.
|
|
183
183
|
:param builtins.str internet_charge_type: The new billing method. Valid values: `PayByTraffic` and `PayByBandwidth`. Default value: `PayByTraffic`.
|
|
184
184
|
It is required when `enable = on`. If the CDN service has been opened and you can update its internet charge type by modifying the filed `internet_charge_type`.
|
|
185
185
|
As a note, the updated internet charge type will be effective in the next day zero time.
|
|
@@ -28,7 +28,7 @@ class GetTransitRouterRouteTablePropagationsResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getTransitRouterRouteTablePropagations.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, ids=None, output_file=None, propagations=None, status=None, transit_router_route_table_id=None):
|
|
31
|
+
def __init__(__self__, id=None, ids=None, output_file=None, propagations=None, status=None, transit_router_attachment_id=None, transit_router_route_table_id=None):
|
|
32
32
|
if id and not isinstance(id, str):
|
|
33
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "id", id)
|
|
@@ -44,6 +44,9 @@ class GetTransitRouterRouteTablePropagationsResult:
|
|
|
44
44
|
if status and not isinstance(status, str):
|
|
45
45
|
raise TypeError("Expected argument 'status' to be a str")
|
|
46
46
|
pulumi.set(__self__, "status", status)
|
|
47
|
+
if transit_router_attachment_id and not isinstance(transit_router_attachment_id, str):
|
|
48
|
+
raise TypeError("Expected argument 'transit_router_attachment_id' to be a str")
|
|
49
|
+
pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
|
|
47
50
|
if transit_router_route_table_id and not isinstance(transit_router_route_table_id, str):
|
|
48
51
|
raise TypeError("Expected argument 'transit_router_route_table_id' to be a str")
|
|
49
52
|
pulumi.set(__self__, "transit_router_route_table_id", transit_router_route_table_id)
|
|
@@ -59,9 +62,6 @@ class GetTransitRouterRouteTablePropagationsResult:
|
|
|
59
62
|
@property
|
|
60
63
|
@pulumi.getter
|
|
61
64
|
def ids(self) -> Sequence[builtins.str]:
|
|
62
|
-
"""
|
|
63
|
-
A list of CEN Transit Router Route Table Association IDs.
|
|
64
|
-
"""
|
|
65
65
|
return pulumi.get(self, "ids")
|
|
66
66
|
|
|
67
67
|
@property
|
|
@@ -73,7 +73,7 @@ class GetTransitRouterRouteTablePropagationsResult:
|
|
|
73
73
|
@pulumi.getter
|
|
74
74
|
def propagations(self) -> Sequence['outputs.GetTransitRouterRouteTablePropagationsPropagationResult']:
|
|
75
75
|
"""
|
|
76
|
-
A list of
|
|
76
|
+
A list of Transit Router Route Table Propagations. Each element contains the following attributes:
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "propagations")
|
|
79
79
|
|
|
@@ -81,15 +81,23 @@ class GetTransitRouterRouteTablePropagationsResult:
|
|
|
81
81
|
@pulumi.getter
|
|
82
82
|
def status(self) -> Optional[builtins.str]:
|
|
83
83
|
"""
|
|
84
|
-
The status of the route
|
|
84
|
+
The status of the route learning correlation.
|
|
85
85
|
"""
|
|
86
86
|
return pulumi.get(self, "status")
|
|
87
87
|
|
|
88
|
+
@property
|
|
89
|
+
@pulumi.getter(name="transitRouterAttachmentId")
|
|
90
|
+
def transit_router_attachment_id(self) -> Optional[builtins.str]:
|
|
91
|
+
"""
|
|
92
|
+
The ID of the network instance connection.
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "transit_router_attachment_id")
|
|
95
|
+
|
|
88
96
|
@property
|
|
89
97
|
@pulumi.getter(name="transitRouterRouteTableId")
|
|
90
98
|
def transit_router_route_table_id(self) -> builtins.str:
|
|
91
99
|
"""
|
|
92
|
-
ID of the transit router
|
|
100
|
+
The ID of the route table of the Enterprise Edition transit router.
|
|
93
101
|
"""
|
|
94
102
|
return pulumi.get(self, "transit_router_route_table_id")
|
|
95
103
|
|
|
@@ -105,39 +113,82 @@ class AwaitableGetTransitRouterRouteTablePropagationsResult(GetTransitRouterRout
|
|
|
105
113
|
output_file=self.output_file,
|
|
106
114
|
propagations=self.propagations,
|
|
107
115
|
status=self.status,
|
|
116
|
+
transit_router_attachment_id=self.transit_router_attachment_id,
|
|
108
117
|
transit_router_route_table_id=self.transit_router_route_table_id)
|
|
109
118
|
|
|
110
119
|
|
|
111
120
|
def get_transit_router_route_table_propagations(ids: Optional[Sequence[builtins.str]] = None,
|
|
112
121
|
output_file: Optional[builtins.str] = None,
|
|
113
122
|
status: Optional[builtins.str] = None,
|
|
123
|
+
transit_router_attachment_id: Optional[builtins.str] = None,
|
|
114
124
|
transit_router_route_table_id: Optional[builtins.str] = None,
|
|
115
125
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTransitRouterRouteTablePropagationsResult:
|
|
116
126
|
"""
|
|
117
|
-
This data source provides CEN Transit Router Route Table Propagations
|
|
127
|
+
This data source provides the CEN Transit Router Route Table Propagations of the current Alibaba Cloud user.
|
|
118
128
|
|
|
119
|
-
> **NOTE:** Available
|
|
129
|
+
> **NOTE:** Available since v1.126.0.
|
|
120
130
|
|
|
121
131
|
## Example Usage
|
|
122
132
|
|
|
133
|
+
Basic Usage
|
|
134
|
+
|
|
123
135
|
```python
|
|
124
136
|
import pulumi
|
|
125
137
|
import pulumi_alicloud as alicloud
|
|
138
|
+
import pulumi_random as random
|
|
126
139
|
|
|
127
|
-
|
|
128
|
-
|
|
140
|
+
config = pulumi.Config()
|
|
141
|
+
name = config.get("name")
|
|
142
|
+
if name is None:
|
|
143
|
+
name = "terraform-example"
|
|
144
|
+
default = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
145
|
+
default_integer = random.index.Integer("default",
|
|
146
|
+
min=1,
|
|
147
|
+
max=2999)
|
|
148
|
+
default_instance = alicloud.cen.Instance("default",
|
|
149
|
+
cen_instance_name=name,
|
|
150
|
+
protection_level="REDUCED")
|
|
151
|
+
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default_instance.id)
|
|
152
|
+
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
|
|
153
|
+
local_gateway_ip="10.0.0.1",
|
|
154
|
+
peer_gateway_ip="10.0.0.2",
|
|
155
|
+
peering_subnet_mask="255.255.255.252",
|
|
156
|
+
physical_connection_id=default.connections[0].id,
|
|
157
|
+
virtual_border_router_name=name,
|
|
158
|
+
vlan_id=default_integer["id"],
|
|
159
|
+
min_rx_interval=1000,
|
|
160
|
+
min_tx_interval=1000,
|
|
161
|
+
detect_multiplier=10)
|
|
162
|
+
default_transit_router_vbr_attachment = alicloud.cen.TransitRouterVbrAttachment("default",
|
|
163
|
+
cen_id=default_instance.id,
|
|
164
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
165
|
+
vbr_id=default_virtual_border_router.id,
|
|
166
|
+
auto_publish_route_enabled=True,
|
|
167
|
+
transit_router_attachment_name=name,
|
|
168
|
+
transit_router_attachment_description=name)
|
|
169
|
+
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
170
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
171
|
+
transit_router_route_table_name=name)
|
|
172
|
+
default_transit_router_route_table_propagation = alicloud.cen.TransitRouterRouteTablePropagation("default",
|
|
173
|
+
transit_router_attachment_id=default_transit_router_vbr_attachment.transit_router_attachment_id,
|
|
174
|
+
transit_router_route_table_id=default_transit_router_route_table.transit_router_route_table_id)
|
|
175
|
+
ids = alicloud.cen.get_transit_router_route_table_propagations_output(transit_router_route_table_id=default_transit_router_route_table_propagation.transit_router_route_table_id,
|
|
176
|
+
ids=[default_transit_router_route_table_propagation.transit_router_attachment_id])
|
|
177
|
+
pulumi.export("cenTransitRouterRouteTablePropagationId0", ids.propagations[0].id)
|
|
129
178
|
```
|
|
130
179
|
|
|
131
180
|
|
|
132
|
-
:param Sequence[builtins.str] ids: A list of
|
|
181
|
+
:param Sequence[builtins.str] ids: A list of Transit Router Route Table Propagation IDs.
|
|
133
182
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
134
|
-
:param builtins.str status: The status of the route
|
|
135
|
-
:param builtins.str
|
|
183
|
+
:param builtins.str status: The status of the route learning correlation. Valid values: `Active`, `Enabling`, `Disabling`.
|
|
184
|
+
:param builtins.str transit_router_attachment_id: The ID of the network instance connection.
|
|
185
|
+
:param builtins.str transit_router_route_table_id: The ID of the route table of the Enterprise Edition transit router.
|
|
136
186
|
"""
|
|
137
187
|
__args__ = dict()
|
|
138
188
|
__args__['ids'] = ids
|
|
139
189
|
__args__['outputFile'] = output_file
|
|
140
190
|
__args__['status'] = status
|
|
191
|
+
__args__['transitRouterAttachmentId'] = transit_router_attachment_id
|
|
141
192
|
__args__['transitRouterRouteTableId'] = transit_router_route_table_id
|
|
142
193
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
143
194
|
__ret__ = pulumi.runtime.invoke('alicloud:cen/getTransitRouterRouteTablePropagations:getTransitRouterRouteTablePropagations', __args__, opts=opts, typ=GetTransitRouterRouteTablePropagationsResult).value
|
|
@@ -148,37 +199,80 @@ def get_transit_router_route_table_propagations(ids: Optional[Sequence[builtins.
|
|
|
148
199
|
output_file=pulumi.get(__ret__, 'output_file'),
|
|
149
200
|
propagations=pulumi.get(__ret__, 'propagations'),
|
|
150
201
|
status=pulumi.get(__ret__, 'status'),
|
|
202
|
+
transit_router_attachment_id=pulumi.get(__ret__, 'transit_router_attachment_id'),
|
|
151
203
|
transit_router_route_table_id=pulumi.get(__ret__, 'transit_router_route_table_id'))
|
|
152
204
|
def get_transit_router_route_table_propagations_output(ids: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
|
153
205
|
output_file: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
154
206
|
status: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
207
|
+
transit_router_attachment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
155
208
|
transit_router_route_table_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
156
209
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTransitRouterRouteTablePropagationsResult]:
|
|
157
210
|
"""
|
|
158
|
-
This data source provides CEN Transit Router Route Table Propagations
|
|
211
|
+
This data source provides the CEN Transit Router Route Table Propagations of the current Alibaba Cloud user.
|
|
159
212
|
|
|
160
|
-
> **NOTE:** Available
|
|
213
|
+
> **NOTE:** Available since v1.126.0.
|
|
161
214
|
|
|
162
215
|
## Example Usage
|
|
163
216
|
|
|
217
|
+
Basic Usage
|
|
218
|
+
|
|
164
219
|
```python
|
|
165
220
|
import pulumi
|
|
166
221
|
import pulumi_alicloud as alicloud
|
|
222
|
+
import pulumi_random as random
|
|
167
223
|
|
|
168
|
-
|
|
169
|
-
|
|
224
|
+
config = pulumi.Config()
|
|
225
|
+
name = config.get("name")
|
|
226
|
+
if name is None:
|
|
227
|
+
name = "terraform-example"
|
|
228
|
+
default = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
229
|
+
default_integer = random.index.Integer("default",
|
|
230
|
+
min=1,
|
|
231
|
+
max=2999)
|
|
232
|
+
default_instance = alicloud.cen.Instance("default",
|
|
233
|
+
cen_instance_name=name,
|
|
234
|
+
protection_level="REDUCED")
|
|
235
|
+
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default_instance.id)
|
|
236
|
+
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
|
|
237
|
+
local_gateway_ip="10.0.0.1",
|
|
238
|
+
peer_gateway_ip="10.0.0.2",
|
|
239
|
+
peering_subnet_mask="255.255.255.252",
|
|
240
|
+
physical_connection_id=default.connections[0].id,
|
|
241
|
+
virtual_border_router_name=name,
|
|
242
|
+
vlan_id=default_integer["id"],
|
|
243
|
+
min_rx_interval=1000,
|
|
244
|
+
min_tx_interval=1000,
|
|
245
|
+
detect_multiplier=10)
|
|
246
|
+
default_transit_router_vbr_attachment = alicloud.cen.TransitRouterVbrAttachment("default",
|
|
247
|
+
cen_id=default_instance.id,
|
|
248
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
249
|
+
vbr_id=default_virtual_border_router.id,
|
|
250
|
+
auto_publish_route_enabled=True,
|
|
251
|
+
transit_router_attachment_name=name,
|
|
252
|
+
transit_router_attachment_description=name)
|
|
253
|
+
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
254
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
255
|
+
transit_router_route_table_name=name)
|
|
256
|
+
default_transit_router_route_table_propagation = alicloud.cen.TransitRouterRouteTablePropagation("default",
|
|
257
|
+
transit_router_attachment_id=default_transit_router_vbr_attachment.transit_router_attachment_id,
|
|
258
|
+
transit_router_route_table_id=default_transit_router_route_table.transit_router_route_table_id)
|
|
259
|
+
ids = alicloud.cen.get_transit_router_route_table_propagations_output(transit_router_route_table_id=default_transit_router_route_table_propagation.transit_router_route_table_id,
|
|
260
|
+
ids=[default_transit_router_route_table_propagation.transit_router_attachment_id])
|
|
261
|
+
pulumi.export("cenTransitRouterRouteTablePropagationId0", ids.propagations[0].id)
|
|
170
262
|
```
|
|
171
263
|
|
|
172
264
|
|
|
173
|
-
:param Sequence[builtins.str] ids: A list of
|
|
265
|
+
:param Sequence[builtins.str] ids: A list of Transit Router Route Table Propagation IDs.
|
|
174
266
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
175
|
-
:param builtins.str status: The status of the route
|
|
176
|
-
:param builtins.str
|
|
267
|
+
:param builtins.str status: The status of the route learning correlation. Valid values: `Active`, `Enabling`, `Disabling`.
|
|
268
|
+
:param builtins.str transit_router_attachment_id: The ID of the network instance connection.
|
|
269
|
+
:param builtins.str transit_router_route_table_id: The ID of the route table of the Enterprise Edition transit router.
|
|
177
270
|
"""
|
|
178
271
|
__args__ = dict()
|
|
179
272
|
__args__['ids'] = ids
|
|
180
273
|
__args__['outputFile'] = output_file
|
|
181
274
|
__args__['status'] = status
|
|
275
|
+
__args__['transitRouterAttachmentId'] = transit_router_attachment_id
|
|
182
276
|
__args__['transitRouterRouteTableId'] = transit_router_route_table_id
|
|
183
277
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
184
278
|
__ret__ = pulumi.runtime.invoke_output('alicloud:cen/getTransitRouterRouteTablePropagations:getTransitRouterRouteTablePropagations', __args__, opts=opts, typ=GetTransitRouterRouteTablePropagationsResult)
|
|
@@ -188,4 +282,5 @@ def get_transit_router_route_table_propagations_output(ids: Optional[pulumi.Inpu
|
|
|
188
282
|
output_file=pulumi.get(__response__, 'output_file'),
|
|
189
283
|
propagations=pulumi.get(__response__, 'propagations'),
|
|
190
284
|
status=pulumi.get(__response__, 'status'),
|
|
285
|
+
transit_router_attachment_id=pulumi.get(__response__, 'transit_router_attachment_id'),
|
|
191
286
|
transit_router_route_table_id=pulumi.get(__response__, 'transit_router_route_table_id')))
|
|
@@ -88,7 +88,7 @@ class GetTransitRouterRouteTablesResult:
|
|
|
88
88
|
@pulumi.getter
|
|
89
89
|
def names(self) -> Sequence[builtins.str]:
|
|
90
90
|
"""
|
|
91
|
-
A list of
|
|
91
|
+
A list of Transit Router Route Table names.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "names")
|
|
94
94
|
|
|
@@ -109,7 +109,7 @@ class GetTransitRouterRouteTablesResult:
|
|
|
109
109
|
@pulumi.getter
|
|
110
110
|
def tables(self) -> Sequence['outputs.GetTransitRouterRouteTablesTableResult']:
|
|
111
111
|
"""
|
|
112
|
-
A list of
|
|
112
|
+
A list of Transit Router Route Tables. Each element contains the following attributes:
|
|
113
113
|
"""
|
|
114
114
|
return pulumi.get(self, "tables")
|
|
115
115
|
|
|
@@ -137,7 +137,7 @@ class GetTransitRouterRouteTablesResult:
|
|
|
137
137
|
@pulumi.getter(name="transitRouterRouteTableType")
|
|
138
138
|
def transit_router_route_table_type(self) -> Optional[builtins.str]:
|
|
139
139
|
"""
|
|
140
|
-
|
|
140
|
+
The type of the route table.
|
|
141
141
|
"""
|
|
142
142
|
return pulumi.get(self, "transit_router_route_table_type")
|
|
143
143
|
|
|
@@ -173,12 +173,14 @@ def get_transit_router_route_tables(ids: Optional[Sequence[builtins.str]] = None
|
|
|
173
173
|
transit_router_route_table_type: Optional[builtins.str] = None,
|
|
174
174
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTransitRouterRouteTablesResult:
|
|
175
175
|
"""
|
|
176
|
-
This data source provides CEN Transit Router Route Tables
|
|
176
|
+
This data source provides the CEN Transit Router Route Tables of the current Alibaba Cloud user.
|
|
177
177
|
|
|
178
178
|
> **NOTE:** Available since v1.126.0.
|
|
179
179
|
|
|
180
180
|
## Example Usage
|
|
181
181
|
|
|
182
|
+
Basic Usage
|
|
183
|
+
|
|
182
184
|
```python
|
|
183
185
|
import pulumi
|
|
184
186
|
import pulumi_alicloud as alicloud
|
|
@@ -186,31 +188,32 @@ def get_transit_router_route_tables(ids: Optional[Sequence[builtins.str]] = None
|
|
|
186
188
|
config = pulumi.Config()
|
|
187
189
|
name = config.get("name")
|
|
188
190
|
if name is None:
|
|
189
|
-
name = "
|
|
190
|
-
|
|
191
|
+
name = "terraform-example"
|
|
192
|
+
default = alicloud.cen.Instance("default",
|
|
191
193
|
cen_instance_name=name,
|
|
192
194
|
protection_level="REDUCED")
|
|
193
195
|
default_transit_router = alicloud.cen.TransitRouter("default",
|
|
194
|
-
cen_id=
|
|
196
|
+
cen_id=default.id,
|
|
195
197
|
transit_router_name=name)
|
|
196
198
|
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
197
199
|
transit_router_id=default_transit_router.transit_router_id,
|
|
198
|
-
transit_router_route_table_description=
|
|
200
|
+
transit_router_route_table_description=name,
|
|
199
201
|
transit_router_route_table_name=name)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
ids = alicloud.cen.get_transit_router_route_tables_output(transit_router_id=default_transit_router_route_table.transit_router_id,
|
|
203
|
+
ids=[default_transit_router_route_table.transit_router_route_table_id])
|
|
204
|
+
pulumi.export("cenTransitRouterRouteTableId0", ids.tables[0].id)
|
|
202
205
|
```
|
|
203
206
|
|
|
204
207
|
|
|
205
|
-
:param Sequence[builtins.str] ids: A list of
|
|
206
|
-
:param builtins.str name_regex: A regex string to filter
|
|
208
|
+
:param Sequence[builtins.str] ids: A list of Transit Router Route Table IDs.
|
|
209
|
+
:param builtins.str name_regex: A regex string to filter results by Transit Router Route Table name.
|
|
207
210
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
208
|
-
:param builtins.str status: The status of the
|
|
209
|
-
:param builtins.str transit_router_id: ID of the
|
|
211
|
+
:param builtins.str status: The status of the route table. Valid values: `Creating`, `Active`, `Deleting`.
|
|
212
|
+
:param builtins.str transit_router_id: The ID of the Enterprise Edition transit router.
|
|
210
213
|
:param Sequence[builtins.str] transit_router_route_table_ids: A list of ID of the CEN Transit Router Route Table.
|
|
211
214
|
:param Sequence[builtins.str] transit_router_route_table_names: A list of name of the CEN Transit Router Route Table.
|
|
212
|
-
:param builtins.str transit_router_route_table_status: The status of the
|
|
213
|
-
:param builtins.str transit_router_route_table_type: The type of the
|
|
215
|
+
:param builtins.str transit_router_route_table_status: The status of the route table. Valid values: `Creating`, `Active`, `Deleting`.
|
|
216
|
+
:param builtins.str transit_router_route_table_type: The type of the route table. Valid values: `System`, `Custom`.
|
|
214
217
|
"""
|
|
215
218
|
__args__ = dict()
|
|
216
219
|
__args__['ids'] = ids
|
|
@@ -249,12 +252,14 @@ def get_transit_router_route_tables_output(ids: Optional[pulumi.Input[Optional[S
|
|
|
249
252
|
transit_router_route_table_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
250
253
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTransitRouterRouteTablesResult]:
|
|
251
254
|
"""
|
|
252
|
-
This data source provides CEN Transit Router Route Tables
|
|
255
|
+
This data source provides the CEN Transit Router Route Tables of the current Alibaba Cloud user.
|
|
253
256
|
|
|
254
257
|
> **NOTE:** Available since v1.126.0.
|
|
255
258
|
|
|
256
259
|
## Example Usage
|
|
257
260
|
|
|
261
|
+
Basic Usage
|
|
262
|
+
|
|
258
263
|
```python
|
|
259
264
|
import pulumi
|
|
260
265
|
import pulumi_alicloud as alicloud
|
|
@@ -262,31 +267,32 @@ def get_transit_router_route_tables_output(ids: Optional[pulumi.Input[Optional[S
|
|
|
262
267
|
config = pulumi.Config()
|
|
263
268
|
name = config.get("name")
|
|
264
269
|
if name is None:
|
|
265
|
-
name = "
|
|
266
|
-
|
|
270
|
+
name = "terraform-example"
|
|
271
|
+
default = alicloud.cen.Instance("default",
|
|
267
272
|
cen_instance_name=name,
|
|
268
273
|
protection_level="REDUCED")
|
|
269
274
|
default_transit_router = alicloud.cen.TransitRouter("default",
|
|
270
|
-
cen_id=
|
|
275
|
+
cen_id=default.id,
|
|
271
276
|
transit_router_name=name)
|
|
272
277
|
default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default",
|
|
273
278
|
transit_router_id=default_transit_router.transit_router_id,
|
|
274
|
-
transit_router_route_table_description=
|
|
279
|
+
transit_router_route_table_description=name,
|
|
275
280
|
transit_router_route_table_name=name)
|
|
276
|
-
|
|
277
|
-
|
|
281
|
+
ids = alicloud.cen.get_transit_router_route_tables_output(transit_router_id=default_transit_router_route_table.transit_router_id,
|
|
282
|
+
ids=[default_transit_router_route_table.transit_router_route_table_id])
|
|
283
|
+
pulumi.export("cenTransitRouterRouteTableId0", ids.tables[0].id)
|
|
278
284
|
```
|
|
279
285
|
|
|
280
286
|
|
|
281
|
-
:param Sequence[builtins.str] ids: A list of
|
|
282
|
-
:param builtins.str name_regex: A regex string to filter
|
|
287
|
+
:param Sequence[builtins.str] ids: A list of Transit Router Route Table IDs.
|
|
288
|
+
:param builtins.str name_regex: A regex string to filter results by Transit Router Route Table name.
|
|
283
289
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
284
|
-
:param builtins.str status: The status of the
|
|
285
|
-
:param builtins.str transit_router_id: ID of the
|
|
290
|
+
:param builtins.str status: The status of the route table. Valid values: `Creating`, `Active`, `Deleting`.
|
|
291
|
+
:param builtins.str transit_router_id: The ID of the Enterprise Edition transit router.
|
|
286
292
|
:param Sequence[builtins.str] transit_router_route_table_ids: A list of ID of the CEN Transit Router Route Table.
|
|
287
293
|
:param Sequence[builtins.str] transit_router_route_table_names: A list of name of the CEN Transit Router Route Table.
|
|
288
|
-
:param builtins.str transit_router_route_table_status: The status of the
|
|
289
|
-
:param builtins.str transit_router_route_table_type: The type of the
|
|
294
|
+
:param builtins.str transit_router_route_table_status: The status of the route table. Valid values: `Creating`, `Active`, `Deleting`.
|
|
295
|
+
:param builtins.str transit_router_route_table_type: The type of the route table. Valid values: `System`, `Custom`.
|
|
290
296
|
"""
|
|
291
297
|
__args__ = dict()
|
|
292
298
|
__args__['ids'] = ids
|