pulumi-aiven 6.27.0a1730118480__py3-none-any.whl → 6.28.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/_inputs.py +635 -203
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/cassandra.py +8 -8
- pulumi_aiven/clickhouse.py +8 -8
- pulumi_aiven/dragonfly.py +8 -8
- pulumi_aiven/flink.py +8 -8
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_component.py +9 -9
- pulumi_aiven/get_service_integration.py +17 -17
- pulumi_aiven/get_service_integration_endpoint.py +59 -31
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +8 -8
- pulumi_aiven/influx_db.py +15 -8
- pulumi_aiven/kafka.py +8 -8
- pulumi_aiven/kafka_connect.py +8 -8
- pulumi_aiven/kafka_mirror_maker.py +8 -8
- pulumi_aiven/m3_aggregator.py +8 -8
- pulumi_aiven/m3_db.py +8 -8
- pulumi_aiven/mirror_maker_replication_flow.py +7 -7
- pulumi_aiven/my_sql.py +8 -8
- pulumi_aiven/open_search.py +8 -8
- pulumi_aiven/organization_group_project.py +17 -9
- pulumi_aiven/organization_permission.py +49 -49
- pulumi_aiven/outputs.py +883 -263
- pulumi_aiven/pg.py +8 -8
- pulumi_aiven/project_user.py +15 -7
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +8 -8
- pulumi_aiven/service_integration.py +139 -123
- pulumi_aiven/service_integration_endpoint.py +302 -140
- pulumi_aiven/thanos.py +8 -8
- pulumi_aiven/valkey.py +8 -8
- {pulumi_aiven-6.27.0a1730118480.dist-info → pulumi_aiven-6.28.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.27.0a1730118480.dist-info → pulumi_aiven-6.28.0.dist-info}/RECORD +54 -54
- {pulumi_aiven-6.27.0a1730118480.dist-info → pulumi_aiven-6.28.0.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.27.0a1730118480.dist-info → pulumi_aiven-6.28.0.dist-info}/top_level.txt +0 -0
|
@@ -37,7 +37,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
37
37
|
"""
|
|
38
38
|
The set of arguments for constructing a MirrorMakerReplicationFlow resource.
|
|
39
39
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
40
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
40
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. The possible values are `source` and `target`.
|
|
41
41
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
42
42
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
43
43
|
:param pulumi.Input[str] service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -92,7 +92,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
92
92
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
93
93
|
def offset_syncs_topic_location(self) -> pulumi.Input[str]:
|
|
94
94
|
"""
|
|
95
|
-
Offset syncs topic location.
|
|
95
|
+
Offset syncs topic location. The possible values are `source` and `target`.
|
|
96
96
|
"""
|
|
97
97
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
98
98
|
|
|
@@ -281,7 +281,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
281
281
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
282
282
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
283
283
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
284
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
284
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. The possible values are `source` and `target`.
|
|
285
285
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
286
286
|
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
287
287
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
@@ -376,7 +376,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
376
376
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
377
377
|
def offset_syncs_topic_location(self) -> Optional[pulumi.Input[str]]:
|
|
378
378
|
"""
|
|
379
|
-
Offset syncs topic location.
|
|
379
|
+
Offset syncs topic location. The possible values are `source` and `target`.
|
|
380
380
|
"""
|
|
381
381
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
382
382
|
|
|
@@ -569,7 +569,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
569
569
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
570
570
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
571
571
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
572
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
572
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. The possible values are `source` and `target`.
|
|
573
573
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
574
574
|
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
575
575
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
@@ -728,7 +728,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
728
728
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
729
729
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
730
730
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
731
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
731
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. The possible values are `source` and `target`.
|
|
732
732
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
733
733
|
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
734
734
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
@@ -797,7 +797,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
797
797
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
798
798
|
def offset_syncs_topic_location(self) -> pulumi.Output[str]:
|
|
799
799
|
"""
|
|
800
|
-
Offset syncs topic location.
|
|
800
|
+
Offset syncs topic location. The possible values are `source` and `target`.
|
|
801
801
|
"""
|
|
802
802
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
803
803
|
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -48,7 +48,7 @@ class MySqlArgs:
|
|
|
48
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[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['MySqlMysqlArgs'] mysql: MySQL specific server provided values
|
|
51
|
-
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
51
|
+
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
52
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
53
53
|
:param pulumi.Input[Sequence[pulumi.Input['MySqlServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
54
54
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
@@ -202,7 +202,7 @@ class MySqlArgs:
|
|
|
202
202
|
@pulumi.getter(name="mysqlUserConfig")
|
|
203
203
|
def mysql_user_config(self) -> Optional[pulumi.Input['MySqlMysqlUserConfigArgs']]:
|
|
204
204
|
"""
|
|
205
|
-
Mysql user configurable settings
|
|
205
|
+
Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
206
206
|
"""
|
|
207
207
|
return pulumi.get(self, "mysql_user_config")
|
|
208
208
|
|
|
@@ -327,7 +327,7 @@ class _MySqlState:
|
|
|
327
327
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
328
|
:param pulumi.Input[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['MySqlMysqlArgs'] mysql: MySQL specific server provided values
|
|
330
|
-
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
330
|
+
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
331
331
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
332
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
333
333
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
@@ -546,7 +546,7 @@ class _MySqlState:
|
|
|
546
546
|
@pulumi.getter(name="mysqlUserConfig")
|
|
547
547
|
def mysql_user_config(self) -> Optional[pulumi.Input['MySqlMysqlUserConfigArgs']]:
|
|
548
548
|
"""
|
|
549
|
-
Mysql user configurable settings
|
|
549
|
+
Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
550
550
|
"""
|
|
551
551
|
return pulumi.get(self, "mysql_user_config")
|
|
552
552
|
|
|
@@ -811,7 +811,7 @@ class MySql(pulumi.CustomResource):
|
|
|
811
811
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
812
812
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
813
813
|
:param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL specific server provided values
|
|
814
|
-
:param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] mysql_user_config: Mysql user configurable settings
|
|
814
|
+
:param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
815
815
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
816
816
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
817
817
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
@@ -994,7 +994,7 @@ class MySql(pulumi.CustomResource):
|
|
|
994
994
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
995
995
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
996
996
|
:param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL specific server provided values
|
|
997
|
-
:param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] mysql_user_config: Mysql user configurable settings
|
|
997
|
+
:param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
998
998
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
999
999
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1000
1000
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
@@ -1048,7 +1048,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1048
1048
|
|
|
1049
1049
|
@property
|
|
1050
1050
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1051
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1051
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1052
1052
|
"""
|
|
1053
1053
|
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 with no HA capabilities.
|
|
1054
1054
|
"""
|
|
@@ -1140,7 +1140,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1140
1140
|
@pulumi.getter(name="mysqlUserConfig")
|
|
1141
1141
|
def mysql_user_config(self) -> pulumi.Output[Optional['outputs.MySqlMysqlUserConfig']]:
|
|
1142
1142
|
"""
|
|
1143
|
-
Mysql user configurable settings
|
|
1143
|
+
Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1144
1144
|
"""
|
|
1145
1145
|
return pulumi.get(self, "mysql_user_config")
|
|
1146
1146
|
|
pulumi_aiven/open_search.py
CHANGED
|
@@ -47,7 +47,7 @@ class OpenSearchArgs:
|
|
|
47
47
|
:param pulumi.Input[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.
|
|
48
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
|
-
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
|
|
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
|
|
51
51
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
|
|
52
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
53
53
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -190,7 +190,7 @@ class OpenSearchArgs:
|
|
|
190
190
|
@pulumi.getter(name="opensearchUserConfig")
|
|
191
191
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
192
192
|
"""
|
|
193
|
-
Opensearch user configurable settings
|
|
193
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
194
194
|
"""
|
|
195
195
|
return pulumi.get(self, "opensearch_user_config")
|
|
196
196
|
|
|
@@ -326,7 +326,7 @@ class _OpenSearchState:
|
|
|
326
326
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
327
327
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
328
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
329
|
-
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
|
|
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
|
|
330
330
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
|
|
331
331
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
332
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -534,7 +534,7 @@ class _OpenSearchState:
|
|
|
534
534
|
@pulumi.getter(name="opensearchUserConfig")
|
|
535
535
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
536
536
|
"""
|
|
537
|
-
Opensearch user configurable settings
|
|
537
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
538
538
|
"""
|
|
539
539
|
return pulumi.get(self, "opensearch_user_config")
|
|
540
540
|
|
|
@@ -811,7 +811,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
811
811
|
:param pulumi.Input[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.
|
|
812
812
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
813
813
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
814
|
-
:param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings
|
|
814
|
+
: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
|
|
815
815
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
|
|
816
816
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
817
817
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -995,7 +995,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
995
995
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
996
996
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
997
997
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
998
|
-
:param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings
|
|
998
|
+
: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
|
|
999
999
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
|
|
1000
1000
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1001
1001
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -1050,7 +1050,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1050
1050
|
|
|
1051
1051
|
@property
|
|
1052
1052
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1053
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1053
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1054
1054
|
"""
|
|
1055
1055
|
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 with no HA capabilities.
|
|
1056
1056
|
"""
|
|
@@ -1134,7 +1134,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1134
1134
|
@pulumi.getter(name="opensearchUserConfig")
|
|
1135
1135
|
def opensearch_user_config(self) -> pulumi.Output[Optional['outputs.OpenSearchOpensearchUserConfig']]:
|
|
1136
1136
|
"""
|
|
1137
|
-
Opensearch user configurable settings
|
|
1137
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1138
1138
|
"""
|
|
1139
1139
|
return pulumi.get(self, "opensearch_user_config")
|
|
1140
1140
|
|
|
@@ -29,7 +29,7 @@ class OrganizationGroupProjectArgs:
|
|
|
29
29
|
The set of arguments for constructing a OrganizationGroupProject resource.
|
|
30
30
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
31
31
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
32
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
32
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
33
33
|
"""
|
|
34
34
|
pulumi.set(__self__, "group_id", group_id)
|
|
35
35
|
pulumi.set(__self__, "project", project)
|
|
@@ -65,7 +65,7 @@ class OrganizationGroupProjectArgs:
|
|
|
65
65
|
@pulumi.getter
|
|
66
66
|
def role(self) -> pulumi.Input[str]:
|
|
67
67
|
"""
|
|
68
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
68
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "role")
|
|
71
71
|
|
|
@@ -94,7 +94,7 @@ class _OrganizationGroupProjectState:
|
|
|
94
94
|
Input properties used for looking up and filtering OrganizationGroupProject resources.
|
|
95
95
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
96
96
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
97
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
97
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
98
98
|
"""
|
|
99
99
|
if group_id is not None:
|
|
100
100
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -133,7 +133,7 @@ class _OrganizationGroupProjectState:
|
|
|
133
133
|
@pulumi.getter
|
|
134
134
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
135
135
|
"""
|
|
136
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
136
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "role")
|
|
139
139
|
|
|
@@ -162,7 +162,11 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
162
162
|
timeouts: Optional[pulumi.Input[Union['OrganizationGroupProjectTimeoutsArgs', 'OrganizationGroupProjectTimeoutsArgsDict']]] = None,
|
|
163
163
|
__props__=None):
|
|
164
164
|
"""
|
|
165
|
-
Adds and manages a
|
|
165
|
+
Adds and manages a group of users as members of a project.
|
|
166
|
+
|
|
167
|
+
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
168
|
+
migrate existing OrganizationGroupProject resources
|
|
169
|
+
to the new resource.
|
|
166
170
|
|
|
167
171
|
## Example Usage
|
|
168
172
|
|
|
@@ -197,7 +201,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
197
201
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
202
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
199
203
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
200
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
204
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
201
205
|
"""
|
|
202
206
|
...
|
|
203
207
|
@overload
|
|
@@ -206,7 +210,11 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
206
210
|
args: OrganizationGroupProjectArgs,
|
|
207
211
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
208
212
|
"""
|
|
209
|
-
Adds and manages a
|
|
213
|
+
Adds and manages a group of users as members of a project.
|
|
214
|
+
|
|
215
|
+
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
216
|
+
migrate existing OrganizationGroupProject resources
|
|
217
|
+
to the new resource.
|
|
210
218
|
|
|
211
219
|
## Example Usage
|
|
212
220
|
|
|
@@ -298,7 +306,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
298
306
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
299
307
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
300
308
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
301
|
-
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
309
|
+
:param pulumi.Input[str] role: [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
302
310
|
"""
|
|
303
311
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
304
312
|
|
|
@@ -330,7 +338,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
330
338
|
@pulumi.getter
|
|
331
339
|
def role(self) -> pulumi.Output[str]:
|
|
332
340
|
"""
|
|
333
|
-
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:permissions:read` and `service:
|
|
341
|
+
[Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `role:services:maintenance`, `role:services:recover`, `organization:billing:read`, `organization:billing:write`, `organization:audit_logs:read`, `organization:projects:read`, `organization:projects:write`, `organization:users:write`, `organization:permissions:read`, `organization:permissions:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write`, `organization:network:read`, `organization:network:write`, `role:organization:admin` and `service:users:write`.
|
|
334
342
|
"""
|
|
335
343
|
return pulumi.get(self, "role")
|
|
336
344
|
|
|
@@ -30,7 +30,7 @@ class OrganizationPermissionArgs:
|
|
|
30
30
|
:param pulumi.Input[str] organization_id: Organization ID.
|
|
31
31
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions: Permissions to grant to principals.
|
|
32
32
|
:param pulumi.Input[str] resource_id: Resource ID.
|
|
33
|
-
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
33
|
+
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
34
34
|
"""
|
|
35
35
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
36
36
|
pulumi.set(__self__, "permissions", permissions)
|
|
@@ -77,7 +77,7 @@ class OrganizationPermissionArgs:
|
|
|
77
77
|
@pulumi.getter(name="resourceType")
|
|
78
78
|
def resource_type(self) -> pulumi.Input[str]:
|
|
79
79
|
"""
|
|
80
|
-
Resource type. The possible values are `project`.
|
|
80
|
+
Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "resource_type")
|
|
83
83
|
|
|
@@ -98,7 +98,7 @@ class _OrganizationPermissionState:
|
|
|
98
98
|
:param pulumi.Input[str] organization_id: Organization ID.
|
|
99
99
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions: Permissions to grant to principals.
|
|
100
100
|
:param pulumi.Input[str] resource_id: Resource ID.
|
|
101
|
-
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
101
|
+
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
102
102
|
"""
|
|
103
103
|
if organization_id is not None:
|
|
104
104
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -149,7 +149,7 @@ class _OrganizationPermissionState:
|
|
|
149
149
|
@pulumi.getter(name="resourceType")
|
|
150
150
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
151
151
|
"""
|
|
152
|
-
Resource type. The possible values are `project`.
|
|
152
|
+
Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
153
153
|
"""
|
|
154
154
|
return pulumi.get(self, "resource_type")
|
|
155
155
|
|
|
@@ -169,10 +169,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
169
169
|
resource_type: Optional[pulumi.Input[str]] = None,
|
|
170
170
|
__props__=None):
|
|
171
171
|
"""
|
|
172
|
-
Grants permissions to a principal for a resource.
|
|
173
|
-
|
|
174
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
175
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
172
|
+
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions) to a principal for a resource.
|
|
176
173
|
|
|
177
174
|
## Example Usage
|
|
178
175
|
|
|
@@ -180,26 +177,29 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
180
177
|
import pulumi
|
|
181
178
|
import pulumi_aiven as aiven
|
|
182
179
|
|
|
183
|
-
|
|
184
|
-
operator = aiven.OrganizationPermission("operator",
|
|
185
|
-
organization_id=main["id"],
|
|
186
|
-
resource_id=example_project["id"],
|
|
187
|
-
resource_type="project",
|
|
188
|
-
permissions=[{
|
|
189
|
-
"permissions": ["operator"],
|
|
190
|
-
"principal_id": "u123a456b7890c",
|
|
191
|
-
"principal_type": "user",
|
|
192
|
-
}])
|
|
193
|
-
# Grant permission to a group
|
|
194
|
-
developers = aiven.OrganizationPermission("developers",
|
|
180
|
+
example_permissions = aiven.OrganizationPermission("example_permissions",
|
|
195
181
|
organization_id=main["id"],
|
|
196
182
|
resource_id=example_project["id"],
|
|
197
183
|
resource_type="project",
|
|
198
|
-
permissions=[
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
184
|
+
permissions=[
|
|
185
|
+
{
|
|
186
|
+
"permissions": [
|
|
187
|
+
"operator",
|
|
188
|
+
"service:logs:read",
|
|
189
|
+
],
|
|
190
|
+
"principal_id": "u123a456b7890c",
|
|
191
|
+
"principal_type": "user",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"permissions": [
|
|
195
|
+
"project:integrations:write",
|
|
196
|
+
"project:networking:read",
|
|
197
|
+
"developer",
|
|
198
|
+
],
|
|
199
|
+
"principal_id": example_group["groupId"],
|
|
200
|
+
"principal_type": "user_group",
|
|
201
|
+
},
|
|
202
|
+
])
|
|
203
203
|
```
|
|
204
204
|
|
|
205
205
|
## Import
|
|
@@ -213,7 +213,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
213
213
|
:param pulumi.Input[str] organization_id: Organization ID.
|
|
214
214
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions: Permissions to grant to principals.
|
|
215
215
|
:param pulumi.Input[str] resource_id: Resource ID.
|
|
216
|
-
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
216
|
+
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
217
217
|
"""
|
|
218
218
|
...
|
|
219
219
|
@overload
|
|
@@ -222,10 +222,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
222
222
|
args: OrganizationPermissionArgs,
|
|
223
223
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
224
224
|
"""
|
|
225
|
-
Grants permissions to a principal for a resource.
|
|
226
|
-
|
|
227
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
228
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
225
|
+
Grants [roles and permissions](https://aiven.io/docs/platform/concepts/permissions) to a principal for a resource.
|
|
229
226
|
|
|
230
227
|
## Example Usage
|
|
231
228
|
|
|
@@ -233,26 +230,29 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
233
230
|
import pulumi
|
|
234
231
|
import pulumi_aiven as aiven
|
|
235
232
|
|
|
236
|
-
|
|
237
|
-
operator = aiven.OrganizationPermission("operator",
|
|
238
|
-
organization_id=main["id"],
|
|
239
|
-
resource_id=example_project["id"],
|
|
240
|
-
resource_type="project",
|
|
241
|
-
permissions=[{
|
|
242
|
-
"permissions": ["operator"],
|
|
243
|
-
"principal_id": "u123a456b7890c",
|
|
244
|
-
"principal_type": "user",
|
|
245
|
-
}])
|
|
246
|
-
# Grant permission to a group
|
|
247
|
-
developers = aiven.OrganizationPermission("developers",
|
|
233
|
+
example_permissions = aiven.OrganizationPermission("example_permissions",
|
|
248
234
|
organization_id=main["id"],
|
|
249
235
|
resource_id=example_project["id"],
|
|
250
236
|
resource_type="project",
|
|
251
|
-
permissions=[
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
237
|
+
permissions=[
|
|
238
|
+
{
|
|
239
|
+
"permissions": [
|
|
240
|
+
"operator",
|
|
241
|
+
"service:logs:read",
|
|
242
|
+
],
|
|
243
|
+
"principal_id": "u123a456b7890c",
|
|
244
|
+
"principal_type": "user",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"permissions": [
|
|
248
|
+
"project:integrations:write",
|
|
249
|
+
"project:networking:read",
|
|
250
|
+
"developer",
|
|
251
|
+
],
|
|
252
|
+
"principal_id": example_group["groupId"],
|
|
253
|
+
"principal_type": "user_group",
|
|
254
|
+
},
|
|
255
|
+
])
|
|
256
256
|
```
|
|
257
257
|
|
|
258
258
|
## Import
|
|
@@ -325,7 +325,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
325
325
|
:param pulumi.Input[str] organization_id: Organization ID.
|
|
326
326
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions: Permissions to grant to principals.
|
|
327
327
|
:param pulumi.Input[str] resource_id: Resource ID.
|
|
328
|
-
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
328
|
+
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
329
329
|
"""
|
|
330
330
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
331
331
|
|
|
@@ -365,7 +365,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
365
365
|
@pulumi.getter(name="resourceType")
|
|
366
366
|
def resource_type(self) -> pulumi.Output[str]:
|
|
367
367
|
"""
|
|
368
|
-
Resource type. The possible values are `project`.
|
|
368
|
+
Resource type. The possible values are `project`, `organization` and `organization_unit`.
|
|
369
369
|
"""
|
|
370
370
|
return pulumi.get(self, "resource_type")
|
|
371
371
|
|