pulumi-aiven 6.43.0a1757978133__py3-none-any.whl → 6.43.0a1758857364__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 +657 -183
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +44 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +26 -0
- pulumi_aiven/cassandra.py +18 -23
- pulumi_aiven/clickhouse.py +18 -23
- pulumi_aiven/dragonfly.py +18 -23
- pulumi_aiven/flink.py +18 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +28 -2
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +26 -0
- pulumi_aiven/get_cassanda.py +2 -2
- pulumi_aiven/get_cassandra.py +2 -2
- pulumi_aiven/get_clickhouse.py +2 -2
- pulumi_aiven/get_dragonfly.py +2 -2
- pulumi_aiven/get_flink.py +2 -2
- pulumi_aiven/get_grafana.py +2 -2
- pulumi_aiven/get_kafka.py +2 -2
- pulumi_aiven/get_kafka_connect.py +2 -2
- pulumi_aiven/get_kafka_mirror_maker.py +2 -2
- pulumi_aiven/get_m3_aggregator.py +2 -111
- pulumi_aiven/get_m3_db.py +2 -123
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +2 -2
- pulumi_aiven/get_open_search.py +2 -2
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_project.py +0 -6
- pulumi_aiven/get_pg.py +2 -2
- pulumi_aiven/get_redis.py +2 -2
- pulumi_aiven/get_redis_user.py +3 -3
- pulumi_aiven/get_thanos.py +2 -2
- pulumi_aiven/get_valkey.py +2 -2
- pulumi_aiven/get_valkey_user.py +3 -3
- pulumi_aiven/grafana.py +18 -23
- pulumi_aiven/influx_db.py +18 -23
- pulumi_aiven/kafka.py +18 -23
- pulumi_aiven/kafka_connect.py +18 -23
- pulumi_aiven/kafka_mirror_maker.py +18 -23
- pulumi_aiven/m3_aggregator.py +20 -75
- pulumi_aiven/m3_db.py +20 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +18 -23
- pulumi_aiven/open_search.py +18 -23
- pulumi_aiven/organization_application_user.py +69 -41
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +7 -7
- pulumi_aiven/organization_permission.py +80 -47
- pulumi_aiven/organization_project.py +0 -6
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/outputs.py +616 -234
- pulumi_aiven/pg.py +18 -23
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +18 -23
- pulumi_aiven/redis_user.py +21 -21
- pulumi_aiven/thanos.py +18 -23
- pulumi_aiven/valkey.py +18 -23
- pulumi_aiven/valkey_user.py +21 -21
- {pulumi_aiven-6.43.0a1757978133.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.43.0a1757978133.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/RECORD +68 -68
- {pulumi_aiven-6.43.0a1757978133.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1757978133.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/top_level.txt +0 -0
pulumi_aiven/open_search.py
CHANGED
|
@@ -44,7 +44,7 @@ class OpenSearchArgs:
|
|
|
44
44
|
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
45
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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.
|
|
46
46
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
47
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
48
48
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
50
|
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -64,8 +64,8 @@ class OpenSearchArgs:
|
|
|
64
64
|
if cloud_name is not None:
|
|
65
65
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
66
66
|
if disk_space is not None:
|
|
67
|
-
warnings.warn("""
|
|
68
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
67
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
68
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
69
69
|
if disk_space is not None:
|
|
70
70
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
71
71
|
if maintenance_window_dow is not None:
|
|
@@ -151,10 +151,10 @@ class OpenSearchArgs:
|
|
|
151
151
|
|
|
152
152
|
@_builtins.property
|
|
153
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
-
@_utilities.deprecated("""
|
|
154
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
155
155
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
156
156
|
"""
|
|
157
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
157
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
158
158
|
"""
|
|
159
159
|
return pulumi.get(self, "disk_space")
|
|
160
160
|
|
|
@@ -319,11 +319,11 @@ class _OpenSearchState:
|
|
|
319
319
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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.
|
|
320
320
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
321
321
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]] components: Service component information objects
|
|
322
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
322
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
323
323
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
324
324
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
325
325
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
326
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
326
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
327
327
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
328
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
329
329
|
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -351,8 +351,8 @@ class _OpenSearchState:
|
|
|
351
351
|
if components is not None:
|
|
352
352
|
pulumi.set(__self__, "components", components)
|
|
353
353
|
if disk_space is not None:
|
|
354
|
-
warnings.warn("""
|
|
355
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
354
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
355
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
356
356
|
if disk_space is not None:
|
|
357
357
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
358
358
|
if disk_space_cap is not None:
|
|
@@ -361,9 +361,6 @@ class _OpenSearchState:
|
|
|
361
361
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
362
362
|
if disk_space_step is not None:
|
|
363
363
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
364
|
-
if disk_space_used is not None:
|
|
365
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
366
|
-
pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
367
364
|
if disk_space_used is not None:
|
|
368
365
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
369
366
|
if maintenance_window_dow is not None:
|
|
@@ -445,10 +442,10 @@ class _OpenSearchState:
|
|
|
445
442
|
|
|
446
443
|
@_builtins.property
|
|
447
444
|
@pulumi.getter(name="diskSpace")
|
|
448
|
-
@_utilities.deprecated("""
|
|
445
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
449
446
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
450
447
|
"""
|
|
451
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
448
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
452
449
|
"""
|
|
453
450
|
return pulumi.get(self, "disk_space")
|
|
454
451
|
|
|
@@ -494,10 +491,9 @@ class _OpenSearchState:
|
|
|
494
491
|
|
|
495
492
|
@_builtins.property
|
|
496
493
|
@pulumi.getter(name="diskSpaceUsed")
|
|
497
|
-
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
498
494
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
499
495
|
"""
|
|
500
|
-
|
|
496
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
501
497
|
"""
|
|
502
498
|
return pulumi.get(self, "disk_space_used")
|
|
503
499
|
|
|
@@ -804,7 +800,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
804
800
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
805
801
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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.
|
|
806
802
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
807
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
803
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
808
804
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
809
805
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
810
806
|
:param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -983,11 +979,11 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
983
979
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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.
|
|
984
980
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
985
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]] components: Service component information objects
|
|
986
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
982
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
987
983
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
988
984
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
989
985
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
990
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
986
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
991
987
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
992
988
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
993
989
|
:param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -1068,10 +1064,10 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1068
1064
|
|
|
1069
1065
|
@_builtins.property
|
|
1070
1066
|
@pulumi.getter(name="diskSpace")
|
|
1071
|
-
@_utilities.deprecated("""
|
|
1067
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1072
1068
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1073
1069
|
"""
|
|
1074
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1070
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1075
1071
|
"""
|
|
1076
1072
|
return pulumi.get(self, "disk_space")
|
|
1077
1073
|
|
|
@@ -1101,10 +1097,9 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1101
1097
|
|
|
1102
1098
|
@_builtins.property
|
|
1103
1099
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1104
|
-
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1105
1100
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1106
1101
|
"""
|
|
1107
|
-
|
|
1102
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1108
1103
|
"""
|
|
1109
1104
|
return pulumi.get(self, "disk_space_used")
|
|
1110
1105
|
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
18
20
|
|
|
@@ -21,12 +23,13 @@ class OrganizationApplicationUserArgs:
|
|
|
21
23
|
def __init__(__self__, *,
|
|
22
24
|
organization_id: pulumi.Input[_builtins.str],
|
|
23
25
|
is_super_admin: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
24
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None):
|
|
25
28
|
"""
|
|
26
29
|
The set of arguments for constructing a OrganizationApplicationUser resource.
|
|
27
|
-
:param pulumi.Input[_builtins.str] organization_id:
|
|
28
|
-
:param pulumi.Input[_builtins.bool] is_super_admin:
|
|
29
|
-
:param pulumi.Input[_builtins.str] name: Name
|
|
30
|
+
:param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
31
|
+
:param pulumi.Input[_builtins.bool] is_super_admin: Alters super admin state of the organization application user. The default value is `false`.
|
|
32
|
+
:param pulumi.Input[_builtins.str] name: Name.
|
|
30
33
|
"""
|
|
31
34
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
32
35
|
if is_super_admin is not None:
|
|
@@ -36,12 +39,14 @@ class OrganizationApplicationUserArgs:
|
|
|
36
39
|
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
37
40
|
if name is not None:
|
|
38
41
|
pulumi.set(__self__, "name", name)
|
|
42
|
+
if timeouts is not None:
|
|
43
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
39
44
|
|
|
40
45
|
@_builtins.property
|
|
41
46
|
@pulumi.getter(name="organizationId")
|
|
42
47
|
def organization_id(self) -> pulumi.Input[_builtins.str]:
|
|
43
48
|
"""
|
|
44
|
-
|
|
49
|
+
ID of an organization. Changing this property forces recreation of the resource.
|
|
45
50
|
"""
|
|
46
51
|
return pulumi.get(self, "organization_id")
|
|
47
52
|
|
|
@@ -54,7 +59,7 @@ class OrganizationApplicationUserArgs:
|
|
|
54
59
|
@_utilities.deprecated("""This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the OrganizationPermission resource.""")
|
|
55
60
|
def is_super_admin(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
56
61
|
"""
|
|
57
|
-
|
|
62
|
+
Alters super admin state of the organization application user. The default value is `false`.
|
|
58
63
|
"""
|
|
59
64
|
return pulumi.get(self, "is_super_admin")
|
|
60
65
|
|
|
@@ -66,7 +71,7 @@ class OrganizationApplicationUserArgs:
|
|
|
66
71
|
@pulumi.getter
|
|
67
72
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
68
73
|
"""
|
|
69
|
-
Name
|
|
74
|
+
Name.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "name")
|
|
72
77
|
|
|
@@ -74,6 +79,15 @@ class OrganizationApplicationUserArgs:
|
|
|
74
79
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
75
80
|
pulumi.set(self, "name", value)
|
|
76
81
|
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter
|
|
84
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
85
|
+
return pulumi.get(self, "timeouts")
|
|
86
|
+
|
|
87
|
+
@timeouts.setter
|
|
88
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
89
|
+
pulumi.set(self, "timeouts", value)
|
|
90
|
+
|
|
77
91
|
|
|
78
92
|
@pulumi.input_type
|
|
79
93
|
class _OrganizationApplicationUserState:
|
|
@@ -82,14 +96,15 @@ class _OrganizationApplicationUserState:
|
|
|
82
96
|
is_super_admin: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
83
97
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
84
98
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
99
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None,
|
|
85
100
|
user_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
86
101
|
"""
|
|
87
102
|
Input properties used for looking up and filtering OrganizationApplicationUser resources.
|
|
88
|
-
:param pulumi.Input[_builtins.str] email:
|
|
89
|
-
:param pulumi.Input[_builtins.bool] is_super_admin:
|
|
90
|
-
:param pulumi.Input[_builtins.str] name: Name
|
|
91
|
-
:param pulumi.Input[_builtins.str] organization_id:
|
|
92
|
-
:param pulumi.Input[_builtins.str] user_id:
|
|
103
|
+
:param pulumi.Input[_builtins.str] email: User Email.
|
|
104
|
+
:param pulumi.Input[_builtins.bool] is_super_admin: Alters super admin state of the organization application user. The default value is `false`.
|
|
105
|
+
:param pulumi.Input[_builtins.str] name: Name.
|
|
106
|
+
:param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
107
|
+
:param pulumi.Input[_builtins.str] user_id: User ID.
|
|
93
108
|
"""
|
|
94
109
|
if email is not None:
|
|
95
110
|
pulumi.set(__self__, "email", email)
|
|
@@ -102,6 +117,8 @@ class _OrganizationApplicationUserState:
|
|
|
102
117
|
pulumi.set(__self__, "name", name)
|
|
103
118
|
if organization_id is not None:
|
|
104
119
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
120
|
+
if timeouts is not None:
|
|
121
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
105
122
|
if user_id is not None:
|
|
106
123
|
pulumi.set(__self__, "user_id", user_id)
|
|
107
124
|
|
|
@@ -109,7 +126,7 @@ class _OrganizationApplicationUserState:
|
|
|
109
126
|
@pulumi.getter
|
|
110
127
|
def email(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
111
128
|
"""
|
|
112
|
-
|
|
129
|
+
User Email.
|
|
113
130
|
"""
|
|
114
131
|
return pulumi.get(self, "email")
|
|
115
132
|
|
|
@@ -122,7 +139,7 @@ class _OrganizationApplicationUserState:
|
|
|
122
139
|
@_utilities.deprecated("""This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the OrganizationPermission resource.""")
|
|
123
140
|
def is_super_admin(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
124
141
|
"""
|
|
125
|
-
|
|
142
|
+
Alters super admin state of the organization application user. The default value is `false`.
|
|
126
143
|
"""
|
|
127
144
|
return pulumi.get(self, "is_super_admin")
|
|
128
145
|
|
|
@@ -134,7 +151,7 @@ class _OrganizationApplicationUserState:
|
|
|
134
151
|
@pulumi.getter
|
|
135
152
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
153
|
"""
|
|
137
|
-
Name
|
|
154
|
+
Name.
|
|
138
155
|
"""
|
|
139
156
|
return pulumi.get(self, "name")
|
|
140
157
|
|
|
@@ -146,7 +163,7 @@ class _OrganizationApplicationUserState:
|
|
|
146
163
|
@pulumi.getter(name="organizationId")
|
|
147
164
|
def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
148
165
|
"""
|
|
149
|
-
|
|
166
|
+
ID of an organization. Changing this property forces recreation of the resource.
|
|
150
167
|
"""
|
|
151
168
|
return pulumi.get(self, "organization_id")
|
|
152
169
|
|
|
@@ -154,11 +171,20 @@ class _OrganizationApplicationUserState:
|
|
|
154
171
|
def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
155
172
|
pulumi.set(self, "organization_id", value)
|
|
156
173
|
|
|
174
|
+
@_builtins.property
|
|
175
|
+
@pulumi.getter
|
|
176
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
177
|
+
return pulumi.get(self, "timeouts")
|
|
178
|
+
|
|
179
|
+
@timeouts.setter
|
|
180
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
181
|
+
pulumi.set(self, "timeouts", value)
|
|
182
|
+
|
|
157
183
|
@_builtins.property
|
|
158
184
|
@pulumi.getter(name="userId")
|
|
159
185
|
def user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
186
|
"""
|
|
161
|
-
|
|
187
|
+
User ID.
|
|
162
188
|
"""
|
|
163
189
|
return pulumi.get(self, "user_id")
|
|
164
190
|
|
|
@@ -176,13 +202,10 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
176
202
|
is_super_admin: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
177
203
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
178
204
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTimeoutsArgs', 'OrganizationApplicationUserTimeoutsArgsDict']]] = None,
|
|
179
206
|
__props__=None):
|
|
180
207
|
"""
|
|
181
|
-
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
182
|
-
programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource.
|
|
183
|
-
|
|
184
|
-
You give application users access to your organization, projects, and services using the `OrganizationPermission` resource. You can also add application users to
|
|
185
|
-
groups using the `OrganizationUserGroupMember` resource.
|
|
208
|
+
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource. You give application users access to your organization, projects, and services using the `OrganizationPermission` resource. You can also add application users to groups using the `OrganizationUserGroupMember` resource.`.
|
|
186
209
|
|
|
187
210
|
## Example Usage
|
|
188
211
|
|
|
@@ -203,9 +226,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
203
226
|
|
|
204
227
|
:param str resource_name: The name of the resource.
|
|
205
228
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
206
|
-
:param pulumi.Input[_builtins.bool] is_super_admin:
|
|
207
|
-
:param pulumi.Input[_builtins.str] name: Name
|
|
208
|
-
:param pulumi.Input[_builtins.str] organization_id:
|
|
229
|
+
:param pulumi.Input[_builtins.bool] is_super_admin: Alters super admin state of the organization application user. The default value is `false`.
|
|
230
|
+
:param pulumi.Input[_builtins.str] name: Name.
|
|
231
|
+
:param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
209
232
|
"""
|
|
210
233
|
...
|
|
211
234
|
@overload
|
|
@@ -214,11 +237,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
214
237
|
args: OrganizationApplicationUserArgs,
|
|
215
238
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
216
239
|
"""
|
|
217
|
-
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for
|
|
218
|
-
programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource.
|
|
219
|
-
|
|
220
|
-
You give application users access to your organization, projects, and services using the `OrganizationPermission` resource. You can also add application users to
|
|
221
|
-
groups using the `OrganizationUserGroupMember` resource.
|
|
240
|
+
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/concepts/application-users) can be used for programmatic access to the platform using a token created with the `OrganizationApplicationUserToken` resource. You give application users access to your organization, projects, and services using the `OrganizationPermission` resource. You can also add application users to groups using the `OrganizationUserGroupMember` resource.`.
|
|
222
241
|
|
|
223
242
|
## Example Usage
|
|
224
243
|
|
|
@@ -255,6 +274,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
255
274
|
is_super_admin: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
256
275
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
276
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
277
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTimeoutsArgs', 'OrganizationApplicationUserTimeoutsArgsDict']]] = None,
|
|
258
278
|
__props__=None):
|
|
259
279
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
260
280
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -269,6 +289,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
269
289
|
if organization_id is None and not opts.urn:
|
|
270
290
|
raise TypeError("Missing required property 'organization_id'")
|
|
271
291
|
__props__.__dict__["organization_id"] = organization_id
|
|
292
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
272
293
|
__props__.__dict__["email"] = None
|
|
273
294
|
__props__.__dict__["user_id"] = None
|
|
274
295
|
super(OrganizationApplicationUser, __self__).__init__(
|
|
@@ -285,6 +306,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
285
306
|
is_super_admin: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
286
307
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
287
308
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTimeoutsArgs', 'OrganizationApplicationUserTimeoutsArgsDict']]] = None,
|
|
288
310
|
user_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'OrganizationApplicationUser':
|
|
289
311
|
"""
|
|
290
312
|
Get an existing OrganizationApplicationUser resource's state with the given name, id, and optional extra
|
|
@@ -293,11 +315,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
293
315
|
:param str resource_name: The unique name of the resulting resource.
|
|
294
316
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
295
317
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
296
|
-
:param pulumi.Input[_builtins.str] email:
|
|
297
|
-
:param pulumi.Input[_builtins.bool] is_super_admin:
|
|
298
|
-
:param pulumi.Input[_builtins.str] name: Name
|
|
299
|
-
:param pulumi.Input[_builtins.str] organization_id:
|
|
300
|
-
:param pulumi.Input[_builtins.str] user_id:
|
|
318
|
+
:param pulumi.Input[_builtins.str] email: User Email.
|
|
319
|
+
:param pulumi.Input[_builtins.bool] is_super_admin: Alters super admin state of the organization application user. The default value is `false`.
|
|
320
|
+
:param pulumi.Input[_builtins.str] name: Name.
|
|
321
|
+
:param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
322
|
+
:param pulumi.Input[_builtins.str] user_id: User ID.
|
|
301
323
|
"""
|
|
302
324
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
303
325
|
|
|
@@ -307,6 +329,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
307
329
|
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
308
330
|
__props__.__dict__["name"] = name
|
|
309
331
|
__props__.__dict__["organization_id"] = organization_id
|
|
332
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
310
333
|
__props__.__dict__["user_id"] = user_id
|
|
311
334
|
return OrganizationApplicationUser(resource_name, opts=opts, __props__=__props__)
|
|
312
335
|
|
|
@@ -314,16 +337,16 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
314
337
|
@pulumi.getter
|
|
315
338
|
def email(self) -> pulumi.Output[_builtins.str]:
|
|
316
339
|
"""
|
|
317
|
-
|
|
340
|
+
User Email.
|
|
318
341
|
"""
|
|
319
342
|
return pulumi.get(self, "email")
|
|
320
343
|
|
|
321
344
|
@_builtins.property
|
|
322
345
|
@pulumi.getter(name="isSuperAdmin")
|
|
323
346
|
@_utilities.deprecated("""This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the OrganizationPermission resource.""")
|
|
324
|
-
def is_super_admin(self) -> pulumi.Output[
|
|
347
|
+
def is_super_admin(self) -> pulumi.Output[_builtins.bool]:
|
|
325
348
|
"""
|
|
326
|
-
|
|
349
|
+
Alters super admin state of the organization application user. The default value is `false`.
|
|
327
350
|
"""
|
|
328
351
|
return pulumi.get(self, "is_super_admin")
|
|
329
352
|
|
|
@@ -331,7 +354,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
331
354
|
@pulumi.getter
|
|
332
355
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
333
356
|
"""
|
|
334
|
-
Name
|
|
357
|
+
Name.
|
|
335
358
|
"""
|
|
336
359
|
return pulumi.get(self, "name")
|
|
337
360
|
|
|
@@ -339,15 +362,20 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
339
362
|
@pulumi.getter(name="organizationId")
|
|
340
363
|
def organization_id(self) -> pulumi.Output[_builtins.str]:
|
|
341
364
|
"""
|
|
342
|
-
|
|
365
|
+
ID of an organization. Changing this property forces recreation of the resource.
|
|
343
366
|
"""
|
|
344
367
|
return pulumi.get(self, "organization_id")
|
|
345
368
|
|
|
369
|
+
@_builtins.property
|
|
370
|
+
@pulumi.getter
|
|
371
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTimeouts']]:
|
|
372
|
+
return pulumi.get(self, "timeouts")
|
|
373
|
+
|
|
346
374
|
@_builtins.property
|
|
347
375
|
@pulumi.getter(name="userId")
|
|
348
376
|
def user_id(self) -> pulumi.Output[_builtins.str]:
|
|
349
377
|
"""
|
|
350
|
-
|
|
378
|
+
User ID.
|
|
351
379
|
"""
|
|
352
380
|
return pulumi.get(self, "user_id")
|
|
353
381
|
|