pulumi-aiven 6.37.0a1744182902__py3-none-any.whl → 6.38.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +30 -0
- pulumi_aiven/_inputs.py +1902 -172
- pulumi_aiven/account.py +1 -0
- pulumi_aiven/account_authentication.py +1 -0
- pulumi_aiven/account_team.py +1 -0
- pulumi_aiven/account_team_member.py +1 -0
- pulumi_aiven/account_team_project.py +1 -0
- pulumi_aiven/alloydbomni.py +8 -15
- pulumi_aiven/alloydbomni_database.py +1 -0
- pulumi_aiven/alloydbomni_user.py +1 -0
- pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/aws_privatelink.py +1 -0
- pulumi_aiven/aws_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_privatelink.py +1 -0
- pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
- pulumi_aiven/azure_vpc_peering_connection.py +1 -0
- pulumi_aiven/billing_group.py +1 -0
- pulumi_aiven/cassandra.py +8 -15
- pulumi_aiven/cassandra_user.py +1 -0
- pulumi_aiven/clickhouse.py +8 -15
- pulumi_aiven/clickhouse_database.py +1 -0
- pulumi_aiven/clickhouse_grant.py +19 -0
- pulumi_aiven/clickhouse_role.py +1 -0
- pulumi_aiven/clickhouse_user.py +1 -0
- pulumi_aiven/connection_pool.py +1 -0
- pulumi_aiven/dragonfly.py +8 -15
- pulumi_aiven/flink.py +8 -15
- pulumi_aiven/flink_application.py +1 -0
- pulumi_aiven/flink_application_deployment.py +1 -0
- pulumi_aiven/flink_application_version.py +1 -0
- pulumi_aiven/flink_jar_application.py +1 -0
- pulumi_aiven/flink_jar_application_deployment.py +1 -0
- pulumi_aiven/flink_jar_application_version.py +1 -0
- pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/gcp_privatelink.py +1 -0
- pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
- pulumi_aiven/get_alloydbomni.py +1 -4
- pulumi_aiven/get_cassanda.py +1 -4
- pulumi_aiven/get_cassandra.py +1 -4
- pulumi_aiven/get_clickhouse.py +1 -4
- pulumi_aiven/get_dragonfly.py +1 -4
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_flink.py +1 -4
- pulumi_aiven/get_grafana.py +1 -4
- pulumi_aiven/get_kafka.py +1 -4
- pulumi_aiven/get_kafka_connect.py +1 -4
- pulumi_aiven/get_kafka_mirror_maker.py +1 -4
- pulumi_aiven/get_m3_aggregator.py +1 -4
- pulumi_aiven/get_m3_db.py +1 -4
- pulumi_aiven/get_my_sql.py +1 -4
- pulumi_aiven/get_open_search.py +8 -11
- pulumi_aiven/get_open_search_acl_config.py +7 -7
- pulumi_aiven/get_open_search_acl_rule.py +19 -19
- pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
- pulumi_aiven/get_opensearch_user.py +13 -13
- pulumi_aiven/get_organization.py +22 -4
- pulumi_aiven/get_organization_address.py +250 -0
- pulumi_aiven/get_organization_application_user.py +0 -20
- pulumi_aiven/get_organization_billing_group.py +264 -0
- pulumi_aiven/get_organization_billing_group_list.py +138 -0
- pulumi_aiven/get_organization_project.py +63 -13
- pulumi_aiven/get_organization_user_list.py +25 -13
- pulumi_aiven/get_pg.py +1 -4
- pulumi_aiven/get_redis.py +1 -4
- pulumi_aiven/get_service_component.py +15 -1
- pulumi_aiven/get_service_integration.py +2 -2
- pulumi_aiven/get_thanos.py +1 -4
- pulumi_aiven/get_valkey.py +1 -4
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/grafana.py +8 -15
- pulumi_aiven/influx_db.py +22 -15
- pulumi_aiven/influxdb_database.py +1 -0
- pulumi_aiven/influxdb_user.py +1 -0
- pulumi_aiven/kafka.py +8 -15
- pulumi_aiven/kafka_acl.py +1 -0
- pulumi_aiven/kafka_connect.py +8 -15
- pulumi_aiven/kafka_connector.py +1 -0
- pulumi_aiven/kafka_mirror_maker.py +8 -15
- pulumi_aiven/kafka_native_acl.py +2 -1
- pulumi_aiven/kafka_quota.py +1 -0
- pulumi_aiven/kafka_schema.py +1 -0
- pulumi_aiven/kafka_schema_configuration.py +1 -0
- pulumi_aiven/kafka_schema_registry_acl.py +1 -0
- pulumi_aiven/kafka_topic.py +1 -0
- pulumi_aiven/kafka_user.py +1 -0
- pulumi_aiven/m3_aggregator.py +8 -15
- pulumi_aiven/m3_db.py +8 -15
- pulumi_aiven/m3db_user.py +1 -0
- pulumi_aiven/mirror_maker_replication_flow.py +1 -0
- pulumi_aiven/my_sql.py +8 -15
- pulumi_aiven/mysql_database.py +1 -0
- pulumi_aiven/mysql_user.py +1 -0
- pulumi_aiven/open_search.py +25 -34
- pulumi_aiven/open_search_acl_config.py +30 -41
- pulumi_aiven/open_search_acl_rule.py +48 -47
- pulumi_aiven/opensearch_security_plugin_config.py +15 -42
- pulumi_aiven/opensearch_user.py +33 -32
- pulumi_aiven/organization.py +27 -21
- pulumi_aiven/organization_address.py +564 -0
- pulumi_aiven/organization_application_user.py +14 -4
- pulumi_aiven/organization_application_user_token.py +1 -0
- pulumi_aiven/organization_billing_group.py +652 -0
- pulumi_aiven/organization_group_project.py +1 -0
- pulumi_aiven/organization_permission.py +3 -2
- pulumi_aiven/organization_project.py +149 -68
- pulumi_aiven/organization_user.py +1 -0
- pulumi_aiven/organization_user_group.py +1 -0
- pulumi_aiven/organization_user_group_member.py +1 -32
- pulumi_aiven/organization_vpc.py +1 -0
- pulumi_aiven/organizational_unit.py +1 -0
- pulumi_aiven/outputs.py +1813 -198
- pulumi_aiven/pg.py +8 -15
- pulumi_aiven/pg_database.py +1 -0
- pulumi_aiven/pg_user.py +1 -0
- pulumi_aiven/project.py +1 -0
- pulumi_aiven/project_user.py +1 -0
- pulumi_aiven/project_vpc.py +1 -0
- pulumi_aiven/provider.py +21 -0
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +8 -15
- pulumi_aiven/redis_user.py +1 -0
- pulumi_aiven/service_integration.py +5 -4
- pulumi_aiven/service_integration_endpoint.py +1 -0
- pulumi_aiven/static_ip.py +1 -0
- pulumi_aiven/thanos.py +8 -15
- pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
- pulumi_aiven/valkey.py +8 -15
- pulumi_aiven/valkey_user.py +1 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
- pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from . import _utilities
|
|
17
|
+
from . import outputs
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
'GetOrganizationBillingGroupListResult',
|
|
22
|
+
'AwaitableGetOrganizationBillingGroupListResult',
|
|
23
|
+
'get_organization_billing_group_list',
|
|
24
|
+
'get_organization_billing_group_list_output',
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
@pulumi.output_type
|
|
28
|
+
class GetOrganizationBillingGroupListResult:
|
|
29
|
+
"""
|
|
30
|
+
A collection of values returned by getOrganizationBillingGroupList.
|
|
31
|
+
"""
|
|
32
|
+
def __init__(__self__, billing_groups=None, id=None, organization_id=None, timeouts=None):
|
|
33
|
+
if billing_groups and not isinstance(billing_groups, list):
|
|
34
|
+
raise TypeError("Expected argument 'billing_groups' to be a list")
|
|
35
|
+
pulumi.set(__self__, "billing_groups", billing_groups)
|
|
36
|
+
if id and not isinstance(id, str):
|
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "id", id)
|
|
39
|
+
if organization_id and not isinstance(organization_id, str):
|
|
40
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
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)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter(name="billingGroups")
|
|
48
|
+
def billing_groups(self) -> Optional[Sequence['outputs.GetOrganizationBillingGroupListBillingGroupResult']]:
|
|
49
|
+
"""
|
|
50
|
+
A list of all billing groups belonging to the organization.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "billing_groups")
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def id(self) -> builtins.str:
|
|
57
|
+
"""
|
|
58
|
+
Resource ID, equal to `organization_id`.
|
|
59
|
+
"""
|
|
60
|
+
return pulumi.get(self, "id")
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter(name="organizationId")
|
|
64
|
+
def organization_id(self) -> builtins.str:
|
|
65
|
+
"""
|
|
66
|
+
ID of an organization.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "organization_id")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter
|
|
72
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationBillingGroupListTimeoutsResult']:
|
|
73
|
+
return pulumi.get(self, "timeouts")
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class AwaitableGetOrganizationBillingGroupListResult(GetOrganizationBillingGroupListResult):
|
|
77
|
+
# pylint: disable=using-constant-test
|
|
78
|
+
def __await__(self):
|
|
79
|
+
if False:
|
|
80
|
+
yield self
|
|
81
|
+
return GetOrganizationBillingGroupListResult(
|
|
82
|
+
billing_groups=self.billing_groups,
|
|
83
|
+
id=self.id,
|
|
84
|
+
organization_id=self.organization_id,
|
|
85
|
+
timeouts=self.timeouts)
|
|
86
|
+
|
|
87
|
+
|
|
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,
|
|
91
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationBillingGroupListResult:
|
|
92
|
+
"""
|
|
93
|
+
Lists billing groups for an organization.
|
|
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.
|
|
97
|
+
|
|
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.
|
|
101
|
+
"""
|
|
102
|
+
__args__ = dict()
|
|
103
|
+
__args__['billingGroups'] = billing_groups
|
|
104
|
+
__args__['organizationId'] = organization_id
|
|
105
|
+
__args__['timeouts'] = timeouts
|
|
106
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
107
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationBillingGroupList:getOrganizationBillingGroupList', __args__, opts=opts, typ=GetOrganizationBillingGroupListResult).value
|
|
108
|
+
|
|
109
|
+
return AwaitableGetOrganizationBillingGroupListResult(
|
|
110
|
+
billing_groups=pulumi.get(__ret__, 'billing_groups'),
|
|
111
|
+
id=pulumi.get(__ret__, 'id'),
|
|
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,
|
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationBillingGroupListResult]:
|
|
118
|
+
"""
|
|
119
|
+
Lists billing groups for an organization.
|
|
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
|
+
|
|
124
|
+
|
|
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.
|
|
127
|
+
"""
|
|
128
|
+
__args__ = dict()
|
|
129
|
+
__args__['billingGroups'] = billing_groups
|
|
130
|
+
__args__['organizationId'] = organization_id
|
|
131
|
+
__args__['timeouts'] = timeouts
|
|
132
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
133
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationBillingGroupList:getOrganizationBillingGroupList', __args__, opts=opts, typ=GetOrganizationBillingGroupListResult)
|
|
134
|
+
return __ret__.apply(lambda __response__: GetOrganizationBillingGroupListResult(
|
|
135
|
+
billing_groups=pulumi.get(__response__, 'billing_groups'),
|
|
136
|
+
id=pulumi.get(__response__, '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,10 +29,16 @@ class GetOrganizationProjectResult:
|
|
|
28
29
|
"""
|
|
29
30
|
A collection of values returned by getOrganizationProject.
|
|
30
31
|
"""
|
|
31
|
-
def __init__(__self__, billing_group_id=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)
|
|
39
|
+
if ca_cert and not isinstance(ca_cert, str):
|
|
40
|
+
raise TypeError("Expected argument 'ca_cert' to be a str")
|
|
41
|
+
pulumi.set(__self__, "ca_cert", ca_cert)
|
|
35
42
|
if id and not isinstance(id, str):
|
|
36
43
|
raise TypeError("Expected argument 'id' to be a str")
|
|
37
44
|
pulumi.set(__self__, "id", id)
|
|
@@ -50,20 +57,39 @@ class GetOrganizationProjectResult:
|
|
|
50
57
|
if technical_emails and not isinstance(technical_emails, list):
|
|
51
58
|
raise TypeError("Expected argument 'technical_emails' to be a list")
|
|
52
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")
|
|
53
71
|
|
|
54
72
|
@property
|
|
55
73
|
@pulumi.getter(name="billingGroupId")
|
|
56
74
|
def billing_group_id(self) -> builtins.str:
|
|
57
75
|
"""
|
|
58
|
-
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.
|
|
59
77
|
"""
|
|
60
78
|
return pulumi.get(self, "billing_group_id")
|
|
61
79
|
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="caCert")
|
|
82
|
+
def ca_cert(self) -> builtins.str:
|
|
83
|
+
"""
|
|
84
|
+
PEM encoded certificate.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "ca_cert")
|
|
87
|
+
|
|
62
88
|
@property
|
|
63
89
|
@pulumi.getter
|
|
64
90
|
def id(self) -> builtins.str:
|
|
65
91
|
"""
|
|
66
|
-
|
|
92
|
+
Resource ID, a composite of `organization_id` and `project_id` IDs.
|
|
67
93
|
"""
|
|
68
94
|
return pulumi.get(self, "id")
|
|
69
95
|
|
|
@@ -71,7 +97,7 @@ class GetOrganizationProjectResult:
|
|
|
71
97
|
@pulumi.getter(name="organizationId")
|
|
72
98
|
def organization_id(self) -> builtins.str:
|
|
73
99
|
"""
|
|
74
|
-
ID of an organization.
|
|
100
|
+
ID of an organization.
|
|
75
101
|
"""
|
|
76
102
|
return pulumi.get(self, "organization_id")
|
|
77
103
|
|
|
@@ -87,13 +113,13 @@ class GetOrganizationProjectResult:
|
|
|
87
113
|
@pulumi.getter(name="projectId")
|
|
88
114
|
def project_id(self) -> builtins.str:
|
|
89
115
|
"""
|
|
90
|
-
|
|
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.
|
|
91
117
|
"""
|
|
92
118
|
return pulumi.get(self, "project_id")
|
|
93
119
|
|
|
94
120
|
@property
|
|
95
121
|
@pulumi.getter
|
|
96
|
-
def tags(self) -> Sequence['outputs.GetOrganizationProjectTagResult']:
|
|
122
|
+
def tags(self) -> Optional[Sequence['outputs.GetOrganizationProjectTagResult']]:
|
|
97
123
|
"""
|
|
98
124
|
Tags are key-value pairs that allow you to categorize projects.
|
|
99
125
|
"""
|
|
@@ -107,6 +133,11 @@ class GetOrganizationProjectResult:
|
|
|
107
133
|
"""
|
|
108
134
|
return pulumi.get(self, "technical_emails")
|
|
109
135
|
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter
|
|
138
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationProjectTimeoutsResult']:
|
|
139
|
+
return pulumi.get(self, "timeouts")
|
|
140
|
+
|
|
110
141
|
|
|
111
142
|
class AwaitableGetOrganizationProjectResult(GetOrganizationProjectResult):
|
|
112
143
|
# pylint: disable=using-constant-test
|
|
@@ -114,17 +145,22 @@ class AwaitableGetOrganizationProjectResult(GetOrganizationProjectResult):
|
|
|
114
145
|
if False:
|
|
115
146
|
yield self
|
|
116
147
|
return GetOrganizationProjectResult(
|
|
148
|
+
base_port=self.base_port,
|
|
117
149
|
billing_group_id=self.billing_group_id,
|
|
150
|
+
ca_cert=self.ca_cert,
|
|
118
151
|
id=self.id,
|
|
119
152
|
organization_id=self.organization_id,
|
|
120
153
|
parent_id=self.parent_id,
|
|
121
154
|
project_id=self.project_id,
|
|
122
155
|
tags=self.tags,
|
|
123
|
-
technical_emails=self.technical_emails
|
|
156
|
+
technical_emails=self.technical_emails,
|
|
157
|
+
timeouts=self.timeouts)
|
|
124
158
|
|
|
125
159
|
|
|
126
160
|
def get_organization_project(organization_id: Optional[builtins.str] = None,
|
|
127
161
|
project_id: Optional[builtins.str] = None,
|
|
162
|
+
tags: Optional[Sequence[Union['GetOrganizationProjectTagArgs', 'GetOrganizationProjectTagArgsDict']]] = None,
|
|
163
|
+
timeouts: Optional[Union['GetOrganizationProjectTimeoutsArgs', 'GetOrganizationProjectTimeoutsArgsDict']] = None,
|
|
128
164
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationProjectResult:
|
|
129
165
|
"""
|
|
130
166
|
Gets information about an Aiven project.
|
|
@@ -143,25 +179,33 @@ def get_organization_project(organization_id: Optional[builtins.str] = None,
|
|
|
143
179
|
```
|
|
144
180
|
|
|
145
181
|
|
|
146
|
-
:param builtins.str organization_id: ID of an organization.
|
|
147
|
-
:param builtins.str project_id:
|
|
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.
|
|
148
185
|
"""
|
|
149
186
|
__args__ = dict()
|
|
150
187
|
__args__['organizationId'] = organization_id
|
|
151
188
|
__args__['projectId'] = project_id
|
|
189
|
+
__args__['tags'] = tags
|
|
190
|
+
__args__['timeouts'] = timeouts
|
|
152
191
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
153
192
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationProject:getOrganizationProject', __args__, opts=opts, typ=GetOrganizationProjectResult).value
|
|
154
193
|
|
|
155
194
|
return AwaitableGetOrganizationProjectResult(
|
|
195
|
+
base_port=pulumi.get(__ret__, 'base_port'),
|
|
156
196
|
billing_group_id=pulumi.get(__ret__, 'billing_group_id'),
|
|
197
|
+
ca_cert=pulumi.get(__ret__, 'ca_cert'),
|
|
157
198
|
id=pulumi.get(__ret__, 'id'),
|
|
158
199
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
159
200
|
parent_id=pulumi.get(__ret__, 'parent_id'),
|
|
160
201
|
project_id=pulumi.get(__ret__, 'project_id'),
|
|
161
202
|
tags=pulumi.get(__ret__, 'tags'),
|
|
162
|
-
technical_emails=pulumi.get(__ret__, 'technical_emails')
|
|
203
|
+
technical_emails=pulumi.get(__ret__, 'technical_emails'),
|
|
204
|
+
timeouts=pulumi.get(__ret__, 'timeouts'))
|
|
163
205
|
def get_organization_project_output(organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
164
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,
|
|
165
209
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationProjectResult]:
|
|
166
210
|
"""
|
|
167
211
|
Gets information about an Aiven project.
|
|
@@ -180,19 +224,25 @@ def get_organization_project_output(organization_id: Optional[pulumi.Input[built
|
|
|
180
224
|
```
|
|
181
225
|
|
|
182
226
|
|
|
183
|
-
:param builtins.str organization_id: ID of an organization.
|
|
184
|
-
:param builtins.str project_id:
|
|
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.
|
|
185
230
|
"""
|
|
186
231
|
__args__ = dict()
|
|
187
232
|
__args__['organizationId'] = organization_id
|
|
188
233
|
__args__['projectId'] = project_id
|
|
234
|
+
__args__['tags'] = tags
|
|
235
|
+
__args__['timeouts'] = timeouts
|
|
189
236
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
190
237
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationProject:getOrganizationProject', __args__, opts=opts, typ=GetOrganizationProjectResult)
|
|
191
238
|
return __ret__.apply(lambda __response__: GetOrganizationProjectResult(
|
|
239
|
+
base_port=pulumi.get(__response__, 'base_port'),
|
|
192
240
|
billing_group_id=pulumi.get(__response__, 'billing_group_id'),
|
|
241
|
+
ca_cert=pulumi.get(__response__, 'ca_cert'),
|
|
193
242
|
id=pulumi.get(__response__, 'id'),
|
|
194
243
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
195
244
|
parent_id=pulumi.get(__response__, 'parent_id'),
|
|
196
245
|
project_id=pulumi.get(__response__, 'project_id'),
|
|
197
246
|
tags=pulumi.get(__response__, 'tags'),
|
|
198
|
-
technical_emails=pulumi.get(__response__, 'technical_emails')
|
|
247
|
+
technical_emails=pulumi.get(__response__, 'technical_emails'),
|
|
248
|
+
timeouts=pulumi.get(__response__, 'timeouts')))
|
|
@@ -43,7 +43,7 @@ class GetOrganizationUserListResult:
|
|
|
43
43
|
@pulumi.getter
|
|
44
44
|
def id(self) -> Optional[builtins.str]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
46
|
+
The ID of the organization.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "id")
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ class GetOrganizationUserListResult:
|
|
|
51
51
|
@pulumi.getter
|
|
52
52
|
def name(self) -> Optional[builtins.str]:
|
|
53
53
|
"""
|
|
54
|
-
|
|
54
|
+
The name of the organization.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "name")
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ class GetOrganizationUserListResult:
|
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def users(self) -> Sequence['outputs.GetOrganizationUserListUserResult']:
|
|
61
61
|
"""
|
|
62
|
-
List of users
|
|
62
|
+
List of the users, their profile information, and other data.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "users")
|
|
65
65
|
|
|
@@ -79,14 +79,20 @@ def get_organization_user_list(id: Optional[builtins.str] = None,
|
|
|
79
79
|
name: Optional[builtins.str] = None,
|
|
80
80
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserListResult:
|
|
81
81
|
"""
|
|
82
|
-
|
|
82
|
+
Returns a list of [users in the organization](https://aiven.io/docs/platform/concepts/user-access-management), their profile details, and other data . This includes users you add to your organization and application users.
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
84
|
+
## Example Usage
|
|
86
85
|
|
|
86
|
+
```python
|
|
87
|
+
import pulumi
|
|
88
|
+
import pulumi_aiven as aiven
|
|
87
89
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
users = aiven.get_organization_user_list(name="Example organization")
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:param builtins.str id: The ID of the organization.
|
|
95
|
+
:param builtins.str name: The name of the organization.
|
|
90
96
|
"""
|
|
91
97
|
__args__ = dict()
|
|
92
98
|
__args__['id'] = id
|
|
@@ -102,14 +108,20 @@ def get_organization_user_list_output(id: Optional[pulumi.Input[Optional[builtin
|
|
|
102
108
|
name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
103
109
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationUserListResult]:
|
|
104
110
|
"""
|
|
105
|
-
|
|
111
|
+
Returns a list of [users in the organization](https://aiven.io/docs/platform/concepts/user-access-management), their profile details, and other data . This includes users you add to your organization and application users.
|
|
112
|
+
|
|
113
|
+
## Example Usage
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
import pulumi
|
|
117
|
+
import pulumi_aiven as aiven
|
|
106
118
|
|
|
107
|
-
|
|
108
|
-
|
|
119
|
+
users = aiven.get_organization_user_list(name="Example organization")
|
|
120
|
+
```
|
|
109
121
|
|
|
110
122
|
|
|
111
|
-
:param builtins.str id:
|
|
112
|
-
:param builtins.str name:
|
|
123
|
+
:param builtins.str id: The ID of the organization.
|
|
124
|
+
:param builtins.str name: The name of the organization.
|
|
113
125
|
"""
|
|
114
126
|
__args__ = dict()
|
|
115
127
|
__args__['id'] = id
|
pulumi_aiven/get_pg.py
CHANGED
|
@@ -121,7 +121,7 @@ class GetPgResult:
|
|
|
121
121
|
@pulumi.getter(name="additionalDiskSpace")
|
|
122
122
|
def additional_disk_space(self) -> builtins.str:
|
|
123
123
|
"""
|
|
124
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
124
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "additional_disk_space")
|
|
127
127
|
|
|
@@ -312,9 +312,6 @@ class GetPgResult:
|
|
|
312
312
|
@property
|
|
313
313
|
@pulumi.getter
|
|
314
314
|
def state(self) -> builtins.str:
|
|
315
|
-
"""
|
|
316
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
317
|
-
"""
|
|
318
315
|
return pulumi.get(self, "state")
|
|
319
316
|
|
|
320
317
|
@property
|
pulumi_aiven/get_redis.py
CHANGED
|
@@ -121,7 +121,7 @@ class GetRedisResult:
|
|
|
121
121
|
@pulumi.getter(name="additionalDiskSpace")
|
|
122
122
|
def additional_disk_space(self) -> builtins.str:
|
|
123
123
|
"""
|
|
124
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
124
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "additional_disk_space")
|
|
127
127
|
|
|
@@ -312,9 +312,6 @@ class GetRedisResult:
|
|
|
312
312
|
@property
|
|
313
313
|
@pulumi.getter
|
|
314
314
|
def state(self) -> builtins.str:
|
|
315
|
-
"""
|
|
316
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
317
|
-
"""
|
|
318
315
|
return pulumi.get(self, "state")
|
|
319
316
|
|
|
320
317
|
@property
|
|
@@ -27,7 +27,7 @@ class GetServiceComponentResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getServiceComponent.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, component=None, host=None, id=None, kafka_authentication_method=None, port=None, project=None, route=None, service_name=None, ssl=None, usage=None):
|
|
30
|
+
def __init__(__self__, component=None, host=None, id=None, kafka_authentication_method=None, kafka_ssl_ca=None, port=None, project=None, route=None, service_name=None, ssl=None, usage=None):
|
|
31
31
|
if component and not isinstance(component, str):
|
|
32
32
|
raise TypeError("Expected argument 'component' to be a str")
|
|
33
33
|
pulumi.set(__self__, "component", component)
|
|
@@ -40,6 +40,9 @@ class GetServiceComponentResult:
|
|
|
40
40
|
if kafka_authentication_method and not isinstance(kafka_authentication_method, str):
|
|
41
41
|
raise TypeError("Expected argument 'kafka_authentication_method' to be a str")
|
|
42
42
|
pulumi.set(__self__, "kafka_authentication_method", kafka_authentication_method)
|
|
43
|
+
if kafka_ssl_ca and not isinstance(kafka_ssl_ca, str):
|
|
44
|
+
raise TypeError("Expected argument 'kafka_ssl_ca' to be a str")
|
|
45
|
+
pulumi.set(__self__, "kafka_ssl_ca", kafka_ssl_ca)
|
|
43
46
|
if port and not isinstance(port, int):
|
|
44
47
|
raise TypeError("Expected argument 'port' to be a int")
|
|
45
48
|
pulumi.set(__self__, "port", port)
|
|
@@ -91,6 +94,14 @@ class GetServiceComponentResult:
|
|
|
91
94
|
"""
|
|
92
95
|
return pulumi.get(self, "kafka_authentication_method")
|
|
93
96
|
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="kafkaSslCa")
|
|
99
|
+
def kafka_ssl_ca(self) -> builtins.str:
|
|
100
|
+
"""
|
|
101
|
+
Kafka certificate used. The possible values are `letsencrypt` and `project_ca`.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "kafka_ssl_ca")
|
|
104
|
+
|
|
94
105
|
@property
|
|
95
106
|
@pulumi.getter
|
|
96
107
|
def port(self) -> builtins.int:
|
|
@@ -150,6 +161,7 @@ class AwaitableGetServiceComponentResult(GetServiceComponentResult):
|
|
|
150
161
|
host=self.host,
|
|
151
162
|
id=self.id,
|
|
152
163
|
kafka_authentication_method=self.kafka_authentication_method,
|
|
164
|
+
kafka_ssl_ca=self.kafka_ssl_ca,
|
|
153
165
|
port=self.port,
|
|
154
166
|
project=self.project,
|
|
155
167
|
route=self.route,
|
|
@@ -209,6 +221,7 @@ def get_service_component(component: Optional[builtins.str] = None,
|
|
|
209
221
|
host=pulumi.get(__ret__, 'host'),
|
|
210
222
|
id=pulumi.get(__ret__, 'id'),
|
|
211
223
|
kafka_authentication_method=pulumi.get(__ret__, 'kafka_authentication_method'),
|
|
224
|
+
kafka_ssl_ca=pulumi.get(__ret__, 'kafka_ssl_ca'),
|
|
212
225
|
port=pulumi.get(__ret__, 'port'),
|
|
213
226
|
project=pulumi.get(__ret__, 'project'),
|
|
214
227
|
route=pulumi.get(__ret__, 'route'),
|
|
@@ -265,6 +278,7 @@ def get_service_component_output(component: Optional[pulumi.Input[builtins.str]]
|
|
|
265
278
|
host=pulumi.get(__response__, 'host'),
|
|
266
279
|
id=pulumi.get(__response__, 'id'),
|
|
267
280
|
kafka_authentication_method=pulumi.get(__response__, 'kafka_authentication_method'),
|
|
281
|
+
kafka_ssl_ca=pulumi.get(__response__, 'kafka_ssl_ca'),
|
|
268
282
|
port=pulumi.get(__response__, 'port'),
|
|
269
283
|
project=pulumi.get(__response__, 'project'),
|
|
270
284
|
route=pulumi.get(__response__, 'route'),
|
|
@@ -342,7 +342,7 @@ def get_service_integration(destination_service_name: Optional[builtins.str] = N
|
|
|
342
342
|
import pulumi_aiven as aiven
|
|
343
343
|
|
|
344
344
|
example_integration = aiven.get_service_integration(project=example_project["project"],
|
|
345
|
-
destination_service_name=
|
|
345
|
+
destination_service_name=example_thanos["serviceName"],
|
|
346
346
|
integration_type="metrics",
|
|
347
347
|
source_service_name=example_kafka["serviceName"])
|
|
348
348
|
```
|
|
@@ -401,7 +401,7 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
|
|
|
401
401
|
import pulumi_aiven as aiven
|
|
402
402
|
|
|
403
403
|
example_integration = aiven.get_service_integration(project=example_project["project"],
|
|
404
|
-
destination_service_name=
|
|
404
|
+
destination_service_name=example_thanos["serviceName"],
|
|
405
405
|
integration_type="metrics",
|
|
406
406
|
source_service_name=example_kafka["serviceName"])
|
|
407
407
|
```
|
pulumi_aiven/get_thanos.py
CHANGED
|
@@ -121,7 +121,7 @@ class GetThanosResult:
|
|
|
121
121
|
@pulumi.getter(name="additionalDiskSpace")
|
|
122
122
|
def additional_disk_space(self) -> builtins.str:
|
|
123
123
|
"""
|
|
124
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
124
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "additional_disk_space")
|
|
127
127
|
|
|
@@ -296,9 +296,6 @@ class GetThanosResult:
|
|
|
296
296
|
@property
|
|
297
297
|
@pulumi.getter
|
|
298
298
|
def state(self) -> builtins.str:
|
|
299
|
-
"""
|
|
300
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
301
|
-
"""
|
|
302
299
|
return pulumi.get(self, "state")
|
|
303
300
|
|
|
304
301
|
@property
|
pulumi_aiven/get_valkey.py
CHANGED
|
@@ -121,7 +121,7 @@ class GetValkeyResult:
|
|
|
121
121
|
@pulumi.getter(name="additionalDiskSpace")
|
|
122
122
|
def additional_disk_space(self) -> builtins.str:
|
|
123
123
|
"""
|
|
124
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
124
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "additional_disk_space")
|
|
127
127
|
|
|
@@ -296,9 +296,6 @@ class GetValkeyResult:
|
|
|
296
296
|
@property
|
|
297
297
|
@pulumi.getter
|
|
298
298
|
def state(self) -> builtins.str:
|
|
299
|
-
"""
|
|
300
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
301
|
-
"""
|
|
302
299
|
return pulumi.get(self, "state")
|
|
303
300
|
|
|
304
301
|
@property
|