pulumi-alicloud 3.61.0__py3-none-any.whl → 3.61.0a1724217925__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.

Files changed (29) hide show
  1. pulumi_alicloud/__init__.py +0 -27
  2. pulumi_alicloud/_inputs.py +0 -16
  3. pulumi_alicloud/alikafka/instance.py +14 -21
  4. pulumi_alicloud/amqp/binding.py +0 -7
  5. pulumi_alicloud/config/outputs.py +0 -12
  6. pulumi_alicloud/cs/_inputs.py +2 -50
  7. pulumi_alicloud/cs/node_pool.py +42 -42
  8. pulumi_alicloud/cs/outputs.py +3 -45
  9. pulumi_alicloud/dataworks/__init__.py +0 -1
  10. pulumi_alicloud/elasticsearch/instance.py +14 -296
  11. pulumi_alicloud/log/store.py +10 -91
  12. pulumi_alicloud/mongodb/_inputs.py +12 -12
  13. pulumi_alicloud/mongodb/instance.py +7 -54
  14. pulumi_alicloud/mongodb/outputs.py +12 -12
  15. pulumi_alicloud/mongodb/sharding_instance.py +7 -54
  16. pulumi_alicloud/mongodb/sharding_network_private_address.py +39 -145
  17. pulumi_alicloud/pulumi-plugin.json +1 -1
  18. {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/METADATA +1 -1
  19. {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/RECORD +21 -29
  20. pulumi_alicloud/dataworks/project.py +0 -450
  21. pulumi_alicloud/selectdb/__init__.py +0 -13
  22. pulumi_alicloud/selectdb/_inputs.py +0 -446
  23. pulumi_alicloud/selectdb/db_cluster.py +0 -830
  24. pulumi_alicloud/selectdb/db_instance.py +0 -1368
  25. pulumi_alicloud/selectdb/get_db_clusters.py +0 -184
  26. pulumi_alicloud/selectdb/get_db_instances.py +0 -191
  27. pulumi_alicloud/selectdb/outputs.py +0 -1122
  28. {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/WHEEL +0 -0
  29. {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/top_level.txt +0 -0
@@ -1,184 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
-
13
- __all__ = [
14
- 'GetDbClustersResult',
15
- 'AwaitableGetDbClustersResult',
16
- 'get_db_clusters',
17
- 'get_db_clusters_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetDbClustersResult:
22
- """
23
- A collection of values returned by getDbClusters.
24
- """
25
- def __init__(__self__, clusters=None, id=None, ids=None, output_file=None):
26
- if clusters and not isinstance(clusters, list):
27
- raise TypeError("Expected argument 'clusters' to be a list")
28
- pulumi.set(__self__, "clusters", clusters)
29
- if id and not isinstance(id, str):
30
- raise TypeError("Expected argument 'id' to be a str")
31
- pulumi.set(__self__, "id", id)
32
- if ids and not isinstance(ids, list):
33
- raise TypeError("Expected argument 'ids' to be a list")
34
- pulumi.set(__self__, "ids", ids)
35
- if output_file and not isinstance(output_file, str):
36
- raise TypeError("Expected argument 'output_file' to be a str")
37
- pulumi.set(__self__, "output_file", output_file)
38
-
39
- @property
40
- @pulumi.getter
41
- def clusters(self) -> Sequence['outputs.GetDbClustersClusterResult']:
42
- """
43
- A list of SelectDB DBClusters. Each element contains the following attributes:
44
- """
45
- return pulumi.get(self, "clusters")
46
-
47
- @property
48
- @pulumi.getter
49
- def id(self) -> str:
50
- """
51
- The provider-assigned unique ID for this managed resource.
52
- """
53
- return pulumi.get(self, "id")
54
-
55
- @property
56
- @pulumi.getter
57
- def ids(self) -> Sequence[str]:
58
- return pulumi.get(self, "ids")
59
-
60
- @property
61
- @pulumi.getter(name="outputFile")
62
- def output_file(self) -> Optional[str]:
63
- return pulumi.get(self, "output_file")
64
-
65
-
66
- class AwaitableGetDbClustersResult(GetDbClustersResult):
67
- # pylint: disable=using-constant-test
68
- def __await__(self):
69
- if False:
70
- yield self
71
- return GetDbClustersResult(
72
- clusters=self.clusters,
73
- id=self.id,
74
- ids=self.ids,
75
- output_file=self.output_file)
76
-
77
-
78
- def get_db_clusters(ids: Optional[Sequence[str]] = None,
79
- output_file: Optional[str] = None,
80
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbClustersResult:
81
- """
82
- This data source provides the SelectDB DBCluster of the current Alibaba Cloud user.
83
-
84
- > **NOTE:** Available since v1.229.0.
85
-
86
- ## Example Usage
87
-
88
- Basic Usage
89
-
90
- ```python
91
- import pulumi
92
- import pulumi_alicloud as alicloud
93
-
94
- default = alicloud.get_zones(available_resource_creation="VSwitch")
95
- config = pulumi.Config()
96
- name = config.get("name")
97
- if name is None:
98
- name = "terraform_example"
99
- default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
100
- default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
101
- zone_id=default.zones[0].id)
102
- default_db_instance = alicloud.selectdb.DbInstance("default",
103
- db_instance_class="selectdb.xlarge",
104
- db_instance_description=name,
105
- cache_size=200,
106
- payment_type="PayAsYouGo",
107
- vpc_id=default_get_switches.vswitches[0].vpc_id,
108
- zone_id=default_get_switches.vswitches[0].zone_id,
109
- vswitch_id=default_get_switches.vswitches[0].id)
110
- default_db_cluster = alicloud.selectdb.DbCluster("default",
111
- db_instance_id=default_db_instance.id,
112
- db_cluster_description=name,
113
- db_cluster_class="selectdb.2xlarge",
114
- cache_size=400,
115
- payment_type="PayAsYouGo")
116
- default_get_db_clusters = alicloud.selectdb.get_db_clusters_output(ids=[default_db_cluster.id])
117
- pulumi.export("dbCluster", default_get_db_clusters.ids[0])
118
- ```
119
-
120
-
121
- :param Sequence[str] ids: A list of DBCluster IDs.
122
- :param str output_file: File name where to save data source results (after running `pulumi preview`).
123
- """
124
- __args__ = dict()
125
- __args__['ids'] = ids
126
- __args__['outputFile'] = output_file
127
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
128
- __ret__ = pulumi.runtime.invoke('alicloud:selectdb/getDbClusters:getDbClusters', __args__, opts=opts, typ=GetDbClustersResult).value
129
-
130
- return AwaitableGetDbClustersResult(
131
- clusters=pulumi.get(__ret__, 'clusters'),
132
- id=pulumi.get(__ret__, 'id'),
133
- ids=pulumi.get(__ret__, 'ids'),
134
- output_file=pulumi.get(__ret__, 'output_file'))
135
-
136
-
137
- @_utilities.lift_output_func(get_db_clusters)
138
- def get_db_clusters_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
139
- output_file: Optional[pulumi.Input[Optional[str]]] = None,
140
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbClustersResult]:
141
- """
142
- This data source provides the SelectDB DBCluster of the current Alibaba Cloud user.
143
-
144
- > **NOTE:** Available since v1.229.0.
145
-
146
- ## Example Usage
147
-
148
- Basic Usage
149
-
150
- ```python
151
- import pulumi
152
- import pulumi_alicloud as alicloud
153
-
154
- default = alicloud.get_zones(available_resource_creation="VSwitch")
155
- config = pulumi.Config()
156
- name = config.get("name")
157
- if name is None:
158
- name = "terraform_example"
159
- default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
160
- default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
161
- zone_id=default.zones[0].id)
162
- default_db_instance = alicloud.selectdb.DbInstance("default",
163
- db_instance_class="selectdb.xlarge",
164
- db_instance_description=name,
165
- cache_size=200,
166
- payment_type="PayAsYouGo",
167
- vpc_id=default_get_switches.vswitches[0].vpc_id,
168
- zone_id=default_get_switches.vswitches[0].zone_id,
169
- vswitch_id=default_get_switches.vswitches[0].id)
170
- default_db_cluster = alicloud.selectdb.DbCluster("default",
171
- db_instance_id=default_db_instance.id,
172
- db_cluster_description=name,
173
- db_cluster_class="selectdb.2xlarge",
174
- cache_size=400,
175
- payment_type="PayAsYouGo")
176
- default_get_db_clusters = alicloud.selectdb.get_db_clusters_output(ids=[default_db_cluster.id])
177
- pulumi.export("dbCluster", default_get_db_clusters.ids[0])
178
- ```
179
-
180
-
181
- :param Sequence[str] ids: A list of DBCluster IDs.
182
- :param str output_file: File name where to save data source results (after running `pulumi preview`).
183
- """
184
- ...
@@ -1,191 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
-
13
- __all__ = [
14
- 'GetDbInstancesResult',
15
- 'AwaitableGetDbInstancesResult',
16
- 'get_db_instances',
17
- 'get_db_instances_output',
18
- ]
19
-
20
- @pulumi.output_type
21
- class GetDbInstancesResult:
22
- """
23
- A collection of values returned by getDbInstances.
24
- """
25
- def __init__(__self__, id=None, ids=None, instances=None, output_file=None, tags=None):
26
- if id and not isinstance(id, str):
27
- raise TypeError("Expected argument 'id' to be a str")
28
- pulumi.set(__self__, "id", id)
29
- if ids and not isinstance(ids, list):
30
- raise TypeError("Expected argument 'ids' to be a list")
31
- pulumi.set(__self__, "ids", ids)
32
- if instances and not isinstance(instances, list):
33
- raise TypeError("Expected argument 'instances' to be a list")
34
- pulumi.set(__self__, "instances", instances)
35
- if output_file and not isinstance(output_file, str):
36
- raise TypeError("Expected argument 'output_file' to be a str")
37
- pulumi.set(__self__, "output_file", output_file)
38
- if tags and not isinstance(tags, dict):
39
- raise TypeError("Expected argument 'tags' to be a dict")
40
- pulumi.set(__self__, "tags", tags)
41
-
42
- @property
43
- @pulumi.getter
44
- def id(self) -> str:
45
- """
46
- The provider-assigned unique ID for this managed resource.
47
- """
48
- return pulumi.get(self, "id")
49
-
50
- @property
51
- @pulumi.getter
52
- def ids(self) -> Sequence[str]:
53
- return pulumi.get(self, "ids")
54
-
55
- @property
56
- @pulumi.getter
57
- def instances(self) -> Sequence['outputs.GetDbInstancesInstanceResult']:
58
- """
59
- A list of SelectDB DBInstance. Each element contains the following attributes:
60
- """
61
- return pulumi.get(self, "instances")
62
-
63
- @property
64
- @pulumi.getter(name="outputFile")
65
- def output_file(self) -> Optional[str]:
66
- return pulumi.get(self, "output_file")
67
-
68
- @property
69
- @pulumi.getter
70
- def tags(self) -> Optional[Mapping[str, str]]:
71
- return pulumi.get(self, "tags")
72
-
73
-
74
- class AwaitableGetDbInstancesResult(GetDbInstancesResult):
75
- # pylint: disable=using-constant-test
76
- def __await__(self):
77
- if False:
78
- yield self
79
- return GetDbInstancesResult(
80
- id=self.id,
81
- ids=self.ids,
82
- instances=self.instances,
83
- output_file=self.output_file,
84
- tags=self.tags)
85
-
86
-
87
- def get_db_instances(ids: Optional[Sequence[str]] = None,
88
- output_file: Optional[str] = None,
89
- tags: Optional[Mapping[str, str]] = None,
90
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDbInstancesResult:
91
- """
92
- This data source provides the SelectDB DBInstance of the current Alibaba Cloud user.
93
-
94
- > **NOTE:** Available since v1.229.0.
95
-
96
- ## Example Usage
97
-
98
- Basic Usage
99
-
100
- ```python
101
- import pulumi
102
- import pulumi_alicloud as alicloud
103
-
104
- default = alicloud.get_zones(available_resource_creation="VSwitch")
105
- config = pulumi.Config()
106
- name = config.get("name")
107
- if name is None:
108
- name = "terraform_example"
109
- default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
110
- default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
111
- zone_id=default.zones[0].id)
112
- default_db_instance = alicloud.selectdb.DbInstance("default",
113
- db_instance_class="selectdb.xlarge",
114
- db_instance_description=name,
115
- cache_size=200,
116
- payment_type="PayAsYouGo",
117
- vpc_id=default_get_switches.vswitches[0].vpc_id,
118
- zone_id=default_get_switches.vswitches[0].zone_id,
119
- vswitch_id=default_get_switches.vswitches[0].id)
120
- default_get_db_instances = alicloud.selectdb.get_db_instances_output(ids=[default_db_instance.id])
121
- pulumi.export("dbInstance", default_get_db_instances.ids[0])
122
- ```
123
-
124
-
125
- :param Sequence[str] ids: A list of DBInstance IDs.
126
- :param str output_file: File name where to save data source results (after running `pulumi preview`).
127
- :param Mapping[str, str] tags: A mapping of tags to assign to the resource. Used for instance searching.
128
- - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
129
- - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
130
- """
131
- __args__ = dict()
132
- __args__['ids'] = ids
133
- __args__['outputFile'] = output_file
134
- __args__['tags'] = tags
135
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
136
- __ret__ = pulumi.runtime.invoke('alicloud:selectdb/getDbInstances:getDbInstances', __args__, opts=opts, typ=GetDbInstancesResult).value
137
-
138
- return AwaitableGetDbInstancesResult(
139
- id=pulumi.get(__ret__, 'id'),
140
- ids=pulumi.get(__ret__, 'ids'),
141
- instances=pulumi.get(__ret__, 'instances'),
142
- output_file=pulumi.get(__ret__, 'output_file'),
143
- tags=pulumi.get(__ret__, 'tags'))
144
-
145
-
146
- @_utilities.lift_output_func(get_db_instances)
147
- def get_db_instances_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
148
- output_file: Optional[pulumi.Input[Optional[str]]] = None,
149
- tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
150
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbInstancesResult]:
151
- """
152
- This data source provides the SelectDB DBInstance of the current Alibaba Cloud user.
153
-
154
- > **NOTE:** Available since v1.229.0.
155
-
156
- ## Example Usage
157
-
158
- Basic Usage
159
-
160
- ```python
161
- import pulumi
162
- import pulumi_alicloud as alicloud
163
-
164
- default = alicloud.get_zones(available_resource_creation="VSwitch")
165
- config = pulumi.Config()
166
- name = config.get("name")
167
- if name is None:
168
- name = "terraform_example"
169
- default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
170
- default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
171
- zone_id=default.zones[0].id)
172
- default_db_instance = alicloud.selectdb.DbInstance("default",
173
- db_instance_class="selectdb.xlarge",
174
- db_instance_description=name,
175
- cache_size=200,
176
- payment_type="PayAsYouGo",
177
- vpc_id=default_get_switches.vswitches[0].vpc_id,
178
- zone_id=default_get_switches.vswitches[0].zone_id,
179
- vswitch_id=default_get_switches.vswitches[0].id)
180
- default_get_db_instances = alicloud.selectdb.get_db_instances_output(ids=[default_db_instance.id])
181
- pulumi.export("dbInstance", default_get_db_instances.ids[0])
182
- ```
183
-
184
-
185
- :param Sequence[str] ids: A list of DBInstance IDs.
186
- :param str output_file: File name where to save data source results (after running `pulumi preview`).
187
- :param Mapping[str, str] tags: A mapping of tags to assign to the resource. Used for instance searching.
188
- - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
189
- - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.
190
- """
191
- ...