pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetServicePlanResult',
|
|
21
|
+
'AwaitableGetServicePlanResult',
|
|
22
|
+
'get_service_plan',
|
|
23
|
+
'get_service_plan_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetServicePlanResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getServicePlan.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, backup_configs=None, base_price_usd=None, cloud_name=None, disk_space_cap_mb=None, disk_space_mb=None, disk_space_step_mb=None, id=None, max_memory_percent=None, node_count=None, object_storage_gb_price_usd=None, project=None, service_plan=None, service_type=None, shard_count=None, timeouts=None):
|
|
32
|
+
if backup_configs and not isinstance(backup_configs, list):
|
|
33
|
+
raise TypeError("Expected argument 'backup_configs' to be a list")
|
|
34
|
+
pulumi.set(__self__, "backup_configs", backup_configs)
|
|
35
|
+
if base_price_usd and not isinstance(base_price_usd, str):
|
|
36
|
+
raise TypeError("Expected argument 'base_price_usd' to be a str")
|
|
37
|
+
pulumi.set(__self__, "base_price_usd", base_price_usd)
|
|
38
|
+
if cloud_name and not isinstance(cloud_name, str):
|
|
39
|
+
raise TypeError("Expected argument 'cloud_name' to be a str")
|
|
40
|
+
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
41
|
+
if disk_space_cap_mb and not isinstance(disk_space_cap_mb, int):
|
|
42
|
+
raise TypeError("Expected argument 'disk_space_cap_mb' to be a int")
|
|
43
|
+
pulumi.set(__self__, "disk_space_cap_mb", disk_space_cap_mb)
|
|
44
|
+
if disk_space_mb and not isinstance(disk_space_mb, int):
|
|
45
|
+
raise TypeError("Expected argument 'disk_space_mb' to be a int")
|
|
46
|
+
pulumi.set(__self__, "disk_space_mb", disk_space_mb)
|
|
47
|
+
if disk_space_step_mb and not isinstance(disk_space_step_mb, int):
|
|
48
|
+
raise TypeError("Expected argument 'disk_space_step_mb' to be a int")
|
|
49
|
+
pulumi.set(__self__, "disk_space_step_mb", disk_space_step_mb)
|
|
50
|
+
if id and not isinstance(id, str):
|
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
52
|
+
pulumi.set(__self__, "id", id)
|
|
53
|
+
if max_memory_percent and not isinstance(max_memory_percent, int):
|
|
54
|
+
raise TypeError("Expected argument 'max_memory_percent' to be a int")
|
|
55
|
+
pulumi.set(__self__, "max_memory_percent", max_memory_percent)
|
|
56
|
+
if node_count and not isinstance(node_count, int):
|
|
57
|
+
raise TypeError("Expected argument 'node_count' to be a int")
|
|
58
|
+
pulumi.set(__self__, "node_count", node_count)
|
|
59
|
+
if object_storage_gb_price_usd and not isinstance(object_storage_gb_price_usd, str):
|
|
60
|
+
raise TypeError("Expected argument 'object_storage_gb_price_usd' to be a str")
|
|
61
|
+
pulumi.set(__self__, "object_storage_gb_price_usd", object_storage_gb_price_usd)
|
|
62
|
+
if project and not isinstance(project, str):
|
|
63
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
64
|
+
pulumi.set(__self__, "project", project)
|
|
65
|
+
if service_plan and not isinstance(service_plan, str):
|
|
66
|
+
raise TypeError("Expected argument 'service_plan' to be a str")
|
|
67
|
+
pulumi.set(__self__, "service_plan", service_plan)
|
|
68
|
+
if service_type and not isinstance(service_type, str):
|
|
69
|
+
raise TypeError("Expected argument 'service_type' to be a str")
|
|
70
|
+
pulumi.set(__self__, "service_type", service_type)
|
|
71
|
+
if shard_count and not isinstance(shard_count, int):
|
|
72
|
+
raise TypeError("Expected argument 'shard_count' to be a int")
|
|
73
|
+
pulumi.set(__self__, "shard_count", shard_count)
|
|
74
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
75
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
76
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
77
|
+
|
|
78
|
+
@_builtins.property
|
|
79
|
+
@pulumi.getter(name="backupConfigs")
|
|
80
|
+
def backup_configs(self) -> Optional[Sequence['outputs.GetServicePlanBackupConfigResult']]:
|
|
81
|
+
"""
|
|
82
|
+
Backup configuration for this service plan.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "backup_configs")
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
@pulumi.getter(name="basePriceUsd")
|
|
88
|
+
def base_price_usd(self) -> _builtins.str:
|
|
89
|
+
"""
|
|
90
|
+
Hourly service price in this region in USD.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "base_price_usd")
|
|
93
|
+
|
|
94
|
+
@_builtins.property
|
|
95
|
+
@pulumi.getter(name="cloudName")
|
|
96
|
+
def cloud_name(self) -> _builtins.str:
|
|
97
|
+
"""
|
|
98
|
+
Cloud region name.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "cloud_name")
|
|
101
|
+
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter(name="diskSpaceCapMb")
|
|
104
|
+
def disk_space_cap_mb(self) -> _builtins.int:
|
|
105
|
+
"""
|
|
106
|
+
Maximum amount of disk space possible for the plan in the given region.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "disk_space_cap_mb")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="diskSpaceMb")
|
|
112
|
+
def disk_space_mb(self) -> _builtins.int:
|
|
113
|
+
"""
|
|
114
|
+
Combined amount of service disk space of all service nodes in megabytes.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "disk_space_mb")
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="diskSpaceStepMb")
|
|
120
|
+
def disk_space_step_mb(self) -> _builtins.int:
|
|
121
|
+
"""
|
|
122
|
+
Disk space change step size.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "disk_space_step_mb")
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
@pulumi.getter
|
|
128
|
+
def id(self) -> _builtins.str:
|
|
129
|
+
"""
|
|
130
|
+
Resource ID composed as: `project/service_type/service_plan/cloud_name`.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "id")
|
|
133
|
+
|
|
134
|
+
@_builtins.property
|
|
135
|
+
@pulumi.getter(name="maxMemoryPercent")
|
|
136
|
+
def max_memory_percent(self) -> _builtins.int:
|
|
137
|
+
"""
|
|
138
|
+
Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "max_memory_percent")
|
|
141
|
+
|
|
142
|
+
@_builtins.property
|
|
143
|
+
@pulumi.getter(name="nodeCount")
|
|
144
|
+
def node_count(self) -> _builtins.int:
|
|
145
|
+
"""
|
|
146
|
+
Number of nodes in this service plan.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "node_count")
|
|
149
|
+
|
|
150
|
+
@_builtins.property
|
|
151
|
+
@pulumi.getter(name="objectStorageGbPriceUsd")
|
|
152
|
+
def object_storage_gb_price_usd(self) -> _builtins.str:
|
|
153
|
+
"""
|
|
154
|
+
Hourly object storage price per GiB in this region in USD.
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "object_storage_gb_price_usd")
|
|
157
|
+
|
|
158
|
+
@_builtins.property
|
|
159
|
+
@pulumi.getter
|
|
160
|
+
def project(self) -> _builtins.str:
|
|
161
|
+
"""
|
|
162
|
+
Project name.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "project")
|
|
165
|
+
|
|
166
|
+
@_builtins.property
|
|
167
|
+
@pulumi.getter(name="servicePlan")
|
|
168
|
+
def service_plan(self) -> _builtins.str:
|
|
169
|
+
"""
|
|
170
|
+
Service plan name.
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "service_plan")
|
|
173
|
+
|
|
174
|
+
@_builtins.property
|
|
175
|
+
@pulumi.getter(name="serviceType")
|
|
176
|
+
def service_type(self) -> _builtins.str:
|
|
177
|
+
"""
|
|
178
|
+
Service type code.
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "service_type")
|
|
181
|
+
|
|
182
|
+
@_builtins.property
|
|
183
|
+
@pulumi.getter(name="shardCount")
|
|
184
|
+
def shard_count(self) -> _builtins.int:
|
|
185
|
+
"""
|
|
186
|
+
Number of shards in this service plan.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "shard_count")
|
|
189
|
+
|
|
190
|
+
@_builtins.property
|
|
191
|
+
@pulumi.getter
|
|
192
|
+
def timeouts(self) -> Optional['outputs.GetServicePlanTimeoutsResult']:
|
|
193
|
+
return pulumi.get(self, "timeouts")
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
class AwaitableGetServicePlanResult(GetServicePlanResult):
|
|
197
|
+
# pylint: disable=using-constant-test
|
|
198
|
+
def __await__(self):
|
|
199
|
+
if False:
|
|
200
|
+
yield self
|
|
201
|
+
return GetServicePlanResult(
|
|
202
|
+
backup_configs=self.backup_configs,
|
|
203
|
+
base_price_usd=self.base_price_usd,
|
|
204
|
+
cloud_name=self.cloud_name,
|
|
205
|
+
disk_space_cap_mb=self.disk_space_cap_mb,
|
|
206
|
+
disk_space_mb=self.disk_space_mb,
|
|
207
|
+
disk_space_step_mb=self.disk_space_step_mb,
|
|
208
|
+
id=self.id,
|
|
209
|
+
max_memory_percent=self.max_memory_percent,
|
|
210
|
+
node_count=self.node_count,
|
|
211
|
+
object_storage_gb_price_usd=self.object_storage_gb_price_usd,
|
|
212
|
+
project=self.project,
|
|
213
|
+
service_plan=self.service_plan,
|
|
214
|
+
service_type=self.service_type,
|
|
215
|
+
shard_count=self.shard_count,
|
|
216
|
+
timeouts=self.timeouts)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
def get_service_plan(backup_configs: Optional[Sequence[Union['GetServicePlanBackupConfigArgs', 'GetServicePlanBackupConfigArgsDict']]] = None,
|
|
220
|
+
cloud_name: Optional[_builtins.str] = None,
|
|
221
|
+
project: Optional[_builtins.str] = None,
|
|
222
|
+
service_plan: Optional[_builtins.str] = None,
|
|
223
|
+
service_type: Optional[_builtins.str] = None,
|
|
224
|
+
timeouts: Optional[Union['GetServicePlanTimeoutsArgs', 'GetServicePlanTimeoutsArgsDict']] = None,
|
|
225
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicePlanResult:
|
|
226
|
+
"""
|
|
227
|
+
Gets detailed information about a specific service plan, including specifications and pricing for a cloud region.
|
|
228
|
+
|
|
229
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
230
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
:param Sequence[Union['GetServicePlanBackupConfigArgs', 'GetServicePlanBackupConfigArgsDict']] backup_configs: Backup configuration for this service plan.
|
|
234
|
+
:param _builtins.str cloud_name: Cloud region name.
|
|
235
|
+
:param _builtins.str project: Project name.
|
|
236
|
+
:param _builtins.str service_plan: Service plan name.
|
|
237
|
+
:param _builtins.str service_type: Service type code.
|
|
238
|
+
"""
|
|
239
|
+
__args__ = dict()
|
|
240
|
+
__args__['backupConfigs'] = backup_configs
|
|
241
|
+
__args__['cloudName'] = cloud_name
|
|
242
|
+
__args__['project'] = project
|
|
243
|
+
__args__['servicePlan'] = service_plan
|
|
244
|
+
__args__['serviceType'] = service_type
|
|
245
|
+
__args__['timeouts'] = timeouts
|
|
246
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
247
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getServicePlan:getServicePlan', __args__, opts=opts, typ=GetServicePlanResult).value
|
|
248
|
+
|
|
249
|
+
return AwaitableGetServicePlanResult(
|
|
250
|
+
backup_configs=pulumi.get(__ret__, 'backup_configs'),
|
|
251
|
+
base_price_usd=pulumi.get(__ret__, 'base_price_usd'),
|
|
252
|
+
cloud_name=pulumi.get(__ret__, 'cloud_name'),
|
|
253
|
+
disk_space_cap_mb=pulumi.get(__ret__, 'disk_space_cap_mb'),
|
|
254
|
+
disk_space_mb=pulumi.get(__ret__, 'disk_space_mb'),
|
|
255
|
+
disk_space_step_mb=pulumi.get(__ret__, 'disk_space_step_mb'),
|
|
256
|
+
id=pulumi.get(__ret__, 'id'),
|
|
257
|
+
max_memory_percent=pulumi.get(__ret__, 'max_memory_percent'),
|
|
258
|
+
node_count=pulumi.get(__ret__, 'node_count'),
|
|
259
|
+
object_storage_gb_price_usd=pulumi.get(__ret__, 'object_storage_gb_price_usd'),
|
|
260
|
+
project=pulumi.get(__ret__, 'project'),
|
|
261
|
+
service_plan=pulumi.get(__ret__, 'service_plan'),
|
|
262
|
+
service_type=pulumi.get(__ret__, 'service_type'),
|
|
263
|
+
shard_count=pulumi.get(__ret__, 'shard_count'),
|
|
264
|
+
timeouts=pulumi.get(__ret__, 'timeouts'))
|
|
265
|
+
def get_service_plan_output(backup_configs: Optional[pulumi.Input[Optional[Sequence[Union['GetServicePlanBackupConfigArgs', 'GetServicePlanBackupConfigArgsDict']]]]] = None,
|
|
266
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
267
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
service_plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
269
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
270
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetServicePlanTimeoutsArgs', 'GetServicePlanTimeoutsArgsDict']]]] = None,
|
|
271
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePlanResult]:
|
|
272
|
+
"""
|
|
273
|
+
Gets detailed information about a specific service plan, including specifications and pricing for a cloud region.
|
|
274
|
+
|
|
275
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
276
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
:param Sequence[Union['GetServicePlanBackupConfigArgs', 'GetServicePlanBackupConfigArgsDict']] backup_configs: Backup configuration for this service plan.
|
|
280
|
+
:param _builtins.str cloud_name: Cloud region name.
|
|
281
|
+
:param _builtins.str project: Project name.
|
|
282
|
+
:param _builtins.str service_plan: Service plan name.
|
|
283
|
+
:param _builtins.str service_type: Service type code.
|
|
284
|
+
"""
|
|
285
|
+
__args__ = dict()
|
|
286
|
+
__args__['backupConfigs'] = backup_configs
|
|
287
|
+
__args__['cloudName'] = cloud_name
|
|
288
|
+
__args__['project'] = project
|
|
289
|
+
__args__['servicePlan'] = service_plan
|
|
290
|
+
__args__['serviceType'] = service_type
|
|
291
|
+
__args__['timeouts'] = timeouts
|
|
292
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
293
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getServicePlan:getServicePlan', __args__, opts=opts, typ=GetServicePlanResult)
|
|
294
|
+
return __ret__.apply(lambda __response__: GetServicePlanResult(
|
|
295
|
+
backup_configs=pulumi.get(__response__, 'backup_configs'),
|
|
296
|
+
base_price_usd=pulumi.get(__response__, 'base_price_usd'),
|
|
297
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
298
|
+
disk_space_cap_mb=pulumi.get(__response__, 'disk_space_cap_mb'),
|
|
299
|
+
disk_space_mb=pulumi.get(__response__, 'disk_space_mb'),
|
|
300
|
+
disk_space_step_mb=pulumi.get(__response__, 'disk_space_step_mb'),
|
|
301
|
+
id=pulumi.get(__response__, 'id'),
|
|
302
|
+
max_memory_percent=pulumi.get(__response__, 'max_memory_percent'),
|
|
303
|
+
node_count=pulumi.get(__response__, 'node_count'),
|
|
304
|
+
object_storage_gb_price_usd=pulumi.get(__response__, 'object_storage_gb_price_usd'),
|
|
305
|
+
project=pulumi.get(__response__, 'project'),
|
|
306
|
+
service_plan=pulumi.get(__response__, 'service_plan'),
|
|
307
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
308
|
+
shard_count=pulumi.get(__response__, 'shard_count'),
|
|
309
|
+
timeouts=pulumi.get(__response__, 'timeouts')))
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetServicePlanListResult',
|
|
21
|
+
'AwaitableGetServicePlanListResult',
|
|
22
|
+
'get_service_plan_list',
|
|
23
|
+
'get_service_plan_list_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetServicePlanListResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getServicePlanList.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, id=None, project=None, service_plans=None, service_type=None, timeouts=None):
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
35
|
+
if project and not isinstance(project, str):
|
|
36
|
+
raise TypeError("Expected argument 'project' to be a str")
|
|
37
|
+
pulumi.set(__self__, "project", project)
|
|
38
|
+
if service_plans and not isinstance(service_plans, list):
|
|
39
|
+
raise TypeError("Expected argument 'service_plans' to be a list")
|
|
40
|
+
pulumi.set(__self__, "service_plans", service_plans)
|
|
41
|
+
if service_type and not isinstance(service_type, str):
|
|
42
|
+
raise TypeError("Expected argument 'service_type' to be a str")
|
|
43
|
+
pulumi.set(__self__, "service_type", service_type)
|
|
44
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
45
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
51
|
+
"""
|
|
52
|
+
Resource ID composed as: `project/service_type`.
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "id")
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def project(self) -> _builtins.str:
|
|
59
|
+
"""
|
|
60
|
+
Project name.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "project")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="servicePlans")
|
|
66
|
+
def service_plans(self) -> Optional[Sequence['outputs.GetServicePlanListServicePlanResult']]:
|
|
67
|
+
"""
|
|
68
|
+
List of plans available for this type of service.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "service_plans")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter(name="serviceType")
|
|
74
|
+
def service_type(self) -> _builtins.str:
|
|
75
|
+
"""
|
|
76
|
+
Service type.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "service_type")
|
|
79
|
+
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter
|
|
82
|
+
def timeouts(self) -> Optional['outputs.GetServicePlanListTimeoutsResult']:
|
|
83
|
+
return pulumi.get(self, "timeouts")
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class AwaitableGetServicePlanListResult(GetServicePlanListResult):
|
|
87
|
+
# pylint: disable=using-constant-test
|
|
88
|
+
def __await__(self):
|
|
89
|
+
if False:
|
|
90
|
+
yield self
|
|
91
|
+
return GetServicePlanListResult(
|
|
92
|
+
id=self.id,
|
|
93
|
+
project=self.project,
|
|
94
|
+
service_plans=self.service_plans,
|
|
95
|
+
service_type=self.service_type,
|
|
96
|
+
timeouts=self.timeouts)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def get_service_plan_list(project: Optional[_builtins.str] = None,
|
|
100
|
+
service_plans: Optional[Sequence[Union['GetServicePlanListServicePlanArgs', 'GetServicePlanListServicePlanArgsDict']]] = None,
|
|
101
|
+
service_type: Optional[_builtins.str] = None,
|
|
102
|
+
timeouts: Optional[Union['GetServicePlanListTimeoutsArgs', 'GetServicePlanListTimeoutsArgsDict']] = None,
|
|
103
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicePlanListResult:
|
|
104
|
+
"""
|
|
105
|
+
A list of service plans for a given project and service type.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
:param _builtins.str project: Project name.
|
|
109
|
+
:param Sequence[Union['GetServicePlanListServicePlanArgs', 'GetServicePlanListServicePlanArgsDict']] service_plans: List of plans available for this type of service.
|
|
110
|
+
:param _builtins.str service_type: Service type.
|
|
111
|
+
"""
|
|
112
|
+
__args__ = dict()
|
|
113
|
+
__args__['project'] = project
|
|
114
|
+
__args__['servicePlans'] = service_plans
|
|
115
|
+
__args__['serviceType'] = service_type
|
|
116
|
+
__args__['timeouts'] = timeouts
|
|
117
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
118
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getServicePlanList:getServicePlanList', __args__, opts=opts, typ=GetServicePlanListResult).value
|
|
119
|
+
|
|
120
|
+
return AwaitableGetServicePlanListResult(
|
|
121
|
+
id=pulumi.get(__ret__, 'id'),
|
|
122
|
+
project=pulumi.get(__ret__, 'project'),
|
|
123
|
+
service_plans=pulumi.get(__ret__, 'service_plans'),
|
|
124
|
+
service_type=pulumi.get(__ret__, 'service_type'),
|
|
125
|
+
timeouts=pulumi.get(__ret__, 'timeouts'))
|
|
126
|
+
def get_service_plan_list_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
service_plans: Optional[pulumi.Input[Optional[Sequence[Union['GetServicePlanListServicePlanArgs', 'GetServicePlanListServicePlanArgsDict']]]]] = None,
|
|
128
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetServicePlanListTimeoutsArgs', 'GetServicePlanListTimeoutsArgsDict']]]] = None,
|
|
130
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePlanListResult]:
|
|
131
|
+
"""
|
|
132
|
+
A list of service plans for a given project and service type.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param _builtins.str project: Project name.
|
|
136
|
+
:param Sequence[Union['GetServicePlanListServicePlanArgs', 'GetServicePlanListServicePlanArgsDict']] service_plans: List of plans available for this type of service.
|
|
137
|
+
:param _builtins.str service_type: Service type.
|
|
138
|
+
"""
|
|
139
|
+
__args__ = dict()
|
|
140
|
+
__args__['project'] = project
|
|
141
|
+
__args__['servicePlans'] = service_plans
|
|
142
|
+
__args__['serviceType'] = service_type
|
|
143
|
+
__args__['timeouts'] = timeouts
|
|
144
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getServicePlanList:getServicePlanList', __args__, opts=opts, typ=GetServicePlanListResult)
|
|
146
|
+
return __ret__.apply(lambda __response__: GetServicePlanListResult(
|
|
147
|
+
id=pulumi.get(__response__, 'id'),
|
|
148
|
+
project=pulumi.get(__response__, 'project'),
|
|
149
|
+
service_plans=pulumi.get(__response__, 'service_plans'),
|
|
150
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
151
|
+
timeouts=pulumi.get(__response__, 'timeouts')))
|
pulumi_aiven/get_thanos.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetThanosResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getThanos.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None, thanos=None, thanos_user_configs=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None, thanos=None, thanos_user_configs=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetThanosResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -144,7 +147,7 @@ class GetThanosResult:
|
|
|
144
147
|
@pulumi.getter(name="diskSpace")
|
|
145
148
|
def disk_space(self) -> _builtins.str:
|
|
146
149
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
150
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "disk_space")
|
|
150
153
|
|
|
@@ -176,7 +179,7 @@ class GetThanosResult:
|
|
|
176
179
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
180
|
def disk_space_used(self) -> _builtins.str:
|
|
178
181
|
"""
|
|
179
|
-
|
|
182
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "disk_space_used")
|
|
182
185
|
|
|
@@ -196,6 +199,14 @@ class GetThanosResult:
|
|
|
196
199
|
"""
|
|
197
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
204
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
205
|
+
"""
|
|
206
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
209
|
+
|
|
199
210
|
@_builtins.property
|
|
200
211
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
212
|
def maintenance_window_time(self) -> _builtins.str:
|
|
@@ -362,6 +373,7 @@ class AwaitableGetThanosResult(GetThanosResult):
|
|
|
362
373
|
disk_space_used=self.disk_space_used,
|
|
363
374
|
id=self.id,
|
|
364
375
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
376
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
377
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
378
|
plan=self.plan,
|
|
367
379
|
project=self.project,
|
|
@@ -420,6 +432,7 @@ def get_thanos(project: Optional[_builtins.str] = None,
|
|
|
420
432
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
433
|
id=pulumi.get(__ret__, 'id'),
|
|
422
434
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
435
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
423
436
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
424
437
|
plan=pulumi.get(__ret__, 'plan'),
|
|
425
438
|
project=pulumi.get(__ret__, 'project'),
|
|
@@ -475,6 +488,7 @@ def get_thanos_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
475
488
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
476
489
|
id=pulumi.get(__response__, 'id'),
|
|
477
490
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
491
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
478
492
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
479
493
|
plan=pulumi.get(__response__, 'plan'),
|
|
480
494
|
project=pulumi.get(__response__, 'project'),
|
pulumi_aiven/get_valkey.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetValkeyResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getValkey.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None, valkey_user_configs=None, valkeys=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None, valkey_user_configs=None, valkeys=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetValkeyResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -144,7 +147,7 @@ class GetValkeyResult:
|
|
|
144
147
|
@pulumi.getter(name="diskSpace")
|
|
145
148
|
def disk_space(self) -> _builtins.str:
|
|
146
149
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
150
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "disk_space")
|
|
150
153
|
|
|
@@ -176,7 +179,7 @@ class GetValkeyResult:
|
|
|
176
179
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
180
|
def disk_space_used(self) -> _builtins.str:
|
|
178
181
|
"""
|
|
179
|
-
|
|
182
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "disk_space_used")
|
|
182
185
|
|
|
@@ -196,6 +199,14 @@ class GetValkeyResult:
|
|
|
196
199
|
"""
|
|
197
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
204
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
205
|
+
"""
|
|
206
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
209
|
+
|
|
199
210
|
@_builtins.property
|
|
200
211
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
212
|
def maintenance_window_time(self) -> _builtins.str:
|
|
@@ -362,6 +373,7 @@ class AwaitableGetValkeyResult(GetValkeyResult):
|
|
|
362
373
|
disk_space_used=self.disk_space_used,
|
|
363
374
|
id=self.id,
|
|
364
375
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
376
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
377
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
378
|
plan=self.plan,
|
|
367
379
|
project=self.project,
|
|
@@ -420,6 +432,7 @@ def get_valkey(project: Optional[_builtins.str] = None,
|
|
|
420
432
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
433
|
id=pulumi.get(__ret__, 'id'),
|
|
422
434
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
435
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
423
436
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
424
437
|
plan=pulumi.get(__ret__, 'plan'),
|
|
425
438
|
project=pulumi.get(__ret__, 'project'),
|
|
@@ -475,6 +488,7 @@ def get_valkey_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
475
488
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
476
489
|
id=pulumi.get(__response__, 'id'),
|
|
477
490
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
491
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
478
492
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
479
493
|
plan=pulumi.get(__response__, 'plan'),
|
|
480
494
|
project=pulumi.get(__response__, 'project'),
|
pulumi_aiven/get_valkey_user.py
CHANGED
|
@@ -70,7 +70,7 @@ class GetValkeyUserResult:
|
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def password(self) -> _builtins.str:
|
|
72
72
|
"""
|
|
73
|
-
The
|
|
73
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "password")
|
|
76
76
|
|
|
@@ -110,7 +110,7 @@ class GetValkeyUserResult:
|
|
|
110
110
|
@pulumi.getter(name="valkeyAclCategories")
|
|
111
111
|
def valkey_acl_categories(self) -> Sequence[_builtins.str]:
|
|
112
112
|
"""
|
|
113
|
-
Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with`valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
113
|
+
Allow or disallow command categories. To allow a category use the prefix `+@` and to disallow use `-@`. See the [Valkey documentation](https://valkey.io/topics/acl/) for details on the ACL feature. The field is required with `valkey_acl_commands` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "valkey_acl_categories")
|
|
116
116
|
|
|
@@ -126,7 +126,7 @@ class GetValkeyUserResult:
|
|
|
126
126
|
@pulumi.getter(name="valkeyAclCommands")
|
|
127
127
|
def valkey_acl_commands(self) -> Sequence[_builtins.str]:
|
|
128
128
|
"""
|
|
129
|
-
Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
129
|
+
Defines rules for individual commands. To allow a command use the prefix `+` and to disallow use `-`. The field is required with `valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
130
130
|
"""
|
|
131
131
|
return pulumi.get(self, "valkey_acl_commands")
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ class GetValkeyUserResult:
|
|
|
134
134
|
@pulumi.getter(name="valkeyAclKeys")
|
|
135
135
|
def valkey_acl_keys(self) -> Sequence[_builtins.str]:
|
|
136
136
|
"""
|
|
137
|
-
Key access rules. Entries are defined as standard glob patterns. The field is required with`valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
137
|
+
Key access rules. Entries are defined as standard glob patterns. The field is required with `valkey_acl_categories` and `valkey_acl_keys`. Changing this property forces recreation of the resource.
|
|
138
138
|
"""
|
|
139
139
|
return pulumi.get(self, "valkey_acl_keys")
|
|
140
140
|
|