pulumi-aiven 6.37.0a1744182902__py3-none-any.whl → 6.38.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-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +30 -0
- pulumi_aiven/_inputs.py +1902 -172
- pulumi_aiven/account.py +1 -0
- pulumi_aiven/account_authentication.py +1 -0
- pulumi_aiven/account_team.py +1 -0
- pulumi_aiven/account_team_member.py +1 -0
- pulumi_aiven/account_team_project.py +1 -0
- pulumi_aiven/alloydbomni.py +8 -15
- pulumi_aiven/alloydbomni_database.py +1 -0
- pulumi_aiven/alloydbomni_user.py +1 -0
- pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/aws_privatelink.py +1 -0
- pulumi_aiven/aws_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_privatelink.py +1 -0
- pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
- pulumi_aiven/azure_vpc_peering_connection.py +1 -0
- pulumi_aiven/billing_group.py +1 -0
- pulumi_aiven/cassandra.py +8 -15
- pulumi_aiven/cassandra_user.py +1 -0
- pulumi_aiven/clickhouse.py +8 -15
- pulumi_aiven/clickhouse_database.py +1 -0
- pulumi_aiven/clickhouse_grant.py +19 -0
- pulumi_aiven/clickhouse_role.py +1 -0
- pulumi_aiven/clickhouse_user.py +1 -0
- pulumi_aiven/connection_pool.py +1 -0
- pulumi_aiven/dragonfly.py +8 -15
- pulumi_aiven/flink.py +8 -15
- pulumi_aiven/flink_application.py +1 -0
- pulumi_aiven/flink_application_deployment.py +1 -0
- pulumi_aiven/flink_application_version.py +1 -0
- pulumi_aiven/flink_jar_application.py +1 -0
- pulumi_aiven/flink_jar_application_deployment.py +1 -0
- pulumi_aiven/flink_jar_application_version.py +1 -0
- pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/gcp_privatelink.py +1 -0
- pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
- pulumi_aiven/get_alloydbomni.py +1 -4
- pulumi_aiven/get_cassanda.py +1 -4
- pulumi_aiven/get_cassandra.py +1 -4
- pulumi_aiven/get_clickhouse.py +1 -4
- pulumi_aiven/get_dragonfly.py +1 -4
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_flink.py +1 -4
- pulumi_aiven/get_grafana.py +1 -4
- pulumi_aiven/get_kafka.py +1 -4
- pulumi_aiven/get_kafka_connect.py +1 -4
- pulumi_aiven/get_kafka_mirror_maker.py +1 -4
- pulumi_aiven/get_m3_aggregator.py +1 -4
- pulumi_aiven/get_m3_db.py +1 -4
- pulumi_aiven/get_my_sql.py +1 -4
- pulumi_aiven/get_open_search.py +8 -11
- pulumi_aiven/get_open_search_acl_config.py +7 -7
- pulumi_aiven/get_open_search_acl_rule.py +19 -19
- pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
- pulumi_aiven/get_opensearch_user.py +13 -13
- pulumi_aiven/get_organization.py +22 -4
- pulumi_aiven/get_organization_address.py +250 -0
- pulumi_aiven/get_organization_application_user.py +0 -20
- pulumi_aiven/get_organization_billing_group.py +264 -0
- pulumi_aiven/get_organization_billing_group_list.py +138 -0
- pulumi_aiven/get_organization_project.py +63 -13
- pulumi_aiven/get_organization_user_list.py +25 -13
- pulumi_aiven/get_pg.py +1 -4
- pulumi_aiven/get_redis.py +1 -4
- pulumi_aiven/get_service_component.py +15 -1
- pulumi_aiven/get_service_integration.py +2 -2
- pulumi_aiven/get_thanos.py +1 -4
- pulumi_aiven/get_valkey.py +1 -4
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/grafana.py +8 -15
- pulumi_aiven/influx_db.py +22 -15
- pulumi_aiven/influxdb_database.py +1 -0
- pulumi_aiven/influxdb_user.py +1 -0
- pulumi_aiven/kafka.py +8 -15
- pulumi_aiven/kafka_acl.py +1 -0
- pulumi_aiven/kafka_connect.py +8 -15
- pulumi_aiven/kafka_connector.py +1 -0
- pulumi_aiven/kafka_mirror_maker.py +8 -15
- pulumi_aiven/kafka_native_acl.py +2 -1
- pulumi_aiven/kafka_quota.py +1 -0
- pulumi_aiven/kafka_schema.py +1 -0
- pulumi_aiven/kafka_schema_configuration.py +1 -0
- pulumi_aiven/kafka_schema_registry_acl.py +1 -0
- pulumi_aiven/kafka_topic.py +1 -0
- pulumi_aiven/kafka_user.py +1 -0
- pulumi_aiven/m3_aggregator.py +8 -15
- pulumi_aiven/m3_db.py +8 -15
- pulumi_aiven/m3db_user.py +1 -0
- pulumi_aiven/mirror_maker_replication_flow.py +1 -0
- pulumi_aiven/my_sql.py +8 -15
- pulumi_aiven/mysql_database.py +1 -0
- pulumi_aiven/mysql_user.py +1 -0
- pulumi_aiven/open_search.py +25 -34
- pulumi_aiven/open_search_acl_config.py +30 -41
- pulumi_aiven/open_search_acl_rule.py +48 -47
- pulumi_aiven/opensearch_security_plugin_config.py +15 -42
- pulumi_aiven/opensearch_user.py +33 -32
- pulumi_aiven/organization.py +27 -21
- pulumi_aiven/organization_address.py +564 -0
- pulumi_aiven/organization_application_user.py +14 -4
- pulumi_aiven/organization_application_user_token.py +1 -0
- pulumi_aiven/organization_billing_group.py +652 -0
- pulumi_aiven/organization_group_project.py +1 -0
- pulumi_aiven/organization_permission.py +3 -2
- pulumi_aiven/organization_project.py +149 -68
- pulumi_aiven/organization_user.py +1 -0
- pulumi_aiven/organization_user_group.py +1 -0
- pulumi_aiven/organization_user_group_member.py +1 -32
- pulumi_aiven/organization_vpc.py +1 -0
- pulumi_aiven/organizational_unit.py +1 -0
- pulumi_aiven/outputs.py +1813 -198
- pulumi_aiven/pg.py +8 -15
- pulumi_aiven/pg_database.py +1 -0
- pulumi_aiven/pg_user.py +1 -0
- pulumi_aiven/project.py +1 -0
- pulumi_aiven/project_user.py +1 -0
- pulumi_aiven/project_vpc.py +1 -0
- pulumi_aiven/provider.py +21 -0
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +8 -15
- pulumi_aiven/redis_user.py +1 -0
- pulumi_aiven/service_integration.py +5 -4
- pulumi_aiven/service_integration_endpoint.py +1 -0
- pulumi_aiven/static_ip.py +1 -0
- pulumi_aiven/thanos.py +8 -15
- pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
- pulumi_aiven/valkey.py +8 -15
- pulumi_aiven/valkey_user.py +1 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
- pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,250 @@
|
|
|
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 builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
'GetOrganizationAddressResult',
|
|
22
|
+
'AwaitableGetOrganizationAddressResult',
|
|
23
|
+
'get_organization_address',
|
|
24
|
+
'get_organization_address_output',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class GetOrganizationAddressResult:
|
|
29
|
+
"""
|
|
30
|
+
A collection of values returned by getOrganizationAddress.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, address_id=None, address_lines=None, city=None, country_code=None, create_time=None, id=None, name=None, organization_id=None, state=None, timeouts=None, update_time=None, zip_code=None):
|
|
33
|
+
if address_id and not isinstance(address_id, str):
|
|
34
|
+
raise TypeError("Expected argument 'address_id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "address_id", address_id)
|
|
36
|
+
if address_lines and not isinstance(address_lines, list):
|
|
37
|
+
raise TypeError("Expected argument 'address_lines' to be a list")
|
|
38
|
+
pulumi.set(__self__, "address_lines", address_lines)
|
|
39
|
+
if city and not isinstance(city, str):
|
|
40
|
+
raise TypeError("Expected argument 'city' to be a str")
|
|
41
|
+
pulumi.set(__self__, "city", city)
|
|
42
|
+
if country_code and not isinstance(country_code, str):
|
|
43
|
+
raise TypeError("Expected argument 'country_code' to be a str")
|
|
44
|
+
pulumi.set(__self__, "country_code", country_code)
|
|
45
|
+
if create_time and not isinstance(create_time, str):
|
|
46
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
|
47
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
48
|
+
if id and not isinstance(id, str):
|
|
49
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
50
|
+
pulumi.set(__self__, "id", id)
|
|
51
|
+
if name and not isinstance(name, str):
|
|
52
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
53
|
+
pulumi.set(__self__, "name", name)
|
|
54
|
+
if organization_id and not isinstance(organization_id, str):
|
|
55
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
56
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
57
|
+
if state and not isinstance(state, str):
|
|
58
|
+
raise TypeError("Expected argument 'state' to be a str")
|
|
59
|
+
pulumi.set(__self__, "state", state)
|
|
60
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
61
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
62
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
63
|
+
if update_time and not isinstance(update_time, str):
|
|
64
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
|
65
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
66
|
+
if zip_code and not isinstance(zip_code, str):
|
|
67
|
+
raise TypeError("Expected argument 'zip_code' to be a str")
|
|
68
|
+
pulumi.set(__self__, "zip_code", zip_code)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="addressId")
|
|
72
|
+
def address_id(self) -> builtins.str:
|
|
73
|
+
"""
|
|
74
|
+
Address ID.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "address_id")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter(name="addressLines")
|
|
80
|
+
def address_lines(self) -> Sequence[builtins.str]:
|
|
81
|
+
"""
|
|
82
|
+
Address Lines.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "address_lines")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def city(self) -> builtins.str:
|
|
89
|
+
"""
|
|
90
|
+
City.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "city")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter(name="countryCode")
|
|
96
|
+
def country_code(self) -> builtins.str:
|
|
97
|
+
"""
|
|
98
|
+
Country Code.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "country_code")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="createTime")
|
|
104
|
+
def create_time(self) -> builtins.str:
|
|
105
|
+
"""
|
|
106
|
+
Create Time.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "create_time")
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter
|
|
112
|
+
def id(self) -> builtins.str:
|
|
113
|
+
"""
|
|
114
|
+
Resource ID, a composite of `organization_id` and `address_id` IDs.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "id")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter
|
|
120
|
+
def name(self) -> builtins.str:
|
|
121
|
+
"""
|
|
122
|
+
Name of a company.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "name")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter(name="organizationId")
|
|
128
|
+
def organization_id(self) -> builtins.str:
|
|
129
|
+
"""
|
|
130
|
+
ID of an organization.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "organization_id")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter
|
|
136
|
+
def state(self) -> builtins.str:
|
|
137
|
+
"""
|
|
138
|
+
State.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "state")
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationAddressTimeoutsResult']:
|
|
145
|
+
return pulumi.get(self, "timeouts")
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
@pulumi.getter(name="updateTime")
|
|
149
|
+
def update_time(self) -> builtins.str:
|
|
150
|
+
"""
|
|
151
|
+
Update Time.
|
|
152
|
+
"""
|
|
153
|
+
return pulumi.get(self, "update_time")
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="zipCode")
|
|
157
|
+
def zip_code(self) -> builtins.str:
|
|
158
|
+
"""
|
|
159
|
+
Zip Code.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "zip_code")
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class AwaitableGetOrganizationAddressResult(GetOrganizationAddressResult):
|
|
165
|
+
# pylint: disable=using-constant-test
|
|
166
|
+
def __await__(self):
|
|
167
|
+
if False:
|
|
168
|
+
yield self
|
|
169
|
+
return GetOrganizationAddressResult(
|
|
170
|
+
address_id=self.address_id,
|
|
171
|
+
address_lines=self.address_lines,
|
|
172
|
+
city=self.city,
|
|
173
|
+
country_code=self.country_code,
|
|
174
|
+
create_time=self.create_time,
|
|
175
|
+
id=self.id,
|
|
176
|
+
name=self.name,
|
|
177
|
+
organization_id=self.organization_id,
|
|
178
|
+
state=self.state,
|
|
179
|
+
timeouts=self.timeouts,
|
|
180
|
+
update_time=self.update_time,
|
|
181
|
+
zip_code=self.zip_code)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
def get_organization_address(address_id: Optional[builtins.str] = None,
|
|
185
|
+
organization_id: Optional[builtins.str] = None,
|
|
186
|
+
timeouts: Optional[Union['GetOrganizationAddressTimeoutsArgs', 'GetOrganizationAddressTimeoutsArgsDict']] = None,
|
|
187
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationAddressResult:
|
|
188
|
+
"""
|
|
189
|
+
Gets information about an organization address.
|
|
190
|
+
|
|
191
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
192
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:param builtins.str address_id: Address ID.
|
|
196
|
+
:param builtins.str organization_id: ID of an organization.
|
|
197
|
+
"""
|
|
198
|
+
__args__ = dict()
|
|
199
|
+
__args__['addressId'] = address_id
|
|
200
|
+
__args__['organizationId'] = organization_id
|
|
201
|
+
__args__['timeouts'] = timeouts
|
|
202
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationAddress:getOrganizationAddress', __args__, opts=opts, typ=GetOrganizationAddressResult).value
|
|
204
|
+
|
|
205
|
+
return AwaitableGetOrganizationAddressResult(
|
|
206
|
+
address_id=pulumi.get(__ret__, 'address_id'),
|
|
207
|
+
address_lines=pulumi.get(__ret__, 'address_lines'),
|
|
208
|
+
city=pulumi.get(__ret__, 'city'),
|
|
209
|
+
country_code=pulumi.get(__ret__, 'country_code'),
|
|
210
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
211
|
+
id=pulumi.get(__ret__, 'id'),
|
|
212
|
+
name=pulumi.get(__ret__, 'name'),
|
|
213
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
214
|
+
state=pulumi.get(__ret__, 'state'),
|
|
215
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
216
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
|
217
|
+
zip_code=pulumi.get(__ret__, 'zip_code'))
|
|
218
|
+
def get_organization_address_output(address_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
219
|
+
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
220
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationAddressTimeoutsArgs', 'GetOrganizationAddressTimeoutsArgsDict']]]] = None,
|
|
221
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationAddressResult]:
|
|
222
|
+
"""
|
|
223
|
+
Gets information about an organization address.
|
|
224
|
+
|
|
225
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
226
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
:param builtins.str address_id: Address ID.
|
|
230
|
+
:param builtins.str organization_id: ID of an organization.
|
|
231
|
+
"""
|
|
232
|
+
__args__ = dict()
|
|
233
|
+
__args__['addressId'] = address_id
|
|
234
|
+
__args__['organizationId'] = organization_id
|
|
235
|
+
__args__['timeouts'] = timeouts
|
|
236
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
237
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationAddress:getOrganizationAddress', __args__, opts=opts, typ=GetOrganizationAddressResult)
|
|
238
|
+
return __ret__.apply(lambda __response__: GetOrganizationAddressResult(
|
|
239
|
+
address_id=pulumi.get(__response__, 'address_id'),
|
|
240
|
+
address_lines=pulumi.get(__response__, 'address_lines'),
|
|
241
|
+
city=pulumi.get(__response__, 'city'),
|
|
242
|
+
country_code=pulumi.get(__response__, 'country_code'),
|
|
243
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
244
|
+
id=pulumi.get(__response__, 'id'),
|
|
245
|
+
name=pulumi.get(__response__, 'name'),
|
|
246
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
247
|
+
state=pulumi.get(__response__, 'state'),
|
|
248
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
249
|
+
update_time=pulumi.get(__response__, 'update_time'),
|
|
250
|
+
zip_code=pulumi.get(__response__, 'zip_code')))
|
|
@@ -116,16 +116,6 @@ def get_organization_application_user(organization_id: Optional[builtins.str] =
|
|
|
116
116
|
"""
|
|
117
117
|
Gets information about an application user.
|
|
118
118
|
|
|
119
|
-
## Example Usage
|
|
120
|
-
|
|
121
|
-
```python
|
|
122
|
-
import pulumi
|
|
123
|
-
import pulumi_aiven as aiven
|
|
124
|
-
|
|
125
|
-
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
126
|
-
user_id="u123a456b7890c")
|
|
127
|
-
```
|
|
128
|
-
|
|
129
119
|
|
|
130
120
|
:param builtins.str organization_id: The ID of the organization the application user belongs to.
|
|
131
121
|
:param builtins.str user_id: The ID of the application user.
|
|
@@ -149,16 +139,6 @@ def get_organization_application_user_output(organization_id: Optional[pulumi.In
|
|
|
149
139
|
"""
|
|
150
140
|
Gets information about an application user.
|
|
151
141
|
|
|
152
|
-
## Example Usage
|
|
153
|
-
|
|
154
|
-
```python
|
|
155
|
-
import pulumi
|
|
156
|
-
import pulumi_aiven as aiven
|
|
157
|
-
|
|
158
|
-
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
159
|
-
user_id="u123a456b7890c")
|
|
160
|
-
```
|
|
161
|
-
|
|
162
142
|
|
|
163
143
|
:param builtins.str organization_id: The ID of the organization the application user belongs to.
|
|
164
144
|
:param builtins.str user_id: The ID of the application user.
|
|
@@ -0,0 +1,264 @@
|
|
|
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 builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
'GetOrganizationBillingGroupResult',
|
|
22
|
+
'AwaitableGetOrganizationBillingGroupResult',
|
|
23
|
+
'get_organization_billing_group',
|
|
24
|
+
'get_organization_billing_group_output',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class GetOrganizationBillingGroupResult:
|
|
29
|
+
"""
|
|
30
|
+
A collection of values returned by getOrganizationBillingGroup.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, billing_address_id=None, billing_contact_emails=None, billing_currency=None, billing_emails=None, billing_group_id=None, billing_group_name=None, custom_invoice_text=None, id=None, organization_id=None, payment_method_id=None, shipping_address_id=None, timeouts=None, vat_id=None):
|
|
33
|
+
if billing_address_id and not isinstance(billing_address_id, str):
|
|
34
|
+
raise TypeError("Expected argument 'billing_address_id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "billing_address_id", billing_address_id)
|
|
36
|
+
if billing_contact_emails and not isinstance(billing_contact_emails, list):
|
|
37
|
+
raise TypeError("Expected argument 'billing_contact_emails' to be a list")
|
|
38
|
+
pulumi.set(__self__, "billing_contact_emails", billing_contact_emails)
|
|
39
|
+
if billing_currency and not isinstance(billing_currency, str):
|
|
40
|
+
raise TypeError("Expected argument 'billing_currency' to be a str")
|
|
41
|
+
pulumi.set(__self__, "billing_currency", billing_currency)
|
|
42
|
+
if billing_emails and not isinstance(billing_emails, list):
|
|
43
|
+
raise TypeError("Expected argument 'billing_emails' to be a list")
|
|
44
|
+
pulumi.set(__self__, "billing_emails", billing_emails)
|
|
45
|
+
if billing_group_id and not isinstance(billing_group_id, str):
|
|
46
|
+
raise TypeError("Expected argument 'billing_group_id' to be a str")
|
|
47
|
+
pulumi.set(__self__, "billing_group_id", billing_group_id)
|
|
48
|
+
if billing_group_name and not isinstance(billing_group_name, str):
|
|
49
|
+
raise TypeError("Expected argument 'billing_group_name' to be a str")
|
|
50
|
+
pulumi.set(__self__, "billing_group_name", billing_group_name)
|
|
51
|
+
if custom_invoice_text and not isinstance(custom_invoice_text, str):
|
|
52
|
+
raise TypeError("Expected argument 'custom_invoice_text' to be a str")
|
|
53
|
+
pulumi.set(__self__, "custom_invoice_text", custom_invoice_text)
|
|
54
|
+
if id and not isinstance(id, str):
|
|
55
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
56
|
+
pulumi.set(__self__, "id", id)
|
|
57
|
+
if organization_id and not isinstance(organization_id, str):
|
|
58
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
59
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
60
|
+
if payment_method_id and not isinstance(payment_method_id, str):
|
|
61
|
+
raise TypeError("Expected argument 'payment_method_id' to be a str")
|
|
62
|
+
pulumi.set(__self__, "payment_method_id", payment_method_id)
|
|
63
|
+
if shipping_address_id and not isinstance(shipping_address_id, str):
|
|
64
|
+
raise TypeError("Expected argument 'shipping_address_id' to be a str")
|
|
65
|
+
pulumi.set(__self__, "shipping_address_id", shipping_address_id)
|
|
66
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
67
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
68
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
69
|
+
if vat_id and not isinstance(vat_id, str):
|
|
70
|
+
raise TypeError("Expected argument 'vat_id' to be a str")
|
|
71
|
+
pulumi.set(__self__, "vat_id", vat_id)
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="billingAddressId")
|
|
75
|
+
def billing_address_id(self) -> builtins.str:
|
|
76
|
+
"""
|
|
77
|
+
Billing address ID.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "billing_address_id")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="billingContactEmails")
|
|
83
|
+
def billing_contact_emails(self) -> Sequence[builtins.str]:
|
|
84
|
+
"""
|
|
85
|
+
List of billing contact emails.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "billing_contact_emails")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="billingCurrency")
|
|
91
|
+
def billing_currency(self) -> builtins.str:
|
|
92
|
+
"""
|
|
93
|
+
Acceptable currencies for a billing group. The possible values are `AUD`, `CAD`, `CHF`, `DKK`, `EUR`, `GBP`, `JPY`, `NOK`, `NZD`, `SEK`, `SGD` and `USD`.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "billing_currency")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="billingEmails")
|
|
99
|
+
def billing_emails(self) -> Sequence[builtins.str]:
|
|
100
|
+
"""
|
|
101
|
+
List of billing contact emails.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "billing_emails")
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@pulumi.getter(name="billingGroupId")
|
|
107
|
+
def billing_group_id(self) -> builtins.str:
|
|
108
|
+
"""
|
|
109
|
+
Billing group ID.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "billing_group_id")
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter(name="billingGroupName")
|
|
115
|
+
def billing_group_name(self) -> builtins.str:
|
|
116
|
+
"""
|
|
117
|
+
Billing Group Name.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "billing_group_name")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="customInvoiceText")
|
|
123
|
+
def custom_invoice_text(self) -> builtins.str:
|
|
124
|
+
"""
|
|
125
|
+
Extra billing text.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "custom_invoice_text")
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter
|
|
131
|
+
def id(self) -> builtins.str:
|
|
132
|
+
"""
|
|
133
|
+
Resource ID, a composite of `organization_id` and `billing_group_id` IDs.
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "id")
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter(name="organizationId")
|
|
139
|
+
def organization_id(self) -> builtins.str:
|
|
140
|
+
"""
|
|
141
|
+
ID of an organization.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "organization_id")
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
@pulumi.getter(name="paymentMethodId")
|
|
147
|
+
def payment_method_id(self) -> builtins.str:
|
|
148
|
+
"""
|
|
149
|
+
Payment method ID.
|
|
150
|
+
"""
|
|
151
|
+
return pulumi.get(self, "payment_method_id")
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
@pulumi.getter(name="shippingAddressId")
|
|
155
|
+
def shipping_address_id(self) -> builtins.str:
|
|
156
|
+
"""
|
|
157
|
+
Shipping address ID.
|
|
158
|
+
"""
|
|
159
|
+
return pulumi.get(self, "shipping_address_id")
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
@pulumi.getter
|
|
163
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationBillingGroupTimeoutsResult']:
|
|
164
|
+
return pulumi.get(self, "timeouts")
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
@pulumi.getter(name="vatId")
|
|
168
|
+
def vat_id(self) -> builtins.str:
|
|
169
|
+
"""
|
|
170
|
+
VAT ID.
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "vat_id")
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class AwaitableGetOrganizationBillingGroupResult(GetOrganizationBillingGroupResult):
|
|
176
|
+
# pylint: disable=using-constant-test
|
|
177
|
+
def __await__(self):
|
|
178
|
+
if False:
|
|
179
|
+
yield self
|
|
180
|
+
return GetOrganizationBillingGroupResult(
|
|
181
|
+
billing_address_id=self.billing_address_id,
|
|
182
|
+
billing_contact_emails=self.billing_contact_emails,
|
|
183
|
+
billing_currency=self.billing_currency,
|
|
184
|
+
billing_emails=self.billing_emails,
|
|
185
|
+
billing_group_id=self.billing_group_id,
|
|
186
|
+
billing_group_name=self.billing_group_name,
|
|
187
|
+
custom_invoice_text=self.custom_invoice_text,
|
|
188
|
+
id=self.id,
|
|
189
|
+
organization_id=self.organization_id,
|
|
190
|
+
payment_method_id=self.payment_method_id,
|
|
191
|
+
shipping_address_id=self.shipping_address_id,
|
|
192
|
+
timeouts=self.timeouts,
|
|
193
|
+
vat_id=self.vat_id)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
def get_organization_billing_group(billing_group_id: Optional[builtins.str] = None,
|
|
197
|
+
organization_id: Optional[builtins.str] = None,
|
|
198
|
+
timeouts: Optional[Union['GetOrganizationBillingGroupTimeoutsArgs', 'GetOrganizationBillingGroupTimeoutsArgsDict']] = None,
|
|
199
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationBillingGroupResult:
|
|
200
|
+
"""
|
|
201
|
+
Gets information about a billing group.
|
|
202
|
+
|
|
203
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
204
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
:param builtins.str billing_group_id: Billing group ID.
|
|
208
|
+
:param builtins.str organization_id: ID of an organization.
|
|
209
|
+
"""
|
|
210
|
+
__args__ = dict()
|
|
211
|
+
__args__['billingGroupId'] = billing_group_id
|
|
212
|
+
__args__['organizationId'] = organization_id
|
|
213
|
+
__args__['timeouts'] = timeouts
|
|
214
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
215
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationBillingGroup:getOrganizationBillingGroup', __args__, opts=opts, typ=GetOrganizationBillingGroupResult).value
|
|
216
|
+
|
|
217
|
+
return AwaitableGetOrganizationBillingGroupResult(
|
|
218
|
+
billing_address_id=pulumi.get(__ret__, 'billing_address_id'),
|
|
219
|
+
billing_contact_emails=pulumi.get(__ret__, 'billing_contact_emails'),
|
|
220
|
+
billing_currency=pulumi.get(__ret__, 'billing_currency'),
|
|
221
|
+
billing_emails=pulumi.get(__ret__, 'billing_emails'),
|
|
222
|
+
billing_group_id=pulumi.get(__ret__, 'billing_group_id'),
|
|
223
|
+
billing_group_name=pulumi.get(__ret__, 'billing_group_name'),
|
|
224
|
+
custom_invoice_text=pulumi.get(__ret__, 'custom_invoice_text'),
|
|
225
|
+
id=pulumi.get(__ret__, 'id'),
|
|
226
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
227
|
+
payment_method_id=pulumi.get(__ret__, 'payment_method_id'),
|
|
228
|
+
shipping_address_id=pulumi.get(__ret__, 'shipping_address_id'),
|
|
229
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
230
|
+
vat_id=pulumi.get(__ret__, 'vat_id'))
|
|
231
|
+
def get_organization_billing_group_output(billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
232
|
+
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
233
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationBillingGroupTimeoutsArgs', 'GetOrganizationBillingGroupTimeoutsArgsDict']]]] = None,
|
|
234
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationBillingGroupResult]:
|
|
235
|
+
"""
|
|
236
|
+
Gets information about a billing group.
|
|
237
|
+
|
|
238
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
239
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:param builtins.str billing_group_id: Billing group ID.
|
|
243
|
+
:param builtins.str organization_id: ID of an organization.
|
|
244
|
+
"""
|
|
245
|
+
__args__ = dict()
|
|
246
|
+
__args__['billingGroupId'] = billing_group_id
|
|
247
|
+
__args__['organizationId'] = organization_id
|
|
248
|
+
__args__['timeouts'] = timeouts
|
|
249
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
250
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationBillingGroup:getOrganizationBillingGroup', __args__, opts=opts, typ=GetOrganizationBillingGroupResult)
|
|
251
|
+
return __ret__.apply(lambda __response__: GetOrganizationBillingGroupResult(
|
|
252
|
+
billing_address_id=pulumi.get(__response__, 'billing_address_id'),
|
|
253
|
+
billing_contact_emails=pulumi.get(__response__, 'billing_contact_emails'),
|
|
254
|
+
billing_currency=pulumi.get(__response__, 'billing_currency'),
|
|
255
|
+
billing_emails=pulumi.get(__response__, 'billing_emails'),
|
|
256
|
+
billing_group_id=pulumi.get(__response__, 'billing_group_id'),
|
|
257
|
+
billing_group_name=pulumi.get(__response__, 'billing_group_name'),
|
|
258
|
+
custom_invoice_text=pulumi.get(__response__, 'custom_invoice_text'),
|
|
259
|
+
id=pulumi.get(__response__, 'id'),
|
|
260
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
261
|
+
payment_method_id=pulumi.get(__response__, 'payment_method_id'),
|
|
262
|
+
shipping_address_id=pulumi.get(__response__, 'shipping_address_id'),
|
|
263
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
264
|
+
vat_id=pulumi.get(__response__, 'vat_id')))
|