pulumi-alicloud 3.87.0a1760678219__py3-none-any.whl → 3.88.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 +83 -0
- pulumi_alicloud/adb/resource_group.py +463 -3
- 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_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/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/dts/instance.py +14 -14
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/eflo/node.py +153 -15
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/_inputs.py +3759 -996
- 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/load_balancer.py +999 -0
- pulumi_alicloud/esa/outputs.py +2068 -0
- 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/instance_refresh.py +760 -0
- pulumi_alicloud/ess/outputs.py +203 -0
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- 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/kvstore/account.py +14 -14
- 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/outputs.py +18 -6
- 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/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/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +799 -0
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -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/outputs.py +42 -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/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.87.0a1760678219.dist-info → pulumi_alicloud-3.88.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.87.0a1760678219.dist-info → pulumi_alicloud-3.88.0.dist-info}/RECORD +92 -76
- {pulumi_alicloud-3.87.0a1760678219.dist-info → pulumi_alicloud-3.88.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.87.0a1760678219.dist-info → pulumi_alicloud-3.88.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ess/outputs.py
CHANGED
|
@@ -32,6 +32,10 @@ __all__ = [
|
|
|
32
32
|
'EciScalingConfigurationSecurityContextSysctl',
|
|
33
33
|
'EciScalingConfigurationVolume',
|
|
34
34
|
'EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath',
|
|
35
|
+
'InstanceRefreshCheckpoint',
|
|
36
|
+
'InstanceRefreshDesiredConfigurationContainer',
|
|
37
|
+
'InstanceRefreshDesiredConfigurationContainerEnvironmentVar',
|
|
38
|
+
'InstanceRefreshDesiredConfigurationLaunchTemplateOverride',
|
|
35
39
|
'ScalingConfigurationCustomPriority',
|
|
36
40
|
'ScalingConfigurationDataDisk',
|
|
37
41
|
'ScalingConfigurationInstancePatternInfo',
|
|
@@ -1717,6 +1721,205 @@ class EciScalingConfigurationVolumeConfigFileVolumeConfigFileToPath(dict):
|
|
|
1717
1721
|
return pulumi.get(self, "path")
|
|
1718
1722
|
|
|
1719
1723
|
|
|
1724
|
+
@pulumi.output_type
|
|
1725
|
+
class InstanceRefreshCheckpoint(dict):
|
|
1726
|
+
def __init__(__self__, *,
|
|
1727
|
+
percentage: Optional[_builtins.int] = None):
|
|
1728
|
+
"""
|
|
1729
|
+
:param _builtins.int percentage: The percentage of new instances out of the total instances in the scaling group. The task automatically pauses when this percentage is reached.
|
|
1730
|
+
"""
|
|
1731
|
+
if percentage is not None:
|
|
1732
|
+
pulumi.set(__self__, "percentage", percentage)
|
|
1733
|
+
|
|
1734
|
+
@_builtins.property
|
|
1735
|
+
@pulumi.getter
|
|
1736
|
+
def percentage(self) -> Optional[_builtins.int]:
|
|
1737
|
+
"""
|
|
1738
|
+
The percentage of new instances out of the total instances in the scaling group. The task automatically pauses when this percentage is reached.
|
|
1739
|
+
"""
|
|
1740
|
+
return pulumi.get(self, "percentage")
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
@pulumi.output_type
|
|
1744
|
+
class InstanceRefreshDesiredConfigurationContainer(dict):
|
|
1745
|
+
@staticmethod
|
|
1746
|
+
def __key_warning(key: str):
|
|
1747
|
+
suggest = None
|
|
1748
|
+
if key == "environmentVars":
|
|
1749
|
+
suggest = "environment_vars"
|
|
1750
|
+
|
|
1751
|
+
if suggest:
|
|
1752
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationContainer. Access the value via the '{suggest}' property getter instead.")
|
|
1753
|
+
|
|
1754
|
+
def __getitem__(self, key: str) -> Any:
|
|
1755
|
+
InstanceRefreshDesiredConfigurationContainer.__key_warning(key)
|
|
1756
|
+
return super().__getitem__(key)
|
|
1757
|
+
|
|
1758
|
+
def get(self, key: str, default = None) -> Any:
|
|
1759
|
+
InstanceRefreshDesiredConfigurationContainer.__key_warning(key)
|
|
1760
|
+
return super().get(key, default)
|
|
1761
|
+
|
|
1762
|
+
def __init__(__self__, *,
|
|
1763
|
+
args: Optional[Sequence[_builtins.str]] = None,
|
|
1764
|
+
commands: Optional[Sequence[_builtins.str]] = None,
|
|
1765
|
+
environment_vars: Optional[Sequence['outputs.InstanceRefreshDesiredConfigurationContainerEnvironmentVar']] = None,
|
|
1766
|
+
image: Optional[_builtins.str] = None,
|
|
1767
|
+
name: Optional[_builtins.str] = None):
|
|
1768
|
+
"""
|
|
1769
|
+
:param Sequence[_builtins.str] args: The arguments for the container startup command.
|
|
1770
|
+
:param Sequence[_builtins.str] commands: The container startup command.
|
|
1771
|
+
:param Sequence['InstanceRefreshDesiredConfigurationContainerEnvironmentVarArgs'] environment_vars: Information about the environment variables. See `environment_vars` below for details.
|
|
1772
|
+
:param _builtins.str image: The container image.
|
|
1773
|
+
:param _builtins.str name: The custom name of the container.
|
|
1774
|
+
"""
|
|
1775
|
+
if args is not None:
|
|
1776
|
+
pulumi.set(__self__, "args", args)
|
|
1777
|
+
if commands is not None:
|
|
1778
|
+
pulumi.set(__self__, "commands", commands)
|
|
1779
|
+
if environment_vars is not None:
|
|
1780
|
+
pulumi.set(__self__, "environment_vars", environment_vars)
|
|
1781
|
+
if image is not None:
|
|
1782
|
+
pulumi.set(__self__, "image", image)
|
|
1783
|
+
if name is not None:
|
|
1784
|
+
pulumi.set(__self__, "name", name)
|
|
1785
|
+
|
|
1786
|
+
@_builtins.property
|
|
1787
|
+
@pulumi.getter
|
|
1788
|
+
def args(self) -> Optional[Sequence[_builtins.str]]:
|
|
1789
|
+
"""
|
|
1790
|
+
The arguments for the container startup command.
|
|
1791
|
+
"""
|
|
1792
|
+
return pulumi.get(self, "args")
|
|
1793
|
+
|
|
1794
|
+
@_builtins.property
|
|
1795
|
+
@pulumi.getter
|
|
1796
|
+
def commands(self) -> Optional[Sequence[_builtins.str]]:
|
|
1797
|
+
"""
|
|
1798
|
+
The container startup command.
|
|
1799
|
+
"""
|
|
1800
|
+
return pulumi.get(self, "commands")
|
|
1801
|
+
|
|
1802
|
+
@_builtins.property
|
|
1803
|
+
@pulumi.getter(name="environmentVars")
|
|
1804
|
+
def environment_vars(self) -> Optional[Sequence['outputs.InstanceRefreshDesiredConfigurationContainerEnvironmentVar']]:
|
|
1805
|
+
"""
|
|
1806
|
+
Information about the environment variables. See `environment_vars` below for details.
|
|
1807
|
+
"""
|
|
1808
|
+
return pulumi.get(self, "environment_vars")
|
|
1809
|
+
|
|
1810
|
+
@_builtins.property
|
|
1811
|
+
@pulumi.getter
|
|
1812
|
+
def image(self) -> Optional[_builtins.str]:
|
|
1813
|
+
"""
|
|
1814
|
+
The container image.
|
|
1815
|
+
"""
|
|
1816
|
+
return pulumi.get(self, "image")
|
|
1817
|
+
|
|
1818
|
+
@_builtins.property
|
|
1819
|
+
@pulumi.getter
|
|
1820
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1821
|
+
"""
|
|
1822
|
+
The custom name of the container.
|
|
1823
|
+
"""
|
|
1824
|
+
return pulumi.get(self, "name")
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
@pulumi.output_type
|
|
1828
|
+
class InstanceRefreshDesiredConfigurationContainerEnvironmentVar(dict):
|
|
1829
|
+
@staticmethod
|
|
1830
|
+
def __key_warning(key: str):
|
|
1831
|
+
suggest = None
|
|
1832
|
+
if key == "fieldRefFieldPath":
|
|
1833
|
+
suggest = "field_ref_field_path"
|
|
1834
|
+
|
|
1835
|
+
if suggest:
|
|
1836
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationContainerEnvironmentVar. Access the value via the '{suggest}' property getter instead.")
|
|
1837
|
+
|
|
1838
|
+
def __getitem__(self, key: str) -> Any:
|
|
1839
|
+
InstanceRefreshDesiredConfigurationContainerEnvironmentVar.__key_warning(key)
|
|
1840
|
+
return super().__getitem__(key)
|
|
1841
|
+
|
|
1842
|
+
def get(self, key: str, default = None) -> Any:
|
|
1843
|
+
InstanceRefreshDesiredConfigurationContainerEnvironmentVar.__key_warning(key)
|
|
1844
|
+
return super().get(key, default)
|
|
1845
|
+
|
|
1846
|
+
def __init__(__self__, *,
|
|
1847
|
+
field_ref_field_path: Optional[_builtins.str] = None,
|
|
1848
|
+
key: Optional[_builtins.str] = None,
|
|
1849
|
+
value: Optional[_builtins.str] = None):
|
|
1850
|
+
"""
|
|
1851
|
+
:param _builtins.str field_ref_field_path: This parameter is not available for use.
|
|
1852
|
+
:param _builtins.str key: The name of the environment variable.
|
|
1853
|
+
:param _builtins.str value: The value of the environment variable.
|
|
1854
|
+
"""
|
|
1855
|
+
if field_ref_field_path is not None:
|
|
1856
|
+
pulumi.set(__self__, "field_ref_field_path", field_ref_field_path)
|
|
1857
|
+
if key is not None:
|
|
1858
|
+
pulumi.set(__self__, "key", key)
|
|
1859
|
+
if value is not None:
|
|
1860
|
+
pulumi.set(__self__, "value", value)
|
|
1861
|
+
|
|
1862
|
+
@_builtins.property
|
|
1863
|
+
@pulumi.getter(name="fieldRefFieldPath")
|
|
1864
|
+
def field_ref_field_path(self) -> Optional[_builtins.str]:
|
|
1865
|
+
"""
|
|
1866
|
+
This parameter is not available for use.
|
|
1867
|
+
"""
|
|
1868
|
+
return pulumi.get(self, "field_ref_field_path")
|
|
1869
|
+
|
|
1870
|
+
@_builtins.property
|
|
1871
|
+
@pulumi.getter
|
|
1872
|
+
def key(self) -> Optional[_builtins.str]:
|
|
1873
|
+
"""
|
|
1874
|
+
The name of the environment variable.
|
|
1875
|
+
"""
|
|
1876
|
+
return pulumi.get(self, "key")
|
|
1877
|
+
|
|
1878
|
+
@_builtins.property
|
|
1879
|
+
@pulumi.getter
|
|
1880
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1881
|
+
"""
|
|
1882
|
+
The value of the environment variable.
|
|
1883
|
+
"""
|
|
1884
|
+
return pulumi.get(self, "value")
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
@pulumi.output_type
|
|
1888
|
+
class InstanceRefreshDesiredConfigurationLaunchTemplateOverride(dict):
|
|
1889
|
+
@staticmethod
|
|
1890
|
+
def __key_warning(key: str):
|
|
1891
|
+
suggest = None
|
|
1892
|
+
if key == "instanceType":
|
|
1893
|
+
suggest = "instance_type"
|
|
1894
|
+
|
|
1895
|
+
if suggest:
|
|
1896
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceRefreshDesiredConfigurationLaunchTemplateOverride. Access the value via the '{suggest}' property getter instead.")
|
|
1897
|
+
|
|
1898
|
+
def __getitem__(self, key: str) -> Any:
|
|
1899
|
+
InstanceRefreshDesiredConfigurationLaunchTemplateOverride.__key_warning(key)
|
|
1900
|
+
return super().__getitem__(key)
|
|
1901
|
+
|
|
1902
|
+
def get(self, key: str, default = None) -> Any:
|
|
1903
|
+
InstanceRefreshDesiredConfigurationLaunchTemplateOverride.__key_warning(key)
|
|
1904
|
+
return super().get(key, default)
|
|
1905
|
+
|
|
1906
|
+
def __init__(__self__, *,
|
|
1907
|
+
instance_type: Optional[_builtins.str] = None):
|
|
1908
|
+
"""
|
|
1909
|
+
:param _builtins.str instance_type: The specified instance type, which overwrites the instance type in the launch template.
|
|
1910
|
+
"""
|
|
1911
|
+
if instance_type is not None:
|
|
1912
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
|
1913
|
+
|
|
1914
|
+
@_builtins.property
|
|
1915
|
+
@pulumi.getter(name="instanceType")
|
|
1916
|
+
def instance_type(self) -> Optional[_builtins.str]:
|
|
1917
|
+
"""
|
|
1918
|
+
The specified instance type, which overwrites the instance type in the launch template.
|
|
1919
|
+
"""
|
|
1920
|
+
return pulumi.get(self, "instance_type")
|
|
1921
|
+
|
|
1922
|
+
|
|
1720
1923
|
@pulumi.output_type
|
|
1721
1924
|
class ScalingConfigurationCustomPriority(dict):
|
|
1722
1925
|
@staticmethod
|
|
@@ -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
|
|