pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +136 -0
- pulumi_aiven/_inputs.py +32749 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38976 -21894
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.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__ = [
|
|
@@ -64,7 +69,7 @@ class GetKafkaSchemaRegistryAclResult:
|
|
|
64
69
|
@pulumi.getter
|
|
65
70
|
def permission(self) -> str:
|
|
66
71
|
"""
|
|
67
|
-
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
72
|
+
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
68
73
|
"""
|
|
69
74
|
return pulumi.get(self, "permission")
|
|
70
75
|
|
|
@@ -72,7 +77,7 @@ class GetKafkaSchemaRegistryAclResult:
|
|
|
72
77
|
@pulumi.getter
|
|
73
78
|
def project(self) -> str:
|
|
74
79
|
"""
|
|
75
|
-
|
|
80
|
+
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.
|
|
76
81
|
"""
|
|
77
82
|
return pulumi.get(self, "project")
|
|
78
83
|
|
|
@@ -80,7 +85,7 @@ class GetKafkaSchemaRegistryAclResult:
|
|
|
80
85
|
@pulumi.getter
|
|
81
86
|
def resource(self) -> str:
|
|
82
87
|
"""
|
|
83
|
-
Resource name pattern for the Schema Registry ACL entry.
|
|
88
|
+
Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
84
89
|
"""
|
|
85
90
|
return pulumi.get(self, "resource")
|
|
86
91
|
|
|
@@ -88,7 +93,7 @@ class GetKafkaSchemaRegistryAclResult:
|
|
|
88
93
|
@pulumi.getter(name="serviceName")
|
|
89
94
|
def service_name(self) -> str:
|
|
90
95
|
"""
|
|
91
|
-
|
|
96
|
+
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.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "service_name")
|
|
94
99
|
|
|
@@ -96,7 +101,7 @@ class GetKafkaSchemaRegistryAclResult:
|
|
|
96
101
|
@pulumi.getter
|
|
97
102
|
def username(self) -> str:
|
|
98
103
|
"""
|
|
99
|
-
Username pattern for the ACL entry.
|
|
104
|
+
Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
100
105
|
"""
|
|
101
106
|
return pulumi.get(self, "username")
|
|
102
107
|
|
|
@@ -126,11 +131,11 @@ def get_kafka_schema_registry_acl(permission: Optional[str] = None,
|
|
|
126
131
|
The Data Source Kafka Schema Registry ACL data source provides information about the existing Aiven Kafka Schema Registry ACL for a Kafka service.
|
|
127
132
|
|
|
128
133
|
|
|
129
|
-
:param str permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
130
|
-
:param str project:
|
|
131
|
-
:param str resource: Resource name pattern for the Schema Registry ACL entry.
|
|
132
|
-
:param str service_name:
|
|
133
|
-
:param str username: Username pattern for the ACL entry.
|
|
134
|
+
:param str permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
135
|
+
: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.
|
|
136
|
+
:param str resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
137
|
+
: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.
|
|
138
|
+
:param str username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
134
139
|
"""
|
|
135
140
|
__args__ = dict()
|
|
136
141
|
__args__['permission'] = permission
|
|
@@ -149,23 +154,35 @@ def get_kafka_schema_registry_acl(permission: Optional[str] = None,
|
|
|
149
154
|
resource=pulumi.get(__ret__, 'resource'),
|
|
150
155
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
151
156
|
username=pulumi.get(__ret__, 'username'))
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
@_utilities.lift_output_func(get_kafka_schema_registry_acl)
|
|
155
157
|
def get_kafka_schema_registry_acl_output(permission: Optional[pulumi.Input[str]] = None,
|
|
156
158
|
project: Optional[pulumi.Input[str]] = None,
|
|
157
159
|
resource: Optional[pulumi.Input[str]] = None,
|
|
158
160
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
159
161
|
username: Optional[pulumi.Input[str]] = None,
|
|
160
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaSchemaRegistryAclResult]:
|
|
162
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaSchemaRegistryAclResult]:
|
|
161
163
|
"""
|
|
162
164
|
The Data Source Kafka Schema Registry ACL data source provides information about the existing Aiven Kafka Schema Registry ACL for a Kafka service.
|
|
163
165
|
|
|
164
166
|
|
|
165
|
-
:param str permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
166
|
-
:param str project:
|
|
167
|
-
:param str resource: Resource name pattern for the Schema Registry ACL entry.
|
|
168
|
-
:param str service_name:
|
|
169
|
-
:param str username: Username pattern for the ACL entry.
|
|
167
|
+
:param str permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
168
|
+
: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.
|
|
169
|
+
:param str resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
170
|
+
: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.
|
|
171
|
+
:param str username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
170
172
|
"""
|
|
171
|
-
|
|
173
|
+
__args__ = dict()
|
|
174
|
+
__args__['permission'] = permission
|
|
175
|
+
__args__['project'] = project
|
|
176
|
+
__args__['resource'] = resource
|
|
177
|
+
__args__['serviceName'] = service_name
|
|
178
|
+
__args__['username'] = username
|
|
179
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
180
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaSchemaRegistryAcl:getKafkaSchemaRegistryAcl', __args__, opts=opts, typ=GetKafkaSchemaRegistryAclResult)
|
|
181
|
+
return __ret__.apply(lambda __response__: GetKafkaSchemaRegistryAclResult(
|
|
182
|
+
acl_id=pulumi.get(__response__, 'acl_id'),
|
|
183
|
+
id=pulumi.get(__response__, 'id'),
|
|
184
|
+
permission=pulumi.get(__response__, 'permission'),
|
|
185
|
+
project=pulumi.get(__response__, 'project'),
|
|
186
|
+
resource=pulumi.get(__response__, 'resource'),
|
|
187
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
188
|
+
username=pulumi.get(__response__, 'username')))
|
pulumi_aiven/get_kafka_topic.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
|
|
|
@@ -22,13 +27,16 @@ class GetKafkaTopicResult:
|
|
|
22
27
|
"""
|
|
23
28
|
A collection of values returned by getKafkaTopic.
|
|
24
29
|
"""
|
|
25
|
-
def __init__(__self__, configs=None, id=None, partitions=None, project=None, replication=None, service_name=None, tags=None, termination_protection=None, topic_name=None):
|
|
30
|
+
def __init__(__self__, configs=None, id=None, owner_user_group_id=None, partitions=None, project=None, replication=None, service_name=None, tags=None, termination_protection=None, topic_description=None, topic_name=None):
|
|
26
31
|
if configs and not isinstance(configs, list):
|
|
27
32
|
raise TypeError("Expected argument 'configs' to be a list")
|
|
28
33
|
pulumi.set(__self__, "configs", configs)
|
|
29
34
|
if id and not isinstance(id, str):
|
|
30
35
|
raise TypeError("Expected argument 'id' to be a str")
|
|
31
36
|
pulumi.set(__self__, "id", id)
|
|
37
|
+
if owner_user_group_id and not isinstance(owner_user_group_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'owner_user_group_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "owner_user_group_id", owner_user_group_id)
|
|
32
40
|
if partitions and not isinstance(partitions, int):
|
|
33
41
|
raise TypeError("Expected argument 'partitions' to be a int")
|
|
34
42
|
pulumi.set(__self__, "partitions", partitions)
|
|
@@ -47,6 +55,9 @@ class GetKafkaTopicResult:
|
|
|
47
55
|
if termination_protection and not isinstance(termination_protection, bool):
|
|
48
56
|
raise TypeError("Expected argument 'termination_protection' to be a bool")
|
|
49
57
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
58
|
+
if topic_description and not isinstance(topic_description, str):
|
|
59
|
+
raise TypeError("Expected argument 'topic_description' to be a str")
|
|
60
|
+
pulumi.set(__self__, "topic_description", topic_description)
|
|
50
61
|
if topic_name and not isinstance(topic_name, str):
|
|
51
62
|
raise TypeError("Expected argument 'topic_name' to be a str")
|
|
52
63
|
pulumi.set(__self__, "topic_name", topic_name)
|
|
@@ -55,7 +66,7 @@ class GetKafkaTopicResult:
|
|
|
55
66
|
@pulumi.getter
|
|
56
67
|
def configs(self) -> Sequence['outputs.GetKafkaTopicConfigResult']:
|
|
57
68
|
"""
|
|
58
|
-
|
|
69
|
+
[Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
59
70
|
"""
|
|
60
71
|
return pulumi.get(self, "configs")
|
|
61
72
|
|
|
@@ -67,6 +78,14 @@ class GetKafkaTopicResult:
|
|
|
67
78
|
"""
|
|
68
79
|
return pulumi.get(self, "id")
|
|
69
80
|
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="ownerUserGroupId")
|
|
83
|
+
def owner_user_group_id(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
The ID of the user group that owns the topic. Assigning ownership to decentralize topic management is part of [Aiven for Apache Kafka® governance](https://aiven.io/docs/products/kafka/concepts/governance-overview).
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "owner_user_group_id")
|
|
88
|
+
|
|
70
89
|
@property
|
|
71
90
|
@pulumi.getter
|
|
72
91
|
def partitions(self) -> int:
|
|
@@ -79,7 +98,7 @@ class GetKafkaTopicResult:
|
|
|
79
98
|
@pulumi.getter
|
|
80
99
|
def project(self) -> str:
|
|
81
100
|
"""
|
|
82
|
-
|
|
101
|
+
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.
|
|
83
102
|
"""
|
|
84
103
|
return pulumi.get(self, "project")
|
|
85
104
|
|
|
@@ -95,7 +114,7 @@ class GetKafkaTopicResult:
|
|
|
95
114
|
@pulumi.getter(name="serviceName")
|
|
96
115
|
def service_name(self) -> str:
|
|
97
116
|
"""
|
|
98
|
-
|
|
117
|
+
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.
|
|
99
118
|
"""
|
|
100
119
|
return pulumi.get(self, "service_name")
|
|
101
120
|
|
|
@@ -103,7 +122,7 @@ class GetKafkaTopicResult:
|
|
|
103
122
|
@pulumi.getter
|
|
104
123
|
def tags(self) -> Sequence['outputs.GetKafkaTopicTagResult']:
|
|
105
124
|
"""
|
|
106
|
-
|
|
125
|
+
Tags for the topic.
|
|
107
126
|
"""
|
|
108
127
|
return pulumi.get(self, "tags")
|
|
109
128
|
|
|
@@ -112,11 +131,19 @@ class GetKafkaTopicResult:
|
|
|
112
131
|
def termination_protection(self) -> bool:
|
|
113
132
|
return pulumi.get(self, "termination_protection")
|
|
114
133
|
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="topicDescription")
|
|
136
|
+
def topic_description(self) -> str:
|
|
137
|
+
"""
|
|
138
|
+
The description of the topic
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "topic_description")
|
|
141
|
+
|
|
115
142
|
@property
|
|
116
143
|
@pulumi.getter(name="topicName")
|
|
117
144
|
def topic_name(self) -> str:
|
|
118
145
|
"""
|
|
119
|
-
The name of the topic.
|
|
146
|
+
The name of the topic. Changing this property forces recreation of the resource.
|
|
120
147
|
"""
|
|
121
148
|
return pulumi.get(self, "topic_name")
|
|
122
149
|
|
|
@@ -129,12 +156,14 @@ class AwaitableGetKafkaTopicResult(GetKafkaTopicResult):
|
|
|
129
156
|
return GetKafkaTopicResult(
|
|
130
157
|
configs=self.configs,
|
|
131
158
|
id=self.id,
|
|
159
|
+
owner_user_group_id=self.owner_user_group_id,
|
|
132
160
|
partitions=self.partitions,
|
|
133
161
|
project=self.project,
|
|
134
162
|
replication=self.replication,
|
|
135
163
|
service_name=self.service_name,
|
|
136
164
|
tags=self.tags,
|
|
137
165
|
termination_protection=self.termination_protection,
|
|
166
|
+
topic_description=self.topic_description,
|
|
138
167
|
topic_name=self.topic_name)
|
|
139
168
|
|
|
140
169
|
|
|
@@ -143,25 +172,23 @@ def get_kafka_topic(project: Optional[str] = None,
|
|
|
143
172
|
topic_name: Optional[str] = None,
|
|
144
173
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaTopicResult:
|
|
145
174
|
"""
|
|
146
|
-
|
|
175
|
+
Gets information about an Aiven for Apache Kafka® topic.
|
|
147
176
|
|
|
148
177
|
## Example Usage
|
|
149
178
|
|
|
150
|
-
<!--Start PulumiCodeChooser -->
|
|
151
179
|
```python
|
|
152
180
|
import pulumi
|
|
153
181
|
import pulumi_aiven as aiven
|
|
154
182
|
|
|
155
|
-
|
|
156
|
-
service_name=
|
|
157
|
-
topic_name="
|
|
183
|
+
example_topic = aiven.get_kafka_topic(project=example_project["project"],
|
|
184
|
+
service_name=example_kafka["serviceName"],
|
|
185
|
+
topic_name="example-topic")
|
|
158
186
|
```
|
|
159
|
-
<!--End PulumiCodeChooser -->
|
|
160
187
|
|
|
161
188
|
|
|
162
|
-
:param str project:
|
|
163
|
-
:param str service_name:
|
|
164
|
-
:param str topic_name: The name of the topic.
|
|
189
|
+
: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.
|
|
190
|
+
: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.
|
|
191
|
+
:param str topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
165
192
|
"""
|
|
166
193
|
__args__ = dict()
|
|
167
194
|
__args__['project'] = project
|
|
@@ -173,39 +200,53 @@ def get_kafka_topic(project: Optional[str] = None,
|
|
|
173
200
|
return AwaitableGetKafkaTopicResult(
|
|
174
201
|
configs=pulumi.get(__ret__, 'configs'),
|
|
175
202
|
id=pulumi.get(__ret__, 'id'),
|
|
203
|
+
owner_user_group_id=pulumi.get(__ret__, 'owner_user_group_id'),
|
|
176
204
|
partitions=pulumi.get(__ret__, 'partitions'),
|
|
177
205
|
project=pulumi.get(__ret__, 'project'),
|
|
178
206
|
replication=pulumi.get(__ret__, 'replication'),
|
|
179
207
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
180
208
|
tags=pulumi.get(__ret__, 'tags'),
|
|
181
209
|
termination_protection=pulumi.get(__ret__, 'termination_protection'),
|
|
210
|
+
topic_description=pulumi.get(__ret__, 'topic_description'),
|
|
182
211
|
topic_name=pulumi.get(__ret__, 'topic_name'))
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
@_utilities.lift_output_func(get_kafka_topic)
|
|
186
212
|
def get_kafka_topic_output(project: Optional[pulumi.Input[str]] = None,
|
|
187
213
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
188
214
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaTopicResult]:
|
|
215
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaTopicResult]:
|
|
190
216
|
"""
|
|
191
|
-
|
|
217
|
+
Gets information about an Aiven for Apache Kafka® topic.
|
|
192
218
|
|
|
193
219
|
## Example Usage
|
|
194
220
|
|
|
195
|
-
<!--Start PulumiCodeChooser -->
|
|
196
221
|
```python
|
|
197
222
|
import pulumi
|
|
198
223
|
import pulumi_aiven as aiven
|
|
199
224
|
|
|
200
|
-
|
|
201
|
-
service_name=
|
|
202
|
-
topic_name="
|
|
225
|
+
example_topic = aiven.get_kafka_topic(project=example_project["project"],
|
|
226
|
+
service_name=example_kafka["serviceName"],
|
|
227
|
+
topic_name="example-topic")
|
|
203
228
|
```
|
|
204
|
-
<!--End PulumiCodeChooser -->
|
|
205
229
|
|
|
206
230
|
|
|
207
|
-
:param str project:
|
|
208
|
-
:param str service_name:
|
|
209
|
-
:param str topic_name: The name of the topic.
|
|
231
|
+
: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.
|
|
232
|
+
: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.
|
|
233
|
+
:param str topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
210
234
|
"""
|
|
211
|
-
|
|
235
|
+
__args__ = dict()
|
|
236
|
+
__args__['project'] = project
|
|
237
|
+
__args__['serviceName'] = service_name
|
|
238
|
+
__args__['topicName'] = topic_name
|
|
239
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
240
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaTopic:getKafkaTopic', __args__, opts=opts, typ=GetKafkaTopicResult)
|
|
241
|
+
return __ret__.apply(lambda __response__: GetKafkaTopicResult(
|
|
242
|
+
configs=pulumi.get(__response__, 'configs'),
|
|
243
|
+
id=pulumi.get(__response__, 'id'),
|
|
244
|
+
owner_user_group_id=pulumi.get(__response__, 'owner_user_group_id'),
|
|
245
|
+
partitions=pulumi.get(__response__, 'partitions'),
|
|
246
|
+
project=pulumi.get(__response__, 'project'),
|
|
247
|
+
replication=pulumi.get(__response__, 'replication'),
|
|
248
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
249
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
250
|
+
termination_protection=pulumi.get(__response__, 'termination_protection'),
|
|
251
|
+
topic_description=pulumi.get(__response__, 'topic_description'),
|
|
252
|
+
topic_name=pulumi.get(__response__, 'topic_name')))
|
pulumi_aiven/get_kafka_user.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
|
|
|
12
17
|
__all__ = [
|
|
@@ -51,7 +56,7 @@ class GetKafkaUserResult:
|
|
|
51
56
|
@pulumi.getter(name="accessCert")
|
|
52
57
|
def access_cert(self) -> str:
|
|
53
58
|
"""
|
|
54
|
-
Access certificate for the user
|
|
59
|
+
Access certificate for the user.
|
|
55
60
|
"""
|
|
56
61
|
return pulumi.get(self, "access_cert")
|
|
57
62
|
|
|
@@ -59,7 +64,7 @@ class GetKafkaUserResult:
|
|
|
59
64
|
@pulumi.getter(name="accessKey")
|
|
60
65
|
def access_key(self) -> str:
|
|
61
66
|
"""
|
|
62
|
-
Access certificate key for the user
|
|
67
|
+
Access certificate key for the user.
|
|
63
68
|
"""
|
|
64
69
|
return pulumi.get(self, "access_key")
|
|
65
70
|
|
|
@@ -75,7 +80,7 @@ class GetKafkaUserResult:
|
|
|
75
80
|
@pulumi.getter
|
|
76
81
|
def password(self) -> str:
|
|
77
82
|
"""
|
|
78
|
-
The
|
|
83
|
+
The Kafka service user's password.
|
|
79
84
|
"""
|
|
80
85
|
return pulumi.get(self, "password")
|
|
81
86
|
|
|
@@ -83,7 +88,7 @@ class GetKafkaUserResult:
|
|
|
83
88
|
@pulumi.getter
|
|
84
89
|
def project(self) -> str:
|
|
85
90
|
"""
|
|
86
|
-
|
|
91
|
+
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.
|
|
87
92
|
"""
|
|
88
93
|
return pulumi.get(self, "project")
|
|
89
94
|
|
|
@@ -91,7 +96,7 @@ class GetKafkaUserResult:
|
|
|
91
96
|
@pulumi.getter(name="serviceName")
|
|
92
97
|
def service_name(self) -> str:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
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.
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "service_name")
|
|
97
102
|
|
|
@@ -99,7 +104,7 @@ class GetKafkaUserResult:
|
|
|
99
104
|
@pulumi.getter
|
|
100
105
|
def type(self) -> str:
|
|
101
106
|
"""
|
|
102
|
-
|
|
107
|
+
User account type, such as primary or regular account.
|
|
103
108
|
"""
|
|
104
109
|
return pulumi.get(self, "type")
|
|
105
110
|
|
|
@@ -107,7 +112,7 @@ class GetKafkaUserResult:
|
|
|
107
112
|
@pulumi.getter
|
|
108
113
|
def username(self) -> str:
|
|
109
114
|
"""
|
|
110
|
-
|
|
115
|
+
Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
111
116
|
"""
|
|
112
117
|
return pulumi.get(self, "username")
|
|
113
118
|
|
|
@@ -133,25 +138,23 @@ def get_kafka_user(project: Optional[str] = None,
|
|
|
133
138
|
username: Optional[str] = None,
|
|
134
139
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaUserResult:
|
|
135
140
|
"""
|
|
136
|
-
|
|
141
|
+
Gets information about an Aiven for Apache Kafka® service user.
|
|
137
142
|
|
|
138
143
|
## Example Usage
|
|
139
144
|
|
|
140
|
-
<!--Start PulumiCodeChooser -->
|
|
141
145
|
```python
|
|
142
146
|
import pulumi
|
|
143
147
|
import pulumi_aiven as aiven
|
|
144
148
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
username="
|
|
149
|
+
example_service_user = aiven.get_kafka_user(service_name=example_kafka["serviceName"],
|
|
150
|
+
project=example_project["project"],
|
|
151
|
+
username="example-kafka-user")
|
|
148
152
|
```
|
|
149
|
-
<!--End PulumiCodeChooser -->
|
|
150
153
|
|
|
151
154
|
|
|
152
|
-
:param str project:
|
|
153
|
-
:param str service_name:
|
|
154
|
-
:param str username:
|
|
155
|
+
: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.
|
|
156
|
+
: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.
|
|
157
|
+
:param str username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
155
158
|
"""
|
|
156
159
|
__args__ = dict()
|
|
157
160
|
__args__['project'] = project
|
|
@@ -169,32 +172,41 @@ def get_kafka_user(project: Optional[str] = None,
|
|
|
169
172
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
170
173
|
type=pulumi.get(__ret__, 'type'),
|
|
171
174
|
username=pulumi.get(__ret__, 'username'))
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
@_utilities.lift_output_func(get_kafka_user)
|
|
175
175
|
def get_kafka_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
176
176
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
177
177
|
username: Optional[pulumi.Input[str]] = None,
|
|
178
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaUserResult]:
|
|
178
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaUserResult]:
|
|
179
179
|
"""
|
|
180
|
-
|
|
180
|
+
Gets information about an Aiven for Apache Kafka® service user.
|
|
181
181
|
|
|
182
182
|
## Example Usage
|
|
183
183
|
|
|
184
|
-
<!--Start PulumiCodeChooser -->
|
|
185
184
|
```python
|
|
186
185
|
import pulumi
|
|
187
186
|
import pulumi_aiven as aiven
|
|
188
187
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
username="
|
|
188
|
+
example_service_user = aiven.get_kafka_user(service_name=example_kafka["serviceName"],
|
|
189
|
+
project=example_project["project"],
|
|
190
|
+
username="example-kafka-user")
|
|
192
191
|
```
|
|
193
|
-
<!--End PulumiCodeChooser -->
|
|
194
192
|
|
|
195
193
|
|
|
196
|
-
:param str project:
|
|
197
|
-
:param str service_name:
|
|
198
|
-
:param str username:
|
|
194
|
+
: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.
|
|
195
|
+
: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.
|
|
196
|
+
:param str username: Name of the Kafka service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
199
197
|
"""
|
|
200
|
-
|
|
198
|
+
__args__ = dict()
|
|
199
|
+
__args__['project'] = project
|
|
200
|
+
__args__['serviceName'] = service_name
|
|
201
|
+
__args__['username'] = username
|
|
202
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafkaUser:getKafkaUser', __args__, opts=opts, typ=GetKafkaUserResult)
|
|
204
|
+
return __ret__.apply(lambda __response__: GetKafkaUserResult(
|
|
205
|
+
access_cert=pulumi.get(__response__, 'access_cert'),
|
|
206
|
+
access_key=pulumi.get(__response__, 'access_key'),
|
|
207
|
+
id=pulumi.get(__response__, 'id'),
|
|
208
|
+
password=pulumi.get(__response__, 'password'),
|
|
209
|
+
project=pulumi.get(__response__, 'project'),
|
|
210
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
211
|
+
type=pulumi.get(__response__, 'type'),
|
|
212
|
+
username=pulumi.get(__response__, 'username')))
|