pulumi-aiven 6.8.0a1696284100__py3-none-any.whl → 6.8.0a1696359310__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/_inputs.py +5916 -1115
- pulumi_aiven/account.py +49 -14
- pulumi_aiven/account_authentication.py +117 -32
- pulumi_aiven/account_team.py +40 -8
- pulumi_aiven/account_team_member.py +46 -10
- pulumi_aiven/account_team_project.py +43 -9
- pulumi_aiven/aws_privatelink.py +43 -9
- pulumi_aiven/aws_vpc_peering_connection.py +52 -12
- pulumi_aiven/azure_privatelink.py +49 -11
- pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
- pulumi_aiven/azure_vpc_peering_connection.py +64 -16
- pulumi_aiven/billing_group.py +109 -34
- pulumi_aiven/cassandra.py +158 -56
- pulumi_aiven/cassandra_user.py +52 -12
- pulumi_aiven/clickhouse.py +158 -56
- pulumi_aiven/clickhouse_database.py +43 -9
- pulumi_aiven/clickhouse_grant.py +62 -20
- pulumi_aiven/clickhouse_role.py +37 -7
- pulumi_aiven/clickhouse_user.py +46 -10
- pulumi_aiven/config/vars.py +1 -1
- pulumi_aiven/connection_pool.py +64 -16
- pulumi_aiven/flink.py +162 -53
- pulumi_aiven/flink_application.py +52 -12
- pulumi_aiven/flink_application_deployment.py +67 -17
- pulumi_aiven/flink_application_version.py +79 -27
- pulumi_aiven/gcp_privatelink.py +40 -8
- pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
- pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
- pulumi_aiven/get_account.py +1 -1
- pulumi_aiven/get_account_authentication.py +1 -1
- pulumi_aiven/get_account_team.py +1 -1
- pulumi_aiven/get_account_team_member.py +1 -1
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_privatelink.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_privatelink.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_billing_group.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_clickhouse_database.py +1 -1
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_connection_pool.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_flink_application.py +1 -1
- pulumi_aiven/get_flink_application_version.py +1 -1
- pulumi_aiven/get_gcp_privatelink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_influx_db.py +1 -1
- pulumi_aiven/get_influxdb_database.py +1 -1
- pulumi_aiven/get_influxdb_user.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_acl.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_connector.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_kafka_schema.py +1 -1
- pulumi_aiven/get_kafka_schema_configuration.py +1 -1
- pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
- pulumi_aiven/get_kafka_topic.py +1 -1
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_m3db_user.py +1 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_database.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_open_search_acl_config.py +1 -1
- pulumi_aiven/get_open_search_acl_rule.py +1 -1
- pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_user.py +1 -1
- pulumi_aiven/get_organization_user_group.py +1 -1
- pulumi_aiven/get_organizational_unit.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_pg_database.py +1 -1
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_project.py +1 -1
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_redis_user.py +1 -1
- pulumi_aiven/get_service_component.py +1 -1
- pulumi_aiven/get_service_integration.py +1 -1
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/grafana.py +147 -45
- pulumi_aiven/influx_db.py +158 -56
- pulumi_aiven/influxdb_database.py +43 -9
- pulumi_aiven/influxdb_user.py +52 -12
- pulumi_aiven/kafka.py +170 -63
- pulumi_aiven/kafka_acl.py +52 -12
- pulumi_aiven/kafka_connect.py +147 -45
- pulumi_aiven/kafka_connector.py +64 -16
- pulumi_aiven/kafka_mirror_maker.py +147 -45
- pulumi_aiven/kafka_schema.py +58 -14
- pulumi_aiven/kafka_schema_configuration.py +37 -7
- pulumi_aiven/kafka_schema_registry_acl.py +52 -12
- pulumi_aiven/kafka_topic.py +72 -17
- pulumi_aiven/kafka_user.py +52 -12
- pulumi_aiven/m3_aggregator.py +147 -45
- pulumi_aiven/m3_db.py +147 -45
- pulumi_aiven/m3db_user.py +46 -10
- pulumi_aiven/mirror_maker_replication_flow.py +91 -25
- pulumi_aiven/my_sql.py +147 -45
- pulumi_aiven/mysql_database.py +43 -9
- pulumi_aiven/mysql_user.py +58 -14
- pulumi_aiven/open_search.py +158 -56
- pulumi_aiven/open_search_acl_config.py +43 -9
- pulumi_aiven/open_search_acl_rule.py +49 -11
- pulumi_aiven/opensearch_security_plugin_config.py +46 -10
- pulumi_aiven/opensearch_user.py +46 -10
- pulumi_aiven/organization.py +45 -8
- pulumi_aiven/organization_user.py +40 -8
- pulumi_aiven/organization_user_group.py +43 -9
- pulumi_aiven/organizational_unit.py +40 -8
- pulumi_aiven/outputs.py +10584 -2482
- pulumi_aiven/pg.py +169 -60
- pulumi_aiven/pg_database.py +55 -13
- pulumi_aiven/pg_user.py +58 -14
- pulumi_aiven/project.py +91 -34
- pulumi_aiven/project_user.py +40 -8
- pulumi_aiven/project_vpc.py +40 -8
- pulumi_aiven/provider.py +15 -2
- pulumi_aiven/redis.py +147 -45
- pulumi_aiven/redis_user.py +70 -18
- pulumi_aiven/service_integration.py +157 -32
- pulumi_aiven/service_integration_endpoint.py +161 -30
- pulumi_aiven/static_ip.py +43 -9
- pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
- pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
- pulumi_aiven-6.8.0a1696284100.dist-info/RECORD +0 -145
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
pulumi_aiven/account.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['AccountArgs', 'Account']
|
|
@@ -21,13 +21,24 @@ class AccountArgs:
|
|
|
21
21
|
:param pulumi.Input[str] name: Account name
|
|
22
22
|
:param pulumi.Input[str] primary_billing_group_id: Billing group id
|
|
23
23
|
"""
|
|
24
|
+
AccountArgs._configure(
|
|
25
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
26
|
+
name=name,
|
|
27
|
+
primary_billing_group_id=primary_billing_group_id,
|
|
28
|
+
)
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _configure(
|
|
31
|
+
_setter: Callable[[Any, Any], None],
|
|
32
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
primary_billing_group_id: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
24
35
|
if name is not None:
|
|
25
|
-
|
|
36
|
+
_setter("name", name)
|
|
26
37
|
if primary_billing_group_id is not None:
|
|
27
38
|
warnings.warn("""The new aiven_organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
28
39
|
pulumi.log.warn("""primary_billing_group_id is deprecated: The new aiven_organization resource won't have it, and will not have a replacement.""")
|
|
29
40
|
if primary_billing_group_id is not None:
|
|
30
|
-
|
|
41
|
+
_setter("primary_billing_group_id", primary_billing_group_id)
|
|
31
42
|
|
|
32
43
|
@property
|
|
33
44
|
@pulumi.getter
|
|
@@ -79,34 +90,57 @@ class _AccountState:
|
|
|
79
90
|
:param pulumi.Input[str] tenant_id: Tenant id
|
|
80
91
|
:param pulumi.Input[str] update_time: Time of last update
|
|
81
92
|
"""
|
|
93
|
+
_AccountState._configure(
|
|
94
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
95
|
+
account_id=account_id,
|
|
96
|
+
create_time=create_time,
|
|
97
|
+
is_account_owner=is_account_owner,
|
|
98
|
+
name=name,
|
|
99
|
+
owner_team_id=owner_team_id,
|
|
100
|
+
primary_billing_group_id=primary_billing_group_id,
|
|
101
|
+
tenant_id=tenant_id,
|
|
102
|
+
update_time=update_time,
|
|
103
|
+
)
|
|
104
|
+
@staticmethod
|
|
105
|
+
def _configure(
|
|
106
|
+
_setter: Callable[[Any, Any], None],
|
|
107
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
108
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
109
|
+
is_account_owner: Optional[pulumi.Input[bool]] = None,
|
|
110
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
111
|
+
owner_team_id: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
primary_billing_group_id: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
82
116
|
if account_id is not None:
|
|
83
117
|
warnings.warn("""The new aiven_organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
|
|
84
118
|
pulumi.log.warn("""account_id is deprecated: The new aiven_organization resource won't have it, use the built-in ID field instead.""")
|
|
85
119
|
if account_id is not None:
|
|
86
|
-
|
|
120
|
+
_setter("account_id", account_id)
|
|
87
121
|
if create_time is not None:
|
|
88
|
-
|
|
122
|
+
_setter("create_time", create_time)
|
|
89
123
|
if is_account_owner is not None:
|
|
90
124
|
warnings.warn("""The new aiven_organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
91
125
|
pulumi.log.warn("""is_account_owner is deprecated: The new aiven_organization resource won't have it, and will not have a replacement.""")
|
|
92
126
|
if is_account_owner is not None:
|
|
93
|
-
|
|
127
|
+
_setter("is_account_owner", is_account_owner)
|
|
94
128
|
if name is not None:
|
|
95
|
-
|
|
129
|
+
_setter("name", name)
|
|
96
130
|
if owner_team_id is not None:
|
|
97
131
|
warnings.warn("""The new aiven_organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
98
132
|
pulumi.log.warn("""owner_team_id is deprecated: The new aiven_organization resource won't have it, and will not have a replacement.""")
|
|
99
133
|
if owner_team_id is not None:
|
|
100
|
-
|
|
134
|
+
_setter("owner_team_id", owner_team_id)
|
|
101
135
|
if primary_billing_group_id is not None:
|
|
102
136
|
warnings.warn("""The new aiven_organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
103
137
|
pulumi.log.warn("""primary_billing_group_id is deprecated: The new aiven_organization resource won't have it, and will not have a replacement.""")
|
|
104
138
|
if primary_billing_group_id is not None:
|
|
105
|
-
|
|
139
|
+
_setter("primary_billing_group_id", primary_billing_group_id)
|
|
106
140
|
if tenant_id is not None:
|
|
107
|
-
|
|
141
|
+
_setter("tenant_id", tenant_id)
|
|
108
142
|
if update_time is not None:
|
|
109
|
-
|
|
143
|
+
_setter("update_time", update_time)
|
|
110
144
|
|
|
111
145
|
@property
|
|
112
146
|
@pulumi.getter(name="accountId")
|
|
@@ -282,6 +316,10 @@ class Account(pulumi.CustomResource):
|
|
|
282
316
|
if resource_args is not None:
|
|
283
317
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
284
318
|
else:
|
|
319
|
+
kwargs = kwargs or {}
|
|
320
|
+
def _setter(key, value):
|
|
321
|
+
kwargs[key] = value
|
|
322
|
+
AccountArgs._configure(_setter, **kwargs)
|
|
285
323
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
286
324
|
|
|
287
325
|
def _internal_init(__self__,
|
|
@@ -299,9 +337,6 @@ class Account(pulumi.CustomResource):
|
|
|
299
337
|
__props__ = AccountArgs.__new__(AccountArgs)
|
|
300
338
|
|
|
301
339
|
__props__.__dict__["name"] = name
|
|
302
|
-
if primary_billing_group_id is not None and not opts.urn:
|
|
303
|
-
warnings.warn("""The new aiven_organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
304
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new aiven_organization resource won't have it, and will not have a replacement.""")
|
|
305
340
|
__props__.__dict__["primary_billing_group_id"] = primary_billing_group_id
|
|
306
341
|
__props__.__dict__["account_id"] = None
|
|
307
342
|
__props__.__dict__["create_time"] = None
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
from . import outputs
|
|
12
12
|
from ._inputs import *
|
|
@@ -45,30 +45,63 @@ class AccountAuthenticationArgs:
|
|
|
45
45
|
:param pulumi.Input[str] saml_signature_algorithm: Signature algorithm. This is an advanced option that typically does not need to be set.
|
|
46
46
|
:param pulumi.Input[str] saml_variant: SAML server variant
|
|
47
47
|
"""
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
AccountAuthenticationArgs._configure(
|
|
49
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
50
|
+
account_id=account_id,
|
|
51
|
+
type=type,
|
|
52
|
+
auto_join_team_id=auto_join_team_id,
|
|
53
|
+
enabled=enabled,
|
|
54
|
+
name=name,
|
|
55
|
+
saml_certificate=saml_certificate,
|
|
56
|
+
saml_digest_algorithm=saml_digest_algorithm,
|
|
57
|
+
saml_entity_id=saml_entity_id,
|
|
58
|
+
saml_field_mapping=saml_field_mapping,
|
|
59
|
+
saml_idp_login_allowed=saml_idp_login_allowed,
|
|
60
|
+
saml_idp_url=saml_idp_url,
|
|
61
|
+
saml_signature_algorithm=saml_signature_algorithm,
|
|
62
|
+
saml_variant=saml_variant,
|
|
63
|
+
)
|
|
64
|
+
@staticmethod
|
|
65
|
+
def _configure(
|
|
66
|
+
_setter: Callable[[Any, Any], None],
|
|
67
|
+
account_id: pulumi.Input[str],
|
|
68
|
+
type: pulumi.Input[str],
|
|
69
|
+
auto_join_team_id: Optional[pulumi.Input[str]] = None,
|
|
70
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
|
71
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
72
|
+
saml_certificate: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
saml_digest_algorithm: Optional[pulumi.Input[str]] = None,
|
|
74
|
+
saml_entity_id: Optional[pulumi.Input[str]] = None,
|
|
75
|
+
saml_field_mapping: Optional[pulumi.Input['AccountAuthenticationSamlFieldMappingArgs']] = None,
|
|
76
|
+
saml_idp_login_allowed: Optional[pulumi.Input[bool]] = None,
|
|
77
|
+
saml_idp_url: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
saml_signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
saml_variant: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
81
|
+
_setter("account_id", account_id)
|
|
82
|
+
_setter("type", type)
|
|
50
83
|
if auto_join_team_id is not None:
|
|
51
|
-
|
|
84
|
+
_setter("auto_join_team_id", auto_join_team_id)
|
|
52
85
|
if enabled is not None:
|
|
53
|
-
|
|
86
|
+
_setter("enabled", enabled)
|
|
54
87
|
if name is not None:
|
|
55
|
-
|
|
88
|
+
_setter("name", name)
|
|
56
89
|
if saml_certificate is not None:
|
|
57
|
-
|
|
90
|
+
_setter("saml_certificate", saml_certificate)
|
|
58
91
|
if saml_digest_algorithm is not None:
|
|
59
|
-
|
|
92
|
+
_setter("saml_digest_algorithm", saml_digest_algorithm)
|
|
60
93
|
if saml_entity_id is not None:
|
|
61
|
-
|
|
94
|
+
_setter("saml_entity_id", saml_entity_id)
|
|
62
95
|
if saml_field_mapping is not None:
|
|
63
|
-
|
|
96
|
+
_setter("saml_field_mapping", saml_field_mapping)
|
|
64
97
|
if saml_idp_login_allowed is not None:
|
|
65
|
-
|
|
98
|
+
_setter("saml_idp_login_allowed", saml_idp_login_allowed)
|
|
66
99
|
if saml_idp_url is not None:
|
|
67
|
-
|
|
100
|
+
_setter("saml_idp_url", saml_idp_url)
|
|
68
101
|
if saml_signature_algorithm is not None:
|
|
69
|
-
|
|
102
|
+
_setter("saml_signature_algorithm", saml_signature_algorithm)
|
|
70
103
|
if saml_variant is not None:
|
|
71
|
-
|
|
104
|
+
_setter("saml_variant", saml_variant)
|
|
72
105
|
|
|
73
106
|
@property
|
|
74
107
|
@pulumi.getter(name="accountId")
|
|
@@ -269,42 +302,85 @@ class _AccountAuthenticationState:
|
|
|
269
302
|
:param pulumi.Input[str] type: The account authentication type. The possible values are `internal` and `saml`.
|
|
270
303
|
:param pulumi.Input[str] update_time: Time of last update
|
|
271
304
|
"""
|
|
305
|
+
_AccountAuthenticationState._configure(
|
|
306
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
307
|
+
account_id=account_id,
|
|
308
|
+
authentication_id=authentication_id,
|
|
309
|
+
auto_join_team_id=auto_join_team_id,
|
|
310
|
+
create_time=create_time,
|
|
311
|
+
enabled=enabled,
|
|
312
|
+
name=name,
|
|
313
|
+
saml_acs_url=saml_acs_url,
|
|
314
|
+
saml_certificate=saml_certificate,
|
|
315
|
+
saml_digest_algorithm=saml_digest_algorithm,
|
|
316
|
+
saml_entity_id=saml_entity_id,
|
|
317
|
+
saml_field_mapping=saml_field_mapping,
|
|
318
|
+
saml_idp_login_allowed=saml_idp_login_allowed,
|
|
319
|
+
saml_idp_url=saml_idp_url,
|
|
320
|
+
saml_metadata_url=saml_metadata_url,
|
|
321
|
+
saml_signature_algorithm=saml_signature_algorithm,
|
|
322
|
+
saml_variant=saml_variant,
|
|
323
|
+
type=type,
|
|
324
|
+
update_time=update_time,
|
|
325
|
+
)
|
|
326
|
+
@staticmethod
|
|
327
|
+
def _configure(
|
|
328
|
+
_setter: Callable[[Any, Any], None],
|
|
329
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
330
|
+
authentication_id: Optional[pulumi.Input[str]] = None,
|
|
331
|
+
auto_join_team_id: Optional[pulumi.Input[str]] = None,
|
|
332
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
333
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
|
334
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
335
|
+
saml_acs_url: Optional[pulumi.Input[str]] = None,
|
|
336
|
+
saml_certificate: Optional[pulumi.Input[str]] = None,
|
|
337
|
+
saml_digest_algorithm: Optional[pulumi.Input[str]] = None,
|
|
338
|
+
saml_entity_id: Optional[pulumi.Input[str]] = None,
|
|
339
|
+
saml_field_mapping: Optional[pulumi.Input['AccountAuthenticationSamlFieldMappingArgs']] = None,
|
|
340
|
+
saml_idp_login_allowed: Optional[pulumi.Input[bool]] = None,
|
|
341
|
+
saml_idp_url: Optional[pulumi.Input[str]] = None,
|
|
342
|
+
saml_metadata_url: Optional[pulumi.Input[str]] = None,
|
|
343
|
+
saml_signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
344
|
+
saml_variant: Optional[pulumi.Input[str]] = None,
|
|
345
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
346
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
|
347
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
272
348
|
if account_id is not None:
|
|
273
|
-
|
|
349
|
+
_setter("account_id", account_id)
|
|
274
350
|
if authentication_id is not None:
|
|
275
|
-
|
|
351
|
+
_setter("authentication_id", authentication_id)
|
|
276
352
|
if auto_join_team_id is not None:
|
|
277
|
-
|
|
353
|
+
_setter("auto_join_team_id", auto_join_team_id)
|
|
278
354
|
if create_time is not None:
|
|
279
|
-
|
|
355
|
+
_setter("create_time", create_time)
|
|
280
356
|
if enabled is not None:
|
|
281
|
-
|
|
357
|
+
_setter("enabled", enabled)
|
|
282
358
|
if name is not None:
|
|
283
|
-
|
|
359
|
+
_setter("name", name)
|
|
284
360
|
if saml_acs_url is not None:
|
|
285
|
-
|
|
361
|
+
_setter("saml_acs_url", saml_acs_url)
|
|
286
362
|
if saml_certificate is not None:
|
|
287
|
-
|
|
363
|
+
_setter("saml_certificate", saml_certificate)
|
|
288
364
|
if saml_digest_algorithm is not None:
|
|
289
|
-
|
|
365
|
+
_setter("saml_digest_algorithm", saml_digest_algorithm)
|
|
290
366
|
if saml_entity_id is not None:
|
|
291
|
-
|
|
367
|
+
_setter("saml_entity_id", saml_entity_id)
|
|
292
368
|
if saml_field_mapping is not None:
|
|
293
|
-
|
|
369
|
+
_setter("saml_field_mapping", saml_field_mapping)
|
|
294
370
|
if saml_idp_login_allowed is not None:
|
|
295
|
-
|
|
371
|
+
_setter("saml_idp_login_allowed", saml_idp_login_allowed)
|
|
296
372
|
if saml_idp_url is not None:
|
|
297
|
-
|
|
373
|
+
_setter("saml_idp_url", saml_idp_url)
|
|
298
374
|
if saml_metadata_url is not None:
|
|
299
|
-
|
|
375
|
+
_setter("saml_metadata_url", saml_metadata_url)
|
|
300
376
|
if saml_signature_algorithm is not None:
|
|
301
|
-
|
|
377
|
+
_setter("saml_signature_algorithm", saml_signature_algorithm)
|
|
302
378
|
if saml_variant is not None:
|
|
303
|
-
|
|
379
|
+
_setter("saml_variant", saml_variant)
|
|
304
380
|
if type is not None:
|
|
305
|
-
|
|
381
|
+
_setter("type", type)
|
|
306
382
|
if update_time is not None:
|
|
307
|
-
|
|
383
|
+
_setter("update_time", update_time)
|
|
308
384
|
|
|
309
385
|
@property
|
|
310
386
|
@pulumi.getter(name="accountId")
|
|
@@ -592,6 +668,10 @@ class AccountAuthentication(pulumi.CustomResource):
|
|
|
592
668
|
if resource_args is not None:
|
|
593
669
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
594
670
|
else:
|
|
671
|
+
kwargs = kwargs or {}
|
|
672
|
+
def _setter(key, value):
|
|
673
|
+
kwargs[key] = value
|
|
674
|
+
AccountAuthenticationArgs._configure(_setter, **kwargs)
|
|
595
675
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
596
676
|
|
|
597
677
|
def _internal_init(__self__,
|
|
@@ -628,6 +708,11 @@ class AccountAuthentication(pulumi.CustomResource):
|
|
|
628
708
|
__props__.__dict__["saml_certificate"] = saml_certificate
|
|
629
709
|
__props__.__dict__["saml_digest_algorithm"] = saml_digest_algorithm
|
|
630
710
|
__props__.__dict__["saml_entity_id"] = saml_entity_id
|
|
711
|
+
if saml_field_mapping is not None and not isinstance(saml_field_mapping, AccountAuthenticationSamlFieldMappingArgs):
|
|
712
|
+
saml_field_mapping = saml_field_mapping or {}
|
|
713
|
+
def _setter(key, value):
|
|
714
|
+
saml_field_mapping[key] = value
|
|
715
|
+
AccountAuthenticationSamlFieldMappingArgs._configure(_setter, **saml_field_mapping)
|
|
631
716
|
__props__.__dict__["saml_field_mapping"] = saml_field_mapping
|
|
632
717
|
__props__.__dict__["saml_idp_login_allowed"] = saml_idp_login_allowed
|
|
633
718
|
__props__.__dict__["saml_idp_url"] = saml_idp_url
|
pulumi_aiven/account_team.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['AccountTeamArgs', 'AccountTeam']
|
|
@@ -21,9 +21,20 @@ class AccountTeamArgs:
|
|
|
21
21
|
:param pulumi.Input[str] account_id: The unique account id
|
|
22
22
|
:param pulumi.Input[str] name: The account team name
|
|
23
23
|
"""
|
|
24
|
-
|
|
24
|
+
AccountTeamArgs._configure(
|
|
25
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
26
|
+
account_id=account_id,
|
|
27
|
+
name=name,
|
|
28
|
+
)
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _configure(
|
|
31
|
+
_setter: Callable[[Any, Any], None],
|
|
32
|
+
account_id: pulumi.Input[str],
|
|
33
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
35
|
+
_setter("account_id", account_id)
|
|
25
36
|
if name is not None:
|
|
26
|
-
|
|
37
|
+
_setter("name", name)
|
|
27
38
|
|
|
28
39
|
@property
|
|
29
40
|
@pulumi.getter(name="accountId")
|
|
@@ -66,16 +77,33 @@ class _AccountTeamState:
|
|
|
66
77
|
:param pulumi.Input[str] team_id: The auto-generated unique account team id
|
|
67
78
|
:param pulumi.Input[str] update_time: Time of last update
|
|
68
79
|
"""
|
|
80
|
+
_AccountTeamState._configure(
|
|
81
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
82
|
+
account_id=account_id,
|
|
83
|
+
create_time=create_time,
|
|
84
|
+
name=name,
|
|
85
|
+
team_id=team_id,
|
|
86
|
+
update_time=update_time,
|
|
87
|
+
)
|
|
88
|
+
@staticmethod
|
|
89
|
+
def _configure(
|
|
90
|
+
_setter: Callable[[Any, Any], None],
|
|
91
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
92
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
team_id: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
69
97
|
if account_id is not None:
|
|
70
|
-
|
|
98
|
+
_setter("account_id", account_id)
|
|
71
99
|
if create_time is not None:
|
|
72
|
-
|
|
100
|
+
_setter("create_time", create_time)
|
|
73
101
|
if name is not None:
|
|
74
|
-
|
|
102
|
+
_setter("name", name)
|
|
75
103
|
if team_id is not None:
|
|
76
|
-
|
|
104
|
+
_setter("team_id", team_id)
|
|
77
105
|
if update_time is not None:
|
|
78
|
-
|
|
106
|
+
_setter("update_time", update_time)
|
|
79
107
|
|
|
80
108
|
@property
|
|
81
109
|
@pulumi.getter(name="accountId")
|
|
@@ -185,6 +213,10 @@ class AccountTeam(pulumi.CustomResource):
|
|
|
185
213
|
if resource_args is not None:
|
|
186
214
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
187
215
|
else:
|
|
216
|
+
kwargs = kwargs or {}
|
|
217
|
+
def _setter(key, value):
|
|
218
|
+
kwargs[key] = value
|
|
219
|
+
AccountTeamArgs._configure(_setter, **kwargs)
|
|
188
220
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
189
221
|
|
|
190
222
|
def _internal_init(__self__,
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['AccountTeamMemberArgs', 'AccountTeamMember']
|
|
@@ -23,9 +23,22 @@ class AccountTeamMemberArgs:
|
|
|
23
23
|
:param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
|
|
24
24
|
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
AccountTeamMemberArgs._configure(
|
|
27
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
28
|
+
account_id=account_id,
|
|
29
|
+
team_id=team_id,
|
|
30
|
+
user_email=user_email,
|
|
31
|
+
)
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _configure(
|
|
34
|
+
_setter: Callable[[Any, Any], None],
|
|
35
|
+
account_id: pulumi.Input[str],
|
|
36
|
+
team_id: pulumi.Input[str],
|
|
37
|
+
user_email: pulumi.Input[str],
|
|
38
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
39
|
+
_setter("account_id", account_id)
|
|
40
|
+
_setter("team_id", team_id)
|
|
41
|
+
_setter("user_email", user_email)
|
|
29
42
|
|
|
30
43
|
@property
|
|
31
44
|
@pulumi.getter(name="accountId")
|
|
@@ -82,18 +95,37 @@ class _AccountTeamMemberState:
|
|
|
82
95
|
:param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
|
|
83
96
|
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
|
|
84
97
|
"""
|
|
98
|
+
_AccountTeamMemberState._configure(
|
|
99
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
100
|
+
accepted=accepted,
|
|
101
|
+
account_id=account_id,
|
|
102
|
+
create_time=create_time,
|
|
103
|
+
invited_by_user_email=invited_by_user_email,
|
|
104
|
+
team_id=team_id,
|
|
105
|
+
user_email=user_email,
|
|
106
|
+
)
|
|
107
|
+
@staticmethod
|
|
108
|
+
def _configure(
|
|
109
|
+
_setter: Callable[[Any, Any], None],
|
|
110
|
+
accepted: Optional[pulumi.Input[bool]] = None,
|
|
111
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
invited_by_user_email: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
team_id: Optional[pulumi.Input[str]] = None,
|
|
115
|
+
user_email: Optional[pulumi.Input[str]] = None,
|
|
116
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
85
117
|
if accepted is not None:
|
|
86
|
-
|
|
118
|
+
_setter("accepted", accepted)
|
|
87
119
|
if account_id is not None:
|
|
88
|
-
|
|
120
|
+
_setter("account_id", account_id)
|
|
89
121
|
if create_time is not None:
|
|
90
|
-
|
|
122
|
+
_setter("create_time", create_time)
|
|
91
123
|
if invited_by_user_email is not None:
|
|
92
|
-
|
|
124
|
+
_setter("invited_by_user_email", invited_by_user_email)
|
|
93
125
|
if team_id is not None:
|
|
94
|
-
|
|
126
|
+
_setter("team_id", team_id)
|
|
95
127
|
if user_email is not None:
|
|
96
|
-
|
|
128
|
+
_setter("user_email", user_email)
|
|
97
129
|
|
|
98
130
|
@property
|
|
99
131
|
@pulumi.getter
|
|
@@ -229,6 +261,10 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
229
261
|
if resource_args is not None:
|
|
230
262
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
231
263
|
else:
|
|
264
|
+
kwargs = kwargs or {}
|
|
265
|
+
def _setter(key, value):
|
|
266
|
+
kwargs[key] = value
|
|
267
|
+
AccountTeamMemberArgs._configure(_setter, **kwargs)
|
|
232
268
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
233
269
|
|
|
234
270
|
def _internal_init(__self__,
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['AccountTeamProjectArgs', 'AccountTeamProject']
|
|
@@ -25,12 +25,27 @@ class AccountTeamProjectArgs:
|
|
|
25
25
|
:param pulumi.Input[str] project_name: The name of an already existing project
|
|
26
26
|
:param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
27
27
|
"""
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
AccountTeamProjectArgs._configure(
|
|
29
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
30
|
+
account_id=account_id,
|
|
31
|
+
team_id=team_id,
|
|
32
|
+
project_name=project_name,
|
|
33
|
+
team_type=team_type,
|
|
34
|
+
)
|
|
35
|
+
@staticmethod
|
|
36
|
+
def _configure(
|
|
37
|
+
_setter: Callable[[Any, Any], None],
|
|
38
|
+
account_id: pulumi.Input[str],
|
|
39
|
+
team_id: pulumi.Input[str],
|
|
40
|
+
project_name: Optional[pulumi.Input[str]] = None,
|
|
41
|
+
team_type: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
43
|
+
_setter("account_id", account_id)
|
|
44
|
+
_setter("team_id", team_id)
|
|
30
45
|
if project_name is not None:
|
|
31
|
-
|
|
46
|
+
_setter("project_name", project_name)
|
|
32
47
|
if team_type is not None:
|
|
33
|
-
|
|
48
|
+
_setter("team_type", team_type)
|
|
34
49
|
|
|
35
50
|
@property
|
|
36
51
|
@pulumi.getter(name="accountId")
|
|
@@ -95,14 +110,29 @@ class _AccountTeamProjectState:
|
|
|
95
110
|
:param pulumi.Input[str] team_id: An account team id
|
|
96
111
|
:param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
97
112
|
"""
|
|
113
|
+
_AccountTeamProjectState._configure(
|
|
114
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
115
|
+
account_id=account_id,
|
|
116
|
+
project_name=project_name,
|
|
117
|
+
team_id=team_id,
|
|
118
|
+
team_type=team_type,
|
|
119
|
+
)
|
|
120
|
+
@staticmethod
|
|
121
|
+
def _configure(
|
|
122
|
+
_setter: Callable[[Any, Any], None],
|
|
123
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
|
124
|
+
project_name: Optional[pulumi.Input[str]] = None,
|
|
125
|
+
team_id: Optional[pulumi.Input[str]] = None,
|
|
126
|
+
team_type: Optional[pulumi.Input[str]] = None,
|
|
127
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
98
128
|
if account_id is not None:
|
|
99
|
-
|
|
129
|
+
_setter("account_id", account_id)
|
|
100
130
|
if project_name is not None:
|
|
101
|
-
|
|
131
|
+
_setter("project_name", project_name)
|
|
102
132
|
if team_id is not None:
|
|
103
|
-
|
|
133
|
+
_setter("team_id", team_id)
|
|
104
134
|
if team_type is not None:
|
|
105
|
-
|
|
135
|
+
_setter("team_type", team_type)
|
|
106
136
|
|
|
107
137
|
@property
|
|
108
138
|
@pulumi.getter(name="accountId")
|
|
@@ -212,6 +242,10 @@ class AccountTeamProject(pulumi.CustomResource):
|
|
|
212
242
|
if resource_args is not None:
|
|
213
243
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
214
244
|
else:
|
|
245
|
+
kwargs = kwargs or {}
|
|
246
|
+
def _setter(key, value):
|
|
247
|
+
kwargs[key] = value
|
|
248
|
+
AccountTeamProjectArgs._configure(_setter, **kwargs)
|
|
215
249
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
216
250
|
|
|
217
251
|
def _internal_init(__self__,
|