pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__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.
- pulumi_alicloud/__init__.py +83 -0
- pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- pulumi_alicloud/alikafka/topic.py +278 -85
- pulumi_alicloud/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/cen/get_transit_router_peer_attachments.py +20 -0
- pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cloudsso/__init__.py +1 -0
- pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
- pulumi_alicloud/cloudsso/outputs.py +228 -0
- pulumi_alicloud/cloudsso/user.py +247 -80
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/cs/managed_kubernetes.py +6 -2
- pulumi_alicloud/ddos/domain_resource.py +89 -0
- pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eais/get_instances.py +8 -0
- pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/edas/get_deploy_groups.py +4 -0
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/emrv2/get_clusters.py +260 -0
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3774 -991
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
- pulumi_alicloud/esa/https_application_configuration.py +188 -0
- pulumi_alicloud/esa/https_basic_configuration.py +54 -7
- pulumi_alicloud/esa/image_transform.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/network_optimization.py +82 -21
- pulumi_alicloud/esa/origin_rule.py +470 -14
- pulumi_alicloud/esa/outputs.py +2080 -0
- pulumi_alicloud/esa/rate_plan_instance.py +64 -39
- pulumi_alicloud/esa/redirect_rule.py +68 -21
- pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
- pulumi_alicloud/esa/waf_rule.py +510 -0
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/_inputs.py +256 -0
- pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
- pulumi_alicloud/ess/attachment.py +10 -6
- pulumi_alicloud/ess/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/ess/scaling_configuration.py +2 -2
- pulumi_alicloud/ess/scaling_group.py +94 -0
- pulumi_alicloud/ess/server_group_attachment.py +2 -2
- pulumi_alicloud/ess/suspend_process.py +2 -2
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
- pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
- pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
- pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/gpdb/get_zones.py +24 -0
- pulumi_alicloud/hbase/get_instance_types.py +32 -0
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +18 -18
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/log/_inputs.py +29 -9
- pulumi_alicloud/log/etl.py +56 -9
- pulumi_alicloud/log/get_projects.py +24 -0
- pulumi_alicloud/log/outputs.py +18 -6
- pulumi_alicloud/marketplace/get_products.py +26 -0
- pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
- pulumi_alicloud/nas/get_access_rules.py +26 -0
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/ots/get_search_indexes.py +26 -0
- pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
- pulumi_alicloud/polardb/__init__.py +3 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/ram/get_policies.py +95 -81
- pulumi_alicloud/ram/get_roles.py +108 -31
- pulumi_alicloud/ram/outputs.py +64 -42
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/get_policies.py +4 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +694 -0
- pulumi_alicloud/resourcemanager/resource_share.py +341 -11
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/get_ingresses.py +122 -0
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/scdn/domain_config.py +56 -0
- pulumi_alicloud/servicemesh/extension_provider.py +138 -0
- pulumi_alicloud/servicemesh/user_permission.py +90 -0
- pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/bgp_group.py +250 -53
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/vpc/vbr_ha.py +127 -46
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/top_level.txt +0 -0
|
@@ -27,10 +27,10 @@ class EventSourceArgs:
|
|
|
27
27
|
linked_external_source: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a EventSource resource.
|
|
30
|
-
:param pulumi.Input[_builtins.str] event_bus_name: The name of event bus.
|
|
31
|
-
:param pulumi.Input[_builtins.str] event_source_name: The
|
|
32
|
-
:param pulumi.Input[_builtins.str] description: The
|
|
33
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The
|
|
30
|
+
:param pulumi.Input[_builtins.str] event_bus_name: The name of the event bus to which the event source is attached.
|
|
31
|
+
:param pulumi.Input[_builtins.str] event_source_name: The name of the event source.
|
|
32
|
+
:param pulumi.Input[_builtins.str] description: The description of the event source.
|
|
33
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The configuration of the external data source.
|
|
34
34
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
35
35
|
`RegionId` - The region ID of RabbitMQ.
|
|
36
36
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -44,8 +44,8 @@ class EventSourceArgs:
|
|
|
44
44
|
`GroupID` - The group ID of consumer.
|
|
45
45
|
When `external_source_type` is `MNS`, The following attributes are supported:
|
|
46
46
|
`QueueName` - The queue name of MNS.
|
|
47
|
-
:param pulumi.Input[_builtins.str] external_source_type: The type of external data source. Valid
|
|
48
|
-
:param pulumi.Input[_builtins.bool] linked_external_source:
|
|
47
|
+
:param pulumi.Input[_builtins.str] external_source_type: The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
48
|
+
:param pulumi.Input[_builtins.bool] linked_external_source: Specifies whether to connect to an external data source. Default value: `false`.
|
|
49
49
|
"""
|
|
50
50
|
pulumi.set(__self__, "event_bus_name", event_bus_name)
|
|
51
51
|
pulumi.set(__self__, "event_source_name", event_source_name)
|
|
@@ -62,7 +62,7 @@ class EventSourceArgs:
|
|
|
62
62
|
@pulumi.getter(name="eventBusName")
|
|
63
63
|
def event_bus_name(self) -> pulumi.Input[_builtins.str]:
|
|
64
64
|
"""
|
|
65
|
-
The name of event bus.
|
|
65
|
+
The name of the event bus to which the event source is attached.
|
|
66
66
|
"""
|
|
67
67
|
return pulumi.get(self, "event_bus_name")
|
|
68
68
|
|
|
@@ -74,7 +74,7 @@ class EventSourceArgs:
|
|
|
74
74
|
@pulumi.getter(name="eventSourceName")
|
|
75
75
|
def event_source_name(self) -> pulumi.Input[_builtins.str]:
|
|
76
76
|
"""
|
|
77
|
-
The
|
|
77
|
+
The name of the event source.
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "event_source_name")
|
|
80
80
|
|
|
@@ -86,7 +86,7 @@ class EventSourceArgs:
|
|
|
86
86
|
@pulumi.getter
|
|
87
87
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
88
|
"""
|
|
89
|
-
The
|
|
89
|
+
The description of the event source.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "description")
|
|
92
92
|
|
|
@@ -98,7 +98,7 @@ class EventSourceArgs:
|
|
|
98
98
|
@pulumi.getter(name="externalSourceConfig")
|
|
99
99
|
def external_source_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
100
100
|
"""
|
|
101
|
-
The
|
|
101
|
+
The configuration of the external data source.
|
|
102
102
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
103
103
|
`RegionId` - The region ID of RabbitMQ.
|
|
104
104
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -123,7 +123,7 @@ class EventSourceArgs:
|
|
|
123
123
|
@pulumi.getter(name="externalSourceType")
|
|
124
124
|
def external_source_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
125
125
|
"""
|
|
126
|
-
The type of external data source. Valid
|
|
126
|
+
The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "external_source_type")
|
|
129
129
|
|
|
@@ -135,7 +135,7 @@ class EventSourceArgs:
|
|
|
135
135
|
@pulumi.getter(name="linkedExternalSource")
|
|
136
136
|
def linked_external_source(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
137
137
|
"""
|
|
138
|
-
|
|
138
|
+
Specifies whether to connect to an external data source. Default value: `false`.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "linked_external_source")
|
|
141
141
|
|
|
@@ -155,10 +155,10 @@ class _EventSourceState:
|
|
|
155
155
|
linked_external_source: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
156
156
|
"""
|
|
157
157
|
Input properties used for looking up and filtering EventSource resources.
|
|
158
|
-
:param pulumi.Input[_builtins.str] description: The
|
|
159
|
-
:param pulumi.Input[_builtins.str] event_bus_name: The name of event bus.
|
|
160
|
-
:param pulumi.Input[_builtins.str] event_source_name: The
|
|
161
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The
|
|
158
|
+
:param pulumi.Input[_builtins.str] description: The description of the event source.
|
|
159
|
+
:param pulumi.Input[_builtins.str] event_bus_name: The name of the event bus to which the event source is attached.
|
|
160
|
+
:param pulumi.Input[_builtins.str] event_source_name: The name of the event source.
|
|
161
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The configuration of the external data source.
|
|
162
162
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
163
163
|
`RegionId` - The region ID of RabbitMQ.
|
|
164
164
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -172,8 +172,8 @@ class _EventSourceState:
|
|
|
172
172
|
`GroupID` - The group ID of consumer.
|
|
173
173
|
When `external_source_type` is `MNS`, The following attributes are supported:
|
|
174
174
|
`QueueName` - The queue name of MNS.
|
|
175
|
-
:param pulumi.Input[_builtins.str] external_source_type: The type of external data source. Valid
|
|
176
|
-
:param pulumi.Input[_builtins.bool] linked_external_source:
|
|
175
|
+
:param pulumi.Input[_builtins.str] external_source_type: The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
176
|
+
:param pulumi.Input[_builtins.bool] linked_external_source: Specifies whether to connect to an external data source. Default value: `false`.
|
|
177
177
|
"""
|
|
178
178
|
if description is not None:
|
|
179
179
|
pulumi.set(__self__, "description", description)
|
|
@@ -192,7 +192,7 @@ class _EventSourceState:
|
|
|
192
192
|
@pulumi.getter
|
|
193
193
|
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
194
194
|
"""
|
|
195
|
-
The
|
|
195
|
+
The description of the event source.
|
|
196
196
|
"""
|
|
197
197
|
return pulumi.get(self, "description")
|
|
198
198
|
|
|
@@ -204,7 +204,7 @@ class _EventSourceState:
|
|
|
204
204
|
@pulumi.getter(name="eventBusName")
|
|
205
205
|
def event_bus_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
206
206
|
"""
|
|
207
|
-
The name of event bus.
|
|
207
|
+
The name of the event bus to which the event source is attached.
|
|
208
208
|
"""
|
|
209
209
|
return pulumi.get(self, "event_bus_name")
|
|
210
210
|
|
|
@@ -216,7 +216,7 @@ class _EventSourceState:
|
|
|
216
216
|
@pulumi.getter(name="eventSourceName")
|
|
217
217
|
def event_source_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
218
218
|
"""
|
|
219
|
-
The
|
|
219
|
+
The name of the event source.
|
|
220
220
|
"""
|
|
221
221
|
return pulumi.get(self, "event_source_name")
|
|
222
222
|
|
|
@@ -228,7 +228,7 @@ class _EventSourceState:
|
|
|
228
228
|
@pulumi.getter(name="externalSourceConfig")
|
|
229
229
|
def external_source_config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
230
230
|
"""
|
|
231
|
-
The
|
|
231
|
+
The configuration of the external data source.
|
|
232
232
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
233
233
|
`RegionId` - The region ID of RabbitMQ.
|
|
234
234
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -253,7 +253,7 @@ class _EventSourceState:
|
|
|
253
253
|
@pulumi.getter(name="externalSourceType")
|
|
254
254
|
def external_source_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
255
255
|
"""
|
|
256
|
-
The type of external data source. Valid
|
|
256
|
+
The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
257
257
|
"""
|
|
258
258
|
return pulumi.get(self, "external_source_type")
|
|
259
259
|
|
|
@@ -265,7 +265,7 @@ class _EventSourceState:
|
|
|
265
265
|
@pulumi.getter(name="linkedExternalSource")
|
|
266
266
|
def linked_external_source(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
267
267
|
"""
|
|
268
|
-
|
|
268
|
+
Specifies whether to connect to an external data source. Default value: `false`.
|
|
269
269
|
"""
|
|
270
270
|
return pulumi.get(self, "linked_external_source")
|
|
271
271
|
|
|
@@ -306,20 +306,20 @@ class EventSource(pulumi.CustomResource):
|
|
|
306
306
|
config = pulumi.Config()
|
|
307
307
|
name = config.get("name")
|
|
308
308
|
if name is None:
|
|
309
|
-
name = "
|
|
309
|
+
name = "terraform-example"
|
|
310
310
|
default = random.index.Integer("default",
|
|
311
311
|
min=10000,
|
|
312
312
|
max=99999)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
event_bus_name=
|
|
317
|
-
event_source_name=name,
|
|
313
|
+
default_queue = alicloud.mns.Queue("default", name=f"{name}-{default['result']}")
|
|
314
|
+
default_event_bus = alicloud.eventbridge.EventBus("default", event_bus_name=f"{name}-{default['result']}")
|
|
315
|
+
default_event_source = alicloud.eventbridge.EventSource("default",
|
|
316
|
+
event_bus_name=default_event_bus.event_bus_name,
|
|
317
|
+
event_source_name=f"{name}-{default['result']}",
|
|
318
318
|
description=name,
|
|
319
319
|
linked_external_source=True,
|
|
320
320
|
external_source_type="MNS",
|
|
321
321
|
external_source_config={
|
|
322
|
-
"QueueName":
|
|
322
|
+
"QueueName": default_queue.name,
|
|
323
323
|
})
|
|
324
324
|
```
|
|
325
325
|
|
|
@@ -333,10 +333,10 @@ class EventSource(pulumi.CustomResource):
|
|
|
333
333
|
|
|
334
334
|
:param str resource_name: The name of the resource.
|
|
335
335
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
336
|
-
:param pulumi.Input[_builtins.str] description: The
|
|
337
|
-
:param pulumi.Input[_builtins.str] event_bus_name: The name of event bus.
|
|
338
|
-
:param pulumi.Input[_builtins.str] event_source_name: The
|
|
339
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The
|
|
336
|
+
:param pulumi.Input[_builtins.str] description: The description of the event source.
|
|
337
|
+
:param pulumi.Input[_builtins.str] event_bus_name: The name of the event bus to which the event source is attached.
|
|
338
|
+
:param pulumi.Input[_builtins.str] event_source_name: The name of the event source.
|
|
339
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The configuration of the external data source.
|
|
340
340
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
341
341
|
`RegionId` - The region ID of RabbitMQ.
|
|
342
342
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -350,8 +350,8 @@ class EventSource(pulumi.CustomResource):
|
|
|
350
350
|
`GroupID` - The group ID of consumer.
|
|
351
351
|
When `external_source_type` is `MNS`, The following attributes are supported:
|
|
352
352
|
`QueueName` - The queue name of MNS.
|
|
353
|
-
:param pulumi.Input[_builtins.str] external_source_type: The type of external data source. Valid
|
|
354
|
-
:param pulumi.Input[_builtins.bool] linked_external_source:
|
|
353
|
+
:param pulumi.Input[_builtins.str] external_source_type: The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
354
|
+
:param pulumi.Input[_builtins.bool] linked_external_source: Specifies whether to connect to an external data source. Default value: `false`.
|
|
355
355
|
"""
|
|
356
356
|
...
|
|
357
357
|
@overload
|
|
@@ -378,20 +378,20 @@ class EventSource(pulumi.CustomResource):
|
|
|
378
378
|
config = pulumi.Config()
|
|
379
379
|
name = config.get("name")
|
|
380
380
|
if name is None:
|
|
381
|
-
name = "
|
|
381
|
+
name = "terraform-example"
|
|
382
382
|
default = random.index.Integer("default",
|
|
383
383
|
min=10000,
|
|
384
384
|
max=99999)
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
event_bus_name=
|
|
389
|
-
event_source_name=name,
|
|
385
|
+
default_queue = alicloud.mns.Queue("default", name=f"{name}-{default['result']}")
|
|
386
|
+
default_event_bus = alicloud.eventbridge.EventBus("default", event_bus_name=f"{name}-{default['result']}")
|
|
387
|
+
default_event_source = alicloud.eventbridge.EventSource("default",
|
|
388
|
+
event_bus_name=default_event_bus.event_bus_name,
|
|
389
|
+
event_source_name=f"{name}-{default['result']}",
|
|
390
390
|
description=name,
|
|
391
391
|
linked_external_source=True,
|
|
392
392
|
external_source_type="MNS",
|
|
393
393
|
external_source_config={
|
|
394
|
-
"QueueName":
|
|
394
|
+
"QueueName": default_queue.name,
|
|
395
395
|
})
|
|
396
396
|
```
|
|
397
397
|
|
|
@@ -466,10 +466,10 @@ class EventSource(pulumi.CustomResource):
|
|
|
466
466
|
:param str resource_name: The unique name of the resulting resource.
|
|
467
467
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
468
468
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
469
|
-
:param pulumi.Input[_builtins.str] description: The
|
|
470
|
-
:param pulumi.Input[_builtins.str] event_bus_name: The name of event bus.
|
|
471
|
-
:param pulumi.Input[_builtins.str] event_source_name: The
|
|
472
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The
|
|
469
|
+
:param pulumi.Input[_builtins.str] description: The description of the event source.
|
|
470
|
+
:param pulumi.Input[_builtins.str] event_bus_name: The name of the event bus to which the event source is attached.
|
|
471
|
+
:param pulumi.Input[_builtins.str] event_source_name: The name of the event source.
|
|
472
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] external_source_config: The configuration of the external data source.
|
|
473
473
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
474
474
|
`RegionId` - The region ID of RabbitMQ.
|
|
475
475
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -483,8 +483,8 @@ class EventSource(pulumi.CustomResource):
|
|
|
483
483
|
`GroupID` - The group ID of consumer.
|
|
484
484
|
When `external_source_type` is `MNS`, The following attributes are supported:
|
|
485
485
|
`QueueName` - The queue name of MNS.
|
|
486
|
-
:param pulumi.Input[_builtins.str] external_source_type: The type of external data source. Valid
|
|
487
|
-
:param pulumi.Input[_builtins.bool] linked_external_source:
|
|
486
|
+
:param pulumi.Input[_builtins.str] external_source_type: The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
487
|
+
:param pulumi.Input[_builtins.bool] linked_external_source: Specifies whether to connect to an external data source. Default value: `false`.
|
|
488
488
|
"""
|
|
489
489
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
490
490
|
|
|
@@ -502,7 +502,7 @@ class EventSource(pulumi.CustomResource):
|
|
|
502
502
|
@pulumi.getter
|
|
503
503
|
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
504
504
|
"""
|
|
505
|
-
The
|
|
505
|
+
The description of the event source.
|
|
506
506
|
"""
|
|
507
507
|
return pulumi.get(self, "description")
|
|
508
508
|
|
|
@@ -510,7 +510,7 @@ class EventSource(pulumi.CustomResource):
|
|
|
510
510
|
@pulumi.getter(name="eventBusName")
|
|
511
511
|
def event_bus_name(self) -> pulumi.Output[_builtins.str]:
|
|
512
512
|
"""
|
|
513
|
-
The name of event bus.
|
|
513
|
+
The name of the event bus to which the event source is attached.
|
|
514
514
|
"""
|
|
515
515
|
return pulumi.get(self, "event_bus_name")
|
|
516
516
|
|
|
@@ -518,7 +518,7 @@ class EventSource(pulumi.CustomResource):
|
|
|
518
518
|
@pulumi.getter(name="eventSourceName")
|
|
519
519
|
def event_source_name(self) -> pulumi.Output[_builtins.str]:
|
|
520
520
|
"""
|
|
521
|
-
The
|
|
521
|
+
The name of the event source.
|
|
522
522
|
"""
|
|
523
523
|
return pulumi.get(self, "event_source_name")
|
|
524
524
|
|
|
@@ -526,7 +526,7 @@ class EventSource(pulumi.CustomResource):
|
|
|
526
526
|
@pulumi.getter(name="externalSourceConfig")
|
|
527
527
|
def external_source_config(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
528
528
|
"""
|
|
529
|
-
The
|
|
529
|
+
The configuration of the external data source.
|
|
530
530
|
When `external_source_type` is `RabbitMQ`, The following attributes are supported:
|
|
531
531
|
`RegionId` - The region ID of RabbitMQ.
|
|
532
532
|
`InstanceId` - The instance ID of RabbitMQ.
|
|
@@ -547,15 +547,15 @@ class EventSource(pulumi.CustomResource):
|
|
|
547
547
|
@pulumi.getter(name="externalSourceType")
|
|
548
548
|
def external_source_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
549
549
|
"""
|
|
550
|
-
The type of external data source. Valid
|
|
550
|
+
The type of the external data source. Valid values: `RabbitMQ`, `RocketMQ` and `MNS`.
|
|
551
551
|
"""
|
|
552
552
|
return pulumi.get(self, "external_source_type")
|
|
553
553
|
|
|
554
554
|
@_builtins.property
|
|
555
555
|
@pulumi.getter(name="linkedExternalSource")
|
|
556
|
-
def linked_external_source(self) -> pulumi.Output[_builtins.bool]:
|
|
556
|
+
def linked_external_source(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
557
557
|
"""
|
|
558
|
-
|
|
558
|
+
Specifies whether to connect to an external data source. Default value: `false`.
|
|
559
559
|
"""
|
|
560
560
|
return pulumi.get(self, "linked_external_source")
|
|
561
561
|
|
|
@@ -195,6 +195,8 @@ def get_virtual_physical_connections(business_status: Optional[_builtins.str] =
|
|
|
195
195
|
|
|
196
196
|
> **NOTE:** Available in 1.196.0+
|
|
197
197
|
|
|
198
|
+
## Example Usage
|
|
199
|
+
|
|
198
200
|
|
|
199
201
|
:param _builtins.str business_status: The commercial status of the physical line. Value:
|
|
200
202
|
- **Normal**: activated.
|
|
@@ -256,6 +258,8 @@ def get_virtual_physical_connections_output(business_status: Optional[pulumi.Inp
|
|
|
256
258
|
|
|
257
259
|
> **NOTE:** Available in 1.196.0+
|
|
258
260
|
|
|
261
|
+
## Example Usage
|
|
262
|
+
|
|
259
263
|
|
|
260
264
|
:param _builtins.str business_status: The commercial status of the physical line. Value:
|
|
261
265
|
- **Normal**: activated.
|