pulumi-gcp 7.8.0a1706805960__py3-none-any.whl → 7.8.0a1706829616__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/_utilities.py +6 -2
- pulumi_gcp/alloydb/outputs.py +16 -0
- pulumi_gcp/artifactregistry/outputs.py +204 -0
- pulumi_gcp/assuredworkloads/_inputs.py +34 -0
- pulumi_gcp/assuredworkloads/outputs.py +34 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +20 -0
- pulumi_gcp/beyondcorp/outputs.py +54 -0
- pulumi_gcp/bigquery/_inputs.py +18 -0
- pulumi_gcp/bigquery/outputs.py +172 -0
- pulumi_gcp/bigtable/_inputs.py +4 -0
- pulumi_gcp/bigtable/outputs.py +4 -0
- pulumi_gcp/certificateauthority/outputs.py +378 -0
- pulumi_gcp/certificatemanager/outputs.py +32 -0
- pulumi_gcp/cloudbuild/outputs.py +1009 -3
- pulumi_gcp/cloudbuildv2/_inputs.py +14 -0
- pulumi_gcp/cloudbuildv2/outputs.py +14 -0
- pulumi_gcp/clouddeploy/_inputs.py +36 -0
- pulumi_gcp/clouddeploy/outputs.py +36 -0
- pulumi_gcp/cloudfunctions/_inputs.py +4 -0
- pulumi_gcp/cloudfunctions/outputs.py +54 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +302 -0
- pulumi_gcp/cloudidentity/outputs.py +54 -0
- pulumi_gcp/cloudrun/outputs.py +704 -0
- pulumi_gcp/cloudrunv2/outputs.py +929 -5
- pulumi_gcp/composer/_inputs.py +430 -0
- pulumi_gcp/composer/outputs.py +860 -0
- pulumi_gcp/compute/_inputs.py +924 -0
- pulumi_gcp/compute/outputs.py +4091 -1
- pulumi_gcp/container/_inputs.py +542 -0
- pulumi_gcp/container/outputs.py +2137 -3
- pulumi_gcp/dataplex/_inputs.py +66 -0
- pulumi_gcp/dataplex/outputs.py +66 -0
- pulumi_gcp/dataproc/_inputs.py +174 -0
- pulumi_gcp/dataproc/outputs.py +174 -0
- pulumi_gcp/dns/_inputs.py +34 -0
- pulumi_gcp/dns/outputs.py +34 -0
- pulumi_gcp/filestore/outputs.py +88 -0
- pulumi_gcp/firebaserules/_inputs.py +6 -0
- pulumi_gcp/firebaserules/outputs.py +6 -0
- pulumi_gcp/folder/_inputs.py +4 -0
- pulumi_gcp/folder/iam_audit_config.py +2 -2
- pulumi_gcp/folder/iam_member.py +2 -2
- pulumi_gcp/folder/iam_policy.py +2 -2
- pulumi_gcp/folder/outputs.py +54 -0
- pulumi_gcp/gkehub/_inputs.py +8 -0
- pulumi_gcp/gkehub/outputs.py +8 -0
- pulumi_gcp/iam/outputs.py +92 -0
- pulumi_gcp/kms/outputs.py +16 -0
- pulumi_gcp/logging/_inputs.py +108 -0
- pulumi_gcp/logging/outputs.py +108 -0
- pulumi_gcp/monitoring/outputs.py +14 -0
- pulumi_gcp/networkconnectivity/_inputs.py +6 -0
- pulumi_gcp/networkconnectivity/outputs.py +6 -0
- pulumi_gcp/organizations/_inputs.py +4 -0
- pulumi_gcp/organizations/iam_audit_config.py +2 -2
- pulumi_gcp/organizations/iam_member.py +2 -2
- pulumi_gcp/organizations/iam_policy.py +2 -2
- pulumi_gcp/organizations/outputs.py +4 -0
- pulumi_gcp/projects/_inputs.py +4 -0
- pulumi_gcp/projects/iam_audit_config.py +2 -2
- pulumi_gcp/projects/iam_binding.py +2 -2
- pulumi_gcp/projects/iam_member.py +2 -2
- pulumi_gcp/projects/iam_policy.py +2 -2
- pulumi_gcp/projects/outputs.py +54 -0
- pulumi_gcp/pubsub/outputs.py +282 -0
- pulumi_gcp/redis/outputs.py +204 -0
- pulumi_gcp/secretmanager/outputs.py +88 -0
- pulumi_gcp/sourcerepo/outputs.py +20 -0
- pulumi_gcp/spanner/outputs.py +68 -0
- pulumi_gcp/sql/_inputs.py +50 -0
- pulumi_gcp/sql/outputs.py +904 -0
- pulumi_gcp/storage/outputs.py +188 -0
- pulumi_gcp/vertex/outputs.py +124 -0
- pulumi_gcp/vmwareengine/outputs.py +208 -0
- pulumi_gcp/vpcaccess/outputs.py +4 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/METADATA +2 -1
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/RECORD +79 -79
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.8.0a1706805960.dist-info → pulumi_gcp-7.8.0a1706829616.dist-info}/top_level.txt +0 -0
pulumi_gcp/composer/outputs.py
CHANGED
@@ -135,6 +135,27 @@ class EnvironmentConfig(dict):
|
|
135
135
|
web_server_config: Optional['outputs.EnvironmentConfigWebServerConfig'] = None,
|
136
136
|
web_server_network_access_control: Optional['outputs.EnvironmentConfigWebServerNetworkAccessControl'] = None,
|
137
137
|
workloads_config: Optional['outputs.EnvironmentConfigWorkloadsConfig'] = None):
|
138
|
+
"""
|
139
|
+
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
140
|
+
:param str dag_gcs_prefix: The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
141
|
+
:param 'EnvironmentConfigDatabaseConfigArgs' database_config: The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
142
|
+
:param bool enable_private_builds_only: Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
143
|
+
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
144
|
+
:param 'EnvironmentConfigEncryptionConfigArgs' encryption_config: The encryption options for the Composer environment and its dependencies.
|
145
|
+
:param str environment_size: The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
146
|
+
:param str gke_cluster: The Kubernetes Engine cluster used to run this environment.
|
147
|
+
:param 'EnvironmentConfigMaintenanceWindowArgs' maintenance_window: The configuration for Cloud Composer maintenance window.
|
148
|
+
:param 'EnvironmentConfigMasterAuthorizedNetworksConfigArgs' master_authorized_networks_config: Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
149
|
+
:param 'EnvironmentConfigNodeConfigArgs' node_config: The configuration used for the Kubernetes Engine cluster.
|
150
|
+
:param int node_count: The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
151
|
+
:param 'EnvironmentConfigPrivateEnvironmentConfigArgs' private_environment_config: The configuration used for the Private IP Cloud Composer environment.
|
152
|
+
:param 'EnvironmentConfigRecoveryConfigArgs' recovery_config: The recovery configuration settings for the Cloud Composer environment
|
153
|
+
:param str resilience_mode: Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
154
|
+
:param 'EnvironmentConfigSoftwareConfigArgs' software_config: The configuration settings for software inside the environment.
|
155
|
+
:param 'EnvironmentConfigWebServerConfigArgs' web_server_config: The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
156
|
+
:param 'EnvironmentConfigWebServerNetworkAccessControlArgs' web_server_network_access_control: Network-level access control policy for the Airflow web server.
|
157
|
+
:param 'EnvironmentConfigWorkloadsConfigArgs' workloads_config: The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
158
|
+
"""
|
138
159
|
if airflow_uri is not None:
|
139
160
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
140
161
|
if dag_gcs_prefix is not None:
|
@@ -177,96 +198,153 @@ class EnvironmentConfig(dict):
|
|
177
198
|
@property
|
178
199
|
@pulumi.getter(name="airflowUri")
|
179
200
|
def airflow_uri(self) -> Optional[str]:
|
201
|
+
"""
|
202
|
+
The URI of the Apache Airflow Web UI hosted within this environment.
|
203
|
+
"""
|
180
204
|
return pulumi.get(self, "airflow_uri")
|
181
205
|
|
182
206
|
@property
|
183
207
|
@pulumi.getter(name="dagGcsPrefix")
|
184
208
|
def dag_gcs_prefix(self) -> Optional[str]:
|
209
|
+
"""
|
210
|
+
The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
211
|
+
"""
|
185
212
|
return pulumi.get(self, "dag_gcs_prefix")
|
186
213
|
|
187
214
|
@property
|
188
215
|
@pulumi.getter(name="databaseConfig")
|
189
216
|
def database_config(self) -> Optional['outputs.EnvironmentConfigDatabaseConfig']:
|
217
|
+
"""
|
218
|
+
The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
219
|
+
"""
|
190
220
|
return pulumi.get(self, "database_config")
|
191
221
|
|
192
222
|
@property
|
193
223
|
@pulumi.getter(name="enablePrivateBuildsOnly")
|
194
224
|
def enable_private_builds_only(self) -> Optional[bool]:
|
225
|
+
"""
|
226
|
+
Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
227
|
+
"""
|
195
228
|
return pulumi.get(self, "enable_private_builds_only")
|
196
229
|
|
197
230
|
@property
|
198
231
|
@pulumi.getter(name="enablePrivateEnvironment")
|
199
232
|
def enable_private_environment(self) -> Optional[bool]:
|
233
|
+
"""
|
234
|
+
Optional. If true, a private Composer environment will be created.
|
235
|
+
"""
|
200
236
|
return pulumi.get(self, "enable_private_environment")
|
201
237
|
|
202
238
|
@property
|
203
239
|
@pulumi.getter(name="encryptionConfig")
|
204
240
|
def encryption_config(self) -> Optional['outputs.EnvironmentConfigEncryptionConfig']:
|
241
|
+
"""
|
242
|
+
The encryption options for the Composer environment and its dependencies.
|
243
|
+
"""
|
205
244
|
return pulumi.get(self, "encryption_config")
|
206
245
|
|
207
246
|
@property
|
208
247
|
@pulumi.getter(name="environmentSize")
|
209
248
|
def environment_size(self) -> Optional[str]:
|
249
|
+
"""
|
250
|
+
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
251
|
+
"""
|
210
252
|
return pulumi.get(self, "environment_size")
|
211
253
|
|
212
254
|
@property
|
213
255
|
@pulumi.getter(name="gkeCluster")
|
214
256
|
def gke_cluster(self) -> Optional[str]:
|
257
|
+
"""
|
258
|
+
The Kubernetes Engine cluster used to run this environment.
|
259
|
+
"""
|
215
260
|
return pulumi.get(self, "gke_cluster")
|
216
261
|
|
217
262
|
@property
|
218
263
|
@pulumi.getter(name="maintenanceWindow")
|
219
264
|
def maintenance_window(self) -> Optional['outputs.EnvironmentConfigMaintenanceWindow']:
|
265
|
+
"""
|
266
|
+
The configuration for Cloud Composer maintenance window.
|
267
|
+
"""
|
220
268
|
return pulumi.get(self, "maintenance_window")
|
221
269
|
|
222
270
|
@property
|
223
271
|
@pulumi.getter(name="masterAuthorizedNetworksConfig")
|
224
272
|
def master_authorized_networks_config(self) -> Optional['outputs.EnvironmentConfigMasterAuthorizedNetworksConfig']:
|
273
|
+
"""
|
274
|
+
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
275
|
+
"""
|
225
276
|
return pulumi.get(self, "master_authorized_networks_config")
|
226
277
|
|
227
278
|
@property
|
228
279
|
@pulumi.getter(name="nodeConfig")
|
229
280
|
def node_config(self) -> Optional['outputs.EnvironmentConfigNodeConfig']:
|
281
|
+
"""
|
282
|
+
The configuration used for the Kubernetes Engine cluster.
|
283
|
+
"""
|
230
284
|
return pulumi.get(self, "node_config")
|
231
285
|
|
232
286
|
@property
|
233
287
|
@pulumi.getter(name="nodeCount")
|
234
288
|
def node_count(self) -> Optional[int]:
|
289
|
+
"""
|
290
|
+
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
291
|
+
"""
|
235
292
|
return pulumi.get(self, "node_count")
|
236
293
|
|
237
294
|
@property
|
238
295
|
@pulumi.getter(name="privateEnvironmentConfig")
|
239
296
|
def private_environment_config(self) -> Optional['outputs.EnvironmentConfigPrivateEnvironmentConfig']:
|
297
|
+
"""
|
298
|
+
The configuration used for the Private IP Cloud Composer environment.
|
299
|
+
"""
|
240
300
|
return pulumi.get(self, "private_environment_config")
|
241
301
|
|
242
302
|
@property
|
243
303
|
@pulumi.getter(name="recoveryConfig")
|
244
304
|
def recovery_config(self) -> Optional['outputs.EnvironmentConfigRecoveryConfig']:
|
305
|
+
"""
|
306
|
+
The recovery configuration settings for the Cloud Composer environment
|
307
|
+
"""
|
245
308
|
return pulumi.get(self, "recovery_config")
|
246
309
|
|
247
310
|
@property
|
248
311
|
@pulumi.getter(name="resilienceMode")
|
249
312
|
def resilience_mode(self) -> Optional[str]:
|
313
|
+
"""
|
314
|
+
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
315
|
+
"""
|
250
316
|
return pulumi.get(self, "resilience_mode")
|
251
317
|
|
252
318
|
@property
|
253
319
|
@pulumi.getter(name="softwareConfig")
|
254
320
|
def software_config(self) -> Optional['outputs.EnvironmentConfigSoftwareConfig']:
|
321
|
+
"""
|
322
|
+
The configuration settings for software inside the environment.
|
323
|
+
"""
|
255
324
|
return pulumi.get(self, "software_config")
|
256
325
|
|
257
326
|
@property
|
258
327
|
@pulumi.getter(name="webServerConfig")
|
259
328
|
def web_server_config(self) -> Optional['outputs.EnvironmentConfigWebServerConfig']:
|
329
|
+
"""
|
330
|
+
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
331
|
+
"""
|
260
332
|
return pulumi.get(self, "web_server_config")
|
261
333
|
|
262
334
|
@property
|
263
335
|
@pulumi.getter(name="webServerNetworkAccessControl")
|
264
336
|
def web_server_network_access_control(self) -> Optional['outputs.EnvironmentConfigWebServerNetworkAccessControl']:
|
337
|
+
"""
|
338
|
+
Network-level access control policy for the Airflow web server.
|
339
|
+
"""
|
265
340
|
return pulumi.get(self, "web_server_network_access_control")
|
266
341
|
|
267
342
|
@property
|
268
343
|
@pulumi.getter(name="workloadsConfig")
|
269
344
|
def workloads_config(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfig']:
|
345
|
+
"""
|
346
|
+
The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
347
|
+
"""
|
270
348
|
return pulumi.get(self, "workloads_config")
|
271
349
|
|
272
350
|
|
@@ -292,6 +370,10 @@ class EnvironmentConfigDatabaseConfig(dict):
|
|
292
370
|
def __init__(__self__, *,
|
293
371
|
machine_type: Optional[str] = None,
|
294
372
|
zone: Optional[str] = None):
|
373
|
+
"""
|
374
|
+
:param str machine_type: Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
375
|
+
:param str zone: Optional. Cloud SQL database preferred zone.
|
376
|
+
"""
|
295
377
|
if machine_type is not None:
|
296
378
|
pulumi.set(__self__, "machine_type", machine_type)
|
297
379
|
if zone is not None:
|
@@ -300,11 +382,17 @@ class EnvironmentConfigDatabaseConfig(dict):
|
|
300
382
|
@property
|
301
383
|
@pulumi.getter(name="machineType")
|
302
384
|
def machine_type(self) -> Optional[str]:
|
385
|
+
"""
|
386
|
+
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
387
|
+
"""
|
303
388
|
return pulumi.get(self, "machine_type")
|
304
389
|
|
305
390
|
@property
|
306
391
|
@pulumi.getter
|
307
392
|
def zone(self) -> Optional[str]:
|
393
|
+
"""
|
394
|
+
Optional. Cloud SQL database preferred zone.
|
395
|
+
"""
|
308
396
|
return pulumi.get(self, "zone")
|
309
397
|
|
310
398
|
|
@@ -329,11 +417,17 @@ class EnvironmentConfigEncryptionConfig(dict):
|
|
329
417
|
|
330
418
|
def __init__(__self__, *,
|
331
419
|
kms_key_name: str):
|
420
|
+
"""
|
421
|
+
:param str kms_key_name: Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
422
|
+
"""
|
332
423
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
333
424
|
|
334
425
|
@property
|
335
426
|
@pulumi.getter(name="kmsKeyName")
|
336
427
|
def kms_key_name(self) -> str:
|
428
|
+
"""
|
429
|
+
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
430
|
+
"""
|
337
431
|
return pulumi.get(self, "kms_key_name")
|
338
432
|
|
339
433
|
|
@@ -362,6 +456,11 @@ class EnvironmentConfigMaintenanceWindow(dict):
|
|
362
456
|
end_time: str,
|
363
457
|
recurrence: str,
|
364
458
|
start_time: str):
|
459
|
+
"""
|
460
|
+
:param str end_time: Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
461
|
+
:param str recurrence: Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
462
|
+
:param str start_time: Start time of the first recurrence of the maintenance window.
|
463
|
+
"""
|
365
464
|
pulumi.set(__self__, "end_time", end_time)
|
366
465
|
pulumi.set(__self__, "recurrence", recurrence)
|
367
466
|
pulumi.set(__self__, "start_time", start_time)
|
@@ -369,16 +468,25 @@ class EnvironmentConfigMaintenanceWindow(dict):
|
|
369
468
|
@property
|
370
469
|
@pulumi.getter(name="endTime")
|
371
470
|
def end_time(self) -> str:
|
471
|
+
"""
|
472
|
+
Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
473
|
+
"""
|
372
474
|
return pulumi.get(self, "end_time")
|
373
475
|
|
374
476
|
@property
|
375
477
|
@pulumi.getter
|
376
478
|
def recurrence(self) -> str:
|
479
|
+
"""
|
480
|
+
Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
481
|
+
"""
|
377
482
|
return pulumi.get(self, "recurrence")
|
378
483
|
|
379
484
|
@property
|
380
485
|
@pulumi.getter(name="startTime")
|
381
486
|
def start_time(self) -> str:
|
487
|
+
"""
|
488
|
+
Start time of the first recurrence of the maintenance window.
|
489
|
+
"""
|
382
490
|
return pulumi.get(self, "start_time")
|
383
491
|
|
384
492
|
|
@@ -404,6 +512,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfig(dict):
|
|
404
512
|
def __init__(__self__, *,
|
405
513
|
enabled: bool,
|
406
514
|
cidr_blocks: Optional[Sequence['outputs.EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock']] = None):
|
515
|
+
"""
|
516
|
+
:param bool enabled: Whether or not master authorized networks is enabled.
|
517
|
+
:param Sequence['EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs'] cidr_blocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
518
|
+
"""
|
407
519
|
pulumi.set(__self__, "enabled", enabled)
|
408
520
|
if cidr_blocks is not None:
|
409
521
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
@@ -411,11 +523,17 @@ class EnvironmentConfigMasterAuthorizedNetworksConfig(dict):
|
|
411
523
|
@property
|
412
524
|
@pulumi.getter
|
413
525
|
def enabled(self) -> bool:
|
526
|
+
"""
|
527
|
+
Whether or not master authorized networks is enabled.
|
528
|
+
"""
|
414
529
|
return pulumi.get(self, "enabled")
|
415
530
|
|
416
531
|
@property
|
417
532
|
@pulumi.getter(name="cidrBlocks")
|
418
533
|
def cidr_blocks(self) -> Optional[Sequence['outputs.EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock']]:
|
534
|
+
"""
|
535
|
+
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
536
|
+
"""
|
419
537
|
return pulumi.get(self, "cidr_blocks")
|
420
538
|
|
421
539
|
|
@@ -443,6 +561,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock(dict):
|
|
443
561
|
def __init__(__self__, *,
|
444
562
|
cidr_block: str,
|
445
563
|
display_name: Optional[str] = None):
|
564
|
+
"""
|
565
|
+
:param str cidr_block: cidr_block must be specified in CIDR notation.
|
566
|
+
:param str display_name: display_name is a field for users to identify CIDR blocks.
|
567
|
+
"""
|
446
568
|
pulumi.set(__self__, "cidr_block", cidr_block)
|
447
569
|
if display_name is not None:
|
448
570
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -450,11 +572,17 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock(dict):
|
|
450
572
|
@property
|
451
573
|
@pulumi.getter(name="cidrBlock")
|
452
574
|
def cidr_block(self) -> str:
|
575
|
+
"""
|
576
|
+
cidr_block must be specified in CIDR notation.
|
577
|
+
"""
|
453
578
|
return pulumi.get(self, "cidr_block")
|
454
579
|
|
455
580
|
@property
|
456
581
|
@pulumi.getter(name="displayName")
|
457
582
|
def display_name(self) -> Optional[str]:
|
583
|
+
"""
|
584
|
+
display_name is a field for users to identify CIDR blocks.
|
585
|
+
"""
|
458
586
|
return pulumi.get(self, "display_name")
|
459
587
|
|
460
588
|
|
@@ -504,6 +632,20 @@ class EnvironmentConfigNodeConfig(dict):
|
|
504
632
|
subnetwork: Optional[str] = None,
|
505
633
|
tags: Optional[Sequence[str]] = None,
|
506
634
|
zone: Optional[str] = None):
|
635
|
+
"""
|
636
|
+
:param str composer_internal_ipv4_cidr_block: IPv4 cidr range that will be used by Composer internal components.
|
637
|
+
:param int disk_size_gb: The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
638
|
+
:param bool enable_ip_masq_agent: Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
639
|
+
:param 'EnvironmentConfigNodeConfigIpAllocationPolicyArgs' ip_allocation_policy: Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
640
|
+
:param str machine_type: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
641
|
+
:param int max_pods_per_node: The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
642
|
+
:param str network: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
643
|
+
:param Sequence[str] oauth_scopes: The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
644
|
+
:param str service_account: The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
645
|
+
:param str subnetwork: The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
646
|
+
:param Sequence[str] tags: The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
647
|
+
:param str zone: The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
648
|
+
"""
|
507
649
|
if composer_internal_ipv4_cidr_block is not None:
|
508
650
|
pulumi.set(__self__, "composer_internal_ipv4_cidr_block", composer_internal_ipv4_cidr_block)
|
509
651
|
if disk_size_gb is not None:
|
@@ -532,61 +674,97 @@ class EnvironmentConfigNodeConfig(dict):
|
|
532
674
|
@property
|
533
675
|
@pulumi.getter(name="composerInternalIpv4CidrBlock")
|
534
676
|
def composer_internal_ipv4_cidr_block(self) -> Optional[str]:
|
677
|
+
"""
|
678
|
+
IPv4 cidr range that will be used by Composer internal components.
|
679
|
+
"""
|
535
680
|
return pulumi.get(self, "composer_internal_ipv4_cidr_block")
|
536
681
|
|
537
682
|
@property
|
538
683
|
@pulumi.getter(name="diskSizeGb")
|
539
684
|
def disk_size_gb(self) -> Optional[int]:
|
685
|
+
"""
|
686
|
+
The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
687
|
+
"""
|
540
688
|
return pulumi.get(self, "disk_size_gb")
|
541
689
|
|
542
690
|
@property
|
543
691
|
@pulumi.getter(name="enableIpMasqAgent")
|
544
692
|
def enable_ip_masq_agent(self) -> Optional[bool]:
|
693
|
+
"""
|
694
|
+
Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
695
|
+
"""
|
545
696
|
return pulumi.get(self, "enable_ip_masq_agent")
|
546
697
|
|
547
698
|
@property
|
548
699
|
@pulumi.getter(name="ipAllocationPolicy")
|
549
700
|
def ip_allocation_policy(self) -> Optional['outputs.EnvironmentConfigNodeConfigIpAllocationPolicy']:
|
701
|
+
"""
|
702
|
+
Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
703
|
+
"""
|
550
704
|
return pulumi.get(self, "ip_allocation_policy")
|
551
705
|
|
552
706
|
@property
|
553
707
|
@pulumi.getter(name="machineType")
|
554
708
|
def machine_type(self) -> Optional[str]:
|
709
|
+
"""
|
710
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
711
|
+
"""
|
555
712
|
return pulumi.get(self, "machine_type")
|
556
713
|
|
557
714
|
@property
|
558
715
|
@pulumi.getter(name="maxPodsPerNode")
|
559
716
|
def max_pods_per_node(self) -> Optional[int]:
|
717
|
+
"""
|
718
|
+
The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
719
|
+
"""
|
560
720
|
return pulumi.get(self, "max_pods_per_node")
|
561
721
|
|
562
722
|
@property
|
563
723
|
@pulumi.getter
|
564
724
|
def network(self) -> Optional[str]:
|
725
|
+
"""
|
726
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
727
|
+
"""
|
565
728
|
return pulumi.get(self, "network")
|
566
729
|
|
567
730
|
@property
|
568
731
|
@pulumi.getter(name="oauthScopes")
|
569
732
|
def oauth_scopes(self) -> Optional[Sequence[str]]:
|
733
|
+
"""
|
734
|
+
The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
735
|
+
"""
|
570
736
|
return pulumi.get(self, "oauth_scopes")
|
571
737
|
|
572
738
|
@property
|
573
739
|
@pulumi.getter(name="serviceAccount")
|
574
740
|
def service_account(self) -> Optional[str]:
|
741
|
+
"""
|
742
|
+
The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
743
|
+
"""
|
575
744
|
return pulumi.get(self, "service_account")
|
576
745
|
|
577
746
|
@property
|
578
747
|
@pulumi.getter
|
579
748
|
def subnetwork(self) -> Optional[str]:
|
749
|
+
"""
|
750
|
+
The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
751
|
+
"""
|
580
752
|
return pulumi.get(self, "subnetwork")
|
581
753
|
|
582
754
|
@property
|
583
755
|
@pulumi.getter
|
584
756
|
def tags(self) -> Optional[Sequence[str]]:
|
757
|
+
"""
|
758
|
+
The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
759
|
+
"""
|
585
760
|
return pulumi.get(self, "tags")
|
586
761
|
|
587
762
|
@property
|
588
763
|
@pulumi.getter
|
589
764
|
def zone(self) -> Optional[str]:
|
765
|
+
"""
|
766
|
+
The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
767
|
+
"""
|
590
768
|
return pulumi.get(self, "zone")
|
591
769
|
|
592
770
|
|
@@ -623,6 +801,13 @@ class EnvironmentConfigNodeConfigIpAllocationPolicy(dict):
|
|
623
801
|
services_ipv4_cidr_block: Optional[str] = None,
|
624
802
|
services_secondary_range_name: Optional[str] = None,
|
625
803
|
use_ip_aliases: Optional[bool] = None):
|
804
|
+
"""
|
805
|
+
:param str cluster_ipv4_cidr_block: The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
806
|
+
:param str cluster_secondary_range_name: The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
807
|
+
:param str services_ipv4_cidr_block: The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
808
|
+
:param str services_secondary_range_name: The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
809
|
+
:param bool use_ip_aliases: Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
810
|
+
"""
|
626
811
|
if cluster_ipv4_cidr_block is not None:
|
627
812
|
pulumi.set(__self__, "cluster_ipv4_cidr_block", cluster_ipv4_cidr_block)
|
628
813
|
if cluster_secondary_range_name is not None:
|
@@ -637,26 +822,41 @@ class EnvironmentConfigNodeConfigIpAllocationPolicy(dict):
|
|
637
822
|
@property
|
638
823
|
@pulumi.getter(name="clusterIpv4CidrBlock")
|
639
824
|
def cluster_ipv4_cidr_block(self) -> Optional[str]:
|
825
|
+
"""
|
826
|
+
The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
827
|
+
"""
|
640
828
|
return pulumi.get(self, "cluster_ipv4_cidr_block")
|
641
829
|
|
642
830
|
@property
|
643
831
|
@pulumi.getter(name="clusterSecondaryRangeName")
|
644
832
|
def cluster_secondary_range_name(self) -> Optional[str]:
|
833
|
+
"""
|
834
|
+
The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
835
|
+
"""
|
645
836
|
return pulumi.get(self, "cluster_secondary_range_name")
|
646
837
|
|
647
838
|
@property
|
648
839
|
@pulumi.getter(name="servicesIpv4CidrBlock")
|
649
840
|
def services_ipv4_cidr_block(self) -> Optional[str]:
|
841
|
+
"""
|
842
|
+
The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
843
|
+
"""
|
650
844
|
return pulumi.get(self, "services_ipv4_cidr_block")
|
651
845
|
|
652
846
|
@property
|
653
847
|
@pulumi.getter(name="servicesSecondaryRangeName")
|
654
848
|
def services_secondary_range_name(self) -> Optional[str]:
|
849
|
+
"""
|
850
|
+
The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
851
|
+
"""
|
655
852
|
return pulumi.get(self, "services_secondary_range_name")
|
656
853
|
|
657
854
|
@property
|
658
855
|
@pulumi.getter(name="useIpAliases")
|
659
856
|
def use_ip_aliases(self) -> Optional[bool]:
|
857
|
+
"""
|
858
|
+
Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
859
|
+
"""
|
660
860
|
return pulumi.get(self, "use_ip_aliases")
|
661
861
|
|
662
862
|
|
@@ -702,6 +902,16 @@ class EnvironmentConfigPrivateEnvironmentConfig(dict):
|
|
702
902
|
enable_privately_used_public_ips: Optional[bool] = None,
|
703
903
|
master_ipv4_cidr_block: Optional[str] = None,
|
704
904
|
web_server_ipv4_cidr_block: Optional[str] = None):
|
905
|
+
"""
|
906
|
+
:param str cloud_composer_connection_subnetwork: When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
907
|
+
:param str cloud_composer_network_ipv4_cidr_block: The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
908
|
+
:param str cloud_sql_ipv4_cidr_block: The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
909
|
+
:param str connection_type: Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
910
|
+
:param bool enable_private_endpoint: If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
911
|
+
:param bool enable_privately_used_public_ips: When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
912
|
+
:param str master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
913
|
+
:param str web_server_ipv4_cidr_block: The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
914
|
+
"""
|
705
915
|
if cloud_composer_connection_subnetwork is not None:
|
706
916
|
pulumi.set(__self__, "cloud_composer_connection_subnetwork", cloud_composer_connection_subnetwork)
|
707
917
|
if cloud_composer_network_ipv4_cidr_block is not None:
|
@@ -722,41 +932,65 @@ class EnvironmentConfigPrivateEnvironmentConfig(dict):
|
|
722
932
|
@property
|
723
933
|
@pulumi.getter(name="cloudComposerConnectionSubnetwork")
|
724
934
|
def cloud_composer_connection_subnetwork(self) -> Optional[str]:
|
935
|
+
"""
|
936
|
+
When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
937
|
+
"""
|
725
938
|
return pulumi.get(self, "cloud_composer_connection_subnetwork")
|
726
939
|
|
727
940
|
@property
|
728
941
|
@pulumi.getter(name="cloudComposerNetworkIpv4CidrBlock")
|
729
942
|
def cloud_composer_network_ipv4_cidr_block(self) -> Optional[str]:
|
943
|
+
"""
|
944
|
+
The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
945
|
+
"""
|
730
946
|
return pulumi.get(self, "cloud_composer_network_ipv4_cidr_block")
|
731
947
|
|
732
948
|
@property
|
733
949
|
@pulumi.getter(name="cloudSqlIpv4CidrBlock")
|
734
950
|
def cloud_sql_ipv4_cidr_block(self) -> Optional[str]:
|
951
|
+
"""
|
952
|
+
The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
953
|
+
"""
|
735
954
|
return pulumi.get(self, "cloud_sql_ipv4_cidr_block")
|
736
955
|
|
737
956
|
@property
|
738
957
|
@pulumi.getter(name="connectionType")
|
739
958
|
def connection_type(self) -> Optional[str]:
|
959
|
+
"""
|
960
|
+
Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
961
|
+
"""
|
740
962
|
return pulumi.get(self, "connection_type")
|
741
963
|
|
742
964
|
@property
|
743
965
|
@pulumi.getter(name="enablePrivateEndpoint")
|
744
966
|
def enable_private_endpoint(self) -> Optional[bool]:
|
967
|
+
"""
|
968
|
+
If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
969
|
+
"""
|
745
970
|
return pulumi.get(self, "enable_private_endpoint")
|
746
971
|
|
747
972
|
@property
|
748
973
|
@pulumi.getter(name="enablePrivatelyUsedPublicIps")
|
749
974
|
def enable_privately_used_public_ips(self) -> Optional[bool]:
|
975
|
+
"""
|
976
|
+
When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
977
|
+
"""
|
750
978
|
return pulumi.get(self, "enable_privately_used_public_ips")
|
751
979
|
|
752
980
|
@property
|
753
981
|
@pulumi.getter(name="masterIpv4CidrBlock")
|
754
982
|
def master_ipv4_cidr_block(self) -> Optional[str]:
|
983
|
+
"""
|
984
|
+
The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
985
|
+
"""
|
755
986
|
return pulumi.get(self, "master_ipv4_cidr_block")
|
756
987
|
|
757
988
|
@property
|
758
989
|
@pulumi.getter(name="webServerIpv4CidrBlock")
|
759
990
|
def web_server_ipv4_cidr_block(self) -> Optional[str]:
|
991
|
+
"""
|
992
|
+
The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
993
|
+
"""
|
760
994
|
return pulumi.get(self, "web_server_ipv4_cidr_block")
|
761
995
|
|
762
996
|
|
@@ -781,12 +1015,18 @@ class EnvironmentConfigRecoveryConfig(dict):
|
|
781
1015
|
|
782
1016
|
def __init__(__self__, *,
|
783
1017
|
scheduled_snapshots_config: Optional['outputs.EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig'] = None):
|
1018
|
+
"""
|
1019
|
+
:param 'EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs' scheduled_snapshots_config: The configuration settings for scheduled snapshots.
|
1020
|
+
"""
|
784
1021
|
if scheduled_snapshots_config is not None:
|
785
1022
|
pulumi.set(__self__, "scheduled_snapshots_config", scheduled_snapshots_config)
|
786
1023
|
|
787
1024
|
@property
|
788
1025
|
@pulumi.getter(name="scheduledSnapshotsConfig")
|
789
1026
|
def scheduled_snapshots_config(self) -> Optional['outputs.EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig']:
|
1027
|
+
"""
|
1028
|
+
The configuration settings for scheduled snapshots.
|
1029
|
+
"""
|
790
1030
|
return pulumi.get(self, "scheduled_snapshots_config")
|
791
1031
|
|
792
1032
|
|
@@ -818,6 +1058,12 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig(dict):
|
|
818
1058
|
snapshot_creation_schedule: Optional[str] = None,
|
819
1059
|
snapshot_location: Optional[str] = None,
|
820
1060
|
time_zone: Optional[str] = None):
|
1061
|
+
"""
|
1062
|
+
:param bool enabled: When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
1063
|
+
:param str snapshot_creation_schedule: Snapshot schedule, in the unix-cron format.
|
1064
|
+
:param str snapshot_location: the URI of a bucket folder where to save the snapshot.
|
1065
|
+
:param str time_zone: A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
1066
|
+
"""
|
821
1067
|
pulumi.set(__self__, "enabled", enabled)
|
822
1068
|
if snapshot_creation_schedule is not None:
|
823
1069
|
pulumi.set(__self__, "snapshot_creation_schedule", snapshot_creation_schedule)
|
@@ -829,21 +1075,33 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfig(dict):
|
|
829
1075
|
@property
|
830
1076
|
@pulumi.getter
|
831
1077
|
def enabled(self) -> bool:
|
1078
|
+
"""
|
1079
|
+
When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
1080
|
+
"""
|
832
1081
|
return pulumi.get(self, "enabled")
|
833
1082
|
|
834
1083
|
@property
|
835
1084
|
@pulumi.getter(name="snapshotCreationSchedule")
|
836
1085
|
def snapshot_creation_schedule(self) -> Optional[str]:
|
1086
|
+
"""
|
1087
|
+
Snapshot schedule, in the unix-cron format.
|
1088
|
+
"""
|
837
1089
|
return pulumi.get(self, "snapshot_creation_schedule")
|
838
1090
|
|
839
1091
|
@property
|
840
1092
|
@pulumi.getter(name="snapshotLocation")
|
841
1093
|
def snapshot_location(self) -> Optional[str]:
|
1094
|
+
"""
|
1095
|
+
the URI of a bucket folder where to save the snapshot.
|
1096
|
+
"""
|
842
1097
|
return pulumi.get(self, "snapshot_location")
|
843
1098
|
|
844
1099
|
@property
|
845
1100
|
@pulumi.getter(name="timeZone")
|
846
1101
|
def time_zone(self) -> Optional[str]:
|
1102
|
+
"""
|
1103
|
+
A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
1104
|
+
"""
|
847
1105
|
return pulumi.get(self, "time_zone")
|
848
1106
|
|
849
1107
|
|
@@ -889,6 +1147,16 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
889
1147
|
python_version: Optional[str] = None,
|
890
1148
|
scheduler_count: Optional[int] = None,
|
891
1149
|
web_server_plugins_mode: Optional[str] = None):
|
1150
|
+
"""
|
1151
|
+
:param Mapping[str, str] airflow_config_overrides: Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
1152
|
+
:param 'EnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs' cloud_data_lineage_integration: The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
1153
|
+
:param Mapping[str, str] env_variables: Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
1154
|
+
:param str image_version: The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
1155
|
+
:param Mapping[str, str] pypi_packages: Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
1156
|
+
:param str python_version: The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
1157
|
+
:param int scheduler_count: The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1158
|
+
:param str web_server_plugins_mode: Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1159
|
+
"""
|
892
1160
|
if airflow_config_overrides is not None:
|
893
1161
|
pulumi.set(__self__, "airflow_config_overrides", airflow_config_overrides)
|
894
1162
|
if cloud_data_lineage_integration is not None:
|
@@ -909,41 +1177,65 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
909
1177
|
@property
|
910
1178
|
@pulumi.getter(name="airflowConfigOverrides")
|
911
1179
|
def airflow_config_overrides(self) -> Optional[Mapping[str, str]]:
|
1180
|
+
"""
|
1181
|
+
Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
1182
|
+
"""
|
912
1183
|
return pulumi.get(self, "airflow_config_overrides")
|
913
1184
|
|
914
1185
|
@property
|
915
1186
|
@pulumi.getter(name="cloudDataLineageIntegration")
|
916
1187
|
def cloud_data_lineage_integration(self) -> Optional['outputs.EnvironmentConfigSoftwareConfigCloudDataLineageIntegration']:
|
1188
|
+
"""
|
1189
|
+
The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
1190
|
+
"""
|
917
1191
|
return pulumi.get(self, "cloud_data_lineage_integration")
|
918
1192
|
|
919
1193
|
@property
|
920
1194
|
@pulumi.getter(name="envVariables")
|
921
1195
|
def env_variables(self) -> Optional[Mapping[str, str]]:
|
1196
|
+
"""
|
1197
|
+
Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
1198
|
+
"""
|
922
1199
|
return pulumi.get(self, "env_variables")
|
923
1200
|
|
924
1201
|
@property
|
925
1202
|
@pulumi.getter(name="imageVersion")
|
926
1203
|
def image_version(self) -> Optional[str]:
|
1204
|
+
"""
|
1205
|
+
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
1206
|
+
"""
|
927
1207
|
return pulumi.get(self, "image_version")
|
928
1208
|
|
929
1209
|
@property
|
930
1210
|
@pulumi.getter(name="pypiPackages")
|
931
1211
|
def pypi_packages(self) -> Optional[Mapping[str, str]]:
|
1212
|
+
"""
|
1213
|
+
Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
1214
|
+
"""
|
932
1215
|
return pulumi.get(self, "pypi_packages")
|
933
1216
|
|
934
1217
|
@property
|
935
1218
|
@pulumi.getter(name="pythonVersion")
|
936
1219
|
def python_version(self) -> Optional[str]:
|
1220
|
+
"""
|
1221
|
+
The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
1222
|
+
"""
|
937
1223
|
return pulumi.get(self, "python_version")
|
938
1224
|
|
939
1225
|
@property
|
940
1226
|
@pulumi.getter(name="schedulerCount")
|
941
1227
|
def scheduler_count(self) -> Optional[int]:
|
1228
|
+
"""
|
1229
|
+
The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1230
|
+
"""
|
942
1231
|
return pulumi.get(self, "scheduler_count")
|
943
1232
|
|
944
1233
|
@property
|
945
1234
|
@pulumi.getter(name="webServerPluginsMode")
|
946
1235
|
def web_server_plugins_mode(self) -> Optional[str]:
|
1236
|
+
"""
|
1237
|
+
Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1238
|
+
"""
|
947
1239
|
return pulumi.get(self, "web_server_plugins_mode")
|
948
1240
|
|
949
1241
|
|
@@ -951,11 +1243,17 @@ class EnvironmentConfigSoftwareConfig(dict):
|
|
951
1243
|
class EnvironmentConfigSoftwareConfigCloudDataLineageIntegration(dict):
|
952
1244
|
def __init__(__self__, *,
|
953
1245
|
enabled: bool):
|
1246
|
+
"""
|
1247
|
+
:param bool enabled: Whether or not Cloud Data Lineage integration is enabled.
|
1248
|
+
"""
|
954
1249
|
pulumi.set(__self__, "enabled", enabled)
|
955
1250
|
|
956
1251
|
@property
|
957
1252
|
@pulumi.getter
|
958
1253
|
def enabled(self) -> bool:
|
1254
|
+
"""
|
1255
|
+
Whether or not Cloud Data Lineage integration is enabled.
|
1256
|
+
"""
|
959
1257
|
return pulumi.get(self, "enabled")
|
960
1258
|
|
961
1259
|
|
@@ -980,11 +1278,17 @@ class EnvironmentConfigWebServerConfig(dict):
|
|
980
1278
|
|
981
1279
|
def __init__(__self__, *,
|
982
1280
|
machine_type: str):
|
1281
|
+
"""
|
1282
|
+
:param str machine_type: Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
1283
|
+
"""
|
983
1284
|
pulumi.set(__self__, "machine_type", machine_type)
|
984
1285
|
|
985
1286
|
@property
|
986
1287
|
@pulumi.getter(name="machineType")
|
987
1288
|
def machine_type(self) -> str:
|
1289
|
+
"""
|
1290
|
+
Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
1291
|
+
"""
|
988
1292
|
return pulumi.get(self, "machine_type")
|
989
1293
|
|
990
1294
|
|
@@ -1009,12 +1313,18 @@ class EnvironmentConfigWebServerNetworkAccessControl(dict):
|
|
1009
1313
|
|
1010
1314
|
def __init__(__self__, *,
|
1011
1315
|
allowed_ip_ranges: Optional[Sequence['outputs.EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange']] = None):
|
1316
|
+
"""
|
1317
|
+
:param Sequence['EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs'] allowed_ip_ranges: A collection of allowed IP ranges with descriptions.
|
1318
|
+
"""
|
1012
1319
|
if allowed_ip_ranges is not None:
|
1013
1320
|
pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
|
1014
1321
|
|
1015
1322
|
@property
|
1016
1323
|
@pulumi.getter(name="allowedIpRanges")
|
1017
1324
|
def allowed_ip_ranges(self) -> Optional[Sequence['outputs.EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange']]:
|
1325
|
+
"""
|
1326
|
+
A collection of allowed IP ranges with descriptions.
|
1327
|
+
"""
|
1018
1328
|
return pulumi.get(self, "allowed_ip_ranges")
|
1019
1329
|
|
1020
1330
|
|
@@ -1023,6 +1333,10 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange(dict):
|
|
1023
1333
|
def __init__(__self__, *,
|
1024
1334
|
value: str,
|
1025
1335
|
description: Optional[str] = None):
|
1336
|
+
"""
|
1337
|
+
:param str value: IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
1338
|
+
:param str description: A description of this ip range.
|
1339
|
+
"""
|
1026
1340
|
pulumi.set(__self__, "value", value)
|
1027
1341
|
if description is not None:
|
1028
1342
|
pulumi.set(__self__, "description", description)
|
@@ -1030,11 +1344,17 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRange(dict):
|
|
1030
1344
|
@property
|
1031
1345
|
@pulumi.getter
|
1032
1346
|
def value(self) -> str:
|
1347
|
+
"""
|
1348
|
+
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
1349
|
+
"""
|
1033
1350
|
return pulumi.get(self, "value")
|
1034
1351
|
|
1035
1352
|
@property
|
1036
1353
|
@pulumi.getter
|
1037
1354
|
def description(self) -> Optional[str]:
|
1355
|
+
"""
|
1356
|
+
A description of this ip range.
|
1357
|
+
"""
|
1038
1358
|
return pulumi.get(self, "description")
|
1039
1359
|
|
1040
1360
|
|
@@ -1065,6 +1385,13 @@ class EnvironmentConfigWorkloadsConfig(dict):
|
|
1065
1385
|
triggerer: Optional['outputs.EnvironmentConfigWorkloadsConfigTriggerer'] = None,
|
1066
1386
|
web_server: Optional['outputs.EnvironmentConfigWorkloadsConfigWebServer'] = None,
|
1067
1387
|
worker: Optional['outputs.EnvironmentConfigWorkloadsConfigWorker'] = None):
|
1388
|
+
"""
|
1389
|
+
:param 'EnvironmentConfigWorkloadsConfigDagProcessorArgs' dag_processor: Configuration for resources used by DAG processor.
|
1390
|
+
:param 'EnvironmentConfigWorkloadsConfigSchedulerArgs' scheduler: Configuration for resources used by Airflow schedulers.
|
1391
|
+
:param 'EnvironmentConfigWorkloadsConfigTriggererArgs' triggerer: Configuration for resources used by Airflow triggerers.
|
1392
|
+
:param 'EnvironmentConfigWorkloadsConfigWebServerArgs' web_server: Configuration for resources used by Airflow web server.
|
1393
|
+
:param 'EnvironmentConfigWorkloadsConfigWorkerArgs' worker: Configuration for resources used by Airflow workers.
|
1394
|
+
"""
|
1068
1395
|
if dag_processor is not None:
|
1069
1396
|
pulumi.set(__self__, "dag_processor", dag_processor)
|
1070
1397
|
if scheduler is not None:
|
@@ -1079,26 +1406,41 @@ class EnvironmentConfigWorkloadsConfig(dict):
|
|
1079
1406
|
@property
|
1080
1407
|
@pulumi.getter(name="dagProcessor")
|
1081
1408
|
def dag_processor(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigDagProcessor']:
|
1409
|
+
"""
|
1410
|
+
Configuration for resources used by DAG processor.
|
1411
|
+
"""
|
1082
1412
|
return pulumi.get(self, "dag_processor")
|
1083
1413
|
|
1084
1414
|
@property
|
1085
1415
|
@pulumi.getter
|
1086
1416
|
def scheduler(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigScheduler']:
|
1417
|
+
"""
|
1418
|
+
Configuration for resources used by Airflow schedulers.
|
1419
|
+
"""
|
1087
1420
|
return pulumi.get(self, "scheduler")
|
1088
1421
|
|
1089
1422
|
@property
|
1090
1423
|
@pulumi.getter
|
1091
1424
|
def triggerer(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigTriggerer']:
|
1425
|
+
"""
|
1426
|
+
Configuration for resources used by Airflow triggerers.
|
1427
|
+
"""
|
1092
1428
|
return pulumi.get(self, "triggerer")
|
1093
1429
|
|
1094
1430
|
@property
|
1095
1431
|
@pulumi.getter(name="webServer")
|
1096
1432
|
def web_server(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigWebServer']:
|
1433
|
+
"""
|
1434
|
+
Configuration for resources used by Airflow web server.
|
1435
|
+
"""
|
1097
1436
|
return pulumi.get(self, "web_server")
|
1098
1437
|
|
1099
1438
|
@property
|
1100
1439
|
@pulumi.getter
|
1101
1440
|
def worker(self) -> Optional['outputs.EnvironmentConfigWorkloadsConfigWorker']:
|
1441
|
+
"""
|
1442
|
+
Configuration for resources used by Airflow workers.
|
1443
|
+
"""
|
1102
1444
|
return pulumi.get(self, "worker")
|
1103
1445
|
|
1104
1446
|
|
@@ -1127,6 +1469,11 @@ class EnvironmentConfigWorkloadsConfigDagProcessor(dict):
|
|
1127
1469
|
cpu: Optional[float] = None,
|
1128
1470
|
memory_gb: Optional[float] = None,
|
1129
1471
|
storage_gb: Optional[float] = None):
|
1472
|
+
"""
|
1473
|
+
:param float cpu: CPU request and limit for DAG processor.
|
1474
|
+
:param float memory_gb: Memory (GB) request and limit for DAG processor.
|
1475
|
+
:param float storage_gb: Storage (GB) request and limit for DAG processor.
|
1476
|
+
"""
|
1130
1477
|
if cpu is not None:
|
1131
1478
|
pulumi.set(__self__, "cpu", cpu)
|
1132
1479
|
if memory_gb is not None:
|
@@ -1137,16 +1484,25 @@ class EnvironmentConfigWorkloadsConfigDagProcessor(dict):
|
|
1137
1484
|
@property
|
1138
1485
|
@pulumi.getter
|
1139
1486
|
def cpu(self) -> Optional[float]:
|
1487
|
+
"""
|
1488
|
+
CPU request and limit for DAG processor.
|
1489
|
+
"""
|
1140
1490
|
return pulumi.get(self, "cpu")
|
1141
1491
|
|
1142
1492
|
@property
|
1143
1493
|
@pulumi.getter(name="memoryGb")
|
1144
1494
|
def memory_gb(self) -> Optional[float]:
|
1495
|
+
"""
|
1496
|
+
Memory (GB) request and limit for DAG processor.
|
1497
|
+
"""
|
1145
1498
|
return pulumi.get(self, "memory_gb")
|
1146
1499
|
|
1147
1500
|
@property
|
1148
1501
|
@pulumi.getter(name="storageGb")
|
1149
1502
|
def storage_gb(self) -> Optional[float]:
|
1503
|
+
"""
|
1504
|
+
Storage (GB) request and limit for DAG processor.
|
1505
|
+
"""
|
1150
1506
|
return pulumi.get(self, "storage_gb")
|
1151
1507
|
|
1152
1508
|
|
@@ -1176,6 +1532,12 @@ class EnvironmentConfigWorkloadsConfigScheduler(dict):
|
|
1176
1532
|
cpu: Optional[float] = None,
|
1177
1533
|
memory_gb: Optional[float] = None,
|
1178
1534
|
storage_gb: Optional[float] = None):
|
1535
|
+
"""
|
1536
|
+
:param int count: The number of schedulers.
|
1537
|
+
:param float cpu: CPU request and limit for a single Airflow scheduler replica
|
1538
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow scheduler replica.
|
1539
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow scheduler replica.
|
1540
|
+
"""
|
1179
1541
|
if count is not None:
|
1180
1542
|
pulumi.set(__self__, "count", count)
|
1181
1543
|
if cpu is not None:
|
@@ -1188,21 +1550,33 @@ class EnvironmentConfigWorkloadsConfigScheduler(dict):
|
|
1188
1550
|
@property
|
1189
1551
|
@pulumi.getter
|
1190
1552
|
def count(self) -> Optional[int]:
|
1553
|
+
"""
|
1554
|
+
The number of schedulers.
|
1555
|
+
"""
|
1191
1556
|
return pulumi.get(self, "count")
|
1192
1557
|
|
1193
1558
|
@property
|
1194
1559
|
@pulumi.getter
|
1195
1560
|
def cpu(self) -> Optional[float]:
|
1561
|
+
"""
|
1562
|
+
CPU request and limit for a single Airflow scheduler replica
|
1563
|
+
"""
|
1196
1564
|
return pulumi.get(self, "cpu")
|
1197
1565
|
|
1198
1566
|
@property
|
1199
1567
|
@pulumi.getter(name="memoryGb")
|
1200
1568
|
def memory_gb(self) -> Optional[float]:
|
1569
|
+
"""
|
1570
|
+
Memory (GB) request and limit for a single Airflow scheduler replica.
|
1571
|
+
"""
|
1201
1572
|
return pulumi.get(self, "memory_gb")
|
1202
1573
|
|
1203
1574
|
@property
|
1204
1575
|
@pulumi.getter(name="storageGb")
|
1205
1576
|
def storage_gb(self) -> Optional[float]:
|
1577
|
+
"""
|
1578
|
+
Storage (GB) request and limit for a single Airflow scheduler replica.
|
1579
|
+
"""
|
1206
1580
|
return pulumi.get(self, "storage_gb")
|
1207
1581
|
|
1208
1582
|
|
@@ -1229,6 +1603,11 @@ class EnvironmentConfigWorkloadsConfigTriggerer(dict):
|
|
1229
1603
|
count: int,
|
1230
1604
|
cpu: float,
|
1231
1605
|
memory_gb: float):
|
1606
|
+
"""
|
1607
|
+
:param int count: The number of triggerers.
|
1608
|
+
:param float cpu: CPU request and limit for a single Airflow triggerer replica.
|
1609
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow triggerer replica.
|
1610
|
+
"""
|
1232
1611
|
pulumi.set(__self__, "count", count)
|
1233
1612
|
pulumi.set(__self__, "cpu", cpu)
|
1234
1613
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -1236,16 +1615,25 @@ class EnvironmentConfigWorkloadsConfigTriggerer(dict):
|
|
1236
1615
|
@property
|
1237
1616
|
@pulumi.getter
|
1238
1617
|
def count(self) -> int:
|
1618
|
+
"""
|
1619
|
+
The number of triggerers.
|
1620
|
+
"""
|
1239
1621
|
return pulumi.get(self, "count")
|
1240
1622
|
|
1241
1623
|
@property
|
1242
1624
|
@pulumi.getter
|
1243
1625
|
def cpu(self) -> float:
|
1626
|
+
"""
|
1627
|
+
CPU request and limit for a single Airflow triggerer replica.
|
1628
|
+
"""
|
1244
1629
|
return pulumi.get(self, "cpu")
|
1245
1630
|
|
1246
1631
|
@property
|
1247
1632
|
@pulumi.getter(name="memoryGb")
|
1248
1633
|
def memory_gb(self) -> float:
|
1634
|
+
"""
|
1635
|
+
Memory (GB) request and limit for a single Airflow triggerer replica.
|
1636
|
+
"""
|
1249
1637
|
return pulumi.get(self, "memory_gb")
|
1250
1638
|
|
1251
1639
|
|
@@ -1274,6 +1662,11 @@ class EnvironmentConfigWorkloadsConfigWebServer(dict):
|
|
1274
1662
|
cpu: Optional[float] = None,
|
1275
1663
|
memory_gb: Optional[float] = None,
|
1276
1664
|
storage_gb: Optional[float] = None):
|
1665
|
+
"""
|
1666
|
+
:param float cpu: CPU request and limit for Airflow web server.
|
1667
|
+
:param float memory_gb: Memory (GB) request and limit for Airflow web server.
|
1668
|
+
:param float storage_gb: Storage (GB) request and limit for Airflow web server.
|
1669
|
+
"""
|
1277
1670
|
if cpu is not None:
|
1278
1671
|
pulumi.set(__self__, "cpu", cpu)
|
1279
1672
|
if memory_gb is not None:
|
@@ -1284,16 +1677,25 @@ class EnvironmentConfigWorkloadsConfigWebServer(dict):
|
|
1284
1677
|
@property
|
1285
1678
|
@pulumi.getter
|
1286
1679
|
def cpu(self) -> Optional[float]:
|
1680
|
+
"""
|
1681
|
+
CPU request and limit for Airflow web server.
|
1682
|
+
"""
|
1287
1683
|
return pulumi.get(self, "cpu")
|
1288
1684
|
|
1289
1685
|
@property
|
1290
1686
|
@pulumi.getter(name="memoryGb")
|
1291
1687
|
def memory_gb(self) -> Optional[float]:
|
1688
|
+
"""
|
1689
|
+
Memory (GB) request and limit for Airflow web server.
|
1690
|
+
"""
|
1292
1691
|
return pulumi.get(self, "memory_gb")
|
1293
1692
|
|
1294
1693
|
@property
|
1295
1694
|
@pulumi.getter(name="storageGb")
|
1296
1695
|
def storage_gb(self) -> Optional[float]:
|
1696
|
+
"""
|
1697
|
+
Storage (GB) request and limit for Airflow web server.
|
1698
|
+
"""
|
1297
1699
|
return pulumi.get(self, "storage_gb")
|
1298
1700
|
|
1299
1701
|
|
@@ -1328,6 +1730,13 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1328
1730
|
memory_gb: Optional[float] = None,
|
1329
1731
|
min_count: Optional[int] = None,
|
1330
1732
|
storage_gb: Optional[float] = None):
|
1733
|
+
"""
|
1734
|
+
:param float cpu: CPU request and limit for a single Airflow worker replica.
|
1735
|
+
:param int max_count: Maximum number of workers for autoscaling.
|
1736
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow worker replica.
|
1737
|
+
:param int min_count: Minimum number of workers for autoscaling.
|
1738
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow worker replica.
|
1739
|
+
"""
|
1331
1740
|
if cpu is not None:
|
1332
1741
|
pulumi.set(__self__, "cpu", cpu)
|
1333
1742
|
if max_count is not None:
|
@@ -1342,26 +1751,41 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1342
1751
|
@property
|
1343
1752
|
@pulumi.getter
|
1344
1753
|
def cpu(self) -> Optional[float]:
|
1754
|
+
"""
|
1755
|
+
CPU request and limit for a single Airflow worker replica.
|
1756
|
+
"""
|
1345
1757
|
return pulumi.get(self, "cpu")
|
1346
1758
|
|
1347
1759
|
@property
|
1348
1760
|
@pulumi.getter(name="maxCount")
|
1349
1761
|
def max_count(self) -> Optional[int]:
|
1762
|
+
"""
|
1763
|
+
Maximum number of workers for autoscaling.
|
1764
|
+
"""
|
1350
1765
|
return pulumi.get(self, "max_count")
|
1351
1766
|
|
1352
1767
|
@property
|
1353
1768
|
@pulumi.getter(name="memoryGb")
|
1354
1769
|
def memory_gb(self) -> Optional[float]:
|
1770
|
+
"""
|
1771
|
+
Memory (GB) request and limit for a single Airflow worker replica.
|
1772
|
+
"""
|
1355
1773
|
return pulumi.get(self, "memory_gb")
|
1356
1774
|
|
1357
1775
|
@property
|
1358
1776
|
@pulumi.getter(name="minCount")
|
1359
1777
|
def min_count(self) -> Optional[int]:
|
1778
|
+
"""
|
1779
|
+
Minimum number of workers for autoscaling.
|
1780
|
+
"""
|
1360
1781
|
return pulumi.get(self, "min_count")
|
1361
1782
|
|
1362
1783
|
@property
|
1363
1784
|
@pulumi.getter(name="storageGb")
|
1364
1785
|
def storage_gb(self) -> Optional[float]:
|
1786
|
+
"""
|
1787
|
+
Storage (GB) request and limit for a single Airflow worker replica.
|
1788
|
+
"""
|
1365
1789
|
return pulumi.get(self, "storage_gb")
|
1366
1790
|
|
1367
1791
|
|
@@ -1369,11 +1793,17 @@ class EnvironmentConfigWorkloadsConfigWorker(dict):
|
|
1369
1793
|
class EnvironmentStorageConfig(dict):
|
1370
1794
|
def __init__(__self__, *,
|
1371
1795
|
bucket: str):
|
1796
|
+
"""
|
1797
|
+
:param str bucket: Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1798
|
+
"""
|
1372
1799
|
pulumi.set(__self__, "bucket", bucket)
|
1373
1800
|
|
1374
1801
|
@property
|
1375
1802
|
@pulumi.getter
|
1376
1803
|
def bucket(self) -> str:
|
1804
|
+
"""
|
1805
|
+
Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1806
|
+
"""
|
1377
1807
|
return pulumi.get(self, "bucket")
|
1378
1808
|
|
1379
1809
|
|
@@ -1399,6 +1829,27 @@ class GetEnvironmentConfigResult(dict):
|
|
1399
1829
|
web_server_configs: Sequence['outputs.GetEnvironmentConfigWebServerConfigResult'],
|
1400
1830
|
web_server_network_access_controls: Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlResult'],
|
1401
1831
|
workloads_configs: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigResult']):
|
1832
|
+
"""
|
1833
|
+
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
1834
|
+
:param str dag_gcs_prefix: The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
1835
|
+
:param Sequence['GetEnvironmentConfigDatabaseConfigArgs'] database_configs: The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1836
|
+
:param bool enable_private_builds_only: Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
1837
|
+
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
1838
|
+
:param Sequence['GetEnvironmentConfigEncryptionConfigArgs'] encryption_configs: The encryption options for the Composer environment and its dependencies.
|
1839
|
+
:param str environment_size: The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1840
|
+
:param str gke_cluster: The Kubernetes Engine cluster used to run this environment.
|
1841
|
+
:param Sequence['GetEnvironmentConfigMaintenanceWindowArgs'] maintenance_windows: The configuration for Cloud Composer maintenance window.
|
1842
|
+
:param Sequence['GetEnvironmentConfigMasterAuthorizedNetworksConfigArgs'] master_authorized_networks_configs: Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
1843
|
+
:param Sequence['GetEnvironmentConfigNodeConfigArgs'] node_configs: The configuration used for the Kubernetes Engine cluster.
|
1844
|
+
:param int node_count: The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1845
|
+
:param Sequence['GetEnvironmentConfigPrivateEnvironmentConfigArgs'] private_environment_configs: The configuration used for the Private IP Cloud Composer environment.
|
1846
|
+
:param Sequence['GetEnvironmentConfigRecoveryConfigArgs'] recovery_configs: The recovery configuration settings for the Cloud Composer environment
|
1847
|
+
:param str resilience_mode: Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
1848
|
+
:param Sequence['GetEnvironmentConfigSoftwareConfigArgs'] software_configs: The configuration settings for software inside the environment.
|
1849
|
+
:param Sequence['GetEnvironmentConfigWebServerConfigArgs'] web_server_configs: The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1850
|
+
:param Sequence['GetEnvironmentConfigWebServerNetworkAccessControlArgs'] web_server_network_access_controls: Network-level access control policy for the Airflow web server.
|
1851
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigArgs'] workloads_configs: The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1852
|
+
"""
|
1402
1853
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
1403
1854
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
1404
1855
|
pulumi.set(__self__, "database_configs", database_configs)
|
@@ -1422,96 +1873,153 @@ class GetEnvironmentConfigResult(dict):
|
|
1422
1873
|
@property
|
1423
1874
|
@pulumi.getter(name="airflowUri")
|
1424
1875
|
def airflow_uri(self) -> str:
|
1876
|
+
"""
|
1877
|
+
The URI of the Apache Airflow Web UI hosted within this environment.
|
1878
|
+
"""
|
1425
1879
|
return pulumi.get(self, "airflow_uri")
|
1426
1880
|
|
1427
1881
|
@property
|
1428
1882
|
@pulumi.getter(name="dagGcsPrefix")
|
1429
1883
|
def dag_gcs_prefix(self) -> str:
|
1884
|
+
"""
|
1885
|
+
The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using '/'-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with this prefix.
|
1886
|
+
"""
|
1430
1887
|
return pulumi.get(self, "dag_gcs_prefix")
|
1431
1888
|
|
1432
1889
|
@property
|
1433
1890
|
@pulumi.getter(name="databaseConfigs")
|
1434
1891
|
def database_configs(self) -> Sequence['outputs.GetEnvironmentConfigDatabaseConfigResult']:
|
1892
|
+
"""
|
1893
|
+
The configuration of Cloud SQL instance that is used by the Apache Airflow software. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1894
|
+
"""
|
1435
1895
|
return pulumi.get(self, "database_configs")
|
1436
1896
|
|
1437
1897
|
@property
|
1438
1898
|
@pulumi.getter(name="enablePrivateBuildsOnly")
|
1439
1899
|
def enable_private_builds_only(self) -> bool:
|
1900
|
+
"""
|
1901
|
+
Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services. If false, the builds also have access to the internet.
|
1902
|
+
"""
|
1440
1903
|
return pulumi.get(self, "enable_private_builds_only")
|
1441
1904
|
|
1442
1905
|
@property
|
1443
1906
|
@pulumi.getter(name="enablePrivateEnvironment")
|
1444
1907
|
def enable_private_environment(self) -> bool:
|
1908
|
+
"""
|
1909
|
+
Optional. If true, a private Composer environment will be created.
|
1910
|
+
"""
|
1445
1911
|
return pulumi.get(self, "enable_private_environment")
|
1446
1912
|
|
1447
1913
|
@property
|
1448
1914
|
@pulumi.getter(name="encryptionConfigs")
|
1449
1915
|
def encryption_configs(self) -> Sequence['outputs.GetEnvironmentConfigEncryptionConfigResult']:
|
1916
|
+
"""
|
1917
|
+
The encryption options for the Composer environment and its dependencies.
|
1918
|
+
"""
|
1450
1919
|
return pulumi.get(self, "encryption_configs")
|
1451
1920
|
|
1452
1921
|
@property
|
1453
1922
|
@pulumi.getter(name="environmentSize")
|
1454
1923
|
def environment_size(self) -> str:
|
1924
|
+
"""
|
1925
|
+
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
1926
|
+
"""
|
1455
1927
|
return pulumi.get(self, "environment_size")
|
1456
1928
|
|
1457
1929
|
@property
|
1458
1930
|
@pulumi.getter(name="gkeCluster")
|
1459
1931
|
def gke_cluster(self) -> str:
|
1932
|
+
"""
|
1933
|
+
The Kubernetes Engine cluster used to run this environment.
|
1934
|
+
"""
|
1460
1935
|
return pulumi.get(self, "gke_cluster")
|
1461
1936
|
|
1462
1937
|
@property
|
1463
1938
|
@pulumi.getter(name="maintenanceWindows")
|
1464
1939
|
def maintenance_windows(self) -> Sequence['outputs.GetEnvironmentConfigMaintenanceWindowResult']:
|
1940
|
+
"""
|
1941
|
+
The configuration for Cloud Composer maintenance window.
|
1942
|
+
"""
|
1465
1943
|
return pulumi.get(self, "maintenance_windows")
|
1466
1944
|
|
1467
1945
|
@property
|
1468
1946
|
@pulumi.getter(name="masterAuthorizedNetworksConfigs")
|
1469
1947
|
def master_authorized_networks_configs(self) -> Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigResult']:
|
1948
|
+
"""
|
1949
|
+
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
|
1950
|
+
"""
|
1470
1951
|
return pulumi.get(self, "master_authorized_networks_configs")
|
1471
1952
|
|
1472
1953
|
@property
|
1473
1954
|
@pulumi.getter(name="nodeConfigs")
|
1474
1955
|
def node_configs(self) -> Sequence['outputs.GetEnvironmentConfigNodeConfigResult']:
|
1956
|
+
"""
|
1957
|
+
The configuration used for the Kubernetes Engine cluster.
|
1958
|
+
"""
|
1475
1959
|
return pulumi.get(self, "node_configs")
|
1476
1960
|
|
1477
1961
|
@property
|
1478
1962
|
@pulumi.getter(name="nodeCount")
|
1479
1963
|
def node_count(self) -> int:
|
1964
|
+
"""
|
1965
|
+
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1966
|
+
"""
|
1480
1967
|
return pulumi.get(self, "node_count")
|
1481
1968
|
|
1482
1969
|
@property
|
1483
1970
|
@pulumi.getter(name="privateEnvironmentConfigs")
|
1484
1971
|
def private_environment_configs(self) -> Sequence['outputs.GetEnvironmentConfigPrivateEnvironmentConfigResult']:
|
1972
|
+
"""
|
1973
|
+
The configuration used for the Private IP Cloud Composer environment.
|
1974
|
+
"""
|
1485
1975
|
return pulumi.get(self, "private_environment_configs")
|
1486
1976
|
|
1487
1977
|
@property
|
1488
1978
|
@pulumi.getter(name="recoveryConfigs")
|
1489
1979
|
def recovery_configs(self) -> Sequence['outputs.GetEnvironmentConfigRecoveryConfigResult']:
|
1980
|
+
"""
|
1981
|
+
The recovery configuration settings for the Cloud Composer environment
|
1982
|
+
"""
|
1490
1983
|
return pulumi.get(self, "recovery_configs")
|
1491
1984
|
|
1492
1985
|
@property
|
1493
1986
|
@pulumi.getter(name="resilienceMode")
|
1494
1987
|
def resilience_mode(self) -> str:
|
1988
|
+
"""
|
1989
|
+
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
1990
|
+
"""
|
1495
1991
|
return pulumi.get(self, "resilience_mode")
|
1496
1992
|
|
1497
1993
|
@property
|
1498
1994
|
@pulumi.getter(name="softwareConfigs")
|
1499
1995
|
def software_configs(self) -> Sequence['outputs.GetEnvironmentConfigSoftwareConfigResult']:
|
1996
|
+
"""
|
1997
|
+
The configuration settings for software inside the environment.
|
1998
|
+
"""
|
1500
1999
|
return pulumi.get(self, "software_configs")
|
1501
2000
|
|
1502
2001
|
@property
|
1503
2002
|
@pulumi.getter(name="webServerConfigs")
|
1504
2003
|
def web_server_configs(self) -> Sequence['outputs.GetEnvironmentConfigWebServerConfigResult']:
|
2004
|
+
"""
|
2005
|
+
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2006
|
+
"""
|
1505
2007
|
return pulumi.get(self, "web_server_configs")
|
1506
2008
|
|
1507
2009
|
@property
|
1508
2010
|
@pulumi.getter(name="webServerNetworkAccessControls")
|
1509
2011
|
def web_server_network_access_controls(self) -> Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlResult']:
|
2012
|
+
"""
|
2013
|
+
Network-level access control policy for the Airflow web server.
|
2014
|
+
"""
|
1510
2015
|
return pulumi.get(self, "web_server_network_access_controls")
|
1511
2016
|
|
1512
2017
|
@property
|
1513
2018
|
@pulumi.getter(name="workloadsConfigs")
|
1514
2019
|
def workloads_configs(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigResult']:
|
2020
|
+
"""
|
2021
|
+
The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2022
|
+
"""
|
1515
2023
|
return pulumi.get(self, "workloads_configs")
|
1516
2024
|
|
1517
2025
|
|
@@ -1520,17 +2028,27 @@ class GetEnvironmentConfigDatabaseConfigResult(dict):
|
|
1520
2028
|
def __init__(__self__, *,
|
1521
2029
|
machine_type: str,
|
1522
2030
|
zone: str):
|
2031
|
+
"""
|
2032
|
+
:param str machine_type: Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
2033
|
+
:param str zone: Optional. Cloud SQL database preferred zone.
|
2034
|
+
"""
|
1523
2035
|
pulumi.set(__self__, "machine_type", machine_type)
|
1524
2036
|
pulumi.set(__self__, "zone", zone)
|
1525
2037
|
|
1526
2038
|
@property
|
1527
2039
|
@pulumi.getter(name="machineType")
|
1528
2040
|
def machine_type(self) -> str:
|
2041
|
+
"""
|
2042
|
+
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used.
|
2043
|
+
"""
|
1529
2044
|
return pulumi.get(self, "machine_type")
|
1530
2045
|
|
1531
2046
|
@property
|
1532
2047
|
@pulumi.getter
|
1533
2048
|
def zone(self) -> str:
|
2049
|
+
"""
|
2050
|
+
Optional. Cloud SQL database preferred zone.
|
2051
|
+
"""
|
1534
2052
|
return pulumi.get(self, "zone")
|
1535
2053
|
|
1536
2054
|
|
@@ -1538,11 +2056,17 @@ class GetEnvironmentConfigDatabaseConfigResult(dict):
|
|
1538
2056
|
class GetEnvironmentConfigEncryptionConfigResult(dict):
|
1539
2057
|
def __init__(__self__, *,
|
1540
2058
|
kms_key_name: str):
|
2059
|
+
"""
|
2060
|
+
:param str kms_key_name: Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
2061
|
+
"""
|
1541
2062
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
1542
2063
|
|
1543
2064
|
@property
|
1544
2065
|
@pulumi.getter(name="kmsKeyName")
|
1545
2066
|
def kms_key_name(self) -> str:
|
2067
|
+
"""
|
2068
|
+
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
2069
|
+
"""
|
1546
2070
|
return pulumi.get(self, "kms_key_name")
|
1547
2071
|
|
1548
2072
|
|
@@ -1552,6 +2076,11 @@ class GetEnvironmentConfigMaintenanceWindowResult(dict):
|
|
1552
2076
|
end_time: str,
|
1553
2077
|
recurrence: str,
|
1554
2078
|
start_time: str):
|
2079
|
+
"""
|
2080
|
+
:param str end_time: Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
2081
|
+
:param str recurrence: Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
2082
|
+
:param str start_time: Start time of the first recurrence of the maintenance window.
|
2083
|
+
"""
|
1555
2084
|
pulumi.set(__self__, "end_time", end_time)
|
1556
2085
|
pulumi.set(__self__, "recurrence", recurrence)
|
1557
2086
|
pulumi.set(__self__, "start_time", start_time)
|
@@ -1559,16 +2088,25 @@ class GetEnvironmentConfigMaintenanceWindowResult(dict):
|
|
1559
2088
|
@property
|
1560
2089
|
@pulumi.getter(name="endTime")
|
1561
2090
|
def end_time(self) -> str:
|
2091
|
+
"""
|
2092
|
+
Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'.
|
2093
|
+
"""
|
1562
2094
|
return pulumi.get(self, "end_time")
|
1563
2095
|
|
1564
2096
|
@property
|
1565
2097
|
@pulumi.getter
|
1566
2098
|
def recurrence(self) -> str:
|
2099
|
+
"""
|
2100
|
+
Maintenance window recurrence. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'.
|
2101
|
+
"""
|
1567
2102
|
return pulumi.get(self, "recurrence")
|
1568
2103
|
|
1569
2104
|
@property
|
1570
2105
|
@pulumi.getter(name="startTime")
|
1571
2106
|
def start_time(self) -> str:
|
2107
|
+
"""
|
2108
|
+
Start time of the first recurrence of the maintenance window.
|
2109
|
+
"""
|
1572
2110
|
return pulumi.get(self, "start_time")
|
1573
2111
|
|
1574
2112
|
|
@@ -1577,17 +2115,27 @@ class GetEnvironmentConfigMasterAuthorizedNetworksConfigResult(dict):
|
|
1577
2115
|
def __init__(__self__, *,
|
1578
2116
|
cidr_blocks: Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult'],
|
1579
2117
|
enabled: bool):
|
2118
|
+
"""
|
2119
|
+
:param Sequence['GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs'] cidr_blocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
2120
|
+
:param bool enabled: Whether or not master authorized networks is enabled.
|
2121
|
+
"""
|
1580
2122
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
1581
2123
|
pulumi.set(__self__, "enabled", enabled)
|
1582
2124
|
|
1583
2125
|
@property
|
1584
2126
|
@pulumi.getter(name="cidrBlocks")
|
1585
2127
|
def cidr_blocks(self) -> Sequence['outputs.GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult']:
|
2128
|
+
"""
|
2129
|
+
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
2130
|
+
"""
|
1586
2131
|
return pulumi.get(self, "cidr_blocks")
|
1587
2132
|
|
1588
2133
|
@property
|
1589
2134
|
@pulumi.getter
|
1590
2135
|
def enabled(self) -> bool:
|
2136
|
+
"""
|
2137
|
+
Whether or not master authorized networks is enabled.
|
2138
|
+
"""
|
1591
2139
|
return pulumi.get(self, "enabled")
|
1592
2140
|
|
1593
2141
|
|
@@ -1596,17 +2144,27 @@ class GetEnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockResult(dict):
|
|
1596
2144
|
def __init__(__self__, *,
|
1597
2145
|
cidr_block: str,
|
1598
2146
|
display_name: str):
|
2147
|
+
"""
|
2148
|
+
:param str cidr_block: cidr_block must be specified in CIDR notation.
|
2149
|
+
:param str display_name: display_name is a field for users to identify CIDR blocks.
|
2150
|
+
"""
|
1599
2151
|
pulumi.set(__self__, "cidr_block", cidr_block)
|
1600
2152
|
pulumi.set(__self__, "display_name", display_name)
|
1601
2153
|
|
1602
2154
|
@property
|
1603
2155
|
@pulumi.getter(name="cidrBlock")
|
1604
2156
|
def cidr_block(self) -> str:
|
2157
|
+
"""
|
2158
|
+
cidr_block must be specified in CIDR notation.
|
2159
|
+
"""
|
1605
2160
|
return pulumi.get(self, "cidr_block")
|
1606
2161
|
|
1607
2162
|
@property
|
1608
2163
|
@pulumi.getter(name="displayName")
|
1609
2164
|
def display_name(self) -> str:
|
2165
|
+
"""
|
2166
|
+
display_name is a field for users to identify CIDR blocks.
|
2167
|
+
"""
|
1610
2168
|
return pulumi.get(self, "display_name")
|
1611
2169
|
|
1612
2170
|
|
@@ -1625,6 +2183,20 @@ class GetEnvironmentConfigNodeConfigResult(dict):
|
|
1625
2183
|
subnetwork: str,
|
1626
2184
|
tags: Sequence[str],
|
1627
2185
|
zone: str):
|
2186
|
+
"""
|
2187
|
+
:param str composer_internal_ipv4_cidr_block: IPv4 cidr range that will be used by Composer internal components.
|
2188
|
+
:param int disk_size_gb: The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2189
|
+
:param bool enable_ip_masq_agent: Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
2190
|
+
:param Sequence['GetEnvironmentConfigNodeConfigIpAllocationPolicyArgs'] ip_allocation_policies: Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
2191
|
+
:param str machine_type: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2192
|
+
:param int max_pods_per_node: The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2193
|
+
:param str network: The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
2194
|
+
:param Sequence[str] oauth_scopes: The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2195
|
+
:param str service_account: The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
2196
|
+
:param str subnetwork: The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
2197
|
+
:param Sequence[str] tags: The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
2198
|
+
:param str zone: The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2199
|
+
"""
|
1628
2200
|
pulumi.set(__self__, "composer_internal_ipv4_cidr_block", composer_internal_ipv4_cidr_block)
|
1629
2201
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
1630
2202
|
pulumi.set(__self__, "enable_ip_masq_agent", enable_ip_masq_agent)
|
@@ -1641,61 +2213,97 @@ class GetEnvironmentConfigNodeConfigResult(dict):
|
|
1641
2213
|
@property
|
1642
2214
|
@pulumi.getter(name="composerInternalIpv4CidrBlock")
|
1643
2215
|
def composer_internal_ipv4_cidr_block(self) -> str:
|
2216
|
+
"""
|
2217
|
+
IPv4 cidr range that will be used by Composer internal components.
|
2218
|
+
"""
|
1644
2219
|
return pulumi.get(self, "composer_internal_ipv4_cidr_block")
|
1645
2220
|
|
1646
2221
|
@property
|
1647
2222
|
@pulumi.getter(name="diskSizeGb")
|
1648
2223
|
def disk_size_gb(self) -> int:
|
2224
|
+
"""
|
2225
|
+
The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2226
|
+
"""
|
1649
2227
|
return pulumi.get(self, "disk_size_gb")
|
1650
2228
|
|
1651
2229
|
@property
|
1652
2230
|
@pulumi.getter(name="enableIpMasqAgent")
|
1653
2231
|
def enable_ip_masq_agent(self) -> bool:
|
2232
|
+
"""
|
2233
|
+
Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses, except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
2234
|
+
"""
|
1654
2235
|
return pulumi.get(self, "enable_ip_masq_agent")
|
1655
2236
|
|
1656
2237
|
@property
|
1657
2238
|
@pulumi.getter(name="ipAllocationPolicies")
|
1658
2239
|
def ip_allocation_policies(self) -> Sequence['outputs.GetEnvironmentConfigNodeConfigIpAllocationPolicyResult']:
|
2240
|
+
"""
|
2241
|
+
Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
2242
|
+
"""
|
1659
2243
|
return pulumi.get(self, "ip_allocation_policies")
|
1660
2244
|
|
1661
2245
|
@property
|
1662
2246
|
@pulumi.getter(name="machineType")
|
1663
2247
|
def machine_type(self) -> str:
|
2248
|
+
"""
|
2249
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2250
|
+
"""
|
1664
2251
|
return pulumi.get(self, "machine_type")
|
1665
2252
|
|
1666
2253
|
@property
|
1667
2254
|
@pulumi.getter(name="maxPodsPerNode")
|
1668
2255
|
def max_pods_per_node(self) -> int:
|
2256
|
+
"""
|
2257
|
+
The maximum pods per node in the GKE cluster allocated during environment creation. Lowering this value reduces IP address consumption by the Cloud Composer Kubernetes cluster. This value can only be set during environment creation, and only if the environment is VPC-Native. The range of possible values is 8-110, and the default is 32. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2258
|
+
"""
|
1669
2259
|
return pulumi.get(self, "max_pods_per_node")
|
1670
2260
|
|
1671
2261
|
@property
|
1672
2262
|
@pulumi.getter
|
1673
2263
|
def network(self) -> str:
|
2264
|
+
"""
|
2265
|
+
The Compute Engine machine type used for cluster instances, specified as a name or relative resource name. For example: "projects/{project}/zones/{zone}/machineTypes/{machineType}". Must belong to the enclosing environment's project and region/zone. The network must belong to the environment's project. If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, subnetwork must also be provided.
|
2266
|
+
"""
|
1674
2267
|
return pulumi.get(self, "network")
|
1675
2268
|
|
1676
2269
|
@property
|
1677
2270
|
@pulumi.getter(name="oauthScopes")
|
1678
2271
|
def oauth_scopes(self) -> Sequence[str]:
|
2272
|
+
"""
|
2273
|
+
The set of Google API scopes to be made available on all node VMs. Cannot be updated. If empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2274
|
+
"""
|
1679
2275
|
return pulumi.get(self, "oauth_scopes")
|
1680
2276
|
|
1681
2277
|
@property
|
1682
2278
|
@pulumi.getter(name="serviceAccount")
|
1683
2279
|
def service_account(self) -> str:
|
2280
|
+
"""
|
2281
|
+
The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot be updated. If given, note that the service account must have roles/composer.worker for any GCP resources created under the Cloud Composer Environment.
|
2282
|
+
"""
|
1684
2283
|
return pulumi.get(self, "service_account")
|
1685
2284
|
|
1686
2285
|
@property
|
1687
2286
|
@pulumi.getter
|
1688
2287
|
def subnetwork(self) -> str:
|
2288
|
+
"""
|
2289
|
+
The Compute Engine subnetwork to be used for machine communications, , specified as a self-link, relative resource name (e.g. "projects/{project}/regions/{region}/subnetworks/{subnetwork}"), or by name. If subnetwork is provided, network must also be provided and the subnetwork must belong to the enclosing environment's project and region.
|
2290
|
+
"""
|
1689
2291
|
return pulumi.get(self, "subnetwork")
|
1690
2292
|
|
1691
2293
|
@property
|
1692
2294
|
@pulumi.getter
|
1693
2295
|
def tags(self) -> Sequence[str]:
|
2296
|
+
"""
|
2297
|
+
The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated.
|
2298
|
+
"""
|
1694
2299
|
return pulumi.get(self, "tags")
|
1695
2300
|
|
1696
2301
|
@property
|
1697
2302
|
@pulumi.getter
|
1698
2303
|
def zone(self) -> str:
|
2304
|
+
"""
|
2305
|
+
The Compute Engine zone in which to deploy the VMs running the Apache Airflow software, specified as the zone name or relative resource name (e.g. "projects/{project}/zones/{zone}"). Must belong to the enclosing environment's project and region. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2306
|
+
"""
|
1699
2307
|
return pulumi.get(self, "zone")
|
1700
2308
|
|
1701
2309
|
|
@@ -1707,6 +2315,13 @@ class GetEnvironmentConfigNodeConfigIpAllocationPolicyResult(dict):
|
|
1707
2315
|
services_ipv4_cidr_block: str,
|
1708
2316
|
services_secondary_range_name: str,
|
1709
2317
|
use_ip_aliases: bool):
|
2318
|
+
"""
|
2319
|
+
:param str cluster_ipv4_cidr_block: The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
2320
|
+
:param str cluster_secondary_range_name: The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2321
|
+
:param str services_ipv4_cidr_block: The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
2322
|
+
:param str services_secondary_range_name: The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2323
|
+
:param bool use_ip_aliases: Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
2324
|
+
"""
|
1710
2325
|
pulumi.set(__self__, "cluster_ipv4_cidr_block", cluster_ipv4_cidr_block)
|
1711
2326
|
pulumi.set(__self__, "cluster_secondary_range_name", cluster_secondary_range_name)
|
1712
2327
|
pulumi.set(__self__, "services_ipv4_cidr_block", services_ipv4_cidr_block)
|
@@ -1716,26 +2331,41 @@ class GetEnvironmentConfigNodeConfigIpAllocationPolicyResult(dict):
|
|
1716
2331
|
@property
|
1717
2332
|
@pulumi.getter(name="clusterIpv4CidrBlock")
|
1718
2333
|
def cluster_ipv4_cidr_block(self) -> str:
|
2334
|
+
"""
|
2335
|
+
The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both.
|
2336
|
+
"""
|
1719
2337
|
return pulumi.get(self, "cluster_ipv4_cidr_block")
|
1720
2338
|
|
1721
2339
|
@property
|
1722
2340
|
@pulumi.getter(name="clusterSecondaryRangeName")
|
1723
2341
|
def cluster_secondary_range_name(self) -> str:
|
2342
|
+
"""
|
2343
|
+
The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either cluster_secondary_range_name or cluster_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2344
|
+
"""
|
1724
2345
|
return pulumi.get(self, "cluster_secondary_range_name")
|
1725
2346
|
|
1726
2347
|
@property
|
1727
2348
|
@pulumi.getter(name="servicesIpv4CidrBlock")
|
1728
2349
|
def services_ipv4_cidr_block(self) -> str:
|
2350
|
+
"""
|
2351
|
+
The IP address range used to allocate IP addresses in this cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) from the RFC-1918 private networks (e.g. 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to pick a specific range to use. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both.
|
2352
|
+
"""
|
1729
2353
|
return pulumi.get(self, "services_ipv4_cidr_block")
|
1730
2354
|
|
1731
2355
|
@property
|
1732
2356
|
@pulumi.getter(name="servicesSecondaryRangeName")
|
1733
2357
|
def services_secondary_range_name(self) -> str:
|
2358
|
+
"""
|
2359
|
+
The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either services_secondary_range_name or services_ipv4_cidr_block but not both. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when use_ip_aliases is true.
|
2360
|
+
"""
|
1734
2361
|
return pulumi.get(self, "services_secondary_range_name")
|
1735
2362
|
|
1736
2363
|
@property
|
1737
2364
|
@pulumi.getter(name="useIpAliases")
|
1738
2365
|
def use_ip_aliases(self) -> bool:
|
2366
|
+
"""
|
2367
|
+
Whether or not to enable Alias IPs in the GKE cluster. If true, a VPC-native cluster is created. Defaults to true if the ip_allocation_policy block is present in config. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
2368
|
+
"""
|
1739
2369
|
return pulumi.get(self, "use_ip_aliases")
|
1740
2370
|
|
1741
2371
|
|
@@ -1750,6 +2380,16 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1750
2380
|
enable_privately_used_public_ips: bool,
|
1751
2381
|
master_ipv4_cidr_block: str,
|
1752
2382
|
web_server_ipv4_cidr_block: str):
|
2383
|
+
"""
|
2384
|
+
:param str cloud_composer_connection_subnetwork: When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2385
|
+
:param str cloud_composer_network_ipv4_cidr_block: The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2386
|
+
:param str cloud_sql_ipv4_cidr_block: The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
2387
|
+
:param str connection_type: Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
2388
|
+
:param bool enable_private_endpoint: If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2389
|
+
:param bool enable_privately_used_public_ips: When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
2390
|
+
:param str master_ipv4_cidr_block: The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
2391
|
+
:param str web_server_ipv4_cidr_block: The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2392
|
+
"""
|
1753
2393
|
pulumi.set(__self__, "cloud_composer_connection_subnetwork", cloud_composer_connection_subnetwork)
|
1754
2394
|
pulumi.set(__self__, "cloud_composer_network_ipv4_cidr_block", cloud_composer_network_ipv4_cidr_block)
|
1755
2395
|
pulumi.set(__self__, "cloud_sql_ipv4_cidr_block", cloud_sql_ipv4_cidr_block)
|
@@ -1762,41 +2402,65 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1762
2402
|
@property
|
1763
2403
|
@pulumi.getter(name="cloudComposerConnectionSubnetwork")
|
1764
2404
|
def cloud_composer_connection_subnetwork(self) -> str:
|
2405
|
+
"""
|
2406
|
+
When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2407
|
+
"""
|
1765
2408
|
return pulumi.get(self, "cloud_composer_connection_subnetwork")
|
1766
2409
|
|
1767
2410
|
@property
|
1768
2411
|
@pulumi.getter(name="cloudComposerNetworkIpv4CidrBlock")
|
1769
2412
|
def cloud_composer_network_ipv4_cidr_block(self) -> str:
|
2413
|
+
"""
|
2414
|
+
The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
2415
|
+
"""
|
1770
2416
|
return pulumi.get(self, "cloud_composer_network_ipv4_cidr_block")
|
1771
2417
|
|
1772
2418
|
@property
|
1773
2419
|
@pulumi.getter(name="cloudSqlIpv4CidrBlock")
|
1774
2420
|
def cloud_sql_ipv4_cidr_block(self) -> str:
|
2421
|
+
"""
|
2422
|
+
The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.
|
2423
|
+
"""
|
1775
2424
|
return pulumi.get(self, "cloud_sql_ipv4_cidr_block")
|
1776
2425
|
|
1777
2426
|
@property
|
1778
2427
|
@pulumi.getter(name="connectionType")
|
1779
2428
|
def connection_type(self) -> str:
|
2429
|
+
"""
|
2430
|
+
Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
2431
|
+
"""
|
1780
2432
|
return pulumi.get(self, "connection_type")
|
1781
2433
|
|
1782
2434
|
@property
|
1783
2435
|
@pulumi.getter(name="enablePrivateEndpoint")
|
1784
2436
|
def enable_private_endpoint(self) -> bool:
|
2437
|
+
"""
|
2438
|
+
If true, access to the public endpoint of the GKE cluster is denied. If this field is set to true, ip_allocation_policy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2439
|
+
"""
|
1785
2440
|
return pulumi.get(self, "enable_private_endpoint")
|
1786
2441
|
|
1787
2442
|
@property
|
1788
2443
|
@pulumi.getter(name="enablePrivatelyUsedPublicIps")
|
1789
2444
|
def enable_privately_used_public_ips(self) -> bool:
|
2445
|
+
"""
|
2446
|
+
When enabled, IPs from public (non-RFC1918) ranges can be used for ip_allocation_policy.cluster_ipv4_cidr_block and ip_allocation_policy.service_ipv4_cidr_block.
|
2447
|
+
"""
|
1790
2448
|
return pulumi.get(self, "enable_privately_used_public_ips")
|
1791
2449
|
|
1792
2450
|
@property
|
1793
2451
|
@pulumi.getter(name="masterIpv4CidrBlock")
|
1794
2452
|
def master_ipv4_cidr_block(self) -> str:
|
2453
|
+
"""
|
2454
|
+
The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the cluster master or set of masters and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. If left blank, the default value of '172.16.0.0/28' is used.
|
2455
|
+
"""
|
1795
2456
|
return pulumi.get(self, "master_ipv4_cidr_block")
|
1796
2457
|
|
1797
2458
|
@property
|
1798
2459
|
@pulumi.getter(name="webServerIpv4CidrBlock")
|
1799
2460
|
def web_server_ipv4_cidr_block(self) -> str:
|
2461
|
+
"""
|
2462
|
+
The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
2463
|
+
"""
|
1800
2464
|
return pulumi.get(self, "web_server_ipv4_cidr_block")
|
1801
2465
|
|
1802
2466
|
|
@@ -1804,11 +2468,17 @@ class GetEnvironmentConfigPrivateEnvironmentConfigResult(dict):
|
|
1804
2468
|
class GetEnvironmentConfigRecoveryConfigResult(dict):
|
1805
2469
|
def __init__(__self__, *,
|
1806
2470
|
scheduled_snapshots_configs: Sequence['outputs.GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult']):
|
2471
|
+
"""
|
2472
|
+
:param Sequence['GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs'] scheduled_snapshots_configs: The configuration settings for scheduled snapshots.
|
2473
|
+
"""
|
1807
2474
|
pulumi.set(__self__, "scheduled_snapshots_configs", scheduled_snapshots_configs)
|
1808
2475
|
|
1809
2476
|
@property
|
1810
2477
|
@pulumi.getter(name="scheduledSnapshotsConfigs")
|
1811
2478
|
def scheduled_snapshots_configs(self) -> Sequence['outputs.GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult']:
|
2479
|
+
"""
|
2480
|
+
The configuration settings for scheduled snapshots.
|
2481
|
+
"""
|
1812
2482
|
return pulumi.get(self, "scheduled_snapshots_configs")
|
1813
2483
|
|
1814
2484
|
|
@@ -1819,6 +2489,12 @@ class GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult(dict):
|
|
1819
2489
|
snapshot_creation_schedule: str,
|
1820
2490
|
snapshot_location: str,
|
1821
2491
|
time_zone: str):
|
2492
|
+
"""
|
2493
|
+
:param bool enabled: When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
2494
|
+
:param str snapshot_creation_schedule: Snapshot schedule, in the unix-cron format.
|
2495
|
+
:param str snapshot_location: the URI of a bucket folder where to save the snapshot.
|
2496
|
+
:param str time_zone: A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
2497
|
+
"""
|
1822
2498
|
pulumi.set(__self__, "enabled", enabled)
|
1823
2499
|
pulumi.set(__self__, "snapshot_creation_schedule", snapshot_creation_schedule)
|
1824
2500
|
pulumi.set(__self__, "snapshot_location", snapshot_location)
|
@@ -1827,21 +2503,33 @@ class GetEnvironmentConfigRecoveryConfigScheduledSnapshotsConfigResult(dict):
|
|
1827
2503
|
@property
|
1828
2504
|
@pulumi.getter
|
1829
2505
|
def enabled(self) -> bool:
|
2506
|
+
"""
|
2507
|
+
When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
2508
|
+
"""
|
1830
2509
|
return pulumi.get(self, "enabled")
|
1831
2510
|
|
1832
2511
|
@property
|
1833
2512
|
@pulumi.getter(name="snapshotCreationSchedule")
|
1834
2513
|
def snapshot_creation_schedule(self) -> str:
|
2514
|
+
"""
|
2515
|
+
Snapshot schedule, in the unix-cron format.
|
2516
|
+
"""
|
1835
2517
|
return pulumi.get(self, "snapshot_creation_schedule")
|
1836
2518
|
|
1837
2519
|
@property
|
1838
2520
|
@pulumi.getter(name="snapshotLocation")
|
1839
2521
|
def snapshot_location(self) -> str:
|
2522
|
+
"""
|
2523
|
+
the URI of a bucket folder where to save the snapshot.
|
2524
|
+
"""
|
1840
2525
|
return pulumi.get(self, "snapshot_location")
|
1841
2526
|
|
1842
2527
|
@property
|
1843
2528
|
@pulumi.getter(name="timeZone")
|
1844
2529
|
def time_zone(self) -> str:
|
2530
|
+
"""
|
2531
|
+
A time zone for the schedule. This value is a time offset and does not take into account daylight saving time changes. Valid values are from UTC-12 to UTC+12. Examples: UTC, UTC-01, UTC+03.
|
2532
|
+
"""
|
1845
2533
|
return pulumi.get(self, "time_zone")
|
1846
2534
|
|
1847
2535
|
|
@@ -1856,6 +2544,16 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1856
2544
|
python_version: str,
|
1857
2545
|
scheduler_count: int,
|
1858
2546
|
web_server_plugins_mode: str):
|
2547
|
+
"""
|
2548
|
+
:param Mapping[str, str] airflow_config_overrides: Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
2549
|
+
:param Sequence['GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs'] cloud_data_lineage_integrations: The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
2550
|
+
:param Mapping[str, str] env_variables: Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
2551
|
+
:param str image_version: The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
2552
|
+
:param Mapping[str, str] pypi_packages: Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
2553
|
+
:param str python_version: The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
2554
|
+
:param int scheduler_count: The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
2555
|
+
:param str web_server_plugins_mode: Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
2556
|
+
"""
|
1859
2557
|
pulumi.set(__self__, "airflow_config_overrides", airflow_config_overrides)
|
1860
2558
|
pulumi.set(__self__, "cloud_data_lineage_integrations", cloud_data_lineage_integrations)
|
1861
2559
|
pulumi.set(__self__, "env_variables", env_variables)
|
@@ -1868,41 +2566,65 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1868
2566
|
@property
|
1869
2567
|
@pulumi.getter(name="airflowConfigOverrides")
|
1870
2568
|
def airflow_config_overrides(self) -> Mapping[str, str]:
|
2569
|
+
"""
|
2570
|
+
Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and cannot contain "=" or ";". Section and property names cannot contain characters: "." Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blacklisted, and cannot be overridden.
|
2571
|
+
"""
|
1871
2572
|
return pulumi.get(self, "airflow_config_overrides")
|
1872
2573
|
|
1873
2574
|
@property
|
1874
2575
|
@pulumi.getter(name="cloudDataLineageIntegrations")
|
1875
2576
|
def cloud_data_lineage_integrations(self) -> Sequence['outputs.GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult']:
|
2577
|
+
"""
|
2578
|
+
The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
2579
|
+
"""
|
1876
2580
|
return pulumi.get(self, "cloud_data_lineage_integrations")
|
1877
2581
|
|
1878
2582
|
@property
|
1879
2583
|
@pulumi.getter(name="envVariables")
|
1880
2584
|
def env_variables(self) -> Mapping[str, str]:
|
2585
|
+
"""
|
2586
|
+
Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression [a-zA-Z_][a-zA-Z0-9_]*. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+), and they cannot match any of the following reserved names: AIRFLOW_HOME C_FORCE_ROOT CONTAINER_NAME DAGS_FOLDER GCP_PROJECT GCS_BUCKET GKE_CLUSTER_NAME SQL_DATABASE SQL_INSTANCE SQL_PASSWORD SQL_PROJECT SQL_REGION SQL_USER.
|
2587
|
+
"""
|
1881
2588
|
return pulumi.get(self, "env_variables")
|
1882
2589
|
|
1883
2590
|
@property
|
1884
2591
|
@pulumi.getter(name="imageVersion")
|
1885
2592
|
def image_version(self) -> str:
|
2593
|
+
"""
|
2594
|
+
The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?). The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or 'latest'. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. See documentation for more details and version list.
|
2595
|
+
"""
|
1886
2596
|
return pulumi.get(self, "image_version")
|
1887
2597
|
|
1888
2598
|
@property
|
1889
2599
|
@pulumi.getter(name="pypiPackages")
|
1890
2600
|
def pypi_packages(self) -> Mapping[str, str]:
|
2601
|
+
"""
|
2602
|
+
Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name (e.g. "numpy"). Values are the lowercase extras and version specifier (e.g. "==1.12.0", "[devel,gcp_api]", "[devel]>=1.8.2, <1.9.2"). To specify a package without pinning it to a version specifier, use the empty string as the value.
|
2603
|
+
"""
|
1891
2604
|
return pulumi.get(self, "pypi_packages")
|
1892
2605
|
|
1893
2606
|
@property
|
1894
2607
|
@pulumi.getter(name="pythonVersion")
|
1895
2608
|
def python_version(self) -> str:
|
2609
|
+
"""
|
2610
|
+
The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3.
|
2611
|
+
"""
|
1896
2612
|
return pulumi.get(self, "python_version")
|
1897
2613
|
|
1898
2614
|
@property
|
1899
2615
|
@pulumi.getter(name="schedulerCount")
|
1900
2616
|
def scheduler_count(self) -> int:
|
2617
|
+
"""
|
2618
|
+
The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
2619
|
+
"""
|
1901
2620
|
return pulumi.get(self, "scheduler_count")
|
1902
2621
|
|
1903
2622
|
@property
|
1904
2623
|
@pulumi.getter(name="webServerPluginsMode")
|
1905
2624
|
def web_server_plugins_mode(self) -> str:
|
2625
|
+
"""
|
2626
|
+
Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
2627
|
+
"""
|
1906
2628
|
return pulumi.get(self, "web_server_plugins_mode")
|
1907
2629
|
|
1908
2630
|
|
@@ -1910,11 +2632,17 @@ class GetEnvironmentConfigSoftwareConfigResult(dict):
|
|
1910
2632
|
class GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult(dict):
|
1911
2633
|
def __init__(__self__, *,
|
1912
2634
|
enabled: bool):
|
2635
|
+
"""
|
2636
|
+
:param bool enabled: Whether or not Cloud Data Lineage integration is enabled.
|
2637
|
+
"""
|
1913
2638
|
pulumi.set(__self__, "enabled", enabled)
|
1914
2639
|
|
1915
2640
|
@property
|
1916
2641
|
@pulumi.getter
|
1917
2642
|
def enabled(self) -> bool:
|
2643
|
+
"""
|
2644
|
+
Whether or not Cloud Data Lineage integration is enabled.
|
2645
|
+
"""
|
1918
2646
|
return pulumi.get(self, "enabled")
|
1919
2647
|
|
1920
2648
|
|
@@ -1922,11 +2650,17 @@ class GetEnvironmentConfigSoftwareConfigCloudDataLineageIntegrationResult(dict):
|
|
1922
2650
|
class GetEnvironmentConfigWebServerConfigResult(dict):
|
1923
2651
|
def __init__(__self__, *,
|
1924
2652
|
machine_type: str):
|
2653
|
+
"""
|
2654
|
+
:param str machine_type: Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
2655
|
+
"""
|
1925
2656
|
pulumi.set(__self__, "machine_type", machine_type)
|
1926
2657
|
|
1927
2658
|
@property
|
1928
2659
|
@pulumi.getter(name="machineType")
|
1929
2660
|
def machine_type(self) -> str:
|
2661
|
+
"""
|
2662
|
+
Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
2663
|
+
"""
|
1930
2664
|
return pulumi.get(self, "machine_type")
|
1931
2665
|
|
1932
2666
|
|
@@ -1934,11 +2668,17 @@ class GetEnvironmentConfigWebServerConfigResult(dict):
|
|
1934
2668
|
class GetEnvironmentConfigWebServerNetworkAccessControlResult(dict):
|
1935
2669
|
def __init__(__self__, *,
|
1936
2670
|
allowed_ip_ranges: Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult']):
|
2671
|
+
"""
|
2672
|
+
:param Sequence['GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs'] allowed_ip_ranges: A collection of allowed IP ranges with descriptions.
|
2673
|
+
"""
|
1937
2674
|
pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
|
1938
2675
|
|
1939
2676
|
@property
|
1940
2677
|
@pulumi.getter(name="allowedIpRanges")
|
1941
2678
|
def allowed_ip_ranges(self) -> Sequence['outputs.GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult']:
|
2679
|
+
"""
|
2680
|
+
A collection of allowed IP ranges with descriptions.
|
2681
|
+
"""
|
1942
2682
|
return pulumi.get(self, "allowed_ip_ranges")
|
1943
2683
|
|
1944
2684
|
|
@@ -1947,17 +2687,27 @@ class GetEnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeResult(dict
|
|
1947
2687
|
def __init__(__self__, *,
|
1948
2688
|
description: str,
|
1949
2689
|
value: str):
|
2690
|
+
"""
|
2691
|
+
:param str description: A description of this ip range.
|
2692
|
+
:param str value: IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
2693
|
+
"""
|
1950
2694
|
pulumi.set(__self__, "description", description)
|
1951
2695
|
pulumi.set(__self__, "value", value)
|
1952
2696
|
|
1953
2697
|
@property
|
1954
2698
|
@pulumi.getter
|
1955
2699
|
def description(self) -> str:
|
2700
|
+
"""
|
2701
|
+
A description of this ip range.
|
2702
|
+
"""
|
1956
2703
|
return pulumi.get(self, "description")
|
1957
2704
|
|
1958
2705
|
@property
|
1959
2706
|
@pulumi.getter
|
1960
2707
|
def value(self) -> str:
|
2708
|
+
"""
|
2709
|
+
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.
|
2710
|
+
"""
|
1961
2711
|
return pulumi.get(self, "value")
|
1962
2712
|
|
1963
2713
|
|
@@ -1969,6 +2719,13 @@ class GetEnvironmentConfigWorkloadsConfigResult(dict):
|
|
1969
2719
|
triggerers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigTriggererResult'],
|
1970
2720
|
web_servers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWebServerResult'],
|
1971
2721
|
workers: Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWorkerResult']):
|
2722
|
+
"""
|
2723
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigDagProcessorArgs'] dag_processors: Configuration for resources used by DAG processor.
|
2724
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigSchedulerArgs'] schedulers: Configuration for resources used by Airflow schedulers.
|
2725
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigTriggererArgs'] triggerers: Configuration for resources used by Airflow triggerers.
|
2726
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigWebServerArgs'] web_servers: Configuration for resources used by Airflow web server.
|
2727
|
+
:param Sequence['GetEnvironmentConfigWorkloadsConfigWorkerArgs'] workers: Configuration for resources used by Airflow workers.
|
2728
|
+
"""
|
1972
2729
|
pulumi.set(__self__, "dag_processors", dag_processors)
|
1973
2730
|
pulumi.set(__self__, "schedulers", schedulers)
|
1974
2731
|
pulumi.set(__self__, "triggerers", triggerers)
|
@@ -1978,26 +2735,41 @@ class GetEnvironmentConfigWorkloadsConfigResult(dict):
|
|
1978
2735
|
@property
|
1979
2736
|
@pulumi.getter(name="dagProcessors")
|
1980
2737
|
def dag_processors(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigDagProcessorResult']:
|
2738
|
+
"""
|
2739
|
+
Configuration for resources used by DAG processor.
|
2740
|
+
"""
|
1981
2741
|
return pulumi.get(self, "dag_processors")
|
1982
2742
|
|
1983
2743
|
@property
|
1984
2744
|
@pulumi.getter
|
1985
2745
|
def schedulers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigSchedulerResult']:
|
2746
|
+
"""
|
2747
|
+
Configuration for resources used by Airflow schedulers.
|
2748
|
+
"""
|
1986
2749
|
return pulumi.get(self, "schedulers")
|
1987
2750
|
|
1988
2751
|
@property
|
1989
2752
|
@pulumi.getter
|
1990
2753
|
def triggerers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigTriggererResult']:
|
2754
|
+
"""
|
2755
|
+
Configuration for resources used by Airflow triggerers.
|
2756
|
+
"""
|
1991
2757
|
return pulumi.get(self, "triggerers")
|
1992
2758
|
|
1993
2759
|
@property
|
1994
2760
|
@pulumi.getter(name="webServers")
|
1995
2761
|
def web_servers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWebServerResult']:
|
2762
|
+
"""
|
2763
|
+
Configuration for resources used by Airflow web server.
|
2764
|
+
"""
|
1996
2765
|
return pulumi.get(self, "web_servers")
|
1997
2766
|
|
1998
2767
|
@property
|
1999
2768
|
@pulumi.getter
|
2000
2769
|
def workers(self) -> Sequence['outputs.GetEnvironmentConfigWorkloadsConfigWorkerResult']:
|
2770
|
+
"""
|
2771
|
+
Configuration for resources used by Airflow workers.
|
2772
|
+
"""
|
2001
2773
|
return pulumi.get(self, "workers")
|
2002
2774
|
|
2003
2775
|
|
@@ -2007,6 +2779,11 @@ class GetEnvironmentConfigWorkloadsConfigDagProcessorResult(dict):
|
|
2007
2779
|
cpu: float,
|
2008
2780
|
memory_gb: float,
|
2009
2781
|
storage_gb: float):
|
2782
|
+
"""
|
2783
|
+
:param float cpu: CPU request and limit for DAG processor.
|
2784
|
+
:param float memory_gb: Memory (GB) request and limit for DAG processor.
|
2785
|
+
:param float storage_gb: Storage (GB) request and limit for DAG processor.
|
2786
|
+
"""
|
2010
2787
|
pulumi.set(__self__, "cpu", cpu)
|
2011
2788
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
2012
2789
|
pulumi.set(__self__, "storage_gb", storage_gb)
|
@@ -2014,16 +2791,25 @@ class GetEnvironmentConfigWorkloadsConfigDagProcessorResult(dict):
|
|
2014
2791
|
@property
|
2015
2792
|
@pulumi.getter
|
2016
2793
|
def cpu(self) -> float:
|
2794
|
+
"""
|
2795
|
+
CPU request and limit for DAG processor.
|
2796
|
+
"""
|
2017
2797
|
return pulumi.get(self, "cpu")
|
2018
2798
|
|
2019
2799
|
@property
|
2020
2800
|
@pulumi.getter(name="memoryGb")
|
2021
2801
|
def memory_gb(self) -> float:
|
2802
|
+
"""
|
2803
|
+
Memory (GB) request and limit for DAG processor.
|
2804
|
+
"""
|
2022
2805
|
return pulumi.get(self, "memory_gb")
|
2023
2806
|
|
2024
2807
|
@property
|
2025
2808
|
@pulumi.getter(name="storageGb")
|
2026
2809
|
def storage_gb(self) -> float:
|
2810
|
+
"""
|
2811
|
+
Storage (GB) request and limit for DAG processor.
|
2812
|
+
"""
|
2027
2813
|
return pulumi.get(self, "storage_gb")
|
2028
2814
|
|
2029
2815
|
|
@@ -2034,6 +2820,12 @@ class GetEnvironmentConfigWorkloadsConfigSchedulerResult(dict):
|
|
2034
2820
|
cpu: float,
|
2035
2821
|
memory_gb: float,
|
2036
2822
|
storage_gb: float):
|
2823
|
+
"""
|
2824
|
+
:param int count: The number of schedulers.
|
2825
|
+
:param float cpu: CPU request and limit for a single Airflow scheduler replica
|
2826
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow scheduler replica.
|
2827
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow scheduler replica.
|
2828
|
+
"""
|
2037
2829
|
pulumi.set(__self__, "count", count)
|
2038
2830
|
pulumi.set(__self__, "cpu", cpu)
|
2039
2831
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2042,21 +2834,33 @@ class GetEnvironmentConfigWorkloadsConfigSchedulerResult(dict):
|
|
2042
2834
|
@property
|
2043
2835
|
@pulumi.getter
|
2044
2836
|
def count(self) -> int:
|
2837
|
+
"""
|
2838
|
+
The number of schedulers.
|
2839
|
+
"""
|
2045
2840
|
return pulumi.get(self, "count")
|
2046
2841
|
|
2047
2842
|
@property
|
2048
2843
|
@pulumi.getter
|
2049
2844
|
def cpu(self) -> float:
|
2845
|
+
"""
|
2846
|
+
CPU request and limit for a single Airflow scheduler replica
|
2847
|
+
"""
|
2050
2848
|
return pulumi.get(self, "cpu")
|
2051
2849
|
|
2052
2850
|
@property
|
2053
2851
|
@pulumi.getter(name="memoryGb")
|
2054
2852
|
def memory_gb(self) -> float:
|
2853
|
+
"""
|
2854
|
+
Memory (GB) request and limit for a single Airflow scheduler replica.
|
2855
|
+
"""
|
2055
2856
|
return pulumi.get(self, "memory_gb")
|
2056
2857
|
|
2057
2858
|
@property
|
2058
2859
|
@pulumi.getter(name="storageGb")
|
2059
2860
|
def storage_gb(self) -> float:
|
2861
|
+
"""
|
2862
|
+
Storage (GB) request and limit for a single Airflow scheduler replica.
|
2863
|
+
"""
|
2060
2864
|
return pulumi.get(self, "storage_gb")
|
2061
2865
|
|
2062
2866
|
|
@@ -2066,6 +2870,11 @@ class GetEnvironmentConfigWorkloadsConfigTriggererResult(dict):
|
|
2066
2870
|
count: int,
|
2067
2871
|
cpu: float,
|
2068
2872
|
memory_gb: float):
|
2873
|
+
"""
|
2874
|
+
:param int count: The number of triggerers.
|
2875
|
+
:param float cpu: CPU request and limit for a single Airflow triggerer replica.
|
2876
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow triggerer replica.
|
2877
|
+
"""
|
2069
2878
|
pulumi.set(__self__, "count", count)
|
2070
2879
|
pulumi.set(__self__, "cpu", cpu)
|
2071
2880
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2073,16 +2882,25 @@ class GetEnvironmentConfigWorkloadsConfigTriggererResult(dict):
|
|
2073
2882
|
@property
|
2074
2883
|
@pulumi.getter
|
2075
2884
|
def count(self) -> int:
|
2885
|
+
"""
|
2886
|
+
The number of triggerers.
|
2887
|
+
"""
|
2076
2888
|
return pulumi.get(self, "count")
|
2077
2889
|
|
2078
2890
|
@property
|
2079
2891
|
@pulumi.getter
|
2080
2892
|
def cpu(self) -> float:
|
2893
|
+
"""
|
2894
|
+
CPU request and limit for a single Airflow triggerer replica.
|
2895
|
+
"""
|
2081
2896
|
return pulumi.get(self, "cpu")
|
2082
2897
|
|
2083
2898
|
@property
|
2084
2899
|
@pulumi.getter(name="memoryGb")
|
2085
2900
|
def memory_gb(self) -> float:
|
2901
|
+
"""
|
2902
|
+
Memory (GB) request and limit for a single Airflow triggerer replica.
|
2903
|
+
"""
|
2086
2904
|
return pulumi.get(self, "memory_gb")
|
2087
2905
|
|
2088
2906
|
|
@@ -2092,6 +2910,11 @@ class GetEnvironmentConfigWorkloadsConfigWebServerResult(dict):
|
|
2092
2910
|
cpu: float,
|
2093
2911
|
memory_gb: float,
|
2094
2912
|
storage_gb: float):
|
2913
|
+
"""
|
2914
|
+
:param float cpu: CPU request and limit for Airflow web server.
|
2915
|
+
:param float memory_gb: Memory (GB) request and limit for Airflow web server.
|
2916
|
+
:param float storage_gb: Storage (GB) request and limit for Airflow web server.
|
2917
|
+
"""
|
2095
2918
|
pulumi.set(__self__, "cpu", cpu)
|
2096
2919
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
2097
2920
|
pulumi.set(__self__, "storage_gb", storage_gb)
|
@@ -2099,16 +2922,25 @@ class GetEnvironmentConfigWorkloadsConfigWebServerResult(dict):
|
|
2099
2922
|
@property
|
2100
2923
|
@pulumi.getter
|
2101
2924
|
def cpu(self) -> float:
|
2925
|
+
"""
|
2926
|
+
CPU request and limit for Airflow web server.
|
2927
|
+
"""
|
2102
2928
|
return pulumi.get(self, "cpu")
|
2103
2929
|
|
2104
2930
|
@property
|
2105
2931
|
@pulumi.getter(name="memoryGb")
|
2106
2932
|
def memory_gb(self) -> float:
|
2933
|
+
"""
|
2934
|
+
Memory (GB) request and limit for Airflow web server.
|
2935
|
+
"""
|
2107
2936
|
return pulumi.get(self, "memory_gb")
|
2108
2937
|
|
2109
2938
|
@property
|
2110
2939
|
@pulumi.getter(name="storageGb")
|
2111
2940
|
def storage_gb(self) -> float:
|
2941
|
+
"""
|
2942
|
+
Storage (GB) request and limit for Airflow web server.
|
2943
|
+
"""
|
2112
2944
|
return pulumi.get(self, "storage_gb")
|
2113
2945
|
|
2114
2946
|
|
@@ -2120,6 +2952,13 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2120
2952
|
memory_gb: float,
|
2121
2953
|
min_count: int,
|
2122
2954
|
storage_gb: float):
|
2955
|
+
"""
|
2956
|
+
:param float cpu: CPU request and limit for a single Airflow worker replica.
|
2957
|
+
:param int max_count: Maximum number of workers for autoscaling.
|
2958
|
+
:param float memory_gb: Memory (GB) request and limit for a single Airflow worker replica.
|
2959
|
+
:param int min_count: Minimum number of workers for autoscaling.
|
2960
|
+
:param float storage_gb: Storage (GB) request and limit for a single Airflow worker replica.
|
2961
|
+
"""
|
2123
2962
|
pulumi.set(__self__, "cpu", cpu)
|
2124
2963
|
pulumi.set(__self__, "max_count", max_count)
|
2125
2964
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -2129,26 +2968,41 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2129
2968
|
@property
|
2130
2969
|
@pulumi.getter
|
2131
2970
|
def cpu(self) -> float:
|
2971
|
+
"""
|
2972
|
+
CPU request and limit for a single Airflow worker replica.
|
2973
|
+
"""
|
2132
2974
|
return pulumi.get(self, "cpu")
|
2133
2975
|
|
2134
2976
|
@property
|
2135
2977
|
@pulumi.getter(name="maxCount")
|
2136
2978
|
def max_count(self) -> int:
|
2979
|
+
"""
|
2980
|
+
Maximum number of workers for autoscaling.
|
2981
|
+
"""
|
2137
2982
|
return pulumi.get(self, "max_count")
|
2138
2983
|
|
2139
2984
|
@property
|
2140
2985
|
@pulumi.getter(name="memoryGb")
|
2141
2986
|
def memory_gb(self) -> float:
|
2987
|
+
"""
|
2988
|
+
Memory (GB) request and limit for a single Airflow worker replica.
|
2989
|
+
"""
|
2142
2990
|
return pulumi.get(self, "memory_gb")
|
2143
2991
|
|
2144
2992
|
@property
|
2145
2993
|
@pulumi.getter(name="minCount")
|
2146
2994
|
def min_count(self) -> int:
|
2995
|
+
"""
|
2996
|
+
Minimum number of workers for autoscaling.
|
2997
|
+
"""
|
2147
2998
|
return pulumi.get(self, "min_count")
|
2148
2999
|
|
2149
3000
|
@property
|
2150
3001
|
@pulumi.getter(name="storageGb")
|
2151
3002
|
def storage_gb(self) -> float:
|
3003
|
+
"""
|
3004
|
+
Storage (GB) request and limit for a single Airflow worker replica.
|
3005
|
+
"""
|
2152
3006
|
return pulumi.get(self, "storage_gb")
|
2153
3007
|
|
2154
3008
|
|
@@ -2156,11 +3010,17 @@ class GetEnvironmentConfigWorkloadsConfigWorkerResult(dict):
|
|
2156
3010
|
class GetEnvironmentStorageConfigResult(dict):
|
2157
3011
|
def __init__(__self__, *,
|
2158
3012
|
bucket: str):
|
3013
|
+
"""
|
3014
|
+
:param str bucket: Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
3015
|
+
"""
|
2159
3016
|
pulumi.set(__self__, "bucket", bucket)
|
2160
3017
|
|
2161
3018
|
@property
|
2162
3019
|
@pulumi.getter
|
2163
3020
|
def bucket(self) -> str:
|
3021
|
+
"""
|
3022
|
+
Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
3023
|
+
"""
|
2164
3024
|
return pulumi.get(self, "bucket")
|
2165
3025
|
|
2166
3026
|
|