pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.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 +40 -0
- pulumi_alicloud/alikafka/__init__.py +2 -0
- pulumi_alicloud/alikafka/_inputs.py +450 -0
- pulumi_alicloud/alikafka/instance.py +331 -95
- pulumi_alicloud/alikafka/outputs.py +346 -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/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
- 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/get_ecs_key_pairs.py +57 -13
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
- pulumi_alicloud/ecs/get_key_pairs.py +1 -1
- pulumi_alicloud/ecs/instance.py +115 -0
- pulumi_alicloud/ecs/outputs.py +176 -80
- pulumi_alicloud/eflo/node_group.py +103 -7
- pulumi_alicloud/emrv2/_inputs.py +74 -0
- pulumi_alicloud/emrv2/outputs.py +65 -0
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/certificate.py +7 -28
- pulumi_alicloud/esa/custom_scene_policy.py +484 -0
- pulumi_alicloud/esa/version.py +406 -0
- pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- pulumi_alicloud/gpdb/instance.py +28 -28
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
- pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/outputs.py +96 -0
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- pulumi_alicloud/kms/secret.py +42 -28
- pulumi_alicloud/maxcompute/_inputs.py +26 -6
- pulumi_alicloud/maxcompute/outputs.py +18 -4
- pulumi_alicloud/maxcompute/project.py +50 -3
- 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/mongodb/instance.py +63 -16
- pulumi_alicloud/mongodb/sharding_instance.py +249 -0
- 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/threatdetection/__init__.py +1 -0
- pulumi_alicloud/threatdetection/cycle_task.py +731 -0
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/RECORD +61 -53
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'InstanceConfluentConfig',
|
|
20
|
+
'InstanceServerlessConfig',
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
@pulumi.output_type
|
|
24
|
+
class InstanceConfluentConfig(dict):
|
|
25
|
+
@staticmethod
|
|
26
|
+
def __key_warning(key: str):
|
|
27
|
+
suggest = None
|
|
28
|
+
if key == "connectCu":
|
|
29
|
+
suggest = "connect_cu"
|
|
30
|
+
elif key == "connectReplica":
|
|
31
|
+
suggest = "connect_replica"
|
|
32
|
+
elif key == "controlCenterCu":
|
|
33
|
+
suggest = "control_center_cu"
|
|
34
|
+
elif key == "controlCenterReplica":
|
|
35
|
+
suggest = "control_center_replica"
|
|
36
|
+
elif key == "controlCenterStorage":
|
|
37
|
+
suggest = "control_center_storage"
|
|
38
|
+
elif key == "kafkaCu":
|
|
39
|
+
suggest = "kafka_cu"
|
|
40
|
+
elif key == "kafkaReplica":
|
|
41
|
+
suggest = "kafka_replica"
|
|
42
|
+
elif key == "kafkaRestProxyCu":
|
|
43
|
+
suggest = "kafka_rest_proxy_cu"
|
|
44
|
+
elif key == "kafkaRestProxyReplica":
|
|
45
|
+
suggest = "kafka_rest_proxy_replica"
|
|
46
|
+
elif key == "kafkaStorage":
|
|
47
|
+
suggest = "kafka_storage"
|
|
48
|
+
elif key == "ksqlCu":
|
|
49
|
+
suggest = "ksql_cu"
|
|
50
|
+
elif key == "ksqlReplica":
|
|
51
|
+
suggest = "ksql_replica"
|
|
52
|
+
elif key == "ksqlStorage":
|
|
53
|
+
suggest = "ksql_storage"
|
|
54
|
+
elif key == "schemaRegistryCu":
|
|
55
|
+
suggest = "schema_registry_cu"
|
|
56
|
+
elif key == "schemaRegistryReplica":
|
|
57
|
+
suggest = "schema_registry_replica"
|
|
58
|
+
elif key == "zookeeperCu":
|
|
59
|
+
suggest = "zookeeper_cu"
|
|
60
|
+
elif key == "zookeeperReplica":
|
|
61
|
+
suggest = "zookeeper_replica"
|
|
62
|
+
elif key == "zookeeperStorage":
|
|
63
|
+
suggest = "zookeeper_storage"
|
|
64
|
+
|
|
65
|
+
if suggest:
|
|
66
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceConfluentConfig. Access the value via the '{suggest}' property getter instead.")
|
|
67
|
+
|
|
68
|
+
def __getitem__(self, key: str) -> Any:
|
|
69
|
+
InstanceConfluentConfig.__key_warning(key)
|
|
70
|
+
return super().__getitem__(key)
|
|
71
|
+
|
|
72
|
+
def get(self, key: str, default = None) -> Any:
|
|
73
|
+
InstanceConfluentConfig.__key_warning(key)
|
|
74
|
+
return super().get(key, default)
|
|
75
|
+
|
|
76
|
+
def __init__(__self__, *,
|
|
77
|
+
connect_cu: Optional[builtins.int] = None,
|
|
78
|
+
connect_replica: Optional[builtins.int] = None,
|
|
79
|
+
control_center_cu: Optional[builtins.int] = None,
|
|
80
|
+
control_center_replica: Optional[builtins.int] = None,
|
|
81
|
+
control_center_storage: Optional[builtins.int] = None,
|
|
82
|
+
kafka_cu: Optional[builtins.int] = None,
|
|
83
|
+
kafka_replica: Optional[builtins.int] = None,
|
|
84
|
+
kafka_rest_proxy_cu: Optional[builtins.int] = None,
|
|
85
|
+
kafka_rest_proxy_replica: Optional[builtins.int] = None,
|
|
86
|
+
kafka_storage: Optional[builtins.int] = None,
|
|
87
|
+
ksql_cu: Optional[builtins.int] = None,
|
|
88
|
+
ksql_replica: Optional[builtins.int] = None,
|
|
89
|
+
ksql_storage: Optional[builtins.int] = None,
|
|
90
|
+
schema_registry_cu: Optional[builtins.int] = None,
|
|
91
|
+
schema_registry_replica: Optional[builtins.int] = None,
|
|
92
|
+
zookeeper_cu: Optional[builtins.int] = None,
|
|
93
|
+
zookeeper_replica: Optional[builtins.int] = None,
|
|
94
|
+
zookeeper_storage: Optional[builtins.int] = None):
|
|
95
|
+
"""
|
|
96
|
+
:param builtins.int connect_cu: The number of CPU cores of Connect.
|
|
97
|
+
:param builtins.int connect_replica: The number of replicas of Connect.
|
|
98
|
+
:param builtins.int control_center_cu: The number of CPU cores of Control Center.
|
|
99
|
+
:param builtins.int control_center_replica: The number of replicas of Control Center.
|
|
100
|
+
:param builtins.int control_center_storage: The disk capacity of Control Center.
|
|
101
|
+
:param builtins.int kafka_cu: The number of CPU cores of the Kafka broker.
|
|
102
|
+
:param builtins.int kafka_replica: The number of replicas of the Kafka broker.
|
|
103
|
+
:param builtins.int kafka_rest_proxy_cu: The number of CPU cores of Kafka Rest Proxy.
|
|
104
|
+
:param builtins.int kafka_rest_proxy_replica: The number of replicas of Kafka Rest Proxy.
|
|
105
|
+
:param builtins.int kafka_storage: The disk capacity of the Kafka broker.
|
|
106
|
+
:param builtins.int ksql_cu: The number of CPU cores of ksqlDB.
|
|
107
|
+
:param builtins.int ksql_replica: The number of replicas of ksqlDB.
|
|
108
|
+
:param builtins.int ksql_storage: The disk capacity of ksqlDB.
|
|
109
|
+
:param builtins.int schema_registry_cu: The number of CPU cores of Schema Registry.
|
|
110
|
+
:param builtins.int schema_registry_replica: The number of replicas of Schema Registry.
|
|
111
|
+
:param builtins.int zookeeper_cu: The number of CPU cores of ZooKeeper.
|
|
112
|
+
:param builtins.int zookeeper_replica: The number of replicas of ZooKeeper.
|
|
113
|
+
:param builtins.int zookeeper_storage: The disk capacity of ZooKeeper.
|
|
114
|
+
"""
|
|
115
|
+
if connect_cu is not None:
|
|
116
|
+
pulumi.set(__self__, "connect_cu", connect_cu)
|
|
117
|
+
if connect_replica is not None:
|
|
118
|
+
pulumi.set(__self__, "connect_replica", connect_replica)
|
|
119
|
+
if control_center_cu is not None:
|
|
120
|
+
pulumi.set(__self__, "control_center_cu", control_center_cu)
|
|
121
|
+
if control_center_replica is not None:
|
|
122
|
+
pulumi.set(__self__, "control_center_replica", control_center_replica)
|
|
123
|
+
if control_center_storage is not None:
|
|
124
|
+
pulumi.set(__self__, "control_center_storage", control_center_storage)
|
|
125
|
+
if kafka_cu is not None:
|
|
126
|
+
pulumi.set(__self__, "kafka_cu", kafka_cu)
|
|
127
|
+
if kafka_replica is not None:
|
|
128
|
+
pulumi.set(__self__, "kafka_replica", kafka_replica)
|
|
129
|
+
if kafka_rest_proxy_cu is not None:
|
|
130
|
+
pulumi.set(__self__, "kafka_rest_proxy_cu", kafka_rest_proxy_cu)
|
|
131
|
+
if kafka_rest_proxy_replica is not None:
|
|
132
|
+
pulumi.set(__self__, "kafka_rest_proxy_replica", kafka_rest_proxy_replica)
|
|
133
|
+
if kafka_storage is not None:
|
|
134
|
+
pulumi.set(__self__, "kafka_storage", kafka_storage)
|
|
135
|
+
if ksql_cu is not None:
|
|
136
|
+
pulumi.set(__self__, "ksql_cu", ksql_cu)
|
|
137
|
+
if ksql_replica is not None:
|
|
138
|
+
pulumi.set(__self__, "ksql_replica", ksql_replica)
|
|
139
|
+
if ksql_storage is not None:
|
|
140
|
+
pulumi.set(__self__, "ksql_storage", ksql_storage)
|
|
141
|
+
if schema_registry_cu is not None:
|
|
142
|
+
pulumi.set(__self__, "schema_registry_cu", schema_registry_cu)
|
|
143
|
+
if schema_registry_replica is not None:
|
|
144
|
+
pulumi.set(__self__, "schema_registry_replica", schema_registry_replica)
|
|
145
|
+
if zookeeper_cu is not None:
|
|
146
|
+
pulumi.set(__self__, "zookeeper_cu", zookeeper_cu)
|
|
147
|
+
if zookeeper_replica is not None:
|
|
148
|
+
pulumi.set(__self__, "zookeeper_replica", zookeeper_replica)
|
|
149
|
+
if zookeeper_storage is not None:
|
|
150
|
+
pulumi.set(__self__, "zookeeper_storage", zookeeper_storage)
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter(name="connectCu")
|
|
154
|
+
def connect_cu(self) -> Optional[builtins.int]:
|
|
155
|
+
"""
|
|
156
|
+
The number of CPU cores of Connect.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "connect_cu")
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter(name="connectReplica")
|
|
162
|
+
def connect_replica(self) -> Optional[builtins.int]:
|
|
163
|
+
"""
|
|
164
|
+
The number of replicas of Connect.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "connect_replica")
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter(name="controlCenterCu")
|
|
170
|
+
def control_center_cu(self) -> Optional[builtins.int]:
|
|
171
|
+
"""
|
|
172
|
+
The number of CPU cores of Control Center.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "control_center_cu")
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter(name="controlCenterReplica")
|
|
178
|
+
def control_center_replica(self) -> Optional[builtins.int]:
|
|
179
|
+
"""
|
|
180
|
+
The number of replicas of Control Center.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "control_center_replica")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="controlCenterStorage")
|
|
186
|
+
def control_center_storage(self) -> Optional[builtins.int]:
|
|
187
|
+
"""
|
|
188
|
+
The disk capacity of Control Center.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "control_center_storage")
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="kafkaCu")
|
|
194
|
+
def kafka_cu(self) -> Optional[builtins.int]:
|
|
195
|
+
"""
|
|
196
|
+
The number of CPU cores of the Kafka broker.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "kafka_cu")
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter(name="kafkaReplica")
|
|
202
|
+
def kafka_replica(self) -> Optional[builtins.int]:
|
|
203
|
+
"""
|
|
204
|
+
The number of replicas of the Kafka broker.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "kafka_replica")
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter(name="kafkaRestProxyCu")
|
|
210
|
+
def kafka_rest_proxy_cu(self) -> Optional[builtins.int]:
|
|
211
|
+
"""
|
|
212
|
+
The number of CPU cores of Kafka Rest Proxy.
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "kafka_rest_proxy_cu")
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="kafkaRestProxyReplica")
|
|
218
|
+
def kafka_rest_proxy_replica(self) -> Optional[builtins.int]:
|
|
219
|
+
"""
|
|
220
|
+
The number of replicas of Kafka Rest Proxy.
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "kafka_rest_proxy_replica")
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
@pulumi.getter(name="kafkaStorage")
|
|
226
|
+
def kafka_storage(self) -> Optional[builtins.int]:
|
|
227
|
+
"""
|
|
228
|
+
The disk capacity of the Kafka broker.
|
|
229
|
+
"""
|
|
230
|
+
return pulumi.get(self, "kafka_storage")
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
@pulumi.getter(name="ksqlCu")
|
|
234
|
+
def ksql_cu(self) -> Optional[builtins.int]:
|
|
235
|
+
"""
|
|
236
|
+
The number of CPU cores of ksqlDB.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "ksql_cu")
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
@pulumi.getter(name="ksqlReplica")
|
|
242
|
+
def ksql_replica(self) -> Optional[builtins.int]:
|
|
243
|
+
"""
|
|
244
|
+
The number of replicas of ksqlDB.
|
|
245
|
+
"""
|
|
246
|
+
return pulumi.get(self, "ksql_replica")
|
|
247
|
+
|
|
248
|
+
@property
|
|
249
|
+
@pulumi.getter(name="ksqlStorage")
|
|
250
|
+
def ksql_storage(self) -> Optional[builtins.int]:
|
|
251
|
+
"""
|
|
252
|
+
The disk capacity of ksqlDB.
|
|
253
|
+
"""
|
|
254
|
+
return pulumi.get(self, "ksql_storage")
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
@pulumi.getter(name="schemaRegistryCu")
|
|
258
|
+
def schema_registry_cu(self) -> Optional[builtins.int]:
|
|
259
|
+
"""
|
|
260
|
+
The number of CPU cores of Schema Registry.
|
|
261
|
+
"""
|
|
262
|
+
return pulumi.get(self, "schema_registry_cu")
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter(name="schemaRegistryReplica")
|
|
266
|
+
def schema_registry_replica(self) -> Optional[builtins.int]:
|
|
267
|
+
"""
|
|
268
|
+
The number of replicas of Schema Registry.
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "schema_registry_replica")
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter(name="zookeeperCu")
|
|
274
|
+
def zookeeper_cu(self) -> Optional[builtins.int]:
|
|
275
|
+
"""
|
|
276
|
+
The number of CPU cores of ZooKeeper.
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "zookeeper_cu")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter(name="zookeeperReplica")
|
|
282
|
+
def zookeeper_replica(self) -> Optional[builtins.int]:
|
|
283
|
+
"""
|
|
284
|
+
The number of replicas of ZooKeeper.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "zookeeper_replica")
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter(name="zookeeperStorage")
|
|
290
|
+
def zookeeper_storage(self) -> Optional[builtins.int]:
|
|
291
|
+
"""
|
|
292
|
+
The disk capacity of ZooKeeper.
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "zookeeper_storage")
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
@pulumi.output_type
|
|
298
|
+
class InstanceServerlessConfig(dict):
|
|
299
|
+
@staticmethod
|
|
300
|
+
def __key_warning(key: str):
|
|
301
|
+
suggest = None
|
|
302
|
+
if key == "reservedPublishCapacity":
|
|
303
|
+
suggest = "reserved_publish_capacity"
|
|
304
|
+
elif key == "reservedSubscribeCapacity":
|
|
305
|
+
suggest = "reserved_subscribe_capacity"
|
|
306
|
+
|
|
307
|
+
if suggest:
|
|
308
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceServerlessConfig. Access the value via the '{suggest}' property getter instead.")
|
|
309
|
+
|
|
310
|
+
def __getitem__(self, key: str) -> Any:
|
|
311
|
+
InstanceServerlessConfig.__key_warning(key)
|
|
312
|
+
return super().__getitem__(key)
|
|
313
|
+
|
|
314
|
+
def get(self, key: str, default = None) -> Any:
|
|
315
|
+
InstanceServerlessConfig.__key_warning(key)
|
|
316
|
+
return super().get(key, default)
|
|
317
|
+
|
|
318
|
+
def __init__(__self__, *,
|
|
319
|
+
reserved_publish_capacity: Optional[builtins.int] = None,
|
|
320
|
+
reserved_subscribe_capacity: Optional[builtins.int] = None):
|
|
321
|
+
"""
|
|
322
|
+
:param builtins.int reserved_publish_capacity: The reserved capacity for publishing messages.
|
|
323
|
+
:param builtins.int reserved_subscribe_capacity: The reserved capacity for subscribing to message.
|
|
324
|
+
"""
|
|
325
|
+
if reserved_publish_capacity is not None:
|
|
326
|
+
pulumi.set(__self__, "reserved_publish_capacity", reserved_publish_capacity)
|
|
327
|
+
if reserved_subscribe_capacity is not None:
|
|
328
|
+
pulumi.set(__self__, "reserved_subscribe_capacity", reserved_subscribe_capacity)
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
@pulumi.getter(name="reservedPublishCapacity")
|
|
332
|
+
def reserved_publish_capacity(self) -> Optional[builtins.int]:
|
|
333
|
+
"""
|
|
334
|
+
The reserved capacity for publishing messages.
|
|
335
|
+
"""
|
|
336
|
+
return pulumi.get(self, "reserved_publish_capacity")
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@pulumi.getter(name="reservedSubscribeCapacity")
|
|
340
|
+
def reserved_subscribe_capacity(self) -> Optional[builtins.int]:
|
|
341
|
+
"""
|
|
342
|
+
The reserved capacity for subscribing to message.
|
|
343
|
+
"""
|
|
344
|
+
return pulumi.get(self, "reserved_subscribe_capacity")
|
|
345
|
+
|
|
346
|
+
|
|
@@ -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')))
|