pulumi-aiven 6.25.0a1727423161__py3-none-any.whl → 6.26.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -0
- pulumi_aiven/_inputs.py +261 -53
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/cassandra.py +7 -2
- pulumi_aiven/clickhouse.py +6 -1
- pulumi_aiven/dragonfly.py +7 -2
- pulumi_aiven/flink.py +7 -2
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_external_identity.py +146 -0
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_service_integration.py +17 -4
- pulumi_aiven/get_thanos.py +0 -6
- pulumi_aiven/get_valkey.py +0 -6
- pulumi_aiven/get_valkey_user.py +0 -6
- pulumi_aiven/grafana.py +7 -2
- pulumi_aiven/influx_db.py +7 -2
- pulumi_aiven/kafka.py +7 -2
- pulumi_aiven/kafka_connect.py +7 -2
- pulumi_aiven/kafka_mirror_maker.py +7 -2
- pulumi_aiven/m3_aggregator.py +7 -2
- pulumi_aiven/m3_db.py +7 -2
- pulumi_aiven/my_sql.py +7 -2
- pulumi_aiven/open_search.py +7 -2
- pulumi_aiven/organization_group_project.py +7 -7
- pulumi_aiven/organization_permission.py +89 -21
- pulumi_aiven/outputs.py +424 -76
- pulumi_aiven/pg.py +7 -2
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +7 -2
- pulumi_aiven/service_integration.py +54 -7
- pulumi_aiven/static_ip.py +2 -2
- pulumi_aiven/thanos.py +7 -8
- pulumi_aiven/valkey.py +7 -8
- pulumi_aiven/valkey_user.py +0 -6
- {pulumi_aiven-6.25.0a1727423161.dist-info → pulumi_aiven-6.26.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.25.0a1727423161.dist-info → pulumi_aiven-6.26.0.dist-info}/RECORD +39 -38
- {pulumi_aiven-6.25.0a1727423161.dist-info → pulumi_aiven-6.26.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.25.0a1727423161.dist-info → pulumi_aiven-6.26.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka.py
CHANGED
|
@@ -399,6 +399,9 @@ class _KafkaState:
|
|
|
399
399
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
400
400
|
if disk_space_step is not None:
|
|
401
401
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
402
|
+
if disk_space_used is not None:
|
|
403
|
+
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)
|
|
404
|
+
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.""")
|
|
402
405
|
if disk_space_used is not None:
|
|
403
406
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
404
407
|
if kafka_user_config is not None:
|
|
@@ -546,6 +549,7 @@ class _KafkaState:
|
|
|
546
549
|
|
|
547
550
|
@property
|
|
548
551
|
@pulumi.getter(name="diskSpaceUsed")
|
|
552
|
+
@_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.""")
|
|
549
553
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
550
554
|
"""
|
|
551
555
|
Disk space that service is currently using
|
|
@@ -1198,6 +1202,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1198
1202
|
|
|
1199
1203
|
@property
|
|
1200
1204
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1205
|
+
@_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.""")
|
|
1201
1206
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1202
1207
|
"""
|
|
1203
1208
|
Disk space that service is currently using
|
|
@@ -1263,7 +1268,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1263
1268
|
|
|
1264
1269
|
@property
|
|
1265
1270
|
@pulumi.getter(name="projectVpcId")
|
|
1266
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1271
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1267
1272
|
"""
|
|
1268
1273
|
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.
|
|
1269
1274
|
"""
|
|
@@ -1279,7 +1284,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1279
1284
|
|
|
1280
1285
|
@property
|
|
1281
1286
|
@pulumi.getter(name="serviceIntegrations")
|
|
1282
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1287
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaServiceIntegration']]:
|
|
1283
1288
|
"""
|
|
1284
1289
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1285
1290
|
"""
|
pulumi_aiven/kafka_connect.py
CHANGED
|
@@ -339,6 +339,9 @@ class _KafkaConnectState:
|
|
|
339
339
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
340
340
|
if disk_space_step is not None:
|
|
341
341
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
342
|
+
if disk_space_used is not None:
|
|
343
|
+
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)
|
|
344
|
+
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.""")
|
|
342
345
|
if disk_space_used is not None:
|
|
343
346
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
344
347
|
if kafka_connect_user_config is not None:
|
|
@@ -467,6 +470,7 @@ class _KafkaConnectState:
|
|
|
467
470
|
|
|
468
471
|
@property
|
|
469
472
|
@pulumi.getter(name="diskSpaceUsed")
|
|
473
|
+
@_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.""")
|
|
470
474
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
471
475
|
"""
|
|
472
476
|
Disk space that service is currently using
|
|
@@ -1105,6 +1109,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1105
1109
|
|
|
1106
1110
|
@property
|
|
1107
1111
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1112
|
+
@_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.""")
|
|
1108
1113
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1109
1114
|
"""
|
|
1110
1115
|
Disk space that service is currently using
|
|
@@ -1153,7 +1158,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1153
1158
|
|
|
1154
1159
|
@property
|
|
1155
1160
|
@pulumi.getter(name="projectVpcId")
|
|
1156
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1161
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1157
1162
|
"""
|
|
1158
1163
|
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.
|
|
1159
1164
|
"""
|
|
@@ -1169,7 +1174,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1169
1174
|
|
|
1170
1175
|
@property
|
|
1171
1176
|
@pulumi.getter(name="serviceIntegrations")
|
|
1172
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1177
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaConnectServiceIntegration']]:
|
|
1173
1178
|
"""
|
|
1174
1179
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1175
1180
|
"""
|
|
@@ -339,6 +339,9 @@ class _KafkaMirrorMakerState:
|
|
|
339
339
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
340
340
|
if disk_space_step is not None:
|
|
341
341
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
342
|
+
if disk_space_used is not None:
|
|
343
|
+
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)
|
|
344
|
+
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.""")
|
|
342
345
|
if disk_space_used is not None:
|
|
343
346
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
344
347
|
if kafka_mirrormaker_user_config is not None:
|
|
@@ -467,6 +470,7 @@ class _KafkaMirrorMakerState:
|
|
|
467
470
|
|
|
468
471
|
@property
|
|
469
472
|
@pulumi.getter(name="diskSpaceUsed")
|
|
473
|
+
@_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.""")
|
|
470
474
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
471
475
|
"""
|
|
472
476
|
Disk space that service is currently using
|
|
@@ -1049,6 +1053,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1049
1053
|
|
|
1050
1054
|
@property
|
|
1051
1055
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1056
|
+
@_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.""")
|
|
1052
1057
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1053
1058
|
"""
|
|
1054
1059
|
Disk space that service is currently using
|
|
@@ -1097,7 +1102,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1097
1102
|
|
|
1098
1103
|
@property
|
|
1099
1104
|
@pulumi.getter(name="projectVpcId")
|
|
1100
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1105
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1101
1106
|
"""
|
|
1102
1107
|
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.
|
|
1103
1108
|
"""
|
|
@@ -1113,7 +1118,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1113
1118
|
|
|
1114
1119
|
@property
|
|
1115
1120
|
@pulumi.getter(name="serviceIntegrations")
|
|
1116
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1121
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.KafkaMirrorMakerServiceIntegration']]:
|
|
1117
1122
|
"""
|
|
1118
1123
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1119
1124
|
"""
|
pulumi_aiven/m3_aggregator.py
CHANGED
|
@@ -357,6 +357,9 @@ class _M3AggregatorState:
|
|
|
357
357
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
358
358
|
if disk_space_step is not None:
|
|
359
359
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
360
|
+
if disk_space_used is not None:
|
|
361
|
+
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)
|
|
362
|
+
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.""")
|
|
360
363
|
if disk_space_used is not None:
|
|
361
364
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
362
365
|
if m3aggregator is not None:
|
|
@@ -487,6 +490,7 @@ class _M3AggregatorState:
|
|
|
487
490
|
|
|
488
491
|
@property
|
|
489
492
|
@pulumi.getter(name="diskSpaceUsed")
|
|
493
|
+
@_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.""")
|
|
490
494
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
491
495
|
"""
|
|
492
496
|
Disk space that service is currently using
|
|
@@ -1082,6 +1086,7 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1082
1086
|
|
|
1083
1087
|
@property
|
|
1084
1088
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1089
|
+
@_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.""")
|
|
1085
1090
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1086
1091
|
"""
|
|
1087
1092
|
Disk space that service is currently using
|
|
@@ -1138,7 +1143,7 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1138
1143
|
|
|
1139
1144
|
@property
|
|
1140
1145
|
@pulumi.getter(name="projectVpcId")
|
|
1141
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1146
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1142
1147
|
"""
|
|
1143
1148
|
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.
|
|
1144
1149
|
"""
|
|
@@ -1154,7 +1159,7 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1154
1159
|
|
|
1155
1160
|
@property
|
|
1156
1161
|
@pulumi.getter(name="serviceIntegrations")
|
|
1157
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1162
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.M3AggregatorServiceIntegration']]:
|
|
1158
1163
|
"""
|
|
1159
1164
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1160
1165
|
"""
|
pulumi_aiven/m3_db.py
CHANGED
|
@@ -357,6 +357,9 @@ class _M3DbState:
|
|
|
357
357
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
358
358
|
if disk_space_step is not None:
|
|
359
359
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
360
|
+
if disk_space_used is not None:
|
|
361
|
+
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)
|
|
362
|
+
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.""")
|
|
360
363
|
if disk_space_used is not None:
|
|
361
364
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
362
365
|
if m3db is not None:
|
|
@@ -487,6 +490,7 @@ class _M3DbState:
|
|
|
487
490
|
|
|
488
491
|
@property
|
|
489
492
|
@pulumi.getter(name="diskSpaceUsed")
|
|
493
|
+
@_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.""")
|
|
490
494
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
491
495
|
"""
|
|
492
496
|
Disk space that service is currently using
|
|
@@ -1090,6 +1094,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1090
1094
|
|
|
1091
1095
|
@property
|
|
1092
1096
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1097
|
+
@_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.""")
|
|
1093
1098
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1094
1099
|
"""
|
|
1095
1100
|
Disk space that service is currently using
|
|
@@ -1146,7 +1151,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1146
1151
|
|
|
1147
1152
|
@property
|
|
1148
1153
|
@pulumi.getter(name="projectVpcId")
|
|
1149
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1154
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1150
1155
|
"""
|
|
1151
1156
|
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.
|
|
1152
1157
|
"""
|
|
@@ -1162,7 +1167,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1162
1167
|
|
|
1163
1168
|
@property
|
|
1164
1169
|
@pulumi.getter(name="serviceIntegrations")
|
|
1165
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1170
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.M3DbServiceIntegration']]:
|
|
1166
1171
|
"""
|
|
1167
1172
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1168
1173
|
"""
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -357,6 +357,9 @@ class _MySqlState:
|
|
|
357
357
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
358
358
|
if disk_space_step is not None:
|
|
359
359
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
360
|
+
if disk_space_used is not None:
|
|
361
|
+
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)
|
|
362
|
+
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.""")
|
|
360
363
|
if disk_space_used is not None:
|
|
361
364
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
362
365
|
if maintenance_window_dow is not None:
|
|
@@ -487,6 +490,7 @@ class _MySqlState:
|
|
|
487
490
|
|
|
488
491
|
@property
|
|
489
492
|
@pulumi.getter(name="diskSpaceUsed")
|
|
493
|
+
@_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.""")
|
|
490
494
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
491
495
|
"""
|
|
492
496
|
Disk space that service is currently using
|
|
@@ -1096,6 +1100,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1096
1100
|
|
|
1097
1101
|
@property
|
|
1098
1102
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1103
|
+
@_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.""")
|
|
1099
1104
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1100
1105
|
"""
|
|
1101
1106
|
Disk space that service is currently using
|
|
@@ -1152,7 +1157,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1152
1157
|
|
|
1153
1158
|
@property
|
|
1154
1159
|
@pulumi.getter(name="projectVpcId")
|
|
1155
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1160
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1156
1161
|
"""
|
|
1157
1162
|
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.
|
|
1158
1163
|
"""
|
|
@@ -1168,7 +1173,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1168
1173
|
|
|
1169
1174
|
@property
|
|
1170
1175
|
@pulumi.getter(name="serviceIntegrations")
|
|
1171
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1176
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.MySqlServiceIntegration']]:
|
|
1172
1177
|
"""
|
|
1173
1178
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1174
1179
|
"""
|
pulumi_aiven/open_search.py
CHANGED
|
@@ -357,6 +357,9 @@ class _OpenSearchState:
|
|
|
357
357
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
358
358
|
if disk_space_step is not None:
|
|
359
359
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
360
|
+
if disk_space_used is not None:
|
|
361
|
+
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)
|
|
362
|
+
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.""")
|
|
360
363
|
if disk_space_used is not None:
|
|
361
364
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
362
365
|
if maintenance_window_dow is not None:
|
|
@@ -487,6 +490,7 @@ class _OpenSearchState:
|
|
|
487
490
|
|
|
488
491
|
@property
|
|
489
492
|
@pulumi.getter(name="diskSpaceUsed")
|
|
493
|
+
@_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.""")
|
|
490
494
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
491
495
|
"""
|
|
492
496
|
Disk space that service is currently using
|
|
@@ -1098,6 +1102,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1098
1102
|
|
|
1099
1103
|
@property
|
|
1100
1104
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1105
|
+
@_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.""")
|
|
1101
1106
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1102
1107
|
"""
|
|
1103
1108
|
Disk space that service is currently using
|
|
@@ -1154,7 +1159,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1154
1159
|
|
|
1155
1160
|
@property
|
|
1156
1161
|
@pulumi.getter(name="projectVpcId")
|
|
1157
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1162
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1158
1163
|
"""
|
|
1159
1164
|
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.
|
|
1160
1165
|
"""
|
|
@@ -1170,7 +1175,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1170
1175
|
|
|
1171
1176
|
@property
|
|
1172
1177
|
@pulumi.getter(name="serviceIntegrations")
|
|
1173
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1178
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.OpenSearchServiceIntegration']]:
|
|
1174
1179
|
"""
|
|
1175
1180
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1176
1181
|
"""
|
|
@@ -24,7 +24,7 @@ class OrganizationGroupProjectArgs:
|
|
|
24
24
|
The set of arguments for constructing a OrganizationGroupProject resource.
|
|
25
25
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
26
26
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
27
|
-
: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` and `
|
|
27
|
+
: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` and `project:permissions:read`.
|
|
28
28
|
"""
|
|
29
29
|
pulumi.set(__self__, "group_id", group_id)
|
|
30
30
|
pulumi.set(__self__, "project", project)
|
|
@@ -60,7 +60,7 @@ class OrganizationGroupProjectArgs:
|
|
|
60
60
|
@pulumi.getter
|
|
61
61
|
def role(self) -> pulumi.Input[str]:
|
|
62
62
|
"""
|
|
63
|
-
[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` and `
|
|
63
|
+
[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` and `project:permissions:read`.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "role")
|
|
66
66
|
|
|
@@ -89,7 +89,7 @@ class _OrganizationGroupProjectState:
|
|
|
89
89
|
Input properties used for looking up and filtering OrganizationGroupProject resources.
|
|
90
90
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
91
91
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
92
|
-
: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` and `
|
|
92
|
+
: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` and `project:permissions:read`.
|
|
93
93
|
"""
|
|
94
94
|
if group_id is not None:
|
|
95
95
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -128,7 +128,7 @@ class _OrganizationGroupProjectState:
|
|
|
128
128
|
@pulumi.getter
|
|
129
129
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
130
130
|
"""
|
|
131
|
-
[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` and `
|
|
131
|
+
[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` and `project:permissions:read`.
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "role")
|
|
134
134
|
|
|
@@ -192,7 +192,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
192
192
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
193
193
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
194
194
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
195
|
-
: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` and `
|
|
195
|
+
: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` and `project:permissions:read`.
|
|
196
196
|
"""
|
|
197
197
|
...
|
|
198
198
|
@overload
|
|
@@ -293,7 +293,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
293
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
294
294
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
295
295
|
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
296
|
-
: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` and `
|
|
296
|
+
: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` and `project:permissions:read`.
|
|
297
297
|
"""
|
|
298
298
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
299
299
|
|
|
@@ -325,7 +325,7 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
325
325
|
@pulumi.getter
|
|
326
326
|
def role(self) -> pulumi.Output[str]:
|
|
327
327
|
"""
|
|
328
|
-
[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` and `
|
|
328
|
+
[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` and `project:permissions:read`.
|
|
329
329
|
"""
|
|
330
330
|
return pulumi.get(self, "role")
|
|
331
331
|
|
|
@@ -22,9 +22,9 @@ class OrganizationPermissionArgs:
|
|
|
22
22
|
resource_type: pulumi.Input[str]):
|
|
23
23
|
"""
|
|
24
24
|
The set of arguments for constructing a OrganizationPermission resource.
|
|
25
|
-
:param pulumi.Input[str] organization_id: Organization ID
|
|
26
|
-
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions:
|
|
27
|
-
:param pulumi.Input[str] resource_id: Resource
|
|
25
|
+
:param pulumi.Input[str] organization_id: Organization ID.
|
|
26
|
+
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions: Permissions to grant to principals.
|
|
27
|
+
:param pulumi.Input[str] resource_id: Resource ID.
|
|
28
28
|
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
29
29
|
"""
|
|
30
30
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -36,7 +36,7 @@ class OrganizationPermissionArgs:
|
|
|
36
36
|
@pulumi.getter(name="organizationId")
|
|
37
37
|
def organization_id(self) -> pulumi.Input[str]:
|
|
38
38
|
"""
|
|
39
|
-
Organization ID
|
|
39
|
+
Organization ID.
|
|
40
40
|
"""
|
|
41
41
|
return pulumi.get(self, "organization_id")
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ class OrganizationPermissionArgs:
|
|
|
48
48
|
@pulumi.getter
|
|
49
49
|
def permissions(self) -> pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]]:
|
|
50
50
|
"""
|
|
51
|
-
|
|
51
|
+
Permissions to grant to principals.
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "permissions")
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ class OrganizationPermissionArgs:
|
|
|
60
60
|
@pulumi.getter(name="resourceId")
|
|
61
61
|
def resource_id(self) -> pulumi.Input[str]:
|
|
62
62
|
"""
|
|
63
|
-
Resource
|
|
63
|
+
Resource ID.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "resource_id")
|
|
66
66
|
|
|
@@ -90,9 +90,9 @@ class _OrganizationPermissionState:
|
|
|
90
90
|
resource_type: Optional[pulumi.Input[str]] = None):
|
|
91
91
|
"""
|
|
92
92
|
Input properties used for looking up and filtering OrganizationPermission resources.
|
|
93
|
-
:param pulumi.Input[str] organization_id: Organization ID
|
|
94
|
-
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions:
|
|
95
|
-
:param pulumi.Input[str] resource_id: Resource
|
|
93
|
+
:param pulumi.Input[str] organization_id: Organization ID.
|
|
94
|
+
:param pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]] permissions: Permissions to grant to principals.
|
|
95
|
+
:param pulumi.Input[str] resource_id: Resource ID.
|
|
96
96
|
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
97
97
|
"""
|
|
98
98
|
if organization_id is not None:
|
|
@@ -108,7 +108,7 @@ class _OrganizationPermissionState:
|
|
|
108
108
|
@pulumi.getter(name="organizationId")
|
|
109
109
|
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
110
110
|
"""
|
|
111
|
-
Organization ID
|
|
111
|
+
Organization ID.
|
|
112
112
|
"""
|
|
113
113
|
return pulumi.get(self, "organization_id")
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ class _OrganizationPermissionState:
|
|
|
120
120
|
@pulumi.getter
|
|
121
121
|
def permissions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationPermissionPermissionArgs']]]]:
|
|
122
122
|
"""
|
|
123
|
-
|
|
123
|
+
Permissions to grant to principals.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "permissions")
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ class _OrganizationPermissionState:
|
|
|
132
132
|
@pulumi.getter(name="resourceId")
|
|
133
133
|
def resource_id(self) -> Optional[pulumi.Input[str]]:
|
|
134
134
|
"""
|
|
135
|
-
Resource
|
|
135
|
+
Resource ID.
|
|
136
136
|
"""
|
|
137
137
|
return pulumi.get(self, "resource_id")
|
|
138
138
|
|
|
@@ -169,11 +169,45 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
169
169
|
**This resource is in the beta stage and may change without notice.** Set
|
|
170
170
|
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
171
171
|
|
|
172
|
+
## Example Usage
|
|
173
|
+
|
|
174
|
+
```python
|
|
175
|
+
import pulumi
|
|
176
|
+
import pulumi_aiven as aiven
|
|
177
|
+
|
|
178
|
+
# Grant permission to a user
|
|
179
|
+
operator = aiven.OrganizationPermission("operator",
|
|
180
|
+
organization_id=main["id"],
|
|
181
|
+
resource_id=example_project["id"],
|
|
182
|
+
resource_type="project",
|
|
183
|
+
permissions=[{
|
|
184
|
+
"permissions": ["operator"],
|
|
185
|
+
"principal_id": "u123a456b7890c",
|
|
186
|
+
"principal_type": "user",
|
|
187
|
+
}])
|
|
188
|
+
# Grant permission to a group
|
|
189
|
+
developers = aiven.OrganizationPermission("developers",
|
|
190
|
+
organization_id=main["id"],
|
|
191
|
+
resource_id=example_project["id"],
|
|
192
|
+
resource_type="project",
|
|
193
|
+
permissions=[{
|
|
194
|
+
"permissions": ["developer"],
|
|
195
|
+
"principal_id": example_group["groupId"],
|
|
196
|
+
"principal_type": "user_group",
|
|
197
|
+
}])
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Import
|
|
201
|
+
|
|
202
|
+
```sh
|
|
203
|
+
$ pulumi import aiven:index/organizationPermission:OrganizationPermission operator ORGANIZATION_ID/ID
|
|
204
|
+
```
|
|
205
|
+
|
|
172
206
|
:param str resource_name: The name of the resource.
|
|
173
207
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
-
:param pulumi.Input[str] organization_id: Organization ID
|
|
175
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions:
|
|
176
|
-
:param pulumi.Input[str] resource_id: Resource
|
|
208
|
+
:param pulumi.Input[str] organization_id: Organization ID.
|
|
209
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions: Permissions to grant to principals.
|
|
210
|
+
:param pulumi.Input[str] resource_id: Resource ID.
|
|
177
211
|
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
178
212
|
"""
|
|
179
213
|
...
|
|
@@ -188,6 +222,40 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
188
222
|
**This resource is in the beta stage and may change without notice.** Set
|
|
189
223
|
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
190
224
|
|
|
225
|
+
## Example Usage
|
|
226
|
+
|
|
227
|
+
```python
|
|
228
|
+
import pulumi
|
|
229
|
+
import pulumi_aiven as aiven
|
|
230
|
+
|
|
231
|
+
# Grant permission to a user
|
|
232
|
+
operator = aiven.OrganizationPermission("operator",
|
|
233
|
+
organization_id=main["id"],
|
|
234
|
+
resource_id=example_project["id"],
|
|
235
|
+
resource_type="project",
|
|
236
|
+
permissions=[{
|
|
237
|
+
"permissions": ["operator"],
|
|
238
|
+
"principal_id": "u123a456b7890c",
|
|
239
|
+
"principal_type": "user",
|
|
240
|
+
}])
|
|
241
|
+
# Grant permission to a group
|
|
242
|
+
developers = aiven.OrganizationPermission("developers",
|
|
243
|
+
organization_id=main["id"],
|
|
244
|
+
resource_id=example_project["id"],
|
|
245
|
+
resource_type="project",
|
|
246
|
+
permissions=[{
|
|
247
|
+
"permissions": ["developer"],
|
|
248
|
+
"principal_id": example_group["groupId"],
|
|
249
|
+
"principal_type": "user_group",
|
|
250
|
+
}])
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
## Import
|
|
254
|
+
|
|
255
|
+
```sh
|
|
256
|
+
$ pulumi import aiven:index/organizationPermission:OrganizationPermission operator ORGANIZATION_ID/ID
|
|
257
|
+
```
|
|
258
|
+
|
|
191
259
|
:param str resource_name: The name of the resource.
|
|
192
260
|
:param OrganizationPermissionArgs args: The arguments to use to populate this resource's properties.
|
|
193
261
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -249,9 +317,9 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
249
317
|
:param str resource_name: The unique name of the resulting resource.
|
|
250
318
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
251
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
252
|
-
:param pulumi.Input[str] organization_id: Organization ID
|
|
253
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions:
|
|
254
|
-
:param pulumi.Input[str] resource_id: Resource
|
|
320
|
+
:param pulumi.Input[str] organization_id: Organization ID.
|
|
321
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationPermissionPermissionArgs', 'OrganizationPermissionPermissionArgsDict']]]] permissions: Permissions to grant to principals.
|
|
322
|
+
:param pulumi.Input[str] resource_id: Resource ID.
|
|
255
323
|
:param pulumi.Input[str] resource_type: Resource type. The possible values are `project`.
|
|
256
324
|
"""
|
|
257
325
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -268,7 +336,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
268
336
|
@pulumi.getter(name="organizationId")
|
|
269
337
|
def organization_id(self) -> pulumi.Output[str]:
|
|
270
338
|
"""
|
|
271
|
-
Organization ID
|
|
339
|
+
Organization ID.
|
|
272
340
|
"""
|
|
273
341
|
return pulumi.get(self, "organization_id")
|
|
274
342
|
|
|
@@ -276,7 +344,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
276
344
|
@pulumi.getter
|
|
277
345
|
def permissions(self) -> pulumi.Output[Sequence['outputs.OrganizationPermissionPermission']]:
|
|
278
346
|
"""
|
|
279
|
-
|
|
347
|
+
Permissions to grant to principals.
|
|
280
348
|
"""
|
|
281
349
|
return pulumi.get(self, "permissions")
|
|
282
350
|
|
|
@@ -284,7 +352,7 @@ class OrganizationPermission(pulumi.CustomResource):
|
|
|
284
352
|
@pulumi.getter(name="resourceId")
|
|
285
353
|
def resource_id(self) -> pulumi.Output[str]:
|
|
286
354
|
"""
|
|
287
|
-
Resource
|
|
355
|
+
Resource ID.
|
|
288
356
|
"""
|
|
289
357
|
return pulumi.get(self, "resource_id")
|
|
290
358
|
|