pulumi-aiven 6.38.0a1747372094__py3-none-any.whl → 6.38.0a1747647727__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 +9 -0
- pulumi_aiven/_inputs.py +1302 -160
- pulumi_aiven/clickhouse_grant.py +18 -0
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_open_search.py +7 -7
- 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 +24 -6
- pulumi_aiven/get_organization_address.py +52 -29
- pulumi_aiven/get_organization_billing_group.py +38 -15
- pulumi_aiven/get_organization_billing_group_list.py +40 -12
- pulumi_aiven/get_organization_project.py +50 -14
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/open_search.py +17 -19
- pulumi_aiven/open_search_acl_config.py +29 -41
- pulumi_aiven/open_search_acl_rule.py +47 -47
- pulumi_aiven/opensearch_security_plugin_config.py +14 -42
- pulumi_aiven/opensearch_user.py +32 -32
- pulumi_aiven/organization.py +24 -19
- pulumi_aiven/organization_address.py +102 -96
- pulumi_aiven/organization_application_user.py +9 -0
- pulumi_aiven/organization_billing_group.py +66 -60
- pulumi_aiven/organization_project.py +111 -62
- pulumi_aiven/outputs.py +1039 -189
- pulumi_aiven/pulumi-plugin.json +1 -1
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.38.0a1747647727.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.38.0a1747647727.dist-info}/RECORD +31 -30
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.38.0a1747647727.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.38.0a1747647727.dist-info}/top_level.txt +0 -0
|
@@ -14,6 +14,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
14
|
else:
|
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
16
|
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
17
19
|
|
|
18
20
|
__all__ = [
|
|
19
21
|
'GetOrganizationAddressResult',
|
|
@@ -27,7 +29,7 @@ class GetOrganizationAddressResult:
|
|
|
27
29
|
"""
|
|
28
30
|
A collection of values returned by getOrganizationAddress.
|
|
29
31
|
"""
|
|
30
|
-
def __init__(__self__, address_id=None, address_lines=None, city=None,
|
|
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):
|
|
31
33
|
if address_id and not isinstance(address_id, str):
|
|
32
34
|
raise TypeError("Expected argument 'address_id' to be a str")
|
|
33
35
|
pulumi.set(__self__, "address_id", address_id)
|
|
@@ -37,9 +39,6 @@ class GetOrganizationAddressResult:
|
|
|
37
39
|
if city and not isinstance(city, str):
|
|
38
40
|
raise TypeError("Expected argument 'city' to be a str")
|
|
39
41
|
pulumi.set(__self__, "city", city)
|
|
40
|
-
if company_name and not isinstance(company_name, str):
|
|
41
|
-
raise TypeError("Expected argument 'company_name' to be a str")
|
|
42
|
-
pulumi.set(__self__, "company_name", company_name)
|
|
43
42
|
if country_code and not isinstance(country_code, str):
|
|
44
43
|
raise TypeError("Expected argument 'country_code' to be a str")
|
|
45
44
|
pulumi.set(__self__, "country_code", country_code)
|
|
@@ -49,12 +48,18 @@ class GetOrganizationAddressResult:
|
|
|
49
48
|
if id and not isinstance(id, str):
|
|
50
49
|
raise TypeError("Expected argument 'id' to be a str")
|
|
51
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)
|
|
52
54
|
if organization_id and not isinstance(organization_id, str):
|
|
53
55
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
54
56
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
55
57
|
if state and not isinstance(state, str):
|
|
56
58
|
raise TypeError("Expected argument 'state' to be a str")
|
|
57
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)
|
|
58
63
|
if update_time and not isinstance(update_time, str):
|
|
59
64
|
raise TypeError("Expected argument 'update_time' to be a str")
|
|
60
65
|
pulumi.set(__self__, "update_time", update_time)
|
|
@@ -66,7 +71,7 @@ class GetOrganizationAddressResult:
|
|
|
66
71
|
@pulumi.getter(name="addressId")
|
|
67
72
|
def address_id(self) -> builtins.str:
|
|
68
73
|
"""
|
|
69
|
-
ID
|
|
74
|
+
Address ID.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "address_id")
|
|
72
77
|
|
|
@@ -74,7 +79,7 @@ class GetOrganizationAddressResult:
|
|
|
74
79
|
@pulumi.getter(name="addressLines")
|
|
75
80
|
def address_lines(self) -> Sequence[builtins.str]:
|
|
76
81
|
"""
|
|
77
|
-
|
|
82
|
+
Address Lines.
|
|
78
83
|
"""
|
|
79
84
|
return pulumi.get(self, "address_lines")
|
|
80
85
|
|
|
@@ -82,23 +87,15 @@ class GetOrganizationAddressResult:
|
|
|
82
87
|
@pulumi.getter
|
|
83
88
|
def city(self) -> builtins.str:
|
|
84
89
|
"""
|
|
85
|
-
City
|
|
90
|
+
City.
|
|
86
91
|
"""
|
|
87
92
|
return pulumi.get(self, "city")
|
|
88
93
|
|
|
89
|
-
@property
|
|
90
|
-
@pulumi.getter(name="companyName")
|
|
91
|
-
def company_name(self) -> builtins.str:
|
|
92
|
-
"""
|
|
93
|
-
Name of the company.
|
|
94
|
-
"""
|
|
95
|
-
return pulumi.get(self, "company_name")
|
|
96
|
-
|
|
97
94
|
@property
|
|
98
95
|
@pulumi.getter(name="countryCode")
|
|
99
96
|
def country_code(self) -> builtins.str:
|
|
100
97
|
"""
|
|
101
|
-
Country
|
|
98
|
+
Country Code.
|
|
102
99
|
"""
|
|
103
100
|
return pulumi.get(self, "country_code")
|
|
104
101
|
|
|
@@ -106,7 +103,7 @@ class GetOrganizationAddressResult:
|
|
|
106
103
|
@pulumi.getter(name="createTime")
|
|
107
104
|
def create_time(self) -> builtins.str:
|
|
108
105
|
"""
|
|
109
|
-
|
|
106
|
+
Create Time.
|
|
110
107
|
"""
|
|
111
108
|
return pulumi.get(self, "create_time")
|
|
112
109
|
|
|
@@ -114,15 +111,23 @@ class GetOrganizationAddressResult:
|
|
|
114
111
|
@pulumi.getter
|
|
115
112
|
def id(self) -> builtins.str:
|
|
116
113
|
"""
|
|
117
|
-
Resource ID, a composite of
|
|
114
|
+
Resource ID, a composite of `organization_id` and `address_id` IDs.
|
|
118
115
|
"""
|
|
119
116
|
return pulumi.get(self, "id")
|
|
120
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
|
+
|
|
121
126
|
@property
|
|
122
127
|
@pulumi.getter(name="organizationId")
|
|
123
128
|
def organization_id(self) -> builtins.str:
|
|
124
129
|
"""
|
|
125
|
-
ID of organization.
|
|
130
|
+
ID of an organization.
|
|
126
131
|
"""
|
|
127
132
|
return pulumi.get(self, "organization_id")
|
|
128
133
|
|
|
@@ -130,15 +135,20 @@ class GetOrganizationAddressResult:
|
|
|
130
135
|
@pulumi.getter
|
|
131
136
|
def state(self) -> builtins.str:
|
|
132
137
|
"""
|
|
133
|
-
State
|
|
138
|
+
State.
|
|
134
139
|
"""
|
|
135
140
|
return pulumi.get(self, "state")
|
|
136
141
|
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationAddressTimeoutsResult']:
|
|
145
|
+
return pulumi.get(self, "timeouts")
|
|
146
|
+
|
|
137
147
|
@property
|
|
138
148
|
@pulumi.getter(name="updateTime")
|
|
139
149
|
def update_time(self) -> builtins.str:
|
|
140
150
|
"""
|
|
141
|
-
|
|
151
|
+
Update Time.
|
|
142
152
|
"""
|
|
143
153
|
return pulumi.get(self, "update_time")
|
|
144
154
|
|
|
@@ -146,7 +156,7 @@ class GetOrganizationAddressResult:
|
|
|
146
156
|
@pulumi.getter(name="zipCode")
|
|
147
157
|
def zip_code(self) -> builtins.str:
|
|
148
158
|
"""
|
|
149
|
-
Zip
|
|
159
|
+
Zip Code.
|
|
150
160
|
"""
|
|
151
161
|
return pulumi.get(self, "zip_code")
|
|
152
162
|
|
|
@@ -160,29 +170,35 @@ class AwaitableGetOrganizationAddressResult(GetOrganizationAddressResult):
|
|
|
160
170
|
address_id=self.address_id,
|
|
161
171
|
address_lines=self.address_lines,
|
|
162
172
|
city=self.city,
|
|
163
|
-
company_name=self.company_name,
|
|
164
173
|
country_code=self.country_code,
|
|
165
174
|
create_time=self.create_time,
|
|
166
175
|
id=self.id,
|
|
176
|
+
name=self.name,
|
|
167
177
|
organization_id=self.organization_id,
|
|
168
178
|
state=self.state,
|
|
179
|
+
timeouts=self.timeouts,
|
|
169
180
|
update_time=self.update_time,
|
|
170
181
|
zip_code=self.zip_code)
|
|
171
182
|
|
|
172
183
|
|
|
173
184
|
def get_organization_address(address_id: Optional[builtins.str] = None,
|
|
174
185
|
organization_id: Optional[builtins.str] = None,
|
|
186
|
+
timeouts: Optional[Union['GetOrganizationAddressTimeoutsArgs', 'GetOrganizationAddressTimeoutsArgsDict']] = None,
|
|
175
187
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationAddressResult:
|
|
176
188
|
"""
|
|
177
189
|
Gets information about an organization address.
|
|
178
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
|
+
|
|
179
194
|
|
|
180
|
-
:param builtins.str address_id: ID
|
|
181
|
-
:param builtins.str organization_id: ID of organization.
|
|
195
|
+
:param builtins.str address_id: Address ID.
|
|
196
|
+
:param builtins.str organization_id: ID of an organization.
|
|
182
197
|
"""
|
|
183
198
|
__args__ = dict()
|
|
184
199
|
__args__['addressId'] = address_id
|
|
185
200
|
__args__['organizationId'] = organization_id
|
|
201
|
+
__args__['timeouts'] = timeouts
|
|
186
202
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
187
203
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationAddress:getOrganizationAddress', __args__, opts=opts, typ=GetOrganizationAddressResult).value
|
|
188
204
|
|
|
@@ -190,38 +206,45 @@ def get_organization_address(address_id: Optional[builtins.str] = None,
|
|
|
190
206
|
address_id=pulumi.get(__ret__, 'address_id'),
|
|
191
207
|
address_lines=pulumi.get(__ret__, 'address_lines'),
|
|
192
208
|
city=pulumi.get(__ret__, 'city'),
|
|
193
|
-
company_name=pulumi.get(__ret__, 'company_name'),
|
|
194
209
|
country_code=pulumi.get(__ret__, 'country_code'),
|
|
195
210
|
create_time=pulumi.get(__ret__, 'create_time'),
|
|
196
211
|
id=pulumi.get(__ret__, 'id'),
|
|
212
|
+
name=pulumi.get(__ret__, 'name'),
|
|
197
213
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
198
214
|
state=pulumi.get(__ret__, 'state'),
|
|
215
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
199
216
|
update_time=pulumi.get(__ret__, 'update_time'),
|
|
200
217
|
zip_code=pulumi.get(__ret__, 'zip_code'))
|
|
201
218
|
def get_organization_address_output(address_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
219
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
220
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationAddressTimeoutsArgs', 'GetOrganizationAddressTimeoutsArgsDict']]]] = None,
|
|
203
221
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationAddressResult]:
|
|
204
222
|
"""
|
|
205
223
|
Gets information about an organization address.
|
|
206
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
|
+
|
|
207
228
|
|
|
208
|
-
:param builtins.str address_id: ID
|
|
209
|
-
:param builtins.str organization_id: ID of organization.
|
|
229
|
+
:param builtins.str address_id: Address ID.
|
|
230
|
+
:param builtins.str organization_id: ID of an organization.
|
|
210
231
|
"""
|
|
211
232
|
__args__ = dict()
|
|
212
233
|
__args__['addressId'] = address_id
|
|
213
234
|
__args__['organizationId'] = organization_id
|
|
235
|
+
__args__['timeouts'] = timeouts
|
|
214
236
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
215
237
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationAddress:getOrganizationAddress', __args__, opts=opts, typ=GetOrganizationAddressResult)
|
|
216
238
|
return __ret__.apply(lambda __response__: GetOrganizationAddressResult(
|
|
217
239
|
address_id=pulumi.get(__response__, 'address_id'),
|
|
218
240
|
address_lines=pulumi.get(__response__, 'address_lines'),
|
|
219
241
|
city=pulumi.get(__response__, 'city'),
|
|
220
|
-
company_name=pulumi.get(__response__, 'company_name'),
|
|
221
242
|
country_code=pulumi.get(__response__, 'country_code'),
|
|
222
243
|
create_time=pulumi.get(__response__, 'create_time'),
|
|
223
244
|
id=pulumi.get(__response__, 'id'),
|
|
245
|
+
name=pulumi.get(__response__, 'name'),
|
|
224
246
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
225
247
|
state=pulumi.get(__response__, 'state'),
|
|
248
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
226
249
|
update_time=pulumi.get(__response__, 'update_time'),
|
|
227
250
|
zip_code=pulumi.get(__response__, 'zip_code')))
|
|
@@ -14,6 +14,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
14
|
else:
|
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
16
|
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
17
19
|
|
|
18
20
|
__all__ = [
|
|
19
21
|
'GetOrganizationBillingGroupResult',
|
|
@@ -27,7 +29,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
27
29
|
"""
|
|
28
30
|
A collection of values returned by getOrganizationBillingGroup.
|
|
29
31
|
"""
|
|
30
|
-
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, vat_id=None):
|
|
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):
|
|
31
33
|
if billing_address_id and not isinstance(billing_address_id, str):
|
|
32
34
|
raise TypeError("Expected argument 'billing_address_id' to be a str")
|
|
33
35
|
pulumi.set(__self__, "billing_address_id", billing_address_id)
|
|
@@ -61,6 +63,9 @@ class GetOrganizationBillingGroupResult:
|
|
|
61
63
|
if shipping_address_id and not isinstance(shipping_address_id, str):
|
|
62
64
|
raise TypeError("Expected argument 'shipping_address_id' to be a str")
|
|
63
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)
|
|
64
69
|
if vat_id and not isinstance(vat_id, str):
|
|
65
70
|
raise TypeError("Expected argument 'vat_id' to be a str")
|
|
66
71
|
pulumi.set(__self__, "vat_id", vat_id)
|
|
@@ -69,7 +74,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
69
74
|
@pulumi.getter(name="billingAddressId")
|
|
70
75
|
def billing_address_id(self) -> builtins.str:
|
|
71
76
|
"""
|
|
72
|
-
|
|
77
|
+
Billing address ID.
|
|
73
78
|
"""
|
|
74
79
|
return pulumi.get(self, "billing_address_id")
|
|
75
80
|
|
|
@@ -85,7 +90,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
85
90
|
@pulumi.getter(name="billingCurrency")
|
|
86
91
|
def billing_currency(self) -> builtins.str:
|
|
87
92
|
"""
|
|
88
|
-
|
|
93
|
+
Acceptable currencies for a billing group. The possible values are `AUD`, `CAD`, `CHF`, `DKK`, `EUR`, `GBP`, `JPY`, `NOK`, `NZD`, `SEK`, `SGD` and `USD`.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "billing_currency")
|
|
91
96
|
|
|
@@ -93,7 +98,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
93
98
|
@pulumi.getter(name="billingEmails")
|
|
94
99
|
def billing_emails(self) -> Sequence[builtins.str]:
|
|
95
100
|
"""
|
|
96
|
-
List of billing emails.
|
|
101
|
+
List of billing contact emails.
|
|
97
102
|
"""
|
|
98
103
|
return pulumi.get(self, "billing_emails")
|
|
99
104
|
|
|
@@ -101,7 +106,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
101
106
|
@pulumi.getter(name="billingGroupId")
|
|
102
107
|
def billing_group_id(self) -> builtins.str:
|
|
103
108
|
"""
|
|
104
|
-
|
|
109
|
+
Billing group ID.
|
|
105
110
|
"""
|
|
106
111
|
return pulumi.get(self, "billing_group_id")
|
|
107
112
|
|
|
@@ -109,7 +114,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
109
114
|
@pulumi.getter(name="billingGroupName")
|
|
110
115
|
def billing_group_name(self) -> builtins.str:
|
|
111
116
|
"""
|
|
112
|
-
|
|
117
|
+
Billing Group Name.
|
|
113
118
|
"""
|
|
114
119
|
return pulumi.get(self, "billing_group_name")
|
|
115
120
|
|
|
@@ -117,7 +122,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
117
122
|
@pulumi.getter(name="customInvoiceText")
|
|
118
123
|
def custom_invoice_text(self) -> builtins.str:
|
|
119
124
|
"""
|
|
120
|
-
|
|
125
|
+
Extra billing text.
|
|
121
126
|
"""
|
|
122
127
|
return pulumi.get(self, "custom_invoice_text")
|
|
123
128
|
|
|
@@ -125,7 +130,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
125
130
|
@pulumi.getter
|
|
126
131
|
def id(self) -> builtins.str:
|
|
127
132
|
"""
|
|
128
|
-
Resource ID, a composite of
|
|
133
|
+
Resource ID, a composite of `organization_id` and `billing_group_id` IDs.
|
|
129
134
|
"""
|
|
130
135
|
return pulumi.get(self, "id")
|
|
131
136
|
|
|
@@ -133,7 +138,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
133
138
|
@pulumi.getter(name="organizationId")
|
|
134
139
|
def organization_id(self) -> builtins.str:
|
|
135
140
|
"""
|
|
136
|
-
ID of
|
|
141
|
+
ID of an organization.
|
|
137
142
|
"""
|
|
138
143
|
return pulumi.get(self, "organization_id")
|
|
139
144
|
|
|
@@ -141,7 +146,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
141
146
|
@pulumi.getter(name="paymentMethodId")
|
|
142
147
|
def payment_method_id(self) -> builtins.str:
|
|
143
148
|
"""
|
|
144
|
-
|
|
149
|
+
Payment method ID.
|
|
145
150
|
"""
|
|
146
151
|
return pulumi.get(self, "payment_method_id")
|
|
147
152
|
|
|
@@ -149,10 +154,15 @@ class GetOrganizationBillingGroupResult:
|
|
|
149
154
|
@pulumi.getter(name="shippingAddressId")
|
|
150
155
|
def shipping_address_id(self) -> builtins.str:
|
|
151
156
|
"""
|
|
152
|
-
|
|
157
|
+
Shipping address ID.
|
|
153
158
|
"""
|
|
154
159
|
return pulumi.get(self, "shipping_address_id")
|
|
155
160
|
|
|
161
|
+
@property
|
|
162
|
+
@pulumi.getter
|
|
163
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationBillingGroupTimeoutsResult']:
|
|
164
|
+
return pulumi.get(self, "timeouts")
|
|
165
|
+
|
|
156
166
|
@property
|
|
157
167
|
@pulumi.getter(name="vatId")
|
|
158
168
|
def vat_id(self) -> builtins.str:
|
|
@@ -179,22 +189,28 @@ class AwaitableGetOrganizationBillingGroupResult(GetOrganizationBillingGroupResu
|
|
|
179
189
|
organization_id=self.organization_id,
|
|
180
190
|
payment_method_id=self.payment_method_id,
|
|
181
191
|
shipping_address_id=self.shipping_address_id,
|
|
192
|
+
timeouts=self.timeouts,
|
|
182
193
|
vat_id=self.vat_id)
|
|
183
194
|
|
|
184
195
|
|
|
185
196
|
def get_organization_billing_group(billing_group_id: Optional[builtins.str] = None,
|
|
186
197
|
organization_id: Optional[builtins.str] = None,
|
|
198
|
+
timeouts: Optional[Union['GetOrganizationBillingGroupTimeoutsArgs', 'GetOrganizationBillingGroupTimeoutsArgsDict']] = None,
|
|
187
199
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationBillingGroupResult:
|
|
188
200
|
"""
|
|
189
201
|
Gets information about a billing group.
|
|
190
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
|
+
|
|
191
206
|
|
|
192
|
-
:param builtins.str billing_group_id:
|
|
193
|
-
:param builtins.str organization_id: ID of
|
|
207
|
+
:param builtins.str billing_group_id: Billing group ID.
|
|
208
|
+
:param builtins.str organization_id: ID of an organization.
|
|
194
209
|
"""
|
|
195
210
|
__args__ = dict()
|
|
196
211
|
__args__['billingGroupId'] = billing_group_id
|
|
197
212
|
__args__['organizationId'] = organization_id
|
|
213
|
+
__args__['timeouts'] = timeouts
|
|
198
214
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
199
215
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationBillingGroup:getOrganizationBillingGroup', __args__, opts=opts, typ=GetOrganizationBillingGroupResult).value
|
|
200
216
|
|
|
@@ -210,20 +226,26 @@ def get_organization_billing_group(billing_group_id: Optional[builtins.str] = No
|
|
|
210
226
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
211
227
|
payment_method_id=pulumi.get(__ret__, 'payment_method_id'),
|
|
212
228
|
shipping_address_id=pulumi.get(__ret__, 'shipping_address_id'),
|
|
229
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
213
230
|
vat_id=pulumi.get(__ret__, 'vat_id'))
|
|
214
231
|
def get_organization_billing_group_output(billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
215
232
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
233
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationBillingGroupTimeoutsArgs', 'GetOrganizationBillingGroupTimeoutsArgsDict']]]] = None,
|
|
216
234
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationBillingGroupResult]:
|
|
217
235
|
"""
|
|
218
236
|
Gets information about a billing group.
|
|
219
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
|
+
|
|
220
241
|
|
|
221
|
-
:param builtins.str billing_group_id:
|
|
222
|
-
:param builtins.str organization_id: ID of
|
|
242
|
+
:param builtins.str billing_group_id: Billing group ID.
|
|
243
|
+
:param builtins.str organization_id: ID of an organization.
|
|
223
244
|
"""
|
|
224
245
|
__args__ = dict()
|
|
225
246
|
__args__['billingGroupId'] = billing_group_id
|
|
226
247
|
__args__['organizationId'] = organization_id
|
|
248
|
+
__args__['timeouts'] = timeouts
|
|
227
249
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
228
250
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationBillingGroup:getOrganizationBillingGroup', __args__, opts=opts, typ=GetOrganizationBillingGroupResult)
|
|
229
251
|
return __ret__.apply(lambda __response__: GetOrganizationBillingGroupResult(
|
|
@@ -238,4 +260,5 @@ def get_organization_billing_group_output(billing_group_id: Optional[pulumi.Inpu
|
|
|
238
260
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
239
261
|
payment_method_id=pulumi.get(__response__, 'payment_method_id'),
|
|
240
262
|
shipping_address_id=pulumi.get(__response__, 'shipping_address_id'),
|
|
263
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
241
264
|
vat_id=pulumi.get(__response__, 'vat_id')))
|
|
@@ -15,6 +15,7 @@ else:
|
|
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
16
|
from . import _utilities
|
|
17
17
|
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
18
19
|
|
|
19
20
|
__all__ = [
|
|
20
21
|
'GetOrganizationBillingGroupListResult',
|
|
@@ -28,7 +29,7 @@ class GetOrganizationBillingGroupListResult:
|
|
|
28
29
|
"""
|
|
29
30
|
A collection of values returned by getOrganizationBillingGroupList.
|
|
30
31
|
"""
|
|
31
|
-
def __init__(__self__, billing_groups=None, id=None, organization_id=None):
|
|
32
|
+
def __init__(__self__, billing_groups=None, id=None, organization_id=None, timeouts=None):
|
|
32
33
|
if billing_groups and not isinstance(billing_groups, list):
|
|
33
34
|
raise TypeError("Expected argument 'billing_groups' to be a list")
|
|
34
35
|
pulumi.set(__self__, "billing_groups", billing_groups)
|
|
@@ -38,12 +39,15 @@ class GetOrganizationBillingGroupListResult:
|
|
|
38
39
|
if organization_id and not isinstance(organization_id, str):
|
|
39
40
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
40
41
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
42
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
43
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
44
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
41
45
|
|
|
42
46
|
@property
|
|
43
47
|
@pulumi.getter(name="billingGroups")
|
|
44
|
-
def billing_groups(self) -> Sequence['outputs.GetOrganizationBillingGroupListBillingGroupResult']:
|
|
48
|
+
def billing_groups(self) -> Optional[Sequence['outputs.GetOrganizationBillingGroupListBillingGroupResult']]:
|
|
45
49
|
"""
|
|
46
|
-
|
|
50
|
+
A list of all billing groups belonging to the organization.
|
|
47
51
|
"""
|
|
48
52
|
return pulumi.get(self, "billing_groups")
|
|
49
53
|
|
|
@@ -51,7 +55,7 @@ class GetOrganizationBillingGroupListResult:
|
|
|
51
55
|
@pulumi.getter
|
|
52
56
|
def id(self) -> builtins.str:
|
|
53
57
|
"""
|
|
54
|
-
Resource ID,
|
|
58
|
+
Resource ID, equal to `organization_id`.
|
|
55
59
|
"""
|
|
56
60
|
return pulumi.get(self, "id")
|
|
57
61
|
|
|
@@ -59,10 +63,15 @@ class GetOrganizationBillingGroupListResult:
|
|
|
59
63
|
@pulumi.getter(name="organizationId")
|
|
60
64
|
def organization_id(self) -> builtins.str:
|
|
61
65
|
"""
|
|
62
|
-
ID of
|
|
66
|
+
ID of an organization.
|
|
63
67
|
"""
|
|
64
68
|
return pulumi.get(self, "organization_id")
|
|
65
69
|
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationBillingGroupListTimeoutsResult']:
|
|
73
|
+
return pulumi.get(self, "timeouts")
|
|
74
|
+
|
|
66
75
|
|
|
67
76
|
class AwaitableGetOrganizationBillingGroupListResult(GetOrganizationBillingGroupListResult):
|
|
68
77
|
# pylint: disable=using-constant-test
|
|
@@ -72,39 +81,58 @@ class AwaitableGetOrganizationBillingGroupListResult(GetOrganizationBillingGroup
|
|
|
72
81
|
return GetOrganizationBillingGroupListResult(
|
|
73
82
|
billing_groups=self.billing_groups,
|
|
74
83
|
id=self.id,
|
|
75
|
-
organization_id=self.organization_id
|
|
84
|
+
organization_id=self.organization_id,
|
|
85
|
+
timeouts=self.timeouts)
|
|
76
86
|
|
|
77
87
|
|
|
78
|
-
def get_organization_billing_group_list(
|
|
88
|
+
def get_organization_billing_group_list(billing_groups: Optional[Sequence[Union['GetOrganizationBillingGroupListBillingGroupArgs', 'GetOrganizationBillingGroupListBillingGroupArgsDict']]] = None,
|
|
89
|
+
organization_id: Optional[builtins.str] = None,
|
|
90
|
+
timeouts: Optional[Union['GetOrganizationBillingGroupListTimeoutsArgs', 'GetOrganizationBillingGroupListTimeoutsArgsDict']] = None,
|
|
79
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationBillingGroupListResult:
|
|
80
92
|
"""
|
|
81
93
|
Lists billing groups for an organization.
|
|
82
94
|
|
|
95
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
96
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
83
97
|
|
|
84
|
-
|
|
98
|
+
|
|
99
|
+
:param Sequence[Union['GetOrganizationBillingGroupListBillingGroupArgs', 'GetOrganizationBillingGroupListBillingGroupArgsDict']] billing_groups: A list of all billing groups belonging to the organization.
|
|
100
|
+
:param builtins.str organization_id: ID of an organization.
|
|
85
101
|
"""
|
|
86
102
|
__args__ = dict()
|
|
103
|
+
__args__['billingGroups'] = billing_groups
|
|
87
104
|
__args__['organizationId'] = organization_id
|
|
105
|
+
__args__['timeouts'] = timeouts
|
|
88
106
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
89
107
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationBillingGroupList:getOrganizationBillingGroupList', __args__, opts=opts, typ=GetOrganizationBillingGroupListResult).value
|
|
90
108
|
|
|
91
109
|
return AwaitableGetOrganizationBillingGroupListResult(
|
|
92
110
|
billing_groups=pulumi.get(__ret__, 'billing_groups'),
|
|
93
111
|
id=pulumi.get(__ret__, 'id'),
|
|
94
|
-
organization_id=pulumi.get(__ret__, 'organization_id')
|
|
95
|
-
|
|
112
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
113
|
+
timeouts=pulumi.get(__ret__, 'timeouts'))
|
|
114
|
+
def get_organization_billing_group_list_output(billing_groups: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationBillingGroupListBillingGroupArgs', 'GetOrganizationBillingGroupListBillingGroupArgsDict']]]]] = None,
|
|
115
|
+
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
116
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationBillingGroupListTimeoutsArgs', 'GetOrganizationBillingGroupListTimeoutsArgsDict']]]] = None,
|
|
96
117
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationBillingGroupListResult]:
|
|
97
118
|
"""
|
|
98
119
|
Lists billing groups for an organization.
|
|
99
120
|
|
|
121
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
122
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
123
|
+
|
|
100
124
|
|
|
101
|
-
:param
|
|
125
|
+
:param Sequence[Union['GetOrganizationBillingGroupListBillingGroupArgs', 'GetOrganizationBillingGroupListBillingGroupArgsDict']] billing_groups: A list of all billing groups belonging to the organization.
|
|
126
|
+
:param builtins.str organization_id: ID of an organization.
|
|
102
127
|
"""
|
|
103
128
|
__args__ = dict()
|
|
129
|
+
__args__['billingGroups'] = billing_groups
|
|
104
130
|
__args__['organizationId'] = organization_id
|
|
131
|
+
__args__['timeouts'] = timeouts
|
|
105
132
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
133
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationBillingGroupList:getOrganizationBillingGroupList', __args__, opts=opts, typ=GetOrganizationBillingGroupListResult)
|
|
107
134
|
return __ret__.apply(lambda __response__: GetOrganizationBillingGroupListResult(
|
|
108
135
|
billing_groups=pulumi.get(__response__, 'billing_groups'),
|
|
109
136
|
id=pulumi.get(__response__, 'id'),
|
|
110
|
-
organization_id=pulumi.get(__response__, 'organization_id')
|
|
137
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
138
|
+
timeouts=pulumi.get(__response__, 'timeouts')))
|