pulumi-aiven 6.26.0a1728566627__py3-none-any.whl → 6.27.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 (161) hide show
  1. pulumi_aiven/__init__.py +1 -0
  2. pulumi_aiven/_inputs.py +9174 -366
  3. pulumi_aiven/_utilities.py +1 -1
  4. pulumi_aiven/account.py +5 -0
  5. pulumi_aiven/account_authentication.py +5 -0
  6. pulumi_aiven/account_team.py +5 -0
  7. pulumi_aiven/account_team_member.py +5 -0
  8. pulumi_aiven/account_team_project.py +12 -7
  9. pulumi_aiven/aws_privatelink.py +5 -0
  10. pulumi_aiven/aws_vpc_peering_connection.py +5 -0
  11. pulumi_aiven/azure_privatelink.py +5 -0
  12. pulumi_aiven/azure_privatelink_connection_approval.py +5 -0
  13. pulumi_aiven/azure_vpc_peering_connection.py +5 -0
  14. pulumi_aiven/billing_group.py +5 -0
  15. pulumi_aiven/cassandra.py +5 -0
  16. pulumi_aiven/cassandra_user.py +5 -0
  17. pulumi_aiven/clickhouse.py +5 -0
  18. pulumi_aiven/clickhouse_database.py +5 -0
  19. pulumi_aiven/clickhouse_grant.py +5 -0
  20. pulumi_aiven/clickhouse_role.py +5 -0
  21. pulumi_aiven/clickhouse_user.py +5 -0
  22. pulumi_aiven/config/__init__.pyi +5 -0
  23. pulumi_aiven/config/vars.py +5 -0
  24. pulumi_aiven/connection_pool.py +5 -0
  25. pulumi_aiven/dragonfly.py +5 -0
  26. pulumi_aiven/flink.py +5 -0
  27. pulumi_aiven/flink_application.py +5 -0
  28. pulumi_aiven/flink_application_deployment.py +5 -0
  29. pulumi_aiven/flink_application_version.py +5 -0
  30. pulumi_aiven/gcp_privatelink.py +5 -0
  31. pulumi_aiven/gcp_privatelink_connection_approval.py +5 -0
  32. pulumi_aiven/gcp_vpc_peering_connection.py +5 -0
  33. pulumi_aiven/get_account.py +19 -4
  34. pulumi_aiven/get_account_authentication.py +30 -4
  35. pulumi_aiven/get_account_team.py +17 -4
  36. pulumi_aiven/get_account_team_member.py +19 -4
  37. pulumi_aiven/get_account_team_project.py +18 -5
  38. pulumi_aiven/get_aws_privatelink.py +17 -4
  39. pulumi_aiven/get_aws_vpc_peering_connection.py +21 -4
  40. pulumi_aiven/get_azure_privatelink.py +19 -4
  41. pulumi_aiven/get_azure_vpc_peering_connection.py +25 -4
  42. pulumi_aiven/get_billing_group.py +27 -4
  43. pulumi_aiven/get_cassanda.py +40 -4
  44. pulumi_aiven/get_cassandra.py +40 -4
  45. pulumi_aiven/get_cassandra_user.py +20 -4
  46. pulumi_aiven/get_clickhouse.py +40 -4
  47. pulumi_aiven/get_clickhouse_database.py +17 -4
  48. pulumi_aiven/get_clickhouse_user.py +19 -4
  49. pulumi_aiven/get_connection_pool.py +21 -4
  50. pulumi_aiven/get_dragonfly.py +40 -4
  51. pulumi_aiven/get_external_identity.py +18 -4
  52. pulumi_aiven/get_flink.py +40 -4
  53. pulumi_aiven/get_flink_application.py +21 -4
  54. pulumi_aiven/get_flink_application_version.py +26 -4
  55. pulumi_aiven/get_gcp_privatelink.py +17 -4
  56. pulumi_aiven/get_gcp_vpc_peering_connection.py +19 -4
  57. pulumi_aiven/get_grafana.py +40 -4
  58. pulumi_aiven/get_influx_db.py +40 -4
  59. pulumi_aiven/get_influxdb_database.py +17 -4
  60. pulumi_aiven/get_influxdb_user.py +20 -4
  61. pulumi_aiven/get_kafka.py +42 -4
  62. pulumi_aiven/get_kafka_acl.py +21 -4
  63. pulumi_aiven/get_kafka_connect.py +39 -4
  64. pulumi_aiven/get_kafka_connector.py +24 -4
  65. pulumi_aiven/get_kafka_mirror_maker.py +39 -4
  66. pulumi_aiven/get_kafka_schema.py +21 -5
  67. pulumi_aiven/get_kafka_schema_configuration.py +20 -5
  68. pulumi_aiven/get_kafka_schema_registry_acl.py +21 -4
  69. pulumi_aiven/get_kafka_topic.py +24 -5
  70. pulumi_aiven/get_kafka_user.py +20 -4
  71. pulumi_aiven/get_m3_aggregator.py +40 -4
  72. pulumi_aiven/get_m3_db.py +40 -4
  73. pulumi_aiven/get_m3db_user.py +18 -4
  74. pulumi_aiven/get_mirror_maker_replication_flow.py +29 -4
  75. pulumi_aiven/get_my_sql.py +40 -4
  76. pulumi_aiven/get_mysql_database.py +17 -4
  77. pulumi_aiven/get_mysql_user.py +21 -4
  78. pulumi_aiven/get_open_search.py +40 -4
  79. pulumi_aiven/get_open_search_acl_config.py +16 -4
  80. pulumi_aiven/get_open_search_acl_rule.py +20 -4
  81. pulumi_aiven/get_opensearch_security_plugin_config.py +18 -4
  82. pulumi_aiven/get_opensearch_user.py +18 -4
  83. pulumi_aiven/get_organization.py +16 -4
  84. pulumi_aiven/get_organization_application_user.py +17 -4
  85. pulumi_aiven/get_organization_user.py +17 -4
  86. pulumi_aiven/get_organization_user_group.py +18 -4
  87. pulumi_aiven/get_organization_user_list.py +121 -0
  88. pulumi_aiven/get_organizational_unit.py +16 -4
  89. pulumi_aiven/get_pg.py +40 -4
  90. pulumi_aiven/get_pg_database.py +19 -4
  91. pulumi_aiven/get_pg_user.py +21 -4
  92. pulumi_aiven/get_project.py +25 -4
  93. pulumi_aiven/get_project_user.py +17 -5
  94. pulumi_aiven/get_project_vpc.py +18 -4
  95. pulumi_aiven/get_redis.py +40 -4
  96. pulumi_aiven/get_redis_user.py +22 -4
  97. pulumi_aiven/get_service_component.py +26 -4
  98. pulumi_aiven/get_service_integration.py +35 -4
  99. pulumi_aiven/get_service_integration_endpoint.py +32 -4
  100. pulumi_aiven/get_thanos.py +60 -4
  101. pulumi_aiven/get_transit_gateway_vpc_attachment.py +21 -4
  102. pulumi_aiven/get_valkey.py +40 -4
  103. pulumi_aiven/get_valkey_user.py +22 -4
  104. pulumi_aiven/grafana.py +5 -0
  105. pulumi_aiven/influx_db.py +5 -0
  106. pulumi_aiven/influxdb_database.py +5 -0
  107. pulumi_aiven/influxdb_user.py +5 -0
  108. pulumi_aiven/kafka.py +5 -0
  109. pulumi_aiven/kafka_acl.py +5 -0
  110. pulumi_aiven/kafka_connect.py +5 -0
  111. pulumi_aiven/kafka_connector.py +5 -0
  112. pulumi_aiven/kafka_mirror_maker.py +5 -0
  113. pulumi_aiven/kafka_schema.py +12 -7
  114. pulumi_aiven/kafka_schema_configuration.py +5 -0
  115. pulumi_aiven/kafka_schema_registry_acl.py +5 -0
  116. pulumi_aiven/kafka_topic.py +16 -9
  117. pulumi_aiven/kafka_user.py +5 -0
  118. pulumi_aiven/m3_aggregator.py +5 -0
  119. pulumi_aiven/m3_db.py +5 -0
  120. pulumi_aiven/m3db_user.py +5 -0
  121. pulumi_aiven/mirror_maker_replication_flow.py +5 -0
  122. pulumi_aiven/my_sql.py +5 -0
  123. pulumi_aiven/mysql_database.py +5 -0
  124. pulumi_aiven/mysql_user.py +5 -0
  125. pulumi_aiven/open_search.py +5 -0
  126. pulumi_aiven/open_search_acl_config.py +5 -0
  127. pulumi_aiven/open_search_acl_rule.py +5 -0
  128. pulumi_aiven/opensearch_security_plugin_config.py +5 -0
  129. pulumi_aiven/opensearch_user.py +5 -0
  130. pulumi_aiven/organization.py +5 -0
  131. pulumi_aiven/organization_application_user.py +5 -0
  132. pulumi_aiven/organization_application_user_token.py +5 -0
  133. pulumi_aiven/organization_group_project.py +12 -7
  134. pulumi_aiven/organization_permission.py +5 -0
  135. pulumi_aiven/organization_user.py +5 -0
  136. pulumi_aiven/organization_user_group.py +5 -0
  137. pulumi_aiven/organization_user_group_member.py +5 -0
  138. pulumi_aiven/organizational_unit.py +5 -0
  139. pulumi_aiven/outputs.py +1470 -2
  140. pulumi_aiven/pg.py +5 -0
  141. pulumi_aiven/pg_database.py +5 -0
  142. pulumi_aiven/pg_user.py +5 -0
  143. pulumi_aiven/project.py +6 -1
  144. pulumi_aiven/project_user.py +12 -7
  145. pulumi_aiven/project_vpc.py +5 -0
  146. pulumi_aiven/provider.py +5 -0
  147. pulumi_aiven/pulumi-plugin.json +1 -1
  148. pulumi_aiven/redis.py +5 -0
  149. pulumi_aiven/redis_user.py +5 -0
  150. pulumi_aiven/service_integration.py +5 -0
  151. pulumi_aiven/service_integration_endpoint.py +5 -0
  152. pulumi_aiven/static_ip.py +5 -0
  153. pulumi_aiven/thanos.py +55 -0
  154. pulumi_aiven/transit_gateway_vpc_attachment.py +5 -0
  155. pulumi_aiven/valkey.py +5 -0
  156. pulumi_aiven/valkey_user.py +5 -0
  157. {pulumi_aiven-6.26.0a1728566627.dist-info → pulumi_aiven-6.27.0.dist-info}/METADATA +3 -2
  158. pulumi_aiven-6.27.0.dist-info/RECORD +162 -0
  159. {pulumi_aiven-6.26.0a1728566627.dist-info → pulumi_aiven-6.27.0.dist-info}/WHEEL +1 -1
  160. pulumi_aiven-6.26.0a1728566627.dist-info/RECORD +0 -161
  161. {pulumi_aiven-6.26.0a1728566627.dist-info → pulumi_aiven-6.27.0.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -117,9 +122,6 @@ def get_organization_user(organization_id: Optional[str] = None,
117
122
  organization_id=pulumi.get(__ret__, 'organization_id'),
118
123
  user_email=pulumi.get(__ret__, 'user_email'),
119
124
  user_id=pulumi.get(__ret__, 'user_id'))
120
-
121
-
122
- @_utilities.lift_output_func(get_organization_user)
123
125
  def get_organization_user_output(organization_id: Optional[pulumi.Input[str]] = None,
124
126
  user_email: Optional[pulumi.Input[Optional[str]]] = None,
125
127
  user_id: Optional[pulumi.Input[Optional[str]]] = None,
@@ -132,4 +134,15 @@ def get_organization_user_output(organization_id: Optional[pulumi.Input[str]] =
132
134
  :param str user_email: This is a user email address
133
135
  :param str user_id: The unique organization user ID
134
136
  """
135
- ...
137
+ __args__ = dict()
138
+ __args__['organizationId'] = organization_id
139
+ __args__['userEmail'] = user_email
140
+ __args__['userId'] = user_id
141
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
142
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUser:getOrganizationUser', __args__, opts=opts, typ=GetOrganizationUserResult)
143
+ return __ret__.apply(lambda __response__: GetOrganizationUserResult(
144
+ create_time=pulumi.get(__response__, 'create_time'),
145
+ id=pulumi.get(__response__, 'id'),
146
+ organization_id=pulumi.get(__response__, 'organization_id'),
147
+ user_email=pulumi.get(__response__, 'user_email'),
148
+ user_id=pulumi.get(__response__, 'user_id')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -150,9 +155,6 @@ def get_organization_user_group(name: Optional[str] = None,
150
155
  name=pulumi.get(__ret__, 'name'),
151
156
  organization_id=pulumi.get(__ret__, 'organization_id'),
152
157
  update_time=pulumi.get(__ret__, 'update_time'))
153
-
154
-
155
- @_utilities.lift_output_func(get_organization_user_group)
156
158
  def get_organization_user_group_output(name: Optional[pulumi.Input[str]] = None,
157
159
  organization_id: Optional[pulumi.Input[str]] = None,
158
160
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationUserGroupResult]:
@@ -173,4 +175,16 @@ def get_organization_user_group_output(name: Optional[pulumi.Input[str]] = None,
173
175
  :param str name: The name of the user group. Changing this property forces recreation of the resource.
174
176
  :param str organization_id: The ID of the organization. Changing this property forces recreation of the resource.
175
177
  """
176
- ...
178
+ __args__ = dict()
179
+ __args__['name'] = name
180
+ __args__['organizationId'] = organization_id
181
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUserGroup:getOrganizationUserGroup', __args__, opts=opts, typ=GetOrganizationUserGroupResult)
183
+ return __ret__.apply(lambda __response__: GetOrganizationUserGroupResult(
184
+ create_time=pulumi.get(__response__, 'create_time'),
185
+ description=pulumi.get(__response__, 'description'),
186
+ group_id=pulumi.get(__response__, 'group_id'),
187
+ id=pulumi.get(__response__, 'id'),
188
+ name=pulumi.get(__response__, 'name'),
189
+ organization_id=pulumi.get(__response__, 'organization_id'),
190
+ update_time=pulumi.get(__response__, 'update_time')))
@@ -0,0 +1,121 @@
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 copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetOrganizationUserListResult',
20
+ 'AwaitableGetOrganizationUserListResult',
21
+ 'get_organization_user_list',
22
+ 'get_organization_user_list_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetOrganizationUserListResult:
27
+ """
28
+ A collection of values returned by getOrganizationUserList.
29
+ """
30
+ def __init__(__self__, id=None, name=None, users=None):
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if name and not isinstance(name, str):
35
+ raise TypeError("Expected argument 'name' to be a str")
36
+ pulumi.set(__self__, "name", name)
37
+ if users and not isinstance(users, list):
38
+ raise TypeError("Expected argument 'users' to be a list")
39
+ pulumi.set(__self__, "users", users)
40
+
41
+ @property
42
+ @pulumi.getter
43
+ def id(self) -> Optional[str]:
44
+ """
45
+ Organization id. Example: `org12345678`.
46
+ """
47
+ return pulumi.get(self, "id")
48
+
49
+ @property
50
+ @pulumi.getter
51
+ def name(self) -> Optional[str]:
52
+ """
53
+ Organization name. Example: `aiven`.
54
+ """
55
+ return pulumi.get(self, "name")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def users(self) -> Sequence['outputs.GetOrganizationUserListUserResult']:
60
+ """
61
+ List of users of the organization
62
+ """
63
+ return pulumi.get(self, "users")
64
+
65
+
66
+ class AwaitableGetOrganizationUserListResult(GetOrganizationUserListResult):
67
+ # pylint: disable=using-constant-test
68
+ def __await__(self):
69
+ if False:
70
+ yield self
71
+ return GetOrganizationUserListResult(
72
+ id=self.id,
73
+ name=self.name,
74
+ users=self.users)
75
+
76
+
77
+ def get_organization_user_list(id: Optional[str] = None,
78
+ name: Optional[str] = None,
79
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserListResult:
80
+ """
81
+ List of users of the organization.
82
+
83
+ **This resource is in the beta stage and may change without notice.** Set
84
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
85
+
86
+
87
+ :param str id: Organization id. Example: `org12345678`.
88
+ :param str name: Organization name. Example: `aiven`.
89
+ """
90
+ __args__ = dict()
91
+ __args__['id'] = id
92
+ __args__['name'] = name
93
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
94
+ __ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationUserList:getOrganizationUserList', __args__, opts=opts, typ=GetOrganizationUserListResult).value
95
+
96
+ return AwaitableGetOrganizationUserListResult(
97
+ id=pulumi.get(__ret__, 'id'),
98
+ name=pulumi.get(__ret__, 'name'),
99
+ users=pulumi.get(__ret__, 'users'))
100
+ def get_organization_user_list_output(id: Optional[pulumi.Input[Optional[str]]] = None,
101
+ name: Optional[pulumi.Input[Optional[str]]] = None,
102
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationUserListResult]:
103
+ """
104
+ List of users of the organization.
105
+
106
+ **This resource is in the beta stage and may change without notice.** Set
107
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
108
+
109
+
110
+ :param str id: Organization id. Example: `org12345678`.
111
+ :param str name: Organization name. Example: `aiven`.
112
+ """
113
+ __args__ = dict()
114
+ __args__['id'] = id
115
+ __args__['name'] = name
116
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
117
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUserList:getOrganizationUserList', __args__, opts=opts, typ=GetOrganizationUserListResult)
118
+ return __ret__.apply(lambda __response__: GetOrganizationUserListResult(
119
+ id=pulumi.get(__response__, 'id'),
120
+ name=pulumi.get(__response__, 'name'),
121
+ users=pulumi.get(__response__, 'users')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -124,9 +129,6 @@ def get_organizational_unit(name: Optional[str] = None,
124
129
  parent_id=pulumi.get(__ret__, 'parent_id'),
125
130
  tenant_id=pulumi.get(__ret__, 'tenant_id'),
126
131
  update_time=pulumi.get(__ret__, 'update_time'))
127
-
128
-
129
- @_utilities.lift_output_func(get_organizational_unit)
130
132
  def get_organizational_unit_output(name: Optional[pulumi.Input[str]] = None,
131
133
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationalUnitResult]:
132
134
  """
@@ -135,4 +137,14 @@ def get_organizational_unit_output(name: Optional[pulumi.Input[str]] = None,
135
137
 
136
138
  :param str name: The name of the organizational unit.
137
139
  """
138
- ...
140
+ __args__ = dict()
141
+ __args__['name'] = name
142
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
143
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationalUnit:getOrganizationalUnit', __args__, opts=opts, typ=GetOrganizationalUnitResult)
144
+ return __ret__.apply(lambda __response__: GetOrganizationalUnitResult(
145
+ create_time=pulumi.get(__response__, 'create_time'),
146
+ id=pulumi.get(__response__, 'id'),
147
+ name=pulumi.get(__response__, 'name'),
148
+ parent_id=pulumi.get(__response__, 'parent_id'),
149
+ tenant_id=pulumi.get(__response__, 'tenant_id'),
150
+ update_time=pulumi.get(__response__, 'update_time')))
pulumi_aiven/get_pg.py CHANGED
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -437,9 +442,6 @@ def get_pg(project: Optional[str] = None,
437
442
  tags=pulumi.get(__ret__, 'tags'),
438
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_pg)
443
445
  def get_pg_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
447
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPgResult]:
@@ -460,4 +462,38 @@ def get_pg_output(project: Optional[pulumi.Input[str]] = None,
460
462
  :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
461
463
  :param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
462
464
  """
463
- ...
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getPg:getPg', __args__, opts=opts, typ=GetPgResult)
470
+ return __ret__.apply(lambda __response__: GetPgResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
473
+ components=pulumi.get(__response__, 'components'),
474
+ disk_space=pulumi.get(__response__, 'disk_space'),
475
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
476
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
477
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
478
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
479
+ id=pulumi.get(__response__, 'id'),
480
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
481
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
482
+ pg_user_configs=pulumi.get(__response__, 'pg_user_configs'),
483
+ pgs=pulumi.get(__response__, 'pgs'),
484
+ plan=pulumi.get(__response__, 'plan'),
485
+ project=pulumi.get(__response__, 'project'),
486
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -151,9 +156,6 @@ def get_pg_database(database_name: Optional[str] = None,
151
156
  project=pulumi.get(__ret__, 'project'),
152
157
  service_name=pulumi.get(__ret__, 'service_name'),
153
158
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
154
-
155
-
156
- @_utilities.lift_output_func(get_pg_database)
157
159
  def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
158
160
  project: Optional[pulumi.Input[str]] = None,
159
161
  service_name: Optional[pulumi.Input[str]] = None,
@@ -177,4 +179,17 @@ def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
177
179
  :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
178
180
  :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
179
181
  """
180
- ...
182
+ __args__ = dict()
183
+ __args__['databaseName'] = database_name
184
+ __args__['project'] = project
185
+ __args__['serviceName'] = service_name
186
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
187
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getPgDatabase:getPgDatabase', __args__, opts=opts, typ=GetPgDatabaseResult)
188
+ return __ret__.apply(lambda __response__: GetPgDatabaseResult(
189
+ database_name=pulumi.get(__response__, 'database_name'),
190
+ id=pulumi.get(__response__, 'id'),
191
+ lc_collate=pulumi.get(__response__, 'lc_collate'),
192
+ lc_ctype=pulumi.get(__response__, 'lc_ctype'),
193
+ project=pulumi.get(__response__, 'project'),
194
+ service_name=pulumi.get(__response__, 'service_name'),
195
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -180,9 +185,6 @@ def get_pg_user(project: Optional[str] = None,
180
185
  service_name=pulumi.get(__ret__, 'service_name'),
181
186
  type=pulumi.get(__ret__, 'type'),
182
187
  username=pulumi.get(__ret__, 'username'))
183
-
184
-
185
- @_utilities.lift_output_func(get_pg_user)
186
188
  def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
187
189
  service_name: Optional[pulumi.Input[str]] = None,
188
190
  username: Optional[pulumi.Input[str]] = None,
@@ -206,4 +208,19 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
206
208
  :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
207
209
  :param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
208
210
  """
209
- ...
211
+ __args__ = dict()
212
+ __args__['project'] = project
213
+ __args__['serviceName'] = service_name
214
+ __args__['username'] = username
215
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
216
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getPgUser:getPgUser', __args__, opts=opts, typ=GetPgUserResult)
217
+ return __ret__.apply(lambda __response__: GetPgUserResult(
218
+ access_cert=pulumi.get(__response__, 'access_cert'),
219
+ access_key=pulumi.get(__response__, 'access_key'),
220
+ id=pulumi.get(__response__, 'id'),
221
+ password=pulumi.get(__response__, 'password'),
222
+ pg_allow_replication=pulumi.get(__response__, 'pg_allow_replication'),
223
+ project=pulumi.get(__response__, 'project'),
224
+ service_name=pulumi.get(__response__, 'service_name'),
225
+ type=pulumi.get(__response__, 'type'),
226
+ username=pulumi.get(__response__, 'username')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -251,9 +256,6 @@ def get_project(project: Optional[str] = None,
251
256
  tags=pulumi.get(__ret__, 'tags'),
252
257
  technical_emails=pulumi.get(__ret__, 'technical_emails'),
253
258
  use_source_project_billing_group=pulumi.get(__ret__, 'use_source_project_billing_group'))
254
-
255
-
256
- @_utilities.lift_output_func(get_project)
257
259
  def get_project_output(project: Optional[pulumi.Input[str]] = None,
258
260
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
259
261
  """
@@ -271,4 +273,23 @@ def get_project_output(project: Optional[pulumi.Input[str]] = None,
271
273
 
272
274
  :param str project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
273
275
  """
274
- ...
276
+ __args__ = dict()
277
+ __args__['project'] = project
278
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
279
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProject:getProject', __args__, opts=opts, typ=GetProjectResult)
280
+ return __ret__.apply(lambda __response__: GetProjectResult(
281
+ account_id=pulumi.get(__response__, 'account_id'),
282
+ add_account_owners_admin_access=pulumi.get(__response__, 'add_account_owners_admin_access'),
283
+ available_credits=pulumi.get(__response__, 'available_credits'),
284
+ billing_group=pulumi.get(__response__, 'billing_group'),
285
+ ca_cert=pulumi.get(__response__, 'ca_cert'),
286
+ copy_from_project=pulumi.get(__response__, 'copy_from_project'),
287
+ default_cloud=pulumi.get(__response__, 'default_cloud'),
288
+ estimated_balance=pulumi.get(__response__, 'estimated_balance'),
289
+ id=pulumi.get(__response__, 'id'),
290
+ parent_id=pulumi.get(__response__, 'parent_id'),
291
+ payment_method=pulumi.get(__response__, 'payment_method'),
292
+ project=pulumi.get(__response__, 'project'),
293
+ tags=pulumi.get(__response__, 'tags'),
294
+ technical_emails=pulumi.get(__response__, 'technical_emails'),
295
+ use_source_project_billing_group=pulumi.get(__response__, 'use_source_project_billing_group')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -66,7 +71,7 @@ class GetProjectUserResult:
66
71
  @pulumi.getter(name="memberType")
67
72
  def member_type(self) -> str:
68
73
  """
69
- Project membership type. The possible values are `admin`, `developer`, `operator`, `project:permissions:read` and `read_only`.
74
+ Project membership type. The possible values are `admin`, `developer`, `operator`, `project:permissions:read`, `read_only` and `service:logs:read`.
70
75
  """
71
76
  return pulumi.get(self, "member_type")
72
77
 
@@ -124,9 +129,6 @@ def get_project_user(email: Optional[str] = None,
124
129
  id=pulumi.get(__ret__, 'id'),
125
130
  member_type=pulumi.get(__ret__, 'member_type'),
126
131
  project=pulumi.get(__ret__, 'project'))
127
-
128
-
129
- @_utilities.lift_output_func(get_project_user)
130
132
  def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
131
133
  project: Optional[pulumi.Input[str]] = None,
132
134
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectUserResult]:
@@ -147,4 +149,14 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
147
149
  :param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
148
150
  :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
149
151
  """
150
- ...
152
+ __args__ = dict()
153
+ __args__['email'] = email
154
+ __args__['project'] = project
155
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectUser:getProjectUser', __args__, opts=opts, typ=GetProjectUserResult)
157
+ return __ret__.apply(lambda __response__: GetProjectUserResult(
158
+ accepted=pulumi.get(__response__, 'accepted'),
159
+ email=pulumi.get(__response__, 'email'),
160
+ id=pulumi.get(__response__, 'id'),
161
+ member_type=pulumi.get(__response__, 'member_type'),
162
+ project=pulumi.get(__response__, 'project')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -140,9 +145,6 @@ def get_project_vpc(cloud_name: Optional[str] = None,
140
145
  project=pulumi.get(__ret__, 'project'),
141
146
  state=pulumi.get(__ret__, 'state'),
142
147
  vpc_id=pulumi.get(__ret__, 'vpc_id'))
143
-
144
-
145
- @_utilities.lift_output_func(get_project_vpc)
146
148
  def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = None,
147
149
  project: Optional[pulumi.Input[Optional[str]]] = None,
148
150
  vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
@@ -165,4 +167,16 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
165
167
  :param str project: Identifies the project this resource belongs to.
166
168
  :param str vpc_id: The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
167
169
  """
168
- ...
170
+ __args__ = dict()
171
+ __args__['cloudName'] = cloud_name
172
+ __args__['project'] = project
173
+ __args__['vpcId'] = vpc_id
174
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
175
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectVpc:getProjectVpc', __args__, opts=opts, typ=GetProjectVpcResult)
176
+ return __ret__.apply(lambda __response__: GetProjectVpcResult(
177
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
178
+ id=pulumi.get(__response__, 'id'),
179
+ network_cidr=pulumi.get(__response__, 'network_cidr'),
180
+ project=pulumi.get(__response__, 'project'),
181
+ state=pulumi.get(__response__, 'state'),
182
+ vpc_id=pulumi.get(__response__, 'vpc_id')))
pulumi_aiven/get_redis.py CHANGED
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -437,9 +442,6 @@ def get_redis(project: Optional[str] = None,
437
442
  tags=pulumi.get(__ret__, 'tags'),
438
443
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
439
444
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
440
-
441
-
442
- @_utilities.lift_output_func(get_redis)
443
445
  def get_redis_output(project: Optional[pulumi.Input[str]] = None,
444
446
  service_name: Optional[pulumi.Input[str]] = None,
445
447
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisResult]:
@@ -460,4 +462,38 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
460
462
  :param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
461
463
  :param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
462
464
  """
463
- ...
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getRedis:getRedis', __args__, opts=opts, typ=GetRedisResult)
470
+ return __ret__.apply(lambda __response__: GetRedisResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
473
+ components=pulumi.get(__response__, 'components'),
474
+ disk_space=pulumi.get(__response__, 'disk_space'),
475
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
476
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
477
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
478
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
479
+ id=pulumi.get(__response__, 'id'),
480
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
481
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
482
+ plan=pulumi.get(__response__, 'plan'),
483
+ project=pulumi.get(__response__, 'project'),
484
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
485
+ redis=pulumi.get(__response__, 'redis'),
486
+ redis_user_configs=pulumi.get(__response__, 'redis_user_configs'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -193,9 +198,6 @@ def get_redis_user(project: Optional[str] = None,
193
198
  service_name=pulumi.get(__ret__, 'service_name'),
194
199
  type=pulumi.get(__ret__, 'type'),
195
200
  username=pulumi.get(__ret__, 'username'))
196
-
197
-
198
- @_utilities.lift_output_func(get_redis_user)
199
201
  def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
200
202
  service_name: Optional[pulumi.Input[str]] = None,
201
203
  username: Optional[pulumi.Input[str]] = None,
@@ -219,4 +221,20 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
219
221
  :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
220
222
  :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
221
223
  """
222
- ...
224
+ __args__ = dict()
225
+ __args__['project'] = project
226
+ __args__['serviceName'] = service_name
227
+ __args__['username'] = username
228
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
229
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getRedisUser:getRedisUser', __args__, opts=opts, typ=GetRedisUserResult)
230
+ return __ret__.apply(lambda __response__: GetRedisUserResult(
231
+ id=pulumi.get(__response__, 'id'),
232
+ password=pulumi.get(__response__, 'password'),
233
+ project=pulumi.get(__response__, 'project'),
234
+ redis_acl_categories=pulumi.get(__response__, 'redis_acl_categories'),
235
+ redis_acl_channels=pulumi.get(__response__, 'redis_acl_channels'),
236
+ redis_acl_commands=pulumi.get(__response__, 'redis_acl_commands'),
237
+ redis_acl_keys=pulumi.get(__response__, 'redis_acl_keys'),
238
+ service_name=pulumi.get(__response__, 'service_name'),
239
+ type=pulumi.get(__response__, 'type'),
240
+ username=pulumi.get(__response__, 'username')))