pulumi-aiven 6.14.0a1713330923__py3-none-any.whl → 6.14.0a1713897878__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.

Files changed (118) hide show
  1. pulumi_aiven/_inputs.py +100 -100
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_team.py +6 -6
  4. pulumi_aiven/account_team_member.py +4 -8
  5. pulumi_aiven/account_team_project.py +12 -12
  6. pulumi_aiven/aws_privatelink.py +4 -8
  7. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  8. pulumi_aiven/azure_privatelink.py +4 -8
  9. pulumi_aiven/azure_privatelink_connection_approval.py +98 -0
  10. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  11. pulumi_aiven/billing_group.py +2 -4
  12. pulumi_aiven/cassandra.py +13 -17
  13. pulumi_aiven/cassandra_user.py +2 -6
  14. pulumi_aiven/clickhouse.py +13 -17
  15. pulumi_aiven/clickhouse_database.py +8 -10
  16. pulumi_aiven/clickhouse_grant.py +21 -23
  17. pulumi_aiven/clickhouse_role.py +0 -4
  18. pulumi_aiven/clickhouse_user.py +4 -8
  19. pulumi_aiven/connection_pool.py +8 -12
  20. pulumi_aiven/flink.py +16 -20
  21. pulumi_aiven/flink_application.py +6 -8
  22. pulumi_aiven/flink_application_version.py +82 -0
  23. pulumi_aiven/gcp_vpc_peering_connection.py +2 -6
  24. pulumi_aiven/get_account.py +0 -4
  25. pulumi_aiven/get_aws_privatelink.py +4 -8
  26. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  27. pulumi_aiven/get_azure_privatelink.py +4 -8
  28. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  29. pulumi_aiven/get_cassanda.py +2 -6
  30. pulumi_aiven/get_cassandra.py +2 -6
  31. pulumi_aiven/get_cassandra_user.py +4 -8
  32. pulumi_aiven/get_clickhouse.py +2 -6
  33. pulumi_aiven/get_clickhouse_database.py +4 -8
  34. pulumi_aiven/get_clickhouse_user.py +4 -8
  35. pulumi_aiven/get_connection_pool.py +4 -8
  36. pulumi_aiven/get_flink.py +2 -6
  37. pulumi_aiven/get_flink_application.py +2 -6
  38. pulumi_aiven/get_flink_application_version.py +2 -6
  39. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  40. pulumi_aiven/get_grafana.py +2 -6
  41. pulumi_aiven/get_kafka.py +2 -6
  42. pulumi_aiven/get_kafka_acl.py +4 -8
  43. pulumi_aiven/get_kafka_connect.py +2 -6
  44. pulumi_aiven/get_kafka_connector.py +4 -8
  45. pulumi_aiven/get_kafka_mirror_maker.py +2 -6
  46. pulumi_aiven/get_kafka_schema.py +4 -8
  47. pulumi_aiven/get_kafka_schema_configuration.py +4 -8
  48. pulumi_aiven/get_kafka_topic.py +4 -8
  49. pulumi_aiven/get_kafka_user.py +4 -8
  50. pulumi_aiven/get_m3_aggregator.py +2 -6
  51. pulumi_aiven/get_m3_db.py +2 -6
  52. pulumi_aiven/get_m3db_user.py +4 -8
  53. pulumi_aiven/get_mirror_maker_replication_flow.py +8 -12
  54. pulumi_aiven/get_my_sql.py +2 -6
  55. pulumi_aiven/get_mysql_database.py +4 -8
  56. pulumi_aiven/get_mysql_user.py +4 -8
  57. pulumi_aiven/get_open_search.py +2 -6
  58. pulumi_aiven/get_open_search_acl_config.py +4 -8
  59. pulumi_aiven/get_open_search_acl_rule.py +4 -8
  60. pulumi_aiven/get_opensearch_security_plugin_config.py +4 -8
  61. pulumi_aiven/get_opensearch_user.py +4 -8
  62. pulumi_aiven/get_organization.py +0 -4
  63. pulumi_aiven/get_organization_user_group.py +2 -6
  64. pulumi_aiven/get_pg.py +2 -6
  65. pulumi_aiven/get_pg_database.py +4 -8
  66. pulumi_aiven/get_pg_user.py +4 -8
  67. pulumi_aiven/get_project.py +0 -4
  68. pulumi_aiven/get_project_user.py +2 -6
  69. pulumi_aiven/get_project_vpc.py +2 -6
  70. pulumi_aiven/get_redis.py +2 -6
  71. pulumi_aiven/get_redis_user.py +4 -8
  72. pulumi_aiven/get_service_component.py +4 -8
  73. pulumi_aiven/get_service_integration.py +2 -6
  74. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  75. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  76. pulumi_aiven/grafana.py +4 -6
  77. pulumi_aiven/kafka.py +13 -17
  78. pulumi_aiven/kafka_acl.py +4 -8
  79. pulumi_aiven/kafka_connect.py +2 -6
  80. pulumi_aiven/kafka_connector.py +12 -16
  81. pulumi_aiven/kafka_mirror_maker.py +2 -6
  82. pulumi_aiven/kafka_schema.py +4 -8
  83. pulumi_aiven/kafka_schema_configuration.py +4 -8
  84. pulumi_aiven/kafka_topic.py +38 -0
  85. pulumi_aiven/kafka_user.py +2 -6
  86. pulumi_aiven/m3_aggregator.py +2 -6
  87. pulumi_aiven/m3_db.py +2 -6
  88. pulumi_aiven/m3db_user.py +2 -6
  89. pulumi_aiven/mirror_maker_replication_flow.py +8 -12
  90. pulumi_aiven/my_sql.py +2 -6
  91. pulumi_aiven/mysql_database.py +4 -8
  92. pulumi_aiven/mysql_user.py +2 -6
  93. pulumi_aiven/open_search.py +13 -17
  94. pulumi_aiven/open_search_acl_config.py +12 -16
  95. pulumi_aiven/open_search_acl_rule.py +20 -24
  96. pulumi_aiven/opensearch_security_plugin_config.py +12 -16
  97. pulumi_aiven/opensearch_user.py +2 -6
  98. pulumi_aiven/organization.py +2 -6
  99. pulumi_aiven/organization_group_project.py +32 -0
  100. pulumi_aiven/organization_user_group.py +4 -6
  101. pulumi_aiven/organization_user_group_member.py +8 -10
  102. pulumi_aiven/organizational_unit.py +6 -6
  103. pulumi_aiven/outputs.py +100 -100
  104. pulumi_aiven/pg.py +14 -14
  105. pulumi_aiven/pg_database.py +4 -8
  106. pulumi_aiven/pg_user.py +2 -6
  107. pulumi_aiven/project.py +4 -8
  108. pulumi_aiven/project_user.py +2 -6
  109. pulumi_aiven/project_vpc.py +24 -0
  110. pulumi_aiven/redis.py +2 -6
  111. pulumi_aiven/redis_user.py +2 -6
  112. pulumi_aiven/service_integration.py +8 -12
  113. pulumi_aiven/transit_gateway_vpc_attachment.py +2 -6
  114. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/METADATA +1 -1
  115. pulumi_aiven-6.14.0a1713897878.dist-info/RECORD +150 -0
  116. pulumi_aiven-6.14.0a1713330923.dist-info/RECORD +0 -150
  117. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/WHEEL +0 -0
  118. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/top_level.txt +0 -0
@@ -137,16 +137,14 @@ def get_kafka_user(project: Optional[str] = None,
137
137
 
138
138
  ## Example Usage
139
139
 
140
- <!--Start PulumiCodeChooser -->
141
140
  ```python
142
141
  import pulumi
143
142
  import pulumi_aiven as aiven
144
143
 
145
- user = aiven.get_kafka_user(project="my-project",
146
- service_name="my-service",
144
+ user = aiven.get_kafka_user(service_name="my-service",
145
+ project="my-project",
147
146
  username="user1")
148
147
  ```
149
- <!--End PulumiCodeChooser -->
150
148
 
151
149
 
152
150
  :param str project: Identifies 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.
@@ -181,16 +179,14 @@ def get_kafka_user_output(project: Optional[pulumi.Input[str]] = None,
181
179
 
182
180
  ## Example Usage
183
181
 
184
- <!--Start PulumiCodeChooser -->
185
182
  ```python
186
183
  import pulumi
187
184
  import pulumi_aiven as aiven
188
185
 
189
- user = aiven.get_kafka_user(project="my-project",
190
- service_name="my-service",
186
+ user = aiven.get_kafka_user(service_name="my-service",
187
+ project="my-project",
191
188
  username="user1")
192
189
  ```
193
- <!--End PulumiCodeChooser -->
194
190
 
195
191
 
196
192
  :param str project: Identifies 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.
@@ -389,15 +389,13 @@ def get_m3_aggregator(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- m3a = aiven.get_m3_aggregator(project=data["aiven_project"]["foo"]["project"],
396
+ m3a = aiven.get_m3_aggregator(project=foo["project"],
398
397
  service_name="my-m3a")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param str project: Identifies 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.
@@ -450,15 +448,13 @@ def get_m3_aggregator_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- m3a = aiven.get_m3_aggregator(project=data["aiven_project"]["foo"]["project"],
455
+ m3a = aiven.get_m3_aggregator(project=foo["project"],
459
456
  service_name="my-m3a")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param str project: Identifies 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.
pulumi_aiven/get_m3_db.py CHANGED
@@ -389,15 +389,13 @@ def get_m3_db(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- m3 = aiven.get_m3_db(project=data["aiven_project"]["foo"]["project"],
396
+ m3 = aiven.get_m3_db(project=foo["project"],
398
397
  service_name="my-m3db")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param str project: Identifies 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.
@@ -450,15 +448,13 @@ def get_m3_db_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- m3 = aiven.get_m3_db(project=data["aiven_project"]["foo"]["project"],
455
+ m3 = aiven.get_m3_db(project=foo["project"],
459
456
  service_name="my-m3db")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param str project: Identifies 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.
@@ -113,16 +113,14 @@ def get_m3db_user(project: Optional[str] = None,
113
113
 
114
114
  ## Example Usage
115
115
 
116
- <!--Start PulumiCodeChooser -->
117
116
  ```python
118
117
  import pulumi
119
118
  import pulumi_aiven as aiven
120
119
 
121
- user = aiven.get_m3db_user(project="my-project",
122
- service_name="my-service",
120
+ user = aiven.get_m3db_user(service_name="my-service",
121
+ project="my-project",
123
122
  username="user1")
124
123
  ```
125
- <!--End PulumiCodeChooser -->
126
124
 
127
125
 
128
126
  :param str project: Identifies 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.
@@ -155,16 +153,14 @@ def get_m3db_user_output(project: Optional[pulumi.Input[str]] = None,
155
153
 
156
154
  ## Example Usage
157
155
 
158
- <!--Start PulumiCodeChooser -->
159
156
  ```python
160
157
  import pulumi
161
158
  import pulumi_aiven as aiven
162
159
 
163
- user = aiven.get_m3db_user(project="my-project",
164
- service_name="my-service",
160
+ user = aiven.get_m3db_user(service_name="my-service",
161
+ project="my-project",
165
162
  username="user1")
166
163
  ```
167
- <!--End PulumiCodeChooser -->
168
164
 
169
165
 
170
166
  :param str project: Identifies 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.
@@ -210,17 +210,15 @@ def get_mirror_maker_replication_flow(project: Optional[str] = None,
210
210
 
211
211
  ## Example Usage
212
212
 
213
- <!--Start PulumiCodeChooser -->
214
213
  ```python
215
214
  import pulumi
216
215
  import pulumi_aiven as aiven
217
216
 
218
- f1 = aiven.get_mirror_maker_replication_flow(project=aiven_project["kafka-mm-project1"]["project"],
219
- service_name=aiven_kafka["mm"]["service_name"],
220
- source_cluster=aiven_kafka["source"]["service_name"],
221
- target_cluster=aiven_kafka["target"]["service_name"])
217
+ f1 = aiven.get_mirror_maker_replication_flow(project=kafka_mm_project1["project"],
218
+ service_name=mm["serviceName"],
219
+ source_cluster=source["serviceName"],
220
+ target_cluster=target["serviceName"])
222
221
  ```
223
- <!--End PulumiCodeChooser -->
224
222
 
225
223
 
226
224
  :param str project: Identifies 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.
@@ -264,17 +262,15 @@ def get_mirror_maker_replication_flow_output(project: Optional[pulumi.Input[str]
264
262
 
265
263
  ## Example Usage
266
264
 
267
- <!--Start PulumiCodeChooser -->
268
265
  ```python
269
266
  import pulumi
270
267
  import pulumi_aiven as aiven
271
268
 
272
- f1 = aiven.get_mirror_maker_replication_flow(project=aiven_project["kafka-mm-project1"]["project"],
273
- service_name=aiven_kafka["mm"]["service_name"],
274
- source_cluster=aiven_kafka["source"]["service_name"],
275
- target_cluster=aiven_kafka["target"]["service_name"])
269
+ f1 = aiven.get_mirror_maker_replication_flow(project=kafka_mm_project1["project"],
270
+ service_name=mm["serviceName"],
271
+ source_cluster=source["serviceName"],
272
+ target_cluster=target["serviceName"])
276
273
  ```
277
- <!--End PulumiCodeChooser -->
278
274
 
279
275
 
280
276
  :param str project: Identifies 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.
@@ -389,15 +389,13 @@ def get_my_sql(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- mysql1 = aiven.get_my_sql(project=data["aiven_project"]["foo"]["project"],
396
+ mysql1 = aiven.get_my_sql(project=foo["project"],
398
397
  service_name="my-mysql1")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param str project: Identifies 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.
@@ -450,15 +448,13 @@ def get_my_sql_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- mysql1 = aiven.get_my_sql(project=data["aiven_project"]["foo"]["project"],
455
+ mysql1 = aiven.get_my_sql(project=foo["project"],
459
456
  service_name="my-mysql1")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param str project: Identifies 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.
@@ -98,16 +98,14 @@ def get_mysql_database(database_name: Optional[str] = None,
98
98
 
99
99
  ## Example Usage
100
100
 
101
- <!--Start PulumiCodeChooser -->
102
101
  ```python
103
102
  import pulumi
104
103
  import pulumi_aiven as aiven
105
104
 
106
- mydatabase = aiven.get_mysql_database(project=aiven_project["myproject"]["project"],
107
- service_name=aiven_mysql["mymysql"]["service_name"],
105
+ mydatabase = aiven.get_mysql_database(project=myproject["project"],
106
+ service_name=mymysql["serviceName"],
108
107
  database_name="<DATABASE_NAME>")
109
108
  ```
110
- <!--End PulumiCodeChooser -->
111
109
 
112
110
 
113
111
  :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
@@ -139,16 +137,14 @@ def get_mysql_database_output(database_name: Optional[pulumi.Input[str]] = None,
139
137
 
140
138
  ## Example Usage
141
139
 
142
- <!--Start PulumiCodeChooser -->
143
140
  ```python
144
141
  import pulumi
145
142
  import pulumi_aiven as aiven
146
143
 
147
- mydatabase = aiven.get_mysql_database(project=aiven_project["myproject"]["project"],
148
- service_name=aiven_mysql["mymysql"]["service_name"],
144
+ mydatabase = aiven.get_mysql_database(project=myproject["project"],
145
+ service_name=mymysql["serviceName"],
149
146
  database_name="<DATABASE_NAME>")
150
147
  ```
151
- <!--End PulumiCodeChooser -->
152
148
 
153
149
 
154
150
  :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
@@ -149,16 +149,14 @@ def get_mysql_user(project: Optional[str] = None,
149
149
 
150
150
  ## Example Usage
151
151
 
152
- <!--Start PulumiCodeChooser -->
153
152
  ```python
154
153
  import pulumi
155
154
  import pulumi_aiven as aiven
156
155
 
157
- user = aiven.get_mysql_user(project="my-project",
158
- service_name="my-service",
156
+ user = aiven.get_mysql_user(service_name="my-service",
157
+ project="my-project",
159
158
  username="user1")
160
159
  ```
161
- <!--End PulumiCodeChooser -->
162
160
 
163
161
 
164
162
  :param str project: Identifies 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.
@@ -194,16 +192,14 @@ def get_mysql_user_output(project: Optional[pulumi.Input[str]] = None,
194
192
 
195
193
  ## Example Usage
196
194
 
197
- <!--Start PulumiCodeChooser -->
198
195
  ```python
199
196
  import pulumi
200
197
  import pulumi_aiven as aiven
201
198
 
202
- user = aiven.get_mysql_user(project="my-project",
203
- service_name="my-service",
199
+ user = aiven.get_mysql_user(service_name="my-service",
200
+ project="my-project",
204
201
  username="user1")
205
202
  ```
206
- <!--End PulumiCodeChooser -->
207
203
 
208
204
 
209
205
  :param str project: Identifies 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.
@@ -389,15 +389,13 @@ def get_open_search(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- os1 = aiven.get_open_search(project=data["aiven_project"]["pr1"]["project"],
396
+ os1 = aiven.get_open_search(project=pr1["project"],
398
397
  service_name="my-os1")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param str project: Identifies 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.
@@ -450,15 +448,13 @@ def get_open_search_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- os1 = aiven.get_open_search(project=data["aiven_project"]["pr1"]["project"],
455
+ os1 = aiven.get_open_search(project=pr1["project"],
459
456
  service_name="my-os1")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param str project: Identifies 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.
@@ -100,15 +100,13 @@ def get_open_search_acl_config(project: Optional[str] = None,
100
100
 
101
101
  ## Example Usage
102
102
 
103
- <!--Start PulumiCodeChooser -->
104
103
  ```python
105
104
  import pulumi
106
105
  import pulumi_aiven as aiven
107
106
 
108
- os_acl_config = aiven.get_open_search_acl_config(project=aiven_project["os-project"]["project"],
109
- service_name=aiven_opensearch["os"]["service_name"])
107
+ os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
108
+ service_name=os["serviceName"])
110
109
  ```
111
- <!--End PulumiCodeChooser -->
112
110
 
113
111
 
114
112
  :param str project: Identifies 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.
@@ -137,15 +135,13 @@ def get_open_search_acl_config_output(project: Optional[pulumi.Input[str]] = Non
137
135
 
138
136
  ## Example Usage
139
137
 
140
- <!--Start PulumiCodeChooser -->
141
138
  ```python
142
139
  import pulumi
143
140
  import pulumi_aiven as aiven
144
141
 
145
- os_acl_config = aiven.get_open_search_acl_config(project=aiven_project["os-project"]["project"],
146
- service_name=aiven_opensearch["os"]["service_name"])
142
+ os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
143
+ service_name=os["serviceName"])
147
144
  ```
148
- <!--End PulumiCodeChooser -->
149
145
 
150
146
 
151
147
  :param str project: Identifies 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.
@@ -115,17 +115,15 @@ def get_open_search_acl_rule(index: Optional[str] = None,
115
115
 
116
116
  ## Example Usage
117
117
 
118
- <!--Start PulumiCodeChooser -->
119
118
  ```python
120
119
  import pulumi
121
120
  import pulumi_aiven as aiven
122
121
 
123
- os_acl_rule = aiven.get_open_search_acl_rule(project=aiven_opensearch_acl_config["os_acls_config"]["project"],
124
- service_name=aiven_opensearch_acl_config["os_acls_config"]["service_name"],
122
+ os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
123
+ service_name=os_acls_config["serviceName"],
125
124
  username="<USERNAME>",
126
125
  index="<INDEX>")
127
126
  ```
128
- <!--End PulumiCodeChooser -->
129
127
 
130
128
 
131
129
  :param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
@@ -164,17 +162,15 @@ def get_open_search_acl_rule_output(index: Optional[pulumi.Input[str]] = None,
164
162
 
165
163
  ## Example Usage
166
164
 
167
- <!--Start PulumiCodeChooser -->
168
165
  ```python
169
166
  import pulumi
170
167
  import pulumi_aiven as aiven
171
168
 
172
- os_acl_rule = aiven.get_open_search_acl_rule(project=aiven_opensearch_acl_config["os_acls_config"]["project"],
173
- service_name=aiven_opensearch_acl_config["os_acls_config"]["service_name"],
169
+ os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
170
+ service_name=os_acls_config["serviceName"],
174
171
  username="<USERNAME>",
175
172
  index="<INDEX>")
176
173
  ```
177
- <!--End PulumiCodeChooser -->
178
174
 
179
175
 
180
176
  :param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
@@ -124,15 +124,13 @@ def get_opensearch_security_plugin_config(project: Optional[str] = None,
124
124
 
125
125
  ## Example Usage
126
126
 
127
- <!--Start PulumiCodeChooser -->
128
127
  ```python
129
128
  import pulumi
130
129
  import pulumi_aiven as aiven
131
130
 
132
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=aiven_project["os-project"]["project"],
133
- service_name=aiven_opensearch["os"]["service_name"])
131
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
132
+ service_name=os["serviceName"])
134
133
  ```
135
- <!--End PulumiCodeChooser -->
136
134
 
137
135
 
138
136
  :param str project: Identifies 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.
@@ -163,15 +161,13 @@ def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[
163
161
 
164
162
  ## Example Usage
165
163
 
166
- <!--Start PulumiCodeChooser -->
167
164
  ```python
168
165
  import pulumi
169
166
  import pulumi_aiven as aiven
170
167
 
171
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=aiven_project["os-project"]["project"],
172
- service_name=aiven_opensearch["os"]["service_name"])
168
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
169
+ service_name=os["serviceName"])
173
170
  ```
174
- <!--End PulumiCodeChooser -->
175
171
 
176
172
 
177
173
  :param str project: Identifies 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.
@@ -113,16 +113,14 @@ def get_opensearch_user(project: Optional[str] = None,
113
113
 
114
114
  ## Example Usage
115
115
 
116
- <!--Start PulumiCodeChooser -->
117
116
  ```python
118
117
  import pulumi
119
118
  import pulumi_aiven as aiven
120
119
 
121
- user = aiven.get_opensearch_user(project="my-project",
122
- service_name="my-service",
120
+ user = aiven.get_opensearch_user(service_name="my-service",
121
+ project="my-project",
123
122
  username="user1")
124
123
  ```
125
- <!--End PulumiCodeChooser -->
126
124
 
127
125
 
128
126
  :param str project: Identifies 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.
@@ -155,16 +153,14 @@ def get_opensearch_user_output(project: Optional[pulumi.Input[str]] = None,
155
153
 
156
154
  ## Example Usage
157
155
 
158
- <!--Start PulumiCodeChooser -->
159
156
  ```python
160
157
  import pulumi
161
158
  import pulumi_aiven as aiven
162
159
 
163
- user = aiven.get_opensearch_user(project="my-project",
164
- service_name="my-service",
160
+ user = aiven.get_opensearch_user(service_name="my-service",
161
+ project="my-project",
165
162
  username="user1")
166
163
  ```
167
- <!--End PulumiCodeChooser -->
168
164
 
169
165
 
170
166
  :param str project: Identifies 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.
@@ -100,14 +100,12 @@ def get_organization(id: Optional[str] = None,
100
100
 
101
101
  ## Example Usage
102
102
 
103
- <!--Start PulumiCodeChooser -->
104
103
  ```python
105
104
  import pulumi
106
105
  import pulumi_aiven as aiven
107
106
 
108
107
  main = aiven.get_organization(name="Example organization")
109
108
  ```
110
- <!--End PulumiCodeChooser -->
111
109
 
112
110
 
113
111
  :param str id: ID of the organization.
@@ -136,14 +134,12 @@ def get_organization_output(id: Optional[pulumi.Input[Optional[str]]] = None,
136
134
 
137
135
  ## Example Usage
138
136
 
139
- <!--Start PulumiCodeChooser -->
140
137
  ```python
141
138
  import pulumi
142
139
  import pulumi_aiven as aiven
143
140
 
144
141
  main = aiven.get_organization(name="Example organization")
145
142
  ```
146
- <!--End PulumiCodeChooser -->
147
143
 
148
144
 
149
145
  :param str id: ID of the organization.
@@ -124,15 +124,13 @@ def get_organization_user_group(name: Optional[str] = None,
124
124
 
125
125
  ## Example Usage
126
126
 
127
- <!--Start PulumiCodeChooser -->
128
127
  ```python
129
128
  import pulumi
130
129
  import pulumi_aiven as aiven
131
130
 
132
131
  example = aiven.get_organization_user_group(name="Example group",
133
- organization_id=aiven_organization["main"]["id"])
132
+ organization_id=main["id"])
134
133
  ```
135
- <!--End PulumiCodeChooser -->
136
134
 
137
135
 
138
136
  :param str name: The name of the user group. Changing this property forces recreation of the resource.
@@ -163,15 +161,13 @@ def get_organization_user_group_output(name: Optional[pulumi.Input[str]] = None,
163
161
 
164
162
  ## Example Usage
165
163
 
166
- <!--Start PulumiCodeChooser -->
167
164
  ```python
168
165
  import pulumi
169
166
  import pulumi_aiven as aiven
170
167
 
171
168
  example = aiven.get_organization_user_group(name="Example group",
172
- organization_id=aiven_organization["main"]["id"])
169
+ organization_id=main["id"])
173
170
  ```
174
- <!--End PulumiCodeChooser -->
175
171
 
176
172
 
177
173
  :param str name: The name of the user group. Changing this property forces recreation of the resource.
pulumi_aiven/get_pg.py CHANGED
@@ -389,15 +389,13 @@ def get_pg(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
396
+ pg = aiven.get_pg(project=pr1["project"],
398
397
  service_name="my-pg1")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param str project: Identifies 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.
@@ -450,15 +448,13 @@ def get_pg_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
455
+ pg = aiven.get_pg(project=pr1["project"],
459
456
  service_name="my-pg1")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param str project: Identifies 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.
@@ -122,16 +122,14 @@ def get_pg_database(database_name: Optional[str] = None,
122
122
 
123
123
  ## Example Usage
124
124
 
125
- <!--Start PulumiCodeChooser -->
126
125
  ```python
127
126
  import pulumi
128
127
  import pulumi_aiven as aiven
129
128
 
130
- mydatabase = aiven.get_pg_database(project=aiven_project["myproject"]["project"],
131
- service_name=aiven_pg["mypg"]["service_name"],
129
+ mydatabase = aiven.get_pg_database(project=myproject["project"],
130
+ service_name=mypg["serviceName"],
132
131
  database_name="<DATABASE_NAME>")
133
132
  ```
134
- <!--End PulumiCodeChooser -->
135
133
 
136
134
 
137
135
  :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
@@ -165,16 +163,14 @@ def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
165
163
 
166
164
  ## Example Usage
167
165
 
168
- <!--Start PulumiCodeChooser -->
169
166
  ```python
170
167
  import pulumi
171
168
  import pulumi_aiven as aiven
172
169
 
173
- mydatabase = aiven.get_pg_database(project=aiven_project["myproject"]["project"],
174
- service_name=aiven_pg["mypg"]["service_name"],
170
+ mydatabase = aiven.get_pg_database(project=myproject["project"],
171
+ service_name=mypg["serviceName"],
175
172
  database_name="<DATABASE_NAME>")
176
173
  ```
177
- <!--End PulumiCodeChooser -->
178
174
 
179
175
 
180
176
  :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
@@ -149,16 +149,14 @@ def get_pg_user(project: Optional[str] = None,
149
149
 
150
150
  ## Example Usage
151
151
 
152
- <!--Start PulumiCodeChooser -->
153
152
  ```python
154
153
  import pulumi
155
154
  import pulumi_aiven as aiven
156
155
 
157
- user = aiven.get_pg_user(project="my-project",
158
- service_name="my-service",
156
+ user = aiven.get_pg_user(service_name="my-service",
157
+ project="my-project",
159
158
  username="user1")
160
159
  ```
161
- <!--End PulumiCodeChooser -->
162
160
 
163
161
 
164
162
  :param str project: Identifies 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.
@@ -194,16 +192,14 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
194
192
 
195
193
  ## Example Usage
196
194
 
197
- <!--Start PulumiCodeChooser -->
198
195
  ```python
199
196
  import pulumi
200
197
  import pulumi_aiven as aiven
201
198
 
202
- user = aiven.get_pg_user(project="my-project",
203
- service_name="my-service",
199
+ user = aiven.get_pg_user(service_name="my-service",
200
+ project="my-project",
204
201
  username="user1")
205
202
  ```
206
- <!--End PulumiCodeChooser -->
207
203
 
208
204
 
209
205
  :param str project: Identifies 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.