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/_inputs.py
CHANGED
@@ -57,6 +57,27 @@ class EnvironmentConfigArgs:
|
|
57
57
|
web_server_config: Optional[pulumi.Input['EnvironmentConfigWebServerConfigArgs']] = None,
|
58
58
|
web_server_network_access_control: Optional[pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlArgs']] = None,
|
59
59
|
workloads_config: Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigArgs']] = None):
|
60
|
+
"""
|
61
|
+
:param pulumi.Input[str] airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
62
|
+
:param pulumi.Input[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.
|
63
|
+
:param pulumi.Input['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-*.*.*.
|
64
|
+
:param pulumi.Input[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.
|
65
|
+
:param pulumi.Input[bool] enable_private_environment: Optional. If true, a private Composer environment will be created.
|
66
|
+
:param pulumi.Input['EnvironmentConfigEncryptionConfigArgs'] encryption_config: The encryption options for the Composer environment and its dependencies.
|
67
|
+
:param pulumi.Input[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.
|
68
|
+
:param pulumi.Input[str] gke_cluster: The Kubernetes Engine cluster used to run this environment.
|
69
|
+
:param pulumi.Input['EnvironmentConfigMaintenanceWindowArgs'] maintenance_window: The configuration for Cloud Composer maintenance window.
|
70
|
+
:param pulumi.Input['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.
|
71
|
+
:param pulumi.Input['EnvironmentConfigNodeConfigArgs'] node_config: The configuration used for the Kubernetes Engine cluster.
|
72
|
+
:param pulumi.Input[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-*.*.*.
|
73
|
+
:param pulumi.Input['EnvironmentConfigPrivateEnvironmentConfigArgs'] private_environment_config: The configuration used for the Private IP Cloud Composer environment.
|
74
|
+
:param pulumi.Input['EnvironmentConfigRecoveryConfigArgs'] recovery_config: The recovery configuration settings for the Cloud Composer environment
|
75
|
+
:param pulumi.Input[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.
|
76
|
+
:param pulumi.Input['EnvironmentConfigSoftwareConfigArgs'] software_config: The configuration settings for software inside the environment.
|
77
|
+
:param pulumi.Input['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-*.*.*.
|
78
|
+
:param pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlArgs'] web_server_network_access_control: Network-level access control policy for the Airflow web server.
|
79
|
+
:param pulumi.Input['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.
|
80
|
+
"""
|
60
81
|
if airflow_uri is not None:
|
61
82
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
62
83
|
if dag_gcs_prefix is not None:
|
@@ -99,6 +120,9 @@ class EnvironmentConfigArgs:
|
|
99
120
|
@property
|
100
121
|
@pulumi.getter(name="airflowUri")
|
101
122
|
def airflow_uri(self) -> Optional[pulumi.Input[str]]:
|
123
|
+
"""
|
124
|
+
The URI of the Apache Airflow Web UI hosted within this environment.
|
125
|
+
"""
|
102
126
|
return pulumi.get(self, "airflow_uri")
|
103
127
|
|
104
128
|
@airflow_uri.setter
|
@@ -108,6 +132,9 @@ class EnvironmentConfigArgs:
|
|
108
132
|
@property
|
109
133
|
@pulumi.getter(name="dagGcsPrefix")
|
110
134
|
def dag_gcs_prefix(self) -> Optional[pulumi.Input[str]]:
|
135
|
+
"""
|
136
|
+
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.
|
137
|
+
"""
|
111
138
|
return pulumi.get(self, "dag_gcs_prefix")
|
112
139
|
|
113
140
|
@dag_gcs_prefix.setter
|
@@ -117,6 +144,9 @@ class EnvironmentConfigArgs:
|
|
117
144
|
@property
|
118
145
|
@pulumi.getter(name="databaseConfig")
|
119
146
|
def database_config(self) -> Optional[pulumi.Input['EnvironmentConfigDatabaseConfigArgs']]:
|
147
|
+
"""
|
148
|
+
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-*.*.*.
|
149
|
+
"""
|
120
150
|
return pulumi.get(self, "database_config")
|
121
151
|
|
122
152
|
@database_config.setter
|
@@ -126,6 +156,9 @@ class EnvironmentConfigArgs:
|
|
126
156
|
@property
|
127
157
|
@pulumi.getter(name="enablePrivateBuildsOnly")
|
128
158
|
def enable_private_builds_only(self) -> Optional[pulumi.Input[bool]]:
|
159
|
+
"""
|
160
|
+
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.
|
161
|
+
"""
|
129
162
|
return pulumi.get(self, "enable_private_builds_only")
|
130
163
|
|
131
164
|
@enable_private_builds_only.setter
|
@@ -135,6 +168,9 @@ class EnvironmentConfigArgs:
|
|
135
168
|
@property
|
136
169
|
@pulumi.getter(name="enablePrivateEnvironment")
|
137
170
|
def enable_private_environment(self) -> Optional[pulumi.Input[bool]]:
|
171
|
+
"""
|
172
|
+
Optional. If true, a private Composer environment will be created.
|
173
|
+
"""
|
138
174
|
return pulumi.get(self, "enable_private_environment")
|
139
175
|
|
140
176
|
@enable_private_environment.setter
|
@@ -144,6 +180,9 @@ class EnvironmentConfigArgs:
|
|
144
180
|
@property
|
145
181
|
@pulumi.getter(name="encryptionConfig")
|
146
182
|
def encryption_config(self) -> Optional[pulumi.Input['EnvironmentConfigEncryptionConfigArgs']]:
|
183
|
+
"""
|
184
|
+
The encryption options for the Composer environment and its dependencies.
|
185
|
+
"""
|
147
186
|
return pulumi.get(self, "encryption_config")
|
148
187
|
|
149
188
|
@encryption_config.setter
|
@@ -153,6 +192,9 @@ class EnvironmentConfigArgs:
|
|
153
192
|
@property
|
154
193
|
@pulumi.getter(name="environmentSize")
|
155
194
|
def environment_size(self) -> Optional[pulumi.Input[str]]:
|
195
|
+
"""
|
196
|
+
The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
197
|
+
"""
|
156
198
|
return pulumi.get(self, "environment_size")
|
157
199
|
|
158
200
|
@environment_size.setter
|
@@ -162,6 +204,9 @@ class EnvironmentConfigArgs:
|
|
162
204
|
@property
|
163
205
|
@pulumi.getter(name="gkeCluster")
|
164
206
|
def gke_cluster(self) -> Optional[pulumi.Input[str]]:
|
207
|
+
"""
|
208
|
+
The Kubernetes Engine cluster used to run this environment.
|
209
|
+
"""
|
165
210
|
return pulumi.get(self, "gke_cluster")
|
166
211
|
|
167
212
|
@gke_cluster.setter
|
@@ -171,6 +216,9 @@ class EnvironmentConfigArgs:
|
|
171
216
|
@property
|
172
217
|
@pulumi.getter(name="maintenanceWindow")
|
173
218
|
def maintenance_window(self) -> Optional[pulumi.Input['EnvironmentConfigMaintenanceWindowArgs']]:
|
219
|
+
"""
|
220
|
+
The configuration for Cloud Composer maintenance window.
|
221
|
+
"""
|
174
222
|
return pulumi.get(self, "maintenance_window")
|
175
223
|
|
176
224
|
@maintenance_window.setter
|
@@ -180,6 +228,9 @@ class EnvironmentConfigArgs:
|
|
180
228
|
@property
|
181
229
|
@pulumi.getter(name="masterAuthorizedNetworksConfig")
|
182
230
|
def master_authorized_networks_config(self) -> Optional[pulumi.Input['EnvironmentConfigMasterAuthorizedNetworksConfigArgs']]:
|
231
|
+
"""
|
232
|
+
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.
|
233
|
+
"""
|
183
234
|
return pulumi.get(self, "master_authorized_networks_config")
|
184
235
|
|
185
236
|
@master_authorized_networks_config.setter
|
@@ -189,6 +240,9 @@ class EnvironmentConfigArgs:
|
|
189
240
|
@property
|
190
241
|
@pulumi.getter(name="nodeConfig")
|
191
242
|
def node_config(self) -> Optional[pulumi.Input['EnvironmentConfigNodeConfigArgs']]:
|
243
|
+
"""
|
244
|
+
The configuration used for the Kubernetes Engine cluster.
|
245
|
+
"""
|
192
246
|
return pulumi.get(self, "node_config")
|
193
247
|
|
194
248
|
@node_config.setter
|
@@ -198,6 +252,9 @@ class EnvironmentConfigArgs:
|
|
198
252
|
@property
|
199
253
|
@pulumi.getter(name="nodeCount")
|
200
254
|
def node_count(self) -> Optional[pulumi.Input[int]]:
|
255
|
+
"""
|
256
|
+
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-*.*.*.
|
257
|
+
"""
|
201
258
|
return pulumi.get(self, "node_count")
|
202
259
|
|
203
260
|
@node_count.setter
|
@@ -207,6 +264,9 @@ class EnvironmentConfigArgs:
|
|
207
264
|
@property
|
208
265
|
@pulumi.getter(name="privateEnvironmentConfig")
|
209
266
|
def private_environment_config(self) -> Optional[pulumi.Input['EnvironmentConfigPrivateEnvironmentConfigArgs']]:
|
267
|
+
"""
|
268
|
+
The configuration used for the Private IP Cloud Composer environment.
|
269
|
+
"""
|
210
270
|
return pulumi.get(self, "private_environment_config")
|
211
271
|
|
212
272
|
@private_environment_config.setter
|
@@ -216,6 +276,9 @@ class EnvironmentConfigArgs:
|
|
216
276
|
@property
|
217
277
|
@pulumi.getter(name="recoveryConfig")
|
218
278
|
def recovery_config(self) -> Optional[pulumi.Input['EnvironmentConfigRecoveryConfigArgs']]:
|
279
|
+
"""
|
280
|
+
The recovery configuration settings for the Cloud Composer environment
|
281
|
+
"""
|
219
282
|
return pulumi.get(self, "recovery_config")
|
220
283
|
|
221
284
|
@recovery_config.setter
|
@@ -225,6 +288,9 @@ class EnvironmentConfigArgs:
|
|
225
288
|
@property
|
226
289
|
@pulumi.getter(name="resilienceMode")
|
227
290
|
def resilience_mode(self) -> Optional[pulumi.Input[str]]:
|
291
|
+
"""
|
292
|
+
Whether high resilience is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.1.15-airflow-*.*.* and newer.
|
293
|
+
"""
|
228
294
|
return pulumi.get(self, "resilience_mode")
|
229
295
|
|
230
296
|
@resilience_mode.setter
|
@@ -234,6 +300,9 @@ class EnvironmentConfigArgs:
|
|
234
300
|
@property
|
235
301
|
@pulumi.getter(name="softwareConfig")
|
236
302
|
def software_config(self) -> Optional[pulumi.Input['EnvironmentConfigSoftwareConfigArgs']]:
|
303
|
+
"""
|
304
|
+
The configuration settings for software inside the environment.
|
305
|
+
"""
|
237
306
|
return pulumi.get(self, "software_config")
|
238
307
|
|
239
308
|
@software_config.setter
|
@@ -243,6 +312,9 @@ class EnvironmentConfigArgs:
|
|
243
312
|
@property
|
244
313
|
@pulumi.getter(name="webServerConfig")
|
245
314
|
def web_server_config(self) -> Optional[pulumi.Input['EnvironmentConfigWebServerConfigArgs']]:
|
315
|
+
"""
|
316
|
+
The configuration settings for the Airflow web server App Engine instance. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
317
|
+
"""
|
246
318
|
return pulumi.get(self, "web_server_config")
|
247
319
|
|
248
320
|
@web_server_config.setter
|
@@ -252,6 +324,9 @@ class EnvironmentConfigArgs:
|
|
252
324
|
@property
|
253
325
|
@pulumi.getter(name="webServerNetworkAccessControl")
|
254
326
|
def web_server_network_access_control(self) -> Optional[pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlArgs']]:
|
327
|
+
"""
|
328
|
+
Network-level access control policy for the Airflow web server.
|
329
|
+
"""
|
255
330
|
return pulumi.get(self, "web_server_network_access_control")
|
256
331
|
|
257
332
|
@web_server_network_access_control.setter
|
@@ -261,6 +336,9 @@ class EnvironmentConfigArgs:
|
|
261
336
|
@property
|
262
337
|
@pulumi.getter(name="workloadsConfig")
|
263
338
|
def workloads_config(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigArgs']]:
|
339
|
+
"""
|
340
|
+
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.
|
341
|
+
"""
|
264
342
|
return pulumi.get(self, "workloads_config")
|
265
343
|
|
266
344
|
@workloads_config.setter
|
@@ -273,6 +351,10 @@ class EnvironmentConfigDatabaseConfigArgs:
|
|
273
351
|
def __init__(__self__, *,
|
274
352
|
machine_type: Optional[pulumi.Input[str]] = None,
|
275
353
|
zone: Optional[pulumi.Input[str]] = None):
|
354
|
+
"""
|
355
|
+
:param pulumi.Input[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.
|
356
|
+
:param pulumi.Input[str] zone: Optional. Cloud SQL database preferred zone.
|
357
|
+
"""
|
276
358
|
if machine_type is not None:
|
277
359
|
pulumi.set(__self__, "machine_type", machine_type)
|
278
360
|
if zone is not None:
|
@@ -281,6 +363,9 @@ class EnvironmentConfigDatabaseConfigArgs:
|
|
281
363
|
@property
|
282
364
|
@pulumi.getter(name="machineType")
|
283
365
|
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
366
|
+
"""
|
367
|
+
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.
|
368
|
+
"""
|
284
369
|
return pulumi.get(self, "machine_type")
|
285
370
|
|
286
371
|
@machine_type.setter
|
@@ -290,6 +375,9 @@ class EnvironmentConfigDatabaseConfigArgs:
|
|
290
375
|
@property
|
291
376
|
@pulumi.getter
|
292
377
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
378
|
+
"""
|
379
|
+
Optional. Cloud SQL database preferred zone.
|
380
|
+
"""
|
293
381
|
return pulumi.get(self, "zone")
|
294
382
|
|
295
383
|
@zone.setter
|
@@ -301,11 +389,17 @@ class EnvironmentConfigDatabaseConfigArgs:
|
|
301
389
|
class EnvironmentConfigEncryptionConfigArgs:
|
302
390
|
def __init__(__self__, *,
|
303
391
|
kms_key_name: pulumi.Input[str]):
|
392
|
+
"""
|
393
|
+
:param pulumi.Input[str] kms_key_name: Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
394
|
+
"""
|
304
395
|
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
305
396
|
|
306
397
|
@property
|
307
398
|
@pulumi.getter(name="kmsKeyName")
|
308
399
|
def kms_key_name(self) -> pulumi.Input[str]:
|
400
|
+
"""
|
401
|
+
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated.
|
402
|
+
"""
|
309
403
|
return pulumi.get(self, "kms_key_name")
|
310
404
|
|
311
405
|
@kms_key_name.setter
|
@@ -319,6 +413,11 @@ class EnvironmentConfigMaintenanceWindowArgs:
|
|
319
413
|
end_time: pulumi.Input[str],
|
320
414
|
recurrence: pulumi.Input[str],
|
321
415
|
start_time: pulumi.Input[str]):
|
416
|
+
"""
|
417
|
+
:param pulumi.Input[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'.
|
418
|
+
:param pulumi.Input[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'.
|
419
|
+
:param pulumi.Input[str] start_time: Start time of the first recurrence of the maintenance window.
|
420
|
+
"""
|
322
421
|
pulumi.set(__self__, "end_time", end_time)
|
323
422
|
pulumi.set(__self__, "recurrence", recurrence)
|
324
423
|
pulumi.set(__self__, "start_time", start_time)
|
@@ -326,6 +425,9 @@ class EnvironmentConfigMaintenanceWindowArgs:
|
|
326
425
|
@property
|
327
426
|
@pulumi.getter(name="endTime")
|
328
427
|
def end_time(self) -> pulumi.Input[str]:
|
428
|
+
"""
|
429
|
+
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'.
|
430
|
+
"""
|
329
431
|
return pulumi.get(self, "end_time")
|
330
432
|
|
331
433
|
@end_time.setter
|
@@ -335,6 +437,9 @@ class EnvironmentConfigMaintenanceWindowArgs:
|
|
335
437
|
@property
|
336
438
|
@pulumi.getter
|
337
439
|
def recurrence(self) -> pulumi.Input[str]:
|
440
|
+
"""
|
441
|
+
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'.
|
442
|
+
"""
|
338
443
|
return pulumi.get(self, "recurrence")
|
339
444
|
|
340
445
|
@recurrence.setter
|
@@ -344,6 +449,9 @@ class EnvironmentConfigMaintenanceWindowArgs:
|
|
344
449
|
@property
|
345
450
|
@pulumi.getter(name="startTime")
|
346
451
|
def start_time(self) -> pulumi.Input[str]:
|
452
|
+
"""
|
453
|
+
Start time of the first recurrence of the maintenance window.
|
454
|
+
"""
|
347
455
|
return pulumi.get(self, "start_time")
|
348
456
|
|
349
457
|
@start_time.setter
|
@@ -356,6 +464,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigArgs:
|
|
356
464
|
def __init__(__self__, *,
|
357
465
|
enabled: pulumi.Input[bool],
|
358
466
|
cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs']]]] = None):
|
467
|
+
"""
|
468
|
+
:param pulumi.Input[bool] enabled: Whether or not master authorized networks is enabled.
|
469
|
+
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs']]] cidr_blocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
470
|
+
"""
|
359
471
|
pulumi.set(__self__, "enabled", enabled)
|
360
472
|
if cidr_blocks is not None:
|
361
473
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
@@ -363,6 +475,9 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigArgs:
|
|
363
475
|
@property
|
364
476
|
@pulumi.getter
|
365
477
|
def enabled(self) -> pulumi.Input[bool]:
|
478
|
+
"""
|
479
|
+
Whether or not master authorized networks is enabled.
|
480
|
+
"""
|
366
481
|
return pulumi.get(self, "enabled")
|
367
482
|
|
368
483
|
@enabled.setter
|
@@ -372,6 +487,9 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigArgs:
|
|
372
487
|
@property
|
373
488
|
@pulumi.getter(name="cidrBlocks")
|
374
489
|
def cidr_blocks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs']]]]:
|
490
|
+
"""
|
491
|
+
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
492
|
+
"""
|
375
493
|
return pulumi.get(self, "cidr_blocks")
|
376
494
|
|
377
495
|
@cidr_blocks.setter
|
@@ -384,6 +502,10 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs:
|
|
384
502
|
def __init__(__self__, *,
|
385
503
|
cidr_block: pulumi.Input[str],
|
386
504
|
display_name: Optional[pulumi.Input[str]] = None):
|
505
|
+
"""
|
506
|
+
:param pulumi.Input[str] cidr_block: cidr_block must be specified in CIDR notation.
|
507
|
+
:param pulumi.Input[str] display_name: display_name is a field for users to identify CIDR blocks.
|
508
|
+
"""
|
387
509
|
pulumi.set(__self__, "cidr_block", cidr_block)
|
388
510
|
if display_name is not None:
|
389
511
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -391,6 +513,9 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs:
|
|
391
513
|
@property
|
392
514
|
@pulumi.getter(name="cidrBlock")
|
393
515
|
def cidr_block(self) -> pulumi.Input[str]:
|
516
|
+
"""
|
517
|
+
cidr_block must be specified in CIDR notation.
|
518
|
+
"""
|
394
519
|
return pulumi.get(self, "cidr_block")
|
395
520
|
|
396
521
|
@cidr_block.setter
|
@@ -400,6 +525,9 @@ class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlockArgs:
|
|
400
525
|
@property
|
401
526
|
@pulumi.getter(name="displayName")
|
402
527
|
def display_name(self) -> Optional[pulumi.Input[str]]:
|
528
|
+
"""
|
529
|
+
display_name is a field for users to identify CIDR blocks.
|
530
|
+
"""
|
403
531
|
return pulumi.get(self, "display_name")
|
404
532
|
|
405
533
|
@display_name.setter
|
@@ -422,6 +550,20 @@ class EnvironmentConfigNodeConfigArgs:
|
|
422
550
|
subnetwork: Optional[pulumi.Input[str]] = None,
|
423
551
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
424
552
|
zone: Optional[pulumi.Input[str]] = None):
|
553
|
+
"""
|
554
|
+
:param pulumi.Input[str] composer_internal_ipv4_cidr_block: IPv4 cidr range that will be used by Composer internal components.
|
555
|
+
:param pulumi.Input[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-*.*.*.
|
556
|
+
:param pulumi.Input[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
|
557
|
+
:param pulumi.Input['EnvironmentConfigNodeConfigIpAllocationPolicyArgs'] ip_allocation_policy: Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
558
|
+
:param pulumi.Input[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-*.*.*.
|
559
|
+
:param pulumi.Input[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-*.*.*.
|
560
|
+
:param pulumi.Input[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.
|
561
|
+
:param pulumi.Input[Sequence[pulumi.Input[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-*.*.*.
|
562
|
+
:param pulumi.Input[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.
|
563
|
+
:param pulumi.Input[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.
|
564
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
565
|
+
:param pulumi.Input[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-*.*.*.
|
566
|
+
"""
|
425
567
|
if composer_internal_ipv4_cidr_block is not None:
|
426
568
|
pulumi.set(__self__, "composer_internal_ipv4_cidr_block", composer_internal_ipv4_cidr_block)
|
427
569
|
if disk_size_gb is not None:
|
@@ -450,6 +592,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
450
592
|
@property
|
451
593
|
@pulumi.getter(name="composerInternalIpv4CidrBlock")
|
452
594
|
def composer_internal_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
595
|
+
"""
|
596
|
+
IPv4 cidr range that will be used by Composer internal components.
|
597
|
+
"""
|
453
598
|
return pulumi.get(self, "composer_internal_ipv4_cidr_block")
|
454
599
|
|
455
600
|
@composer_internal_ipv4_cidr_block.setter
|
@@ -459,6 +604,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
459
604
|
@property
|
460
605
|
@pulumi.getter(name="diskSizeGb")
|
461
606
|
def disk_size_gb(self) -> Optional[pulumi.Input[int]]:
|
607
|
+
"""
|
608
|
+
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-*.*.*.
|
609
|
+
"""
|
462
610
|
return pulumi.get(self, "disk_size_gb")
|
463
611
|
|
464
612
|
@disk_size_gb.setter
|
@@ -468,6 +616,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
468
616
|
@property
|
469
617
|
@pulumi.getter(name="enableIpMasqAgent")
|
470
618
|
def enable_ip_masq_agent(self) -> Optional[pulumi.Input[bool]]:
|
619
|
+
"""
|
620
|
+
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
|
621
|
+
"""
|
471
622
|
return pulumi.get(self, "enable_ip_masq_agent")
|
472
623
|
|
473
624
|
@enable_ip_masq_agent.setter
|
@@ -477,6 +628,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
477
628
|
@property
|
478
629
|
@pulumi.getter(name="ipAllocationPolicy")
|
479
630
|
def ip_allocation_policy(self) -> Optional[pulumi.Input['EnvironmentConfigNodeConfigIpAllocationPolicyArgs']]:
|
631
|
+
"""
|
632
|
+
Configuration for controlling how IPs are allocated in the GKE cluster. Cannot be updated.
|
633
|
+
"""
|
480
634
|
return pulumi.get(self, "ip_allocation_policy")
|
481
635
|
|
482
636
|
@ip_allocation_policy.setter
|
@@ -486,6 +640,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
486
640
|
@property
|
487
641
|
@pulumi.getter(name="machineType")
|
488
642
|
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
643
|
+
"""
|
644
|
+
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-*.*.*.
|
645
|
+
"""
|
489
646
|
return pulumi.get(self, "machine_type")
|
490
647
|
|
491
648
|
@machine_type.setter
|
@@ -495,6 +652,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
495
652
|
@property
|
496
653
|
@pulumi.getter(name="maxPodsPerNode")
|
497
654
|
def max_pods_per_node(self) -> Optional[pulumi.Input[int]]:
|
655
|
+
"""
|
656
|
+
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-*.*.*.
|
657
|
+
"""
|
498
658
|
return pulumi.get(self, "max_pods_per_node")
|
499
659
|
|
500
660
|
@max_pods_per_node.setter
|
@@ -504,6 +664,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
504
664
|
@property
|
505
665
|
@pulumi.getter
|
506
666
|
def network(self) -> Optional[pulumi.Input[str]]:
|
667
|
+
"""
|
668
|
+
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.
|
669
|
+
"""
|
507
670
|
return pulumi.get(self, "network")
|
508
671
|
|
509
672
|
@network.setter
|
@@ -513,6 +676,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
513
676
|
@property
|
514
677
|
@pulumi.getter(name="oauthScopes")
|
515
678
|
def oauth_scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
679
|
+
"""
|
680
|
+
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-*.*.*.
|
681
|
+
"""
|
516
682
|
return pulumi.get(self, "oauth_scopes")
|
517
683
|
|
518
684
|
@oauth_scopes.setter
|
@@ -522,6 +688,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
522
688
|
@property
|
523
689
|
@pulumi.getter(name="serviceAccount")
|
524
690
|
def service_account(self) -> Optional[pulumi.Input[str]]:
|
691
|
+
"""
|
692
|
+
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.
|
693
|
+
"""
|
525
694
|
return pulumi.get(self, "service_account")
|
526
695
|
|
527
696
|
@service_account.setter
|
@@ -531,6 +700,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
531
700
|
@property
|
532
701
|
@pulumi.getter
|
533
702
|
def subnetwork(self) -> Optional[pulumi.Input[str]]:
|
703
|
+
"""
|
704
|
+
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.
|
705
|
+
"""
|
534
706
|
return pulumi.get(self, "subnetwork")
|
535
707
|
|
536
708
|
@subnetwork.setter
|
@@ -540,6 +712,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
540
712
|
@property
|
541
713
|
@pulumi.getter
|
542
714
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
715
|
+
"""
|
716
|
+
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.
|
717
|
+
"""
|
543
718
|
return pulumi.get(self, "tags")
|
544
719
|
|
545
720
|
@tags.setter
|
@@ -549,6 +724,9 @@ class EnvironmentConfigNodeConfigArgs:
|
|
549
724
|
@property
|
550
725
|
@pulumi.getter
|
551
726
|
def zone(self) -> Optional[pulumi.Input[str]]:
|
727
|
+
"""
|
728
|
+
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-*.*.*.
|
729
|
+
"""
|
552
730
|
return pulumi.get(self, "zone")
|
553
731
|
|
554
732
|
@zone.setter
|
@@ -564,6 +742,13 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
564
742
|
services_ipv4_cidr_block: Optional[pulumi.Input[str]] = None,
|
565
743
|
services_secondary_range_name: Optional[pulumi.Input[str]] = None,
|
566
744
|
use_ip_aliases: Optional[pulumi.Input[bool]] = None):
|
745
|
+
"""
|
746
|
+
:param pulumi.Input[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.
|
747
|
+
:param pulumi.Input[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.
|
748
|
+
:param pulumi.Input[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.
|
749
|
+
:param pulumi.Input[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.
|
750
|
+
:param pulumi.Input[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.
|
751
|
+
"""
|
567
752
|
if cluster_ipv4_cidr_block is not None:
|
568
753
|
pulumi.set(__self__, "cluster_ipv4_cidr_block", cluster_ipv4_cidr_block)
|
569
754
|
if cluster_secondary_range_name is not None:
|
@@ -578,6 +763,9 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
578
763
|
@property
|
579
764
|
@pulumi.getter(name="clusterIpv4CidrBlock")
|
580
765
|
def cluster_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
766
|
+
"""
|
767
|
+
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.
|
768
|
+
"""
|
581
769
|
return pulumi.get(self, "cluster_ipv4_cidr_block")
|
582
770
|
|
583
771
|
@cluster_ipv4_cidr_block.setter
|
@@ -587,6 +775,9 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
587
775
|
@property
|
588
776
|
@pulumi.getter(name="clusterSecondaryRangeName")
|
589
777
|
def cluster_secondary_range_name(self) -> Optional[pulumi.Input[str]]:
|
778
|
+
"""
|
779
|
+
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.
|
780
|
+
"""
|
590
781
|
return pulumi.get(self, "cluster_secondary_range_name")
|
591
782
|
|
592
783
|
@cluster_secondary_range_name.setter
|
@@ -596,6 +787,9 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
596
787
|
@property
|
597
788
|
@pulumi.getter(name="servicesIpv4CidrBlock")
|
598
789
|
def services_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
790
|
+
"""
|
791
|
+
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.
|
792
|
+
"""
|
599
793
|
return pulumi.get(self, "services_ipv4_cidr_block")
|
600
794
|
|
601
795
|
@services_ipv4_cidr_block.setter
|
@@ -605,6 +799,9 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
605
799
|
@property
|
606
800
|
@pulumi.getter(name="servicesSecondaryRangeName")
|
607
801
|
def services_secondary_range_name(self) -> Optional[pulumi.Input[str]]:
|
802
|
+
"""
|
803
|
+
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.
|
804
|
+
"""
|
608
805
|
return pulumi.get(self, "services_secondary_range_name")
|
609
806
|
|
610
807
|
@services_secondary_range_name.setter
|
@@ -614,6 +811,9 @@ class EnvironmentConfigNodeConfigIpAllocationPolicyArgs:
|
|
614
811
|
@property
|
615
812
|
@pulumi.getter(name="useIpAliases")
|
616
813
|
def use_ip_aliases(self) -> Optional[pulumi.Input[bool]]:
|
814
|
+
"""
|
815
|
+
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.
|
816
|
+
"""
|
617
817
|
return pulumi.get(self, "use_ip_aliases")
|
618
818
|
|
619
819
|
@use_ip_aliases.setter
|
@@ -632,6 +832,16 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
632
832
|
enable_privately_used_public_ips: Optional[pulumi.Input[bool]] = None,
|
633
833
|
master_ipv4_cidr_block: Optional[pulumi.Input[str]] = None,
|
634
834
|
web_server_ipv4_cidr_block: Optional[pulumi.Input[str]] = None):
|
835
|
+
"""
|
836
|
+
:param pulumi.Input[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.
|
837
|
+
:param pulumi.Input[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.
|
838
|
+
:param pulumi.Input[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.
|
839
|
+
:param pulumi.Input[str] connection_type: Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
840
|
+
:param pulumi.Input[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-*.*.*.
|
841
|
+
:param pulumi.Input[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.
|
842
|
+
:param pulumi.Input[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.
|
843
|
+
:param pulumi.Input[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-*.*.*.
|
844
|
+
"""
|
635
845
|
if cloud_composer_connection_subnetwork is not None:
|
636
846
|
pulumi.set(__self__, "cloud_composer_connection_subnetwork", cloud_composer_connection_subnetwork)
|
637
847
|
if cloud_composer_network_ipv4_cidr_block is not None:
|
@@ -652,6 +862,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
652
862
|
@property
|
653
863
|
@pulumi.getter(name="cloudComposerConnectionSubnetwork")
|
654
864
|
def cloud_composer_connection_subnetwork(self) -> Optional[pulumi.Input[str]]:
|
865
|
+
"""
|
866
|
+
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.
|
867
|
+
"""
|
655
868
|
return pulumi.get(self, "cloud_composer_connection_subnetwork")
|
656
869
|
|
657
870
|
@cloud_composer_connection_subnetwork.setter
|
@@ -661,6 +874,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
661
874
|
@property
|
662
875
|
@pulumi.getter(name="cloudComposerNetworkIpv4CidrBlock")
|
663
876
|
def cloud_composer_network_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
877
|
+
"""
|
878
|
+
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.
|
879
|
+
"""
|
664
880
|
return pulumi.get(self, "cloud_composer_network_ipv4_cidr_block")
|
665
881
|
|
666
882
|
@cloud_composer_network_ipv4_cidr_block.setter
|
@@ -670,6 +886,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
670
886
|
@property
|
671
887
|
@pulumi.getter(name="cloudSqlIpv4CidrBlock")
|
672
888
|
def cloud_sql_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
889
|
+
"""
|
890
|
+
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.
|
891
|
+
"""
|
673
892
|
return pulumi.get(self, "cloud_sql_ipv4_cidr_block")
|
674
893
|
|
675
894
|
@cloud_sql_ipv4_cidr_block.setter
|
@@ -679,6 +898,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
679
898
|
@property
|
680
899
|
@pulumi.getter(name="connectionType")
|
681
900
|
def connection_type(self) -> Optional[pulumi.Input[str]]:
|
901
|
+
"""
|
902
|
+
Mode of internal communication within the Composer environment. Must be one of "VPC_PEERING" or "PRIVATE_SERVICE_CONNECT".
|
903
|
+
"""
|
682
904
|
return pulumi.get(self, "connection_type")
|
683
905
|
|
684
906
|
@connection_type.setter
|
@@ -688,6 +910,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
688
910
|
@property
|
689
911
|
@pulumi.getter(name="enablePrivateEndpoint")
|
690
912
|
def enable_private_endpoint(self) -> Optional[pulumi.Input[bool]]:
|
913
|
+
"""
|
914
|
+
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-*.*.*.
|
915
|
+
"""
|
691
916
|
return pulumi.get(self, "enable_private_endpoint")
|
692
917
|
|
693
918
|
@enable_private_endpoint.setter
|
@@ -697,6 +922,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
697
922
|
@property
|
698
923
|
@pulumi.getter(name="enablePrivatelyUsedPublicIps")
|
699
924
|
def enable_privately_used_public_ips(self) -> Optional[pulumi.Input[bool]]:
|
925
|
+
"""
|
926
|
+
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.
|
927
|
+
"""
|
700
928
|
return pulumi.get(self, "enable_privately_used_public_ips")
|
701
929
|
|
702
930
|
@enable_privately_used_public_ips.setter
|
@@ -706,6 +934,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
706
934
|
@property
|
707
935
|
@pulumi.getter(name="masterIpv4CidrBlock")
|
708
936
|
def master_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
937
|
+
"""
|
938
|
+
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.
|
939
|
+
"""
|
709
940
|
return pulumi.get(self, "master_ipv4_cidr_block")
|
710
941
|
|
711
942
|
@master_ipv4_cidr_block.setter
|
@@ -715,6 +946,9 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
715
946
|
@property
|
716
947
|
@pulumi.getter(name="webServerIpv4CidrBlock")
|
717
948
|
def web_server_ipv4_cidr_block(self) -> Optional[pulumi.Input[str]]:
|
949
|
+
"""
|
950
|
+
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-*.*.*.
|
951
|
+
"""
|
718
952
|
return pulumi.get(self, "web_server_ipv4_cidr_block")
|
719
953
|
|
720
954
|
@web_server_ipv4_cidr_block.setter
|
@@ -726,12 +960,18 @@ class EnvironmentConfigPrivateEnvironmentConfigArgs:
|
|
726
960
|
class EnvironmentConfigRecoveryConfigArgs:
|
727
961
|
def __init__(__self__, *,
|
728
962
|
scheduled_snapshots_config: Optional[pulumi.Input['EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs']] = None):
|
963
|
+
"""
|
964
|
+
:param pulumi.Input['EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs'] scheduled_snapshots_config: The configuration settings for scheduled snapshots.
|
965
|
+
"""
|
729
966
|
if scheduled_snapshots_config is not None:
|
730
967
|
pulumi.set(__self__, "scheduled_snapshots_config", scheduled_snapshots_config)
|
731
968
|
|
732
969
|
@property
|
733
970
|
@pulumi.getter(name="scheduledSnapshotsConfig")
|
734
971
|
def scheduled_snapshots_config(self) -> Optional[pulumi.Input['EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs']]:
|
972
|
+
"""
|
973
|
+
The configuration settings for scheduled snapshots.
|
974
|
+
"""
|
735
975
|
return pulumi.get(self, "scheduled_snapshots_config")
|
736
976
|
|
737
977
|
@scheduled_snapshots_config.setter
|
@@ -746,6 +986,12 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs:
|
|
746
986
|
snapshot_creation_schedule: Optional[pulumi.Input[str]] = None,
|
747
987
|
snapshot_location: Optional[pulumi.Input[str]] = None,
|
748
988
|
time_zone: Optional[pulumi.Input[str]] = None):
|
989
|
+
"""
|
990
|
+
:param pulumi.Input[bool] enabled: When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
991
|
+
:param pulumi.Input[str] snapshot_creation_schedule: Snapshot schedule, in the unix-cron format.
|
992
|
+
:param pulumi.Input[str] snapshot_location: the URI of a bucket folder where to save the snapshot.
|
993
|
+
:param pulumi.Input[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.
|
994
|
+
"""
|
749
995
|
pulumi.set(__self__, "enabled", enabled)
|
750
996
|
if snapshot_creation_schedule is not None:
|
751
997
|
pulumi.set(__self__, "snapshot_creation_schedule", snapshot_creation_schedule)
|
@@ -757,6 +1003,9 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs:
|
|
757
1003
|
@property
|
758
1004
|
@pulumi.getter
|
759
1005
|
def enabled(self) -> pulumi.Input[bool]:
|
1006
|
+
"""
|
1007
|
+
When enabled, Cloud Composer periodically saves snapshots of your environment to a Cloud Storage bucket.
|
1008
|
+
"""
|
760
1009
|
return pulumi.get(self, "enabled")
|
761
1010
|
|
762
1011
|
@enabled.setter
|
@@ -766,6 +1015,9 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs:
|
|
766
1015
|
@property
|
767
1016
|
@pulumi.getter(name="snapshotCreationSchedule")
|
768
1017
|
def snapshot_creation_schedule(self) -> Optional[pulumi.Input[str]]:
|
1018
|
+
"""
|
1019
|
+
Snapshot schedule, in the unix-cron format.
|
1020
|
+
"""
|
769
1021
|
return pulumi.get(self, "snapshot_creation_schedule")
|
770
1022
|
|
771
1023
|
@snapshot_creation_schedule.setter
|
@@ -775,6 +1027,9 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs:
|
|
775
1027
|
@property
|
776
1028
|
@pulumi.getter(name="snapshotLocation")
|
777
1029
|
def snapshot_location(self) -> Optional[pulumi.Input[str]]:
|
1030
|
+
"""
|
1031
|
+
the URI of a bucket folder where to save the snapshot.
|
1032
|
+
"""
|
778
1033
|
return pulumi.get(self, "snapshot_location")
|
779
1034
|
|
780
1035
|
@snapshot_location.setter
|
@@ -784,6 +1039,9 @@ class EnvironmentConfigRecoveryConfigScheduledSnapshotsConfigArgs:
|
|
784
1039
|
@property
|
785
1040
|
@pulumi.getter(name="timeZone")
|
786
1041
|
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
1042
|
+
"""
|
1043
|
+
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.
|
1044
|
+
"""
|
787
1045
|
return pulumi.get(self, "time_zone")
|
788
1046
|
|
789
1047
|
@time_zone.setter
|
@@ -802,6 +1060,16 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
802
1060
|
python_version: Optional[pulumi.Input[str]] = None,
|
803
1061
|
scheduler_count: Optional[pulumi.Input[int]] = None,
|
804
1062
|
web_server_plugins_mode: Optional[pulumi.Input[str]] = None):
|
1063
|
+
"""
|
1064
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
1065
|
+
:param pulumi.Input['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
|
1066
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
1067
|
+
:param pulumi.Input[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.
|
1068
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[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.
|
1069
|
+
:param pulumi.Input[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.
|
1070
|
+
:param pulumi.Input[int] scheduler_count: The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1071
|
+
:param pulumi.Input[str] web_server_plugins_mode: Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1072
|
+
"""
|
805
1073
|
if airflow_config_overrides is not None:
|
806
1074
|
pulumi.set(__self__, "airflow_config_overrides", airflow_config_overrides)
|
807
1075
|
if cloud_data_lineage_integration is not None:
|
@@ -822,6 +1090,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
822
1090
|
@property
|
823
1091
|
@pulumi.getter(name="airflowConfigOverrides")
|
824
1092
|
def airflow_config_overrides(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1093
|
+
"""
|
1094
|
+
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.
|
1095
|
+
"""
|
825
1096
|
return pulumi.get(self, "airflow_config_overrides")
|
826
1097
|
|
827
1098
|
@airflow_config_overrides.setter
|
@@ -831,6 +1102,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
831
1102
|
@property
|
832
1103
|
@pulumi.getter(name="cloudDataLineageIntegration")
|
833
1104
|
def cloud_data_lineage_integration(self) -> Optional[pulumi.Input['EnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs']]:
|
1105
|
+
"""
|
1106
|
+
The configuration for Cloud Data Lineage integration. Supported for Cloud Composer environments in versions composer-2.1.2-airflow-*.*.* and newer
|
1107
|
+
"""
|
834
1108
|
return pulumi.get(self, "cloud_data_lineage_integration")
|
835
1109
|
|
836
1110
|
@cloud_data_lineage_integration.setter
|
@@ -840,6 +1114,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
840
1114
|
@property
|
841
1115
|
@pulumi.getter(name="envVariables")
|
842
1116
|
def env_variables(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1117
|
+
"""
|
1118
|
+
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.
|
1119
|
+
"""
|
843
1120
|
return pulumi.get(self, "env_variables")
|
844
1121
|
|
845
1122
|
@env_variables.setter
|
@@ -849,6 +1126,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
849
1126
|
@property
|
850
1127
|
@pulumi.getter(name="imageVersion")
|
851
1128
|
def image_version(self) -> Optional[pulumi.Input[str]]:
|
1129
|
+
"""
|
1130
|
+
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.
|
1131
|
+
"""
|
852
1132
|
return pulumi.get(self, "image_version")
|
853
1133
|
|
854
1134
|
@image_version.setter
|
@@ -858,6 +1138,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
858
1138
|
@property
|
859
1139
|
@pulumi.getter(name="pypiPackages")
|
860
1140
|
def pypi_packages(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1141
|
+
"""
|
1142
|
+
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.
|
1143
|
+
"""
|
861
1144
|
return pulumi.get(self, "pypi_packages")
|
862
1145
|
|
863
1146
|
@pypi_packages.setter
|
@@ -867,6 +1150,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
867
1150
|
@property
|
868
1151
|
@pulumi.getter(name="pythonVersion")
|
869
1152
|
def python_version(self) -> Optional[pulumi.Input[str]]:
|
1153
|
+
"""
|
1154
|
+
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.
|
1155
|
+
"""
|
870
1156
|
return pulumi.get(self, "python_version")
|
871
1157
|
|
872
1158
|
@python_version.setter
|
@@ -876,6 +1162,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
876
1162
|
@property
|
877
1163
|
@pulumi.getter(name="schedulerCount")
|
878
1164
|
def scheduler_count(self) -> Optional[pulumi.Input[int]]:
|
1165
|
+
"""
|
1166
|
+
The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1167
|
+
"""
|
879
1168
|
return pulumi.get(self, "scheduler_count")
|
880
1169
|
|
881
1170
|
@scheduler_count.setter
|
@@ -885,6 +1174,9 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
885
1174
|
@property
|
886
1175
|
@pulumi.getter(name="webServerPluginsMode")
|
887
1176
|
def web_server_plugins_mode(self) -> Optional[pulumi.Input[str]]:
|
1177
|
+
"""
|
1178
|
+
Should be either 'ENABLED' or 'DISABLED'. Defaults to 'ENABLED'. Used in Composer 3.
|
1179
|
+
"""
|
888
1180
|
return pulumi.get(self, "web_server_plugins_mode")
|
889
1181
|
|
890
1182
|
@web_server_plugins_mode.setter
|
@@ -896,11 +1188,17 @@ class EnvironmentConfigSoftwareConfigArgs:
|
|
896
1188
|
class EnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs:
|
897
1189
|
def __init__(__self__, *,
|
898
1190
|
enabled: pulumi.Input[bool]):
|
1191
|
+
"""
|
1192
|
+
:param pulumi.Input[bool] enabled: Whether or not Cloud Data Lineage integration is enabled.
|
1193
|
+
"""
|
899
1194
|
pulumi.set(__self__, "enabled", enabled)
|
900
1195
|
|
901
1196
|
@property
|
902
1197
|
@pulumi.getter
|
903
1198
|
def enabled(self) -> pulumi.Input[bool]:
|
1199
|
+
"""
|
1200
|
+
Whether or not Cloud Data Lineage integration is enabled.
|
1201
|
+
"""
|
904
1202
|
return pulumi.get(self, "enabled")
|
905
1203
|
|
906
1204
|
@enabled.setter
|
@@ -912,11 +1210,17 @@ class EnvironmentConfigSoftwareConfigCloudDataLineageIntegrationArgs:
|
|
912
1210
|
class EnvironmentConfigWebServerConfigArgs:
|
913
1211
|
def __init__(__self__, *,
|
914
1212
|
machine_type: pulumi.Input[str]):
|
1213
|
+
"""
|
1214
|
+
:param pulumi.Input[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.
|
1215
|
+
"""
|
915
1216
|
pulumi.set(__self__, "machine_type", machine_type)
|
916
1217
|
|
917
1218
|
@property
|
918
1219
|
@pulumi.getter(name="machineType")
|
919
1220
|
def machine_type(self) -> pulumi.Input[str]:
|
1221
|
+
"""
|
1222
|
+
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.
|
1223
|
+
"""
|
920
1224
|
return pulumi.get(self, "machine_type")
|
921
1225
|
|
922
1226
|
@machine_type.setter
|
@@ -928,12 +1232,18 @@ class EnvironmentConfigWebServerConfigArgs:
|
|
928
1232
|
class EnvironmentConfigWebServerNetworkAccessControlArgs:
|
929
1233
|
def __init__(__self__, *,
|
930
1234
|
allowed_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs']]]] = None):
|
1235
|
+
"""
|
1236
|
+
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs']]] allowed_ip_ranges: A collection of allowed IP ranges with descriptions.
|
1237
|
+
"""
|
931
1238
|
if allowed_ip_ranges is not None:
|
932
1239
|
pulumi.set(__self__, "allowed_ip_ranges", allowed_ip_ranges)
|
933
1240
|
|
934
1241
|
@property
|
935
1242
|
@pulumi.getter(name="allowedIpRanges")
|
936
1243
|
def allowed_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs']]]]:
|
1244
|
+
"""
|
1245
|
+
A collection of allowed IP ranges with descriptions.
|
1246
|
+
"""
|
937
1247
|
return pulumi.get(self, "allowed_ip_ranges")
|
938
1248
|
|
939
1249
|
@allowed_ip_ranges.setter
|
@@ -946,6 +1256,10 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs:
|
|
946
1256
|
def __init__(__self__, *,
|
947
1257
|
value: pulumi.Input[str],
|
948
1258
|
description: Optional[pulumi.Input[str]] = None):
|
1259
|
+
"""
|
1260
|
+
:param pulumi.Input[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.
|
1261
|
+
:param pulumi.Input[str] description: A description of this ip range.
|
1262
|
+
"""
|
949
1263
|
pulumi.set(__self__, "value", value)
|
950
1264
|
if description is not None:
|
951
1265
|
pulumi.set(__self__, "description", description)
|
@@ -953,6 +1267,9 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs:
|
|
953
1267
|
@property
|
954
1268
|
@pulumi.getter
|
955
1269
|
def value(self) -> pulumi.Input[str]:
|
1270
|
+
"""
|
1271
|
+
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.
|
1272
|
+
"""
|
956
1273
|
return pulumi.get(self, "value")
|
957
1274
|
|
958
1275
|
@value.setter
|
@@ -962,6 +1279,9 @@ class EnvironmentConfigWebServerNetworkAccessControlAllowedIpRangeArgs:
|
|
962
1279
|
@property
|
963
1280
|
@pulumi.getter
|
964
1281
|
def description(self) -> Optional[pulumi.Input[str]]:
|
1282
|
+
"""
|
1283
|
+
A description of this ip range.
|
1284
|
+
"""
|
965
1285
|
return pulumi.get(self, "description")
|
966
1286
|
|
967
1287
|
@description.setter
|
@@ -977,6 +1297,13 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
977
1297
|
triggerer: Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigTriggererArgs']] = None,
|
978
1298
|
web_server: Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigWebServerArgs']] = None,
|
979
1299
|
worker: Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigWorkerArgs']] = None):
|
1300
|
+
"""
|
1301
|
+
:param pulumi.Input['EnvironmentConfigWorkloadsConfigDagProcessorArgs'] dag_processor: Configuration for resources used by DAG processor.
|
1302
|
+
:param pulumi.Input['EnvironmentConfigWorkloadsConfigSchedulerArgs'] scheduler: Configuration for resources used by Airflow schedulers.
|
1303
|
+
:param pulumi.Input['EnvironmentConfigWorkloadsConfigTriggererArgs'] triggerer: Configuration for resources used by Airflow triggerers.
|
1304
|
+
:param pulumi.Input['EnvironmentConfigWorkloadsConfigWebServerArgs'] web_server: Configuration for resources used by Airflow web server.
|
1305
|
+
:param pulumi.Input['EnvironmentConfigWorkloadsConfigWorkerArgs'] worker: Configuration for resources used by Airflow workers.
|
1306
|
+
"""
|
980
1307
|
if dag_processor is not None:
|
981
1308
|
pulumi.set(__self__, "dag_processor", dag_processor)
|
982
1309
|
if scheduler is not None:
|
@@ -991,6 +1318,9 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
991
1318
|
@property
|
992
1319
|
@pulumi.getter(name="dagProcessor")
|
993
1320
|
def dag_processor(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigDagProcessorArgs']]:
|
1321
|
+
"""
|
1322
|
+
Configuration for resources used by DAG processor.
|
1323
|
+
"""
|
994
1324
|
return pulumi.get(self, "dag_processor")
|
995
1325
|
|
996
1326
|
@dag_processor.setter
|
@@ -1000,6 +1330,9 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
1000
1330
|
@property
|
1001
1331
|
@pulumi.getter
|
1002
1332
|
def scheduler(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigSchedulerArgs']]:
|
1333
|
+
"""
|
1334
|
+
Configuration for resources used by Airflow schedulers.
|
1335
|
+
"""
|
1003
1336
|
return pulumi.get(self, "scheduler")
|
1004
1337
|
|
1005
1338
|
@scheduler.setter
|
@@ -1009,6 +1342,9 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
1009
1342
|
@property
|
1010
1343
|
@pulumi.getter
|
1011
1344
|
def triggerer(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigTriggererArgs']]:
|
1345
|
+
"""
|
1346
|
+
Configuration for resources used by Airflow triggerers.
|
1347
|
+
"""
|
1012
1348
|
return pulumi.get(self, "triggerer")
|
1013
1349
|
|
1014
1350
|
@triggerer.setter
|
@@ -1018,6 +1354,9 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
1018
1354
|
@property
|
1019
1355
|
@pulumi.getter(name="webServer")
|
1020
1356
|
def web_server(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigWebServerArgs']]:
|
1357
|
+
"""
|
1358
|
+
Configuration for resources used by Airflow web server.
|
1359
|
+
"""
|
1021
1360
|
return pulumi.get(self, "web_server")
|
1022
1361
|
|
1023
1362
|
@web_server.setter
|
@@ -1027,6 +1366,9 @@ class EnvironmentConfigWorkloadsConfigArgs:
|
|
1027
1366
|
@property
|
1028
1367
|
@pulumi.getter
|
1029
1368
|
def worker(self) -> Optional[pulumi.Input['EnvironmentConfigWorkloadsConfigWorkerArgs']]:
|
1369
|
+
"""
|
1370
|
+
Configuration for resources used by Airflow workers.
|
1371
|
+
"""
|
1030
1372
|
return pulumi.get(self, "worker")
|
1031
1373
|
|
1032
1374
|
@worker.setter
|
@@ -1040,6 +1382,11 @@ class EnvironmentConfigWorkloadsConfigDagProcessorArgs:
|
|
1040
1382
|
cpu: Optional[pulumi.Input[float]] = None,
|
1041
1383
|
memory_gb: Optional[pulumi.Input[float]] = None,
|
1042
1384
|
storage_gb: Optional[pulumi.Input[float]] = None):
|
1385
|
+
"""
|
1386
|
+
:param pulumi.Input[float] cpu: CPU request and limit for DAG processor.
|
1387
|
+
:param pulumi.Input[float] memory_gb: Memory (GB) request and limit for DAG processor.
|
1388
|
+
:param pulumi.Input[float] storage_gb: Storage (GB) request and limit for DAG processor.
|
1389
|
+
"""
|
1043
1390
|
if cpu is not None:
|
1044
1391
|
pulumi.set(__self__, "cpu", cpu)
|
1045
1392
|
if memory_gb is not None:
|
@@ -1050,6 +1397,9 @@ class EnvironmentConfigWorkloadsConfigDagProcessorArgs:
|
|
1050
1397
|
@property
|
1051
1398
|
@pulumi.getter
|
1052
1399
|
def cpu(self) -> Optional[pulumi.Input[float]]:
|
1400
|
+
"""
|
1401
|
+
CPU request and limit for DAG processor.
|
1402
|
+
"""
|
1053
1403
|
return pulumi.get(self, "cpu")
|
1054
1404
|
|
1055
1405
|
@cpu.setter
|
@@ -1059,6 +1409,9 @@ class EnvironmentConfigWorkloadsConfigDagProcessorArgs:
|
|
1059
1409
|
@property
|
1060
1410
|
@pulumi.getter(name="memoryGb")
|
1061
1411
|
def memory_gb(self) -> Optional[pulumi.Input[float]]:
|
1412
|
+
"""
|
1413
|
+
Memory (GB) request and limit for DAG processor.
|
1414
|
+
"""
|
1062
1415
|
return pulumi.get(self, "memory_gb")
|
1063
1416
|
|
1064
1417
|
@memory_gb.setter
|
@@ -1068,6 +1421,9 @@ class EnvironmentConfigWorkloadsConfigDagProcessorArgs:
|
|
1068
1421
|
@property
|
1069
1422
|
@pulumi.getter(name="storageGb")
|
1070
1423
|
def storage_gb(self) -> Optional[pulumi.Input[float]]:
|
1424
|
+
"""
|
1425
|
+
Storage (GB) request and limit for DAG processor.
|
1426
|
+
"""
|
1071
1427
|
return pulumi.get(self, "storage_gb")
|
1072
1428
|
|
1073
1429
|
@storage_gb.setter
|
@@ -1082,6 +1438,12 @@ class EnvironmentConfigWorkloadsConfigSchedulerArgs:
|
|
1082
1438
|
cpu: Optional[pulumi.Input[float]] = None,
|
1083
1439
|
memory_gb: Optional[pulumi.Input[float]] = None,
|
1084
1440
|
storage_gb: Optional[pulumi.Input[float]] = None):
|
1441
|
+
"""
|
1442
|
+
:param pulumi.Input[int] count: The number of schedulers.
|
1443
|
+
:param pulumi.Input[float] cpu: CPU request and limit for a single Airflow scheduler replica
|
1444
|
+
:param pulumi.Input[float] memory_gb: Memory (GB) request and limit for a single Airflow scheduler replica.
|
1445
|
+
:param pulumi.Input[float] storage_gb: Storage (GB) request and limit for a single Airflow scheduler replica.
|
1446
|
+
"""
|
1085
1447
|
if count is not None:
|
1086
1448
|
pulumi.set(__self__, "count", count)
|
1087
1449
|
if cpu is not None:
|
@@ -1094,6 +1456,9 @@ class EnvironmentConfigWorkloadsConfigSchedulerArgs:
|
|
1094
1456
|
@property
|
1095
1457
|
@pulumi.getter
|
1096
1458
|
def count(self) -> Optional[pulumi.Input[int]]:
|
1459
|
+
"""
|
1460
|
+
The number of schedulers.
|
1461
|
+
"""
|
1097
1462
|
return pulumi.get(self, "count")
|
1098
1463
|
|
1099
1464
|
@count.setter
|
@@ -1103,6 +1468,9 @@ class EnvironmentConfigWorkloadsConfigSchedulerArgs:
|
|
1103
1468
|
@property
|
1104
1469
|
@pulumi.getter
|
1105
1470
|
def cpu(self) -> Optional[pulumi.Input[float]]:
|
1471
|
+
"""
|
1472
|
+
CPU request and limit for a single Airflow scheduler replica
|
1473
|
+
"""
|
1106
1474
|
return pulumi.get(self, "cpu")
|
1107
1475
|
|
1108
1476
|
@cpu.setter
|
@@ -1112,6 +1480,9 @@ class EnvironmentConfigWorkloadsConfigSchedulerArgs:
|
|
1112
1480
|
@property
|
1113
1481
|
@pulumi.getter(name="memoryGb")
|
1114
1482
|
def memory_gb(self) -> Optional[pulumi.Input[float]]:
|
1483
|
+
"""
|
1484
|
+
Memory (GB) request and limit for a single Airflow scheduler replica.
|
1485
|
+
"""
|
1115
1486
|
return pulumi.get(self, "memory_gb")
|
1116
1487
|
|
1117
1488
|
@memory_gb.setter
|
@@ -1121,6 +1492,9 @@ class EnvironmentConfigWorkloadsConfigSchedulerArgs:
|
|
1121
1492
|
@property
|
1122
1493
|
@pulumi.getter(name="storageGb")
|
1123
1494
|
def storage_gb(self) -> Optional[pulumi.Input[float]]:
|
1495
|
+
"""
|
1496
|
+
Storage (GB) request and limit for a single Airflow scheduler replica.
|
1497
|
+
"""
|
1124
1498
|
return pulumi.get(self, "storage_gb")
|
1125
1499
|
|
1126
1500
|
@storage_gb.setter
|
@@ -1134,6 +1508,11 @@ class EnvironmentConfigWorkloadsConfigTriggererArgs:
|
|
1134
1508
|
count: pulumi.Input[int],
|
1135
1509
|
cpu: pulumi.Input[float],
|
1136
1510
|
memory_gb: pulumi.Input[float]):
|
1511
|
+
"""
|
1512
|
+
:param pulumi.Input[int] count: The number of triggerers.
|
1513
|
+
:param pulumi.Input[float] cpu: CPU request and limit for a single Airflow triggerer replica.
|
1514
|
+
:param pulumi.Input[float] memory_gb: Memory (GB) request and limit for a single Airflow triggerer replica.
|
1515
|
+
"""
|
1137
1516
|
pulumi.set(__self__, "count", count)
|
1138
1517
|
pulumi.set(__self__, "cpu", cpu)
|
1139
1518
|
pulumi.set(__self__, "memory_gb", memory_gb)
|
@@ -1141,6 +1520,9 @@ class EnvironmentConfigWorkloadsConfigTriggererArgs:
|
|
1141
1520
|
@property
|
1142
1521
|
@pulumi.getter
|
1143
1522
|
def count(self) -> pulumi.Input[int]:
|
1523
|
+
"""
|
1524
|
+
The number of triggerers.
|
1525
|
+
"""
|
1144
1526
|
return pulumi.get(self, "count")
|
1145
1527
|
|
1146
1528
|
@count.setter
|
@@ -1150,6 +1532,9 @@ class EnvironmentConfigWorkloadsConfigTriggererArgs:
|
|
1150
1532
|
@property
|
1151
1533
|
@pulumi.getter
|
1152
1534
|
def cpu(self) -> pulumi.Input[float]:
|
1535
|
+
"""
|
1536
|
+
CPU request and limit for a single Airflow triggerer replica.
|
1537
|
+
"""
|
1153
1538
|
return pulumi.get(self, "cpu")
|
1154
1539
|
|
1155
1540
|
@cpu.setter
|
@@ -1159,6 +1544,9 @@ class EnvironmentConfigWorkloadsConfigTriggererArgs:
|
|
1159
1544
|
@property
|
1160
1545
|
@pulumi.getter(name="memoryGb")
|
1161
1546
|
def memory_gb(self) -> pulumi.Input[float]:
|
1547
|
+
"""
|
1548
|
+
Memory (GB) request and limit for a single Airflow triggerer replica.
|
1549
|
+
"""
|
1162
1550
|
return pulumi.get(self, "memory_gb")
|
1163
1551
|
|
1164
1552
|
@memory_gb.setter
|
@@ -1172,6 +1560,11 @@ class EnvironmentConfigWorkloadsConfigWebServerArgs:
|
|
1172
1560
|
cpu: Optional[pulumi.Input[float]] = None,
|
1173
1561
|
memory_gb: Optional[pulumi.Input[float]] = None,
|
1174
1562
|
storage_gb: Optional[pulumi.Input[float]] = None):
|
1563
|
+
"""
|
1564
|
+
:param pulumi.Input[float] cpu: CPU request and limit for Airflow web server.
|
1565
|
+
:param pulumi.Input[float] memory_gb: Memory (GB) request and limit for Airflow web server.
|
1566
|
+
:param pulumi.Input[float] storage_gb: Storage (GB) request and limit for Airflow web server.
|
1567
|
+
"""
|
1175
1568
|
if cpu is not None:
|
1176
1569
|
pulumi.set(__self__, "cpu", cpu)
|
1177
1570
|
if memory_gb is not None:
|
@@ -1182,6 +1575,9 @@ class EnvironmentConfigWorkloadsConfigWebServerArgs:
|
|
1182
1575
|
@property
|
1183
1576
|
@pulumi.getter
|
1184
1577
|
def cpu(self) -> Optional[pulumi.Input[float]]:
|
1578
|
+
"""
|
1579
|
+
CPU request and limit for Airflow web server.
|
1580
|
+
"""
|
1185
1581
|
return pulumi.get(self, "cpu")
|
1186
1582
|
|
1187
1583
|
@cpu.setter
|
@@ -1191,6 +1587,9 @@ class EnvironmentConfigWorkloadsConfigWebServerArgs:
|
|
1191
1587
|
@property
|
1192
1588
|
@pulumi.getter(name="memoryGb")
|
1193
1589
|
def memory_gb(self) -> Optional[pulumi.Input[float]]:
|
1590
|
+
"""
|
1591
|
+
Memory (GB) request and limit for Airflow web server.
|
1592
|
+
"""
|
1194
1593
|
return pulumi.get(self, "memory_gb")
|
1195
1594
|
|
1196
1595
|
@memory_gb.setter
|
@@ -1200,6 +1599,9 @@ class EnvironmentConfigWorkloadsConfigWebServerArgs:
|
|
1200
1599
|
@property
|
1201
1600
|
@pulumi.getter(name="storageGb")
|
1202
1601
|
def storage_gb(self) -> Optional[pulumi.Input[float]]:
|
1602
|
+
"""
|
1603
|
+
Storage (GB) request and limit for Airflow web server.
|
1604
|
+
"""
|
1203
1605
|
return pulumi.get(self, "storage_gb")
|
1204
1606
|
|
1205
1607
|
@storage_gb.setter
|
@@ -1215,6 +1617,13 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1215
1617
|
memory_gb: Optional[pulumi.Input[float]] = None,
|
1216
1618
|
min_count: Optional[pulumi.Input[int]] = None,
|
1217
1619
|
storage_gb: Optional[pulumi.Input[float]] = None):
|
1620
|
+
"""
|
1621
|
+
:param pulumi.Input[float] cpu: CPU request and limit for a single Airflow worker replica.
|
1622
|
+
:param pulumi.Input[int] max_count: Maximum number of workers for autoscaling.
|
1623
|
+
:param pulumi.Input[float] memory_gb: Memory (GB) request and limit for a single Airflow worker replica.
|
1624
|
+
:param pulumi.Input[int] min_count: Minimum number of workers for autoscaling.
|
1625
|
+
:param pulumi.Input[float] storage_gb: Storage (GB) request and limit for a single Airflow worker replica.
|
1626
|
+
"""
|
1218
1627
|
if cpu is not None:
|
1219
1628
|
pulumi.set(__self__, "cpu", cpu)
|
1220
1629
|
if max_count is not None:
|
@@ -1229,6 +1638,9 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1229
1638
|
@property
|
1230
1639
|
@pulumi.getter
|
1231
1640
|
def cpu(self) -> Optional[pulumi.Input[float]]:
|
1641
|
+
"""
|
1642
|
+
CPU request and limit for a single Airflow worker replica.
|
1643
|
+
"""
|
1232
1644
|
return pulumi.get(self, "cpu")
|
1233
1645
|
|
1234
1646
|
@cpu.setter
|
@@ -1238,6 +1650,9 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1238
1650
|
@property
|
1239
1651
|
@pulumi.getter(name="maxCount")
|
1240
1652
|
def max_count(self) -> Optional[pulumi.Input[int]]:
|
1653
|
+
"""
|
1654
|
+
Maximum number of workers for autoscaling.
|
1655
|
+
"""
|
1241
1656
|
return pulumi.get(self, "max_count")
|
1242
1657
|
|
1243
1658
|
@max_count.setter
|
@@ -1247,6 +1662,9 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1247
1662
|
@property
|
1248
1663
|
@pulumi.getter(name="memoryGb")
|
1249
1664
|
def memory_gb(self) -> Optional[pulumi.Input[float]]:
|
1665
|
+
"""
|
1666
|
+
Memory (GB) request and limit for a single Airflow worker replica.
|
1667
|
+
"""
|
1250
1668
|
return pulumi.get(self, "memory_gb")
|
1251
1669
|
|
1252
1670
|
@memory_gb.setter
|
@@ -1256,6 +1674,9 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1256
1674
|
@property
|
1257
1675
|
@pulumi.getter(name="minCount")
|
1258
1676
|
def min_count(self) -> Optional[pulumi.Input[int]]:
|
1677
|
+
"""
|
1678
|
+
Minimum number of workers for autoscaling.
|
1679
|
+
"""
|
1259
1680
|
return pulumi.get(self, "min_count")
|
1260
1681
|
|
1261
1682
|
@min_count.setter
|
@@ -1265,6 +1686,9 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1265
1686
|
@property
|
1266
1687
|
@pulumi.getter(name="storageGb")
|
1267
1688
|
def storage_gb(self) -> Optional[pulumi.Input[float]]:
|
1689
|
+
"""
|
1690
|
+
Storage (GB) request and limit for a single Airflow worker replica.
|
1691
|
+
"""
|
1268
1692
|
return pulumi.get(self, "storage_gb")
|
1269
1693
|
|
1270
1694
|
@storage_gb.setter
|
@@ -1276,11 +1700,17 @@ class EnvironmentConfigWorkloadsConfigWorkerArgs:
|
|
1276
1700
|
class EnvironmentStorageConfigArgs:
|
1277
1701
|
def __init__(__self__, *,
|
1278
1702
|
bucket: pulumi.Input[str]):
|
1703
|
+
"""
|
1704
|
+
:param pulumi.Input[str] bucket: Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1705
|
+
"""
|
1279
1706
|
pulumi.set(__self__, "bucket", bucket)
|
1280
1707
|
|
1281
1708
|
@property
|
1282
1709
|
@pulumi.getter
|
1283
1710
|
def bucket(self) -> pulumi.Input[str]:
|
1711
|
+
"""
|
1712
|
+
Optional. Name of an existing Cloud Storage bucket to be used by the environment.
|
1713
|
+
"""
|
1284
1714
|
return pulumi.get(self, "bucket")
|
1285
1715
|
|
1286
1716
|
@bucket.setter
|