pulumi-aiven 6.37.0a1744255932__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.

Files changed (114) hide show
  1. pulumi_aiven/__init__.py +9 -0
  2. pulumi_aiven/_inputs.py +1302 -160
  3. pulumi_aiven/account.py +1 -0
  4. pulumi_aiven/account_authentication.py +1 -0
  5. pulumi_aiven/account_team.py +1 -0
  6. pulumi_aiven/account_team_member.py +1 -0
  7. pulumi_aiven/account_team_project.py +1 -0
  8. pulumi_aiven/alloydbomni.py +1 -0
  9. pulumi_aiven/alloydbomni_database.py +1 -0
  10. pulumi_aiven/alloydbomni_user.py +1 -0
  11. pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
  12. pulumi_aiven/aws_privatelink.py +1 -0
  13. pulumi_aiven/aws_vpc_peering_connection.py +1 -0
  14. pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
  15. pulumi_aiven/azure_privatelink.py +1 -0
  16. pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
  17. pulumi_aiven/azure_vpc_peering_connection.py +1 -0
  18. pulumi_aiven/billing_group.py +1 -0
  19. pulumi_aiven/cassandra.py +1 -0
  20. pulumi_aiven/cassandra_user.py +1 -0
  21. pulumi_aiven/clickhouse.py +1 -0
  22. pulumi_aiven/clickhouse_database.py +1 -0
  23. pulumi_aiven/clickhouse_grant.py +19 -0
  24. pulumi_aiven/clickhouse_role.py +1 -0
  25. pulumi_aiven/clickhouse_user.py +1 -0
  26. pulumi_aiven/connection_pool.py +1 -0
  27. pulumi_aiven/dragonfly.py +1 -0
  28. pulumi_aiven/flink.py +1 -0
  29. pulumi_aiven/flink_application.py +1 -0
  30. pulumi_aiven/flink_application_deployment.py +1 -0
  31. pulumi_aiven/flink_application_version.py +1 -0
  32. pulumi_aiven/flink_jar_application.py +1 -0
  33. pulumi_aiven/flink_jar_application_deployment.py +1 -0
  34. pulumi_aiven/flink_jar_application_version.py +1 -0
  35. pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
  36. pulumi_aiven/gcp_privatelink.py +1 -0
  37. pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
  38. pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
  39. pulumi_aiven/get_external_identity.py +5 -5
  40. pulumi_aiven/get_open_search.py +7 -7
  41. pulumi_aiven/get_open_search_acl_config.py +7 -7
  42. pulumi_aiven/get_open_search_acl_rule.py +19 -19
  43. pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
  44. pulumi_aiven/get_opensearch_user.py +13 -13
  45. pulumi_aiven/get_organization.py +24 -6
  46. pulumi_aiven/get_organization_address.py +52 -29
  47. pulumi_aiven/get_organization_billing_group.py +38 -15
  48. pulumi_aiven/get_organization_billing_group_list.py +40 -12
  49. pulumi_aiven/get_organization_project.py +50 -14
  50. pulumi_aiven/governance_access.py +418 -0
  51. pulumi_aiven/grafana.py +1 -0
  52. pulumi_aiven/influx_db.py +1 -0
  53. pulumi_aiven/influxdb_database.py +1 -0
  54. pulumi_aiven/influxdb_user.py +1 -0
  55. pulumi_aiven/kafka.py +1 -0
  56. pulumi_aiven/kafka_acl.py +1 -0
  57. pulumi_aiven/kafka_connect.py +1 -0
  58. pulumi_aiven/kafka_connector.py +1 -0
  59. pulumi_aiven/kafka_mirror_maker.py +1 -0
  60. pulumi_aiven/kafka_native_acl.py +1 -0
  61. pulumi_aiven/kafka_quota.py +1 -0
  62. pulumi_aiven/kafka_schema.py +1 -0
  63. pulumi_aiven/kafka_schema_configuration.py +1 -0
  64. pulumi_aiven/kafka_schema_registry_acl.py +1 -0
  65. pulumi_aiven/kafka_topic.py +1 -0
  66. pulumi_aiven/kafka_user.py +1 -0
  67. pulumi_aiven/m3_aggregator.py +1 -0
  68. pulumi_aiven/m3_db.py +1 -0
  69. pulumi_aiven/m3db_user.py +1 -0
  70. pulumi_aiven/mirror_maker_replication_flow.py +1 -0
  71. pulumi_aiven/my_sql.py +1 -0
  72. pulumi_aiven/mysql_database.py +1 -0
  73. pulumi_aiven/mysql_user.py +1 -0
  74. pulumi_aiven/open_search.py +18 -19
  75. pulumi_aiven/open_search_acl_config.py +30 -41
  76. pulumi_aiven/open_search_acl_rule.py +48 -47
  77. pulumi_aiven/opensearch_security_plugin_config.py +15 -42
  78. pulumi_aiven/opensearch_user.py +33 -32
  79. pulumi_aiven/organization.py +25 -19
  80. pulumi_aiven/organization_address.py +103 -96
  81. pulumi_aiven/organization_application_user.py +10 -0
  82. pulumi_aiven/organization_application_user_token.py +1 -0
  83. pulumi_aiven/organization_billing_group.py +67 -60
  84. pulumi_aiven/organization_group_project.py +1 -0
  85. pulumi_aiven/organization_permission.py +1 -0
  86. pulumi_aiven/organization_project.py +112 -62
  87. pulumi_aiven/organization_user.py +1 -0
  88. pulumi_aiven/organization_user_group.py +1 -0
  89. pulumi_aiven/organization_user_group_member.py +1 -0
  90. pulumi_aiven/organization_vpc.py +1 -0
  91. pulumi_aiven/organizational_unit.py +1 -0
  92. pulumi_aiven/outputs.py +1039 -189
  93. pulumi_aiven/pg.py +1 -0
  94. pulumi_aiven/pg_database.py +1 -0
  95. pulumi_aiven/pg_user.py +1 -0
  96. pulumi_aiven/project.py +1 -0
  97. pulumi_aiven/project_user.py +1 -0
  98. pulumi_aiven/project_vpc.py +1 -0
  99. pulumi_aiven/provider.py +21 -0
  100. pulumi_aiven/pulumi-plugin.json +1 -1
  101. pulumi_aiven/redis.py +1 -0
  102. pulumi_aiven/redis_user.py +1 -0
  103. pulumi_aiven/service_integration.py +1 -0
  104. pulumi_aiven/service_integration_endpoint.py +1 -0
  105. pulumi_aiven/static_ip.py +1 -0
  106. pulumi_aiven/thanos.py +1 -0
  107. pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
  108. pulumi_aiven/valkey.py +1 -0
  109. pulumi_aiven/valkey_user.py +1 -0
  110. {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
  111. pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
  112. {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
  113. pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +0 -188
  114. {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.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
  '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
- ID of the billing address.
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
- Billing currency.
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
- ID of the billing group.
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
- Name of the billing group.
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
- Custom invoice text.
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 organization*id and billing*group_id.
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 the organization.
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
- ID of the payment method.
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
- ID of the shipping address.
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: ID of the billing group.
193
- :param builtins.str organization_id: ID of the organization.
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: ID of the billing group.
222
- :param builtins.str organization_id: ID of the organization.
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
- List of billing groups.
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, a composite of organization_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 the organization.
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(organization_id: Optional[builtins.str] = None,
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
- :param builtins.str organization_id: ID of the organization.
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
- def get_organization_billing_group_list_output(organization_id: Optional[pulumi.Input[builtins.str]] = None,
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 builtins.str organization_id: ID of the organization.
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')))
@@ -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
  'GetOrganizationProjectResult',
@@ -28,7 +29,10 @@ class GetOrganizationProjectResult:
28
29
  """
29
30
  A collection of values returned by getOrganizationProject.
30
31
  """
31
- def __init__(__self__, billing_group_id=None, ca_cert=None, id=None, organization_id=None, parent_id=None, project_id=None, tags=None, technical_emails=None):
32
+ def __init__(__self__, base_port=None, billing_group_id=None, ca_cert=None, id=None, organization_id=None, parent_id=None, project_id=None, tags=None, technical_emails=None, timeouts=None):
33
+ if base_port and not isinstance(base_port, int):
34
+ raise TypeError("Expected argument 'base_port' to be a int")
35
+ pulumi.set(__self__, "base_port", base_port)
32
36
  if billing_group_id and not isinstance(billing_group_id, str):
33
37
  raise TypeError("Expected argument 'billing_group_id' to be a str")
34
38
  pulumi.set(__self__, "billing_group_id", billing_group_id)
@@ -53,12 +57,23 @@ class GetOrganizationProjectResult:
53
57
  if technical_emails and not isinstance(technical_emails, list):
54
58
  raise TypeError("Expected argument 'technical_emails' to be a list")
55
59
  pulumi.set(__self__, "technical_emails", technical_emails)
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
+
64
+ @property
65
+ @pulumi.getter(name="basePort")
66
+ def base_port(self) -> builtins.int:
67
+ """
68
+ Valid port number (1-65535) to use as a base for service port allocation.
69
+ """
70
+ return pulumi.get(self, "base_port")
56
71
 
57
72
  @property
58
73
  @pulumi.getter(name="billingGroupId")
59
74
  def billing_group_id(self) -> builtins.str:
60
75
  """
61
- Billing group ID to assign to the project.
76
+ Billing group ID to assign to the project. It's required when moving projects between organizations.
62
77
  """
63
78
  return pulumi.get(self, "billing_group_id")
64
79
 
@@ -66,7 +81,7 @@ class GetOrganizationProjectResult:
66
81
  @pulumi.getter(name="caCert")
67
82
  def ca_cert(self) -> builtins.str:
68
83
  """
69
- The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
84
+ PEM encoded certificate.
70
85
  """
71
86
  return pulumi.get(self, "ca_cert")
72
87
 
@@ -74,7 +89,7 @@ class GetOrganizationProjectResult:
74
89
  @pulumi.getter
75
90
  def id(self) -> builtins.str:
76
91
  """
77
- The provider-assigned unique ID for this managed resource.
92
+ Resource ID, a composite of `organization_id` and `project_id` IDs.
78
93
  """
79
94
  return pulumi.get(self, "id")
80
95
 
@@ -82,7 +97,7 @@ class GetOrganizationProjectResult:
82
97
  @pulumi.getter(name="organizationId")
83
98
  def organization_id(self) -> builtins.str:
84
99
  """
85
- ID of an organization. Changing this property forces recreation of the resource.
100
+ ID of an organization.
86
101
  """
87
102
  return pulumi.get(self, "organization_id")
88
103
 
@@ -98,13 +113,13 @@ class GetOrganizationProjectResult:
98
113
  @pulumi.getter(name="projectId")
99
114
  def project_id(self) -> builtins.str:
100
115
  """
101
- Unique identifier for the project that also serves as the project name.
116
+ The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
102
117
  """
103
118
  return pulumi.get(self, "project_id")
104
119
 
105
120
  @property
106
121
  @pulumi.getter
107
- def tags(self) -> Sequence['outputs.GetOrganizationProjectTagResult']:
122
+ def tags(self) -> Optional[Sequence['outputs.GetOrganizationProjectTagResult']]:
108
123
  """
109
124
  Tags are key-value pairs that allow you to categorize projects.
110
125
  """
@@ -118,6 +133,11 @@ class GetOrganizationProjectResult:
118
133
  """
119
134
  return pulumi.get(self, "technical_emails")
120
135
 
136
+ @property
137
+ @pulumi.getter
138
+ def timeouts(self) -> Optional['outputs.GetOrganizationProjectTimeoutsResult']:
139
+ return pulumi.get(self, "timeouts")
140
+
121
141
 
122
142
  class AwaitableGetOrganizationProjectResult(GetOrganizationProjectResult):
123
143
  # pylint: disable=using-constant-test
@@ -125,6 +145,7 @@ class AwaitableGetOrganizationProjectResult(GetOrganizationProjectResult):
125
145
  if False:
126
146
  yield self
127
147
  return GetOrganizationProjectResult(
148
+ base_port=self.base_port,
128
149
  billing_group_id=self.billing_group_id,
129
150
  ca_cert=self.ca_cert,
130
151
  id=self.id,
@@ -132,11 +153,14 @@ class AwaitableGetOrganizationProjectResult(GetOrganizationProjectResult):
132
153
  parent_id=self.parent_id,
133
154
  project_id=self.project_id,
134
155
  tags=self.tags,
135
- technical_emails=self.technical_emails)
156
+ technical_emails=self.technical_emails,
157
+ timeouts=self.timeouts)
136
158
 
137
159
 
138
160
  def get_organization_project(organization_id: Optional[builtins.str] = None,
139
161
  project_id: Optional[builtins.str] = None,
162
+ tags: Optional[Sequence[Union['GetOrganizationProjectTagArgs', 'GetOrganizationProjectTagArgsDict']]] = None,
163
+ timeouts: Optional[Union['GetOrganizationProjectTimeoutsArgs', 'GetOrganizationProjectTimeoutsArgsDict']] = None,
140
164
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationProjectResult:
141
165
  """
142
166
  Gets information about an Aiven project.
@@ -155,16 +179,20 @@ def get_organization_project(organization_id: Optional[builtins.str] = None,
155
179
  ```
156
180
 
157
181
 
158
- :param builtins.str organization_id: ID of an organization. Changing this property forces recreation of the resource.
159
- :param builtins.str project_id: Unique identifier for the project that also serves as the project name.
182
+ :param builtins.str organization_id: ID of an organization.
183
+ :param builtins.str project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
184
+ :param Sequence[Union['GetOrganizationProjectTagArgs', 'GetOrganizationProjectTagArgsDict']] tags: Tags are key-value pairs that allow you to categorize projects.
160
185
  """
161
186
  __args__ = dict()
162
187
  __args__['organizationId'] = organization_id
163
188
  __args__['projectId'] = project_id
189
+ __args__['tags'] = tags
190
+ __args__['timeouts'] = timeouts
164
191
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
192
  __ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationProject:getOrganizationProject', __args__, opts=opts, typ=GetOrganizationProjectResult).value
166
193
 
167
194
  return AwaitableGetOrganizationProjectResult(
195
+ base_port=pulumi.get(__ret__, 'base_port'),
168
196
  billing_group_id=pulumi.get(__ret__, 'billing_group_id'),
169
197
  ca_cert=pulumi.get(__ret__, 'ca_cert'),
170
198
  id=pulumi.get(__ret__, 'id'),
@@ -172,9 +200,12 @@ def get_organization_project(organization_id: Optional[builtins.str] = None,
172
200
  parent_id=pulumi.get(__ret__, 'parent_id'),
173
201
  project_id=pulumi.get(__ret__, 'project_id'),
174
202
  tags=pulumi.get(__ret__, 'tags'),
175
- technical_emails=pulumi.get(__ret__, 'technical_emails'))
203
+ technical_emails=pulumi.get(__ret__, 'technical_emails'),
204
+ timeouts=pulumi.get(__ret__, 'timeouts'))
176
205
  def get_organization_project_output(organization_id: Optional[pulumi.Input[builtins.str]] = None,
177
206
  project_id: Optional[pulumi.Input[builtins.str]] = None,
207
+ tags: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationProjectTagArgs', 'GetOrganizationProjectTagArgsDict']]]]] = None,
208
+ timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationProjectTimeoutsArgs', 'GetOrganizationProjectTimeoutsArgsDict']]]] = None,
178
209
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationProjectResult]:
179
210
  """
180
211
  Gets information about an Aiven project.
@@ -193,15 +224,19 @@ def get_organization_project_output(organization_id: Optional[pulumi.Input[built
193
224
  ```
194
225
 
195
226
 
196
- :param builtins.str organization_id: ID of an organization. Changing this property forces recreation of the resource.
197
- :param builtins.str project_id: Unique identifier for the project that also serves as the project name.
227
+ :param builtins.str organization_id: ID of an organization.
228
+ :param builtins.str project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource.
229
+ :param Sequence[Union['GetOrganizationProjectTagArgs', 'GetOrganizationProjectTagArgsDict']] tags: Tags are key-value pairs that allow you to categorize projects.
198
230
  """
199
231
  __args__ = dict()
200
232
  __args__['organizationId'] = organization_id
201
233
  __args__['projectId'] = project_id
234
+ __args__['tags'] = tags
235
+ __args__['timeouts'] = timeouts
202
236
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
203
237
  __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationProject:getOrganizationProject', __args__, opts=opts, typ=GetOrganizationProjectResult)
204
238
  return __ret__.apply(lambda __response__: GetOrganizationProjectResult(
239
+ base_port=pulumi.get(__response__, 'base_port'),
205
240
  billing_group_id=pulumi.get(__response__, 'billing_group_id'),
206
241
  ca_cert=pulumi.get(__response__, 'ca_cert'),
207
242
  id=pulumi.get(__response__, 'id'),
@@ -209,4 +244,5 @@ def get_organization_project_output(organization_id: Optional[pulumi.Input[built
209
244
  parent_id=pulumi.get(__response__, 'parent_id'),
210
245
  project_id=pulumi.get(__response__, 'project_id'),
211
246
  tags=pulumi.get(__response__, 'tags'),
212
- technical_emails=pulumi.get(__response__, 'technical_emails')))
247
+ technical_emails=pulumi.get(__response__, 'technical_emails'),
248
+ timeouts=pulumi.get(__response__, 'timeouts')))