pulumi-linode 5.2.0a1753337355__py3-none-any.whl → 5.2.0a1753397983__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-linode might be problematic. Click here for more details.
- pulumi_linode/__init__.py +1 -1
- pulumi_linode/_inputs.py +5169 -5170
- pulumi_linode/account_settings.py +70 -71
- pulumi_linode/config/__init__.py +1 -1
- pulumi_linode/config/__init__.pyi +1 -2
- pulumi_linode/config/vars.py +21 -22
- pulumi_linode/database_access_controls.py +52 -53
- pulumi_linode/database_mysql.py +247 -248
- pulumi_linode/database_mysql_v2.py +782 -783
- pulumi_linode/database_postgresql.py +273 -274
- pulumi_linode/database_postgresql_v2.py +1105 -1106
- pulumi_linode/domain.py +222 -223
- pulumi_linode/domain_record.py +188 -189
- pulumi_linode/firewall.py +155 -156
- pulumi_linode/firewall_device.py +70 -71
- pulumi_linode/get_account.py +33 -34
- pulumi_linode/get_account_availabilities.py +5 -6
- pulumi_linode/get_account_availability.py +13 -14
- pulumi_linode/get_account_login.py +17 -18
- pulumi_linode/get_account_logins.py +5 -6
- pulumi_linode/get_account_settings.py +13 -14
- pulumi_linode/get_child_account.py +37 -38
- pulumi_linode/get_child_accounts.py +5 -6
- pulumi_linode/get_database_backups.py +35 -36
- pulumi_linode/get_database_engines.py +23 -24
- pulumi_linode/get_database_mysql.py +52 -53
- pulumi_linode/get_database_mysql_backups.py +29 -30
- pulumi_linode/get_database_mysql_config.py +5 -6
- pulumi_linode/get_database_mysql_v2.py +115 -116
- pulumi_linode/get_database_postgresql.py +56 -57
- pulumi_linode/get_database_postgresql_config.py +7 -8
- pulumi_linode/get_database_postgresql_v2.py +153 -154
- pulumi_linode/get_databases.py +17 -18
- pulumi_linode/get_domain.py +37 -38
- pulumi_linode/get_domain_record.py +37 -38
- pulumi_linode/get_domain_zonefile.py +11 -12
- pulumi_linode/get_domains.py +17 -18
- pulumi_linode/get_firewall.py +30 -31
- pulumi_linode/get_firewalls.py +17 -18
- pulumi_linode/get_image.py +36 -37
- pulumi_linode/get_images.py +23 -24
- pulumi_linode/get_instance_backups.py +12 -13
- pulumi_linode/get_instance_networking.py +11 -12
- pulumi_linode/get_instance_type.py +30 -31
- pulumi_linode/get_instance_types.py +17 -18
- pulumi_linode/get_instances.py +17 -18
- pulumi_linode/get_ipv6_range.py +17 -18
- pulumi_linode/get_ipv6_ranges.py +5 -6
- pulumi_linode/get_kernel.py +23 -24
- pulumi_linode/get_kernels.py +17 -18
- pulumi_linode/get_linode_object_storage_bucket.py +33 -34
- pulumi_linode/get_lke_cluster.py +33 -34
- pulumi_linode/get_lke_clusters.py +17 -18
- pulumi_linode/get_lke_types.py +17 -18
- pulumi_linode/get_lke_version.py +13 -14
- pulumi_linode/get_lke_versions.py +10 -11
- pulumi_linode/get_nb_types.py +13 -14
- pulumi_linode/get_network_transfer_prices.py +17 -18
- pulumi_linode/get_networking_ip.py +28 -29
- pulumi_linode/get_networking_ips.py +17 -18
- pulumi_linode/get_node_balancer.py +29 -30
- pulumi_linode/get_node_balancer_config.py +48 -49
- pulumi_linode/get_node_balancer_node.py +29 -30
- pulumi_linode/get_nodebalancer_configs.py +23 -24
- pulumi_linode/get_nodebalancers.py +17 -18
- pulumi_linode/get_object_storage_cluster.py +15 -16
- pulumi_linode/get_object_storage_endpoints.py +17 -18
- pulumi_linode/get_object_storage_quota.py +22 -23
- pulumi_linode/get_object_storage_quotas.py +5 -6
- pulumi_linode/get_placement_group.py +19 -20
- pulumi_linode/get_placement_groups.py +13 -14
- pulumi_linode/get_profile.py +22 -23
- pulumi_linode/get_region.py +19 -20
- pulumi_linode/get_regions.py +5 -6
- pulumi_linode/get_ssh_key.py +17 -18
- pulumi_linode/get_sshkeys.py +17 -18
- pulumi_linode/get_stack_script.py +32 -33
- pulumi_linode/get_stack_scripts.py +23 -24
- pulumi_linode/get_user.py +35 -36
- pulumi_linode/get_users.py +17 -18
- pulumi_linode/get_vlans.py +17 -18
- pulumi_linode/get_volume.py +27 -28
- pulumi_linode/get_volume_types.py +17 -18
- pulumi_linode/get_volumes.py +17 -18
- pulumi_linode/get_vpc.py +17 -18
- pulumi_linode/get_vpc_ips.py +11 -12
- pulumi_linode/get_vpc_subnet.py +22 -23
- pulumi_linode/get_vpc_subnets.py +11 -12
- pulumi_linode/get_vpcs.py +5 -6
- pulumi_linode/image.py +292 -293
- pulumi_linode/instance.py +520 -521
- pulumi_linode/instance_config.py +166 -167
- pulumi_linode/instance_disk.py +210 -211
- pulumi_linode/instance_ip.py +125 -126
- pulumi_linode/instance_shared_ips.py +35 -36
- pulumi_linode/ipv6_range.py +88 -89
- pulumi_linode/lke_cluster.py +162 -163
- pulumi_linode/lke_node_pool.py +137 -138
- pulumi_linode/networking_ip.py +133 -134
- pulumi_linode/networking_ip_assignment.py +21 -22
- pulumi_linode/node_balancer.py +152 -153
- pulumi_linode/node_balancer_config.py +319 -320
- pulumi_linode/node_balancer_node.py +112 -113
- pulumi_linode/object_storage_bucket.py +195 -196
- pulumi_linode/object_storage_key.py +67 -68
- pulumi_linode/object_storage_object.py +350 -351
- pulumi_linode/outputs.py +5305 -5306
- pulumi_linode/placement_group.py +80 -81
- pulumi_linode/placement_group_assignment.py +48 -49
- pulumi_linode/provider.py +180 -181
- pulumi_linode/pulumi-plugin.json +1 -1
- pulumi_linode/rdns.py +55 -56
- pulumi_linode/reserved_ip_assignment.py +142 -143
- pulumi_linode/ssh_key.py +44 -45
- pulumi_linode/stack_script.py +159 -160
- pulumi_linode/token.py +70 -71
- pulumi_linode/user.py +112 -113
- pulumi_linode/volume.py +141 -142
- pulumi_linode/vpc.py +70 -71
- pulumi_linode/vpc_subnet.py +72 -73
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/METADATA +1 -1
- pulumi_linode-5.2.0a1753397983.dist-info/RECORD +126 -0
- pulumi_linode-5.2.0a1753337355.dist-info/RECORD +0 -126
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/WHEEL +0 -0
- {pulumi_linode-5.2.0a1753337355.dist-info → pulumi_linode-5.2.0a1753397983.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -49,37 +48,37 @@ class GetDatabaseEnginesResult:
|
|
|
49
48
|
raise TypeError("Expected argument 'order_by' to be a str")
|
|
50
49
|
pulumi.set(__self__, "order_by", order_by)
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
53
|
def engines(self) -> Optional[Sequence['outputs.GetDatabaseEnginesEngineResult']]:
|
|
55
54
|
return pulumi.get(self, "engines")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
58
|
def filters(self) -> Optional[Sequence['outputs.GetDatabaseEnginesFilterResult']]:
|
|
60
59
|
return pulumi.get(self, "filters")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def id(self) ->
|
|
63
|
+
def id(self) -> _builtins.str:
|
|
65
64
|
"""
|
|
66
65
|
The Managed Database engine ID in engine/version format.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "id")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def latest(self) -> Optional[
|
|
71
|
+
def latest(self) -> Optional[_builtins.bool]:
|
|
73
72
|
return pulumi.get(self, "latest")
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter
|
|
77
|
-
def order(self) -> Optional[
|
|
76
|
+
def order(self) -> Optional[_builtins.str]:
|
|
78
77
|
return pulumi.get(self, "order")
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter(name="orderBy")
|
|
82
|
-
def order_by(self) -> Optional[
|
|
81
|
+
def order_by(self) -> Optional[_builtins.str]:
|
|
83
82
|
return pulumi.get(self, "order_by")
|
|
84
83
|
|
|
85
84
|
|
|
@@ -99,9 +98,9 @@ class AwaitableGetDatabaseEnginesResult(GetDatabaseEnginesResult):
|
|
|
99
98
|
|
|
100
99
|
def get_database_engines(engines: Optional[Sequence[Union['GetDatabaseEnginesEngineArgs', 'GetDatabaseEnginesEngineArgsDict']]] = None,
|
|
101
100
|
filters: Optional[Sequence[Union['GetDatabaseEnginesFilterArgs', 'GetDatabaseEnginesFilterArgsDict']]] = None,
|
|
102
|
-
latest: Optional[
|
|
103
|
-
order: Optional[
|
|
104
|
-
order_by: Optional[
|
|
101
|
+
latest: Optional[_builtins.bool] = None,
|
|
102
|
+
order: Optional[_builtins.str] = None,
|
|
103
|
+
order_by: Optional[_builtins.str] = None,
|
|
105
104
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseEnginesResult:
|
|
106
105
|
"""
|
|
107
106
|
Provides information about Linode Managed Database engines that match a set of filters.
|
|
@@ -151,11 +150,11 @@ def get_database_engines(engines: Optional[Sequence[Union['GetDatabaseEnginesEng
|
|
|
151
150
|
```
|
|
152
151
|
|
|
153
152
|
|
|
154
|
-
:param
|
|
153
|
+
:param _builtins.bool latest: If true, only the latest engine version will be returned.
|
|
155
154
|
|
|
156
155
|
* `filter` - (Optional) A set of filters used to select engines that meet certain requirements.
|
|
157
|
-
:param
|
|
158
|
-
:param
|
|
156
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
157
|
+
:param _builtins.str order_by: The attribute to order the results by. (`version`)
|
|
159
158
|
"""
|
|
160
159
|
__args__ = dict()
|
|
161
160
|
__args__['engines'] = engines
|
|
@@ -175,9 +174,9 @@ def get_database_engines(engines: Optional[Sequence[Union['GetDatabaseEnginesEng
|
|
|
175
174
|
order_by=pulumi.get(__ret__, 'order_by'))
|
|
176
175
|
def get_database_engines_output(engines: Optional[pulumi.Input[Optional[Sequence[Union['GetDatabaseEnginesEngineArgs', 'GetDatabaseEnginesEngineArgsDict']]]]] = None,
|
|
177
176
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDatabaseEnginesFilterArgs', 'GetDatabaseEnginesFilterArgsDict']]]]] = None,
|
|
178
|
-
latest: Optional[pulumi.Input[Optional[
|
|
179
|
-
order: Optional[pulumi.Input[Optional[
|
|
180
|
-
order_by: Optional[pulumi.Input[Optional[
|
|
177
|
+
latest: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
178
|
+
order: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
|
+
order_by: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
181
180
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseEnginesResult]:
|
|
182
181
|
"""
|
|
183
182
|
Provides information about Linode Managed Database engines that match a set of filters.
|
|
@@ -227,11 +226,11 @@ def get_database_engines_output(engines: Optional[pulumi.Input[Optional[Sequence
|
|
|
227
226
|
```
|
|
228
227
|
|
|
229
228
|
|
|
230
|
-
:param
|
|
229
|
+
:param _builtins.bool latest: If true, only the latest engine version will be returned.
|
|
231
230
|
|
|
232
231
|
* `filter` - (Optional) A set of filters used to select engines that meet certain requirements.
|
|
233
|
-
:param
|
|
234
|
-
:param
|
|
232
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
233
|
+
:param _builtins.str order_by: The attribute to order the results by. (`version`)
|
|
235
234
|
"""
|
|
236
235
|
__args__ = dict()
|
|
237
236
|
__args__['engines'] = engines
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -96,169 +95,169 @@ class GetDatabaseMysqlResult:
|
|
|
96
95
|
raise TypeError("Expected argument 'version' to be a str")
|
|
97
96
|
pulumi.set(__self__, "version", version)
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter(name="allowLists")
|
|
101
|
-
def allow_lists(self) -> Sequence[
|
|
100
|
+
def allow_lists(self) -> Sequence[_builtins.str]:
|
|
102
101
|
"""
|
|
103
102
|
A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
|
|
104
103
|
"""
|
|
105
104
|
return pulumi.get(self, "allow_lists")
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter(name="caCert")
|
|
109
|
-
def ca_cert(self) ->
|
|
108
|
+
def ca_cert(self) -> _builtins.str:
|
|
110
109
|
"""
|
|
111
110
|
The base64-encoded SSL CA certificate for the Managed Database instance.
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "ca_cert")
|
|
114
113
|
|
|
115
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
116
115
|
@pulumi.getter(name="clusterSize")
|
|
117
|
-
def cluster_size(self) ->
|
|
116
|
+
def cluster_size(self) -> _builtins.int:
|
|
118
117
|
"""
|
|
119
118
|
The number of Linode Instance nodes deployed to the Managed Database.
|
|
120
119
|
"""
|
|
121
120
|
return pulumi.get(self, "cluster_size")
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter
|
|
125
|
-
def created(self) ->
|
|
124
|
+
def created(self) -> _builtins.str:
|
|
126
125
|
"""
|
|
127
126
|
When this Managed Database was created.
|
|
128
127
|
"""
|
|
129
128
|
return pulumi.get(self, "created")
|
|
130
129
|
|
|
131
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
132
131
|
@pulumi.getter(name="databaseId")
|
|
133
132
|
@_utilities.deprecated("""Configure `id` instead. This attribute will be removed in the next major version of the provider.""")
|
|
134
|
-
def database_id(self) -> Optional[
|
|
133
|
+
def database_id(self) -> Optional[_builtins.int]:
|
|
135
134
|
return pulumi.get(self, "database_id")
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter
|
|
139
|
-
def encrypted(self) ->
|
|
138
|
+
def encrypted(self) -> _builtins.bool:
|
|
140
139
|
"""
|
|
141
140
|
Whether the Managed Databases is encrypted.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "encrypted")
|
|
144
143
|
|
|
145
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
146
145
|
@pulumi.getter
|
|
147
|
-
def engine(self) ->
|
|
146
|
+
def engine(self) -> _builtins.str:
|
|
148
147
|
"""
|
|
149
148
|
The Managed Database engine. (e.g. `mysql`)
|
|
150
149
|
"""
|
|
151
150
|
return pulumi.get(self, "engine")
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="engineId")
|
|
155
|
-
def engine_id(self) ->
|
|
154
|
+
def engine_id(self) -> _builtins.str:
|
|
156
155
|
"""
|
|
157
156
|
The Managed Database engine in engine/version format. (e.g. `mysql/8.0.30`)
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "engine_id")
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter(name="hostPrimary")
|
|
163
|
-
def host_primary(self) ->
|
|
162
|
+
def host_primary(self) -> _builtins.str:
|
|
164
163
|
"""
|
|
165
164
|
The primary host for the Managed Database.
|
|
166
165
|
"""
|
|
167
166
|
return pulumi.get(self, "host_primary")
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter(name="hostSecondary")
|
|
171
|
-
def host_secondary(self) ->
|
|
170
|
+
def host_secondary(self) -> _builtins.str:
|
|
172
171
|
"""
|
|
173
172
|
The secondary/private network host for the Managed Database.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "host_secondary")
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
|
-
def id(self) -> Optional[
|
|
178
|
+
def id(self) -> Optional[_builtins.int]:
|
|
180
179
|
return pulumi.get(self, "id")
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter
|
|
184
|
-
def label(self) ->
|
|
183
|
+
def label(self) -> _builtins.str:
|
|
185
184
|
"""
|
|
186
185
|
A unique, user-defined string referring to the Managed Database.
|
|
187
186
|
"""
|
|
188
187
|
return pulumi.get(self, "label")
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter
|
|
192
|
-
def region(self) ->
|
|
191
|
+
def region(self) -> _builtins.str:
|
|
193
192
|
"""
|
|
194
193
|
The region that hosts this Linode Managed Database.
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "region")
|
|
197
196
|
|
|
198
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
199
198
|
@pulumi.getter(name="replicationType")
|
|
200
|
-
def replication_type(self) ->
|
|
199
|
+
def replication_type(self) -> _builtins.str:
|
|
201
200
|
"""
|
|
202
201
|
The replication method used for the Managed Database. (`none`, `asynch`, `semi_synch`)
|
|
203
202
|
"""
|
|
204
203
|
return pulumi.get(self, "replication_type")
|
|
205
204
|
|
|
206
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
207
206
|
@pulumi.getter(name="rootPassword")
|
|
208
|
-
def root_password(self) ->
|
|
207
|
+
def root_password(self) -> _builtins.str:
|
|
209
208
|
"""
|
|
210
209
|
The randomly-generated root password for the Managed Database instance.
|
|
211
210
|
"""
|
|
212
211
|
return pulumi.get(self, "root_password")
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="rootUsername")
|
|
216
|
-
def root_username(self) ->
|
|
215
|
+
def root_username(self) -> _builtins.str:
|
|
217
216
|
"""
|
|
218
217
|
The root username for the Managed Database instance.
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "root_username")
|
|
221
220
|
|
|
222
|
-
@property
|
|
221
|
+
@_builtins.property
|
|
223
222
|
@pulumi.getter(name="sslConnection")
|
|
224
|
-
def ssl_connection(self) ->
|
|
223
|
+
def ssl_connection(self) -> _builtins.bool:
|
|
225
224
|
"""
|
|
226
225
|
Whether to require SSL credentials to establish a connection to the Managed Database.
|
|
227
226
|
"""
|
|
228
227
|
return pulumi.get(self, "ssl_connection")
|
|
229
228
|
|
|
230
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
231
230
|
@pulumi.getter
|
|
232
|
-
def status(self) ->
|
|
231
|
+
def status(self) -> _builtins.str:
|
|
233
232
|
"""
|
|
234
233
|
The operating status of the Managed Database.
|
|
235
234
|
"""
|
|
236
235
|
return pulumi.get(self, "status")
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter
|
|
240
|
-
def type(self) ->
|
|
239
|
+
def type(self) -> _builtins.str:
|
|
241
240
|
"""
|
|
242
241
|
The Linode Instance type used for the nodes of the Managed Database instance.
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "type")
|
|
245
244
|
|
|
246
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
247
246
|
@pulumi.getter
|
|
248
|
-
def updated(self) ->
|
|
247
|
+
def updated(self) -> _builtins.str:
|
|
249
248
|
"""
|
|
250
249
|
When this Managed Database was last updated.
|
|
251
250
|
"""
|
|
252
251
|
return pulumi.get(self, "updated")
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter
|
|
256
255
|
def updates(self) -> Sequence['outputs.GetDatabaseMysqlUpdateResult']:
|
|
257
256
|
return pulumi.get(self, "updates")
|
|
258
257
|
|
|
259
|
-
@property
|
|
258
|
+
@_builtins.property
|
|
260
259
|
@pulumi.getter
|
|
261
|
-
def version(self) ->
|
|
260
|
+
def version(self) -> _builtins.str:
|
|
262
261
|
"""
|
|
263
262
|
The Managed Database engine version. (e.g. `v8.0.26`)
|
|
264
263
|
"""
|
|
@@ -295,8 +294,8 @@ class AwaitableGetDatabaseMysqlResult(GetDatabaseMysqlResult):
|
|
|
295
294
|
version=self.version)
|
|
296
295
|
|
|
297
296
|
|
|
298
|
-
def get_database_mysql(database_id: Optional[
|
|
299
|
-
id: Optional[
|
|
297
|
+
def get_database_mysql(database_id: Optional[_builtins.int] = None,
|
|
298
|
+
id: Optional[_builtins.int] = None,
|
|
300
299
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseMysqlResult:
|
|
301
300
|
"""
|
|
302
301
|
> **DEPRECATION NOTICE:** This data source has been deprecated. Please use DatabaseMysqlV2 for all future implementations.
|
|
@@ -330,8 +329,8 @@ def get_database_mysql(database_id: Optional[builtins.int] = None,
|
|
|
330
329
|
* `week_of_month` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
331
330
|
|
|
332
331
|
|
|
333
|
-
:param
|
|
334
|
-
:param
|
|
332
|
+
:param _builtins.int database_id: The ID of the MySQL database. Deprecated: Use id instead.
|
|
333
|
+
:param _builtins.int id: The ID of the MySQL database. Mutually exclusive with `database_id`.
|
|
335
334
|
"""
|
|
336
335
|
__args__ = dict()
|
|
337
336
|
__args__['databaseId'] = database_id
|
|
@@ -362,8 +361,8 @@ def get_database_mysql(database_id: Optional[builtins.int] = None,
|
|
|
362
361
|
updated=pulumi.get(__ret__, 'updated'),
|
|
363
362
|
updates=pulumi.get(__ret__, 'updates'),
|
|
364
363
|
version=pulumi.get(__ret__, 'version'))
|
|
365
|
-
def get_database_mysql_output(database_id: Optional[pulumi.Input[Optional[
|
|
366
|
-
id: Optional[pulumi.Input[Optional[
|
|
364
|
+
def get_database_mysql_output(database_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
365
|
+
id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
367
366
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseMysqlResult]:
|
|
368
367
|
"""
|
|
369
368
|
> **DEPRECATION NOTICE:** This data source has been deprecated. Please use DatabaseMysqlV2 for all future implementations.
|
|
@@ -397,8 +396,8 @@ def get_database_mysql_output(database_id: Optional[pulumi.Input[Optional[builti
|
|
|
397
396
|
* `week_of_month` - The week of the month to perform monthly frequency updates. Required for `monthly` frequency updates. (`1`..`4`)
|
|
398
397
|
|
|
399
398
|
|
|
400
|
-
:param
|
|
401
|
-
:param
|
|
399
|
+
:param _builtins.int database_id: The ID of the MySQL database. Deprecated: Use id instead.
|
|
400
|
+
:param _builtins.int id: The ID of the MySQL database. Mutually exclusive with `database_id`.
|
|
402
401
|
"""
|
|
403
402
|
__args__ = dict()
|
|
404
403
|
__args__['databaseId'] = database_id
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -52,42 +51,42 @@ class GetDatabaseMysqlBackupsResult:
|
|
|
52
51
|
raise TypeError("Expected argument 'order_by' to be a str")
|
|
53
52
|
pulumi.set(__self__, "order_by", order_by)
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
56
|
def backups(self) -> Sequence['outputs.GetDatabaseMysqlBackupsBackupResult']:
|
|
58
57
|
return pulumi.get(self, "backups")
|
|
59
58
|
|
|
60
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
61
60
|
@pulumi.getter(name="databaseId")
|
|
62
|
-
def database_id(self) ->
|
|
61
|
+
def database_id(self) -> _builtins.int:
|
|
63
62
|
return pulumi.get(self, "database_id")
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter
|
|
67
66
|
def filters(self) -> Optional[Sequence['outputs.GetDatabaseMysqlBackupsFilterResult']]:
|
|
68
67
|
return pulumi.get(self, "filters")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def id(self) ->
|
|
71
|
+
def id(self) -> _builtins.str:
|
|
73
72
|
"""
|
|
74
73
|
The provider-assigned unique ID for this managed resource.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "id")
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter
|
|
80
|
-
def latest(self) -> Optional[
|
|
79
|
+
def latest(self) -> Optional[_builtins.bool]:
|
|
81
80
|
return pulumi.get(self, "latest")
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
|
-
def order(self) -> Optional[
|
|
84
|
+
def order(self) -> Optional[_builtins.str]:
|
|
86
85
|
return pulumi.get(self, "order")
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter(name="orderBy")
|
|
90
|
-
def order_by(self) -> Optional[
|
|
89
|
+
def order_by(self) -> Optional[_builtins.str]:
|
|
91
90
|
return pulumi.get(self, "order_by")
|
|
92
91
|
|
|
93
92
|
|
|
@@ -106,11 +105,11 @@ class AwaitableGetDatabaseMysqlBackupsResult(GetDatabaseMysqlBackupsResult):
|
|
|
106
105
|
order_by=self.order_by)
|
|
107
106
|
|
|
108
107
|
|
|
109
|
-
def get_database_mysql_backups(database_id: Optional[
|
|
108
|
+
def get_database_mysql_backups(database_id: Optional[_builtins.int] = None,
|
|
110
109
|
filters: Optional[Sequence[Union['GetDatabaseMysqlBackupsFilterArgs', 'GetDatabaseMysqlBackupsFilterArgsDict']]] = None,
|
|
111
|
-
latest: Optional[
|
|
112
|
-
order: Optional[
|
|
113
|
-
order_by: Optional[
|
|
110
|
+
latest: Optional[_builtins.bool] = None,
|
|
111
|
+
order: Optional[_builtins.str] = None,
|
|
112
|
+
order_by: Optional[_builtins.str] = None,
|
|
114
113
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseMysqlBackupsResult:
|
|
115
114
|
"""
|
|
116
115
|
> **DEPRECATION NOTICE:** This data source has been deprecated.
|
|
@@ -143,12 +142,12 @@ def get_database_mysql_backups(database_id: Optional[builtins.int] = None,
|
|
|
143
142
|
```
|
|
144
143
|
|
|
145
144
|
|
|
146
|
-
:param
|
|
147
|
-
:param
|
|
145
|
+
:param _builtins.int database_id: The ID of the database to retrieve backups for.
|
|
146
|
+
:param _builtins.bool latest: If true, only the latest backup will be returned.
|
|
148
147
|
|
|
149
148
|
* `filter` - (Optional) A set of filters used to select database backups that meet certain requirements.
|
|
150
|
-
:param
|
|
151
|
-
:param
|
|
149
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
150
|
+
:param _builtins.str order_by: The attribute to order the results by. (`created`)
|
|
152
151
|
"""
|
|
153
152
|
__args__ = dict()
|
|
154
153
|
__args__['databaseId'] = database_id
|
|
@@ -167,11 +166,11 @@ def get_database_mysql_backups(database_id: Optional[builtins.int] = None,
|
|
|
167
166
|
latest=pulumi.get(__ret__, 'latest'),
|
|
168
167
|
order=pulumi.get(__ret__, 'order'),
|
|
169
168
|
order_by=pulumi.get(__ret__, 'order_by'))
|
|
170
|
-
def get_database_mysql_backups_output(database_id: Optional[pulumi.Input[
|
|
169
|
+
def get_database_mysql_backups_output(database_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
171
170
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDatabaseMysqlBackupsFilterArgs', 'GetDatabaseMysqlBackupsFilterArgsDict']]]]] = None,
|
|
172
|
-
latest: Optional[pulumi.Input[Optional[
|
|
173
|
-
order: Optional[pulumi.Input[Optional[
|
|
174
|
-
order_by: Optional[pulumi.Input[Optional[
|
|
171
|
+
latest: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
172
|
+
order: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
173
|
+
order_by: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
175
174
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseMysqlBackupsResult]:
|
|
176
175
|
"""
|
|
177
176
|
> **DEPRECATION NOTICE:** This data source has been deprecated.
|
|
@@ -204,12 +203,12 @@ def get_database_mysql_backups_output(database_id: Optional[pulumi.Input[builtin
|
|
|
204
203
|
```
|
|
205
204
|
|
|
206
205
|
|
|
207
|
-
:param
|
|
208
|
-
:param
|
|
206
|
+
:param _builtins.int database_id: The ID of the database to retrieve backups for.
|
|
207
|
+
:param _builtins.bool latest: If true, only the latest backup will be returned.
|
|
209
208
|
|
|
210
209
|
* `filter` - (Optional) A set of filters used to select database backups that meet certain requirements.
|
|
211
|
-
:param
|
|
212
|
-
:param
|
|
210
|
+
:param _builtins.str order: The order in which results should be returned. (`asc`, `desc`; default `asc`)
|
|
211
|
+
:param _builtins.str order_by: The attribute to order the results by. (`created`)
|
|
213
212
|
"""
|
|
214
213
|
__args__ = dict()
|
|
215
214
|
__args__['databaseId'] = database_id
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -39,17 +38,17 @@ class GetDatabaseMysqlConfigResult:
|
|
|
39
38
|
raise TypeError("Expected argument 'mysqls' to be a list")
|
|
40
39
|
pulumi.set(__self__, "mysqls", mysqls)
|
|
41
40
|
|
|
42
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
43
42
|
@pulumi.getter(name="binlogRetentionPeriods")
|
|
44
43
|
def binlog_retention_periods(self) -> Sequence['outputs.GetDatabaseMysqlConfigBinlogRetentionPeriodResult']:
|
|
45
44
|
return pulumi.get(self, "binlog_retention_periods")
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def id(self) ->
|
|
48
|
+
def id(self) -> _builtins.str:
|
|
50
49
|
return pulumi.get(self, "id")
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
53
|
def mysqls(self) -> Sequence['outputs.GetDatabaseMysqlConfigMysqlResult']:
|
|
55
54
|
return pulumi.get(self, "mysqls")
|