pulumi-gcp 7.8.0a1706829616__py3-none-any.whl → 7.8.0a1706905467__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +30 -0
- pulumi_gcp/artifactregistry/repository.py +26 -28
- pulumi_gcp/cloudrun/_inputs.py +87 -4
- pulumi_gcp/cloudrun/outputs.py +152 -4
- pulumi_gcp/composer/_inputs.py +63 -0
- pulumi_gcp/composer/outputs.py +136 -0
- pulumi_gcp/compute/_inputs.py +8 -18
- pulumi_gcp/compute/backend_service.py +28 -0
- pulumi_gcp/compute/outputs.py +10 -20
- pulumi_gcp/compute/region_backend_service.py +30 -0
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/discoveryengine/__init__.py +8 -0
- pulumi_gcp/discoveryengine/data_store.py +734 -0
- pulumi_gcp/eventarc/_inputs.py +2 -2
- pulumi_gcp/eventarc/outputs.py +2 -2
- pulumi_gcp/firebase/_inputs.py +4 -2
- pulumi_gcp/firebase/extensions_instance.py +6 -8
- pulumi_gcp/firebase/outputs.py +4 -2
- pulumi_gcp/firestore/backup_schedule.py +36 -12
- pulumi_gcp/firestore/database.py +0 -8
- pulumi_gcp/firestore/document.py +0 -68
- pulumi_gcp/firestore/field.py +22 -102
- pulumi_gcp/firestore/index.py +4 -42
- pulumi_gcp/gkehub/feature.py +2 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pubsub/_inputs.py +26 -4
- pulumi_gcp/pubsub/outputs.py +45 -8
- pulumi_gcp/pubsub/subscription.py +82 -0
- pulumi_gcp/securityposture/__init__.py +11 -0
- pulumi_gcp/securityposture/_inputs.py +1364 -0
- pulumi_gcp/securityposture/outputs.py +1372 -0
- pulumi_gcp/securityposture/posture.py +828 -0
- pulumi_gcp/securityposture/posture_deployment.py +872 -0
- pulumi_gcp/vertex/_inputs.py +156 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +259 -3
- pulumi_gcp/vertex/outputs.py +170 -0
- pulumi_gcp/workflows/workflow.py +75 -7
- pulumi_gcp/workstations/_inputs.py +38 -0
- pulumi_gcp/workstations/outputs.py +30 -0
- pulumi_gcp/workstations/workstation_config.py +54 -0
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/RECORD +45 -38
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.8.0a1706829616.dist-info → pulumi_gcp-7.8.0a1706905467.dist-info}/top_level.txt +0 -0
pulumi_gcp/composer/_inputs.py
CHANGED
@@ -11,6 +11,8 @@ from .. import _utilities
|
|
11
11
|
|
12
12
|
__all__ = [
|
13
13
|
'EnvironmentConfigArgs',
|
14
|
+
'EnvironmentConfigDataRetentionConfigArgs',
|
15
|
+
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs',
|
14
16
|
'EnvironmentConfigDatabaseConfigArgs',
|
15
17
|
'EnvironmentConfigEncryptionConfigArgs',
|
16
18
|
'EnvironmentConfigMaintenanceWindowArgs',
|
@@ -40,6 +42,7 @@ class EnvironmentConfigArgs:
|
|
40
42
|
def __init__(__self__, *,
|
41
43
|
airflow_uri: Optional[pulumi.Input[str]] = None,
|
42
44
|
dag_gcs_prefix: Optional[pulumi.Input[str]] = None,
|
45
|
+
data_retention_config: Optional[pulumi.Input['EnvironmentConfigDataRetentionConfigArgs']] = None,
|
43
46
|
database_config: Optional[pulumi.Input['EnvironmentConfigDatabaseConfigArgs']] = None,
|
44
47
|
enable_private_builds_only: Optional[pulumi.Input[bool]] = None,
|
45
48
|
enable_private_environment: Optional[pulumi.Input[bool]] = None,
|
@@ -60,6 +63,7 @@ class EnvironmentConfigArgs:
|
|
60
63
|
"""
|
61
64
|
:param pulumi.Input[str] airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
62
65
|
: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.
|
66
|
+
:param pulumi.Input['EnvironmentConfigDataRetentionConfigArgs'] data_retention_config: The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
63
67
|
: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
68
|
: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
69
|
:param pulumi.Input[bool] enable_private_environment: Optional. If true, a private Composer environment will be created.
|
@@ -82,6 +86,8 @@ class EnvironmentConfigArgs:
|
|
82
86
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
83
87
|
if dag_gcs_prefix is not None:
|
84
88
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
89
|
+
if data_retention_config is not None:
|
90
|
+
pulumi.set(__self__, "data_retention_config", data_retention_config)
|
85
91
|
if database_config is not None:
|
86
92
|
pulumi.set(__self__, "database_config", database_config)
|
87
93
|
if enable_private_builds_only is not None:
|
@@ -141,6 +147,18 @@ class EnvironmentConfigArgs:
|
|
141
147
|
def dag_gcs_prefix(self, value: Optional[pulumi.Input[str]]):
|
142
148
|
pulumi.set(self, "dag_gcs_prefix", value)
|
143
149
|
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="dataRetentionConfig")
|
152
|
+
def data_retention_config(self) -> Optional[pulumi.Input['EnvironmentConfigDataRetentionConfigArgs']]:
|
153
|
+
"""
|
154
|
+
The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "data_retention_config")
|
157
|
+
|
158
|
+
@data_retention_config.setter
|
159
|
+
def data_retention_config(self, value: Optional[pulumi.Input['EnvironmentConfigDataRetentionConfigArgs']]):
|
160
|
+
pulumi.set(self, "data_retention_config", value)
|
161
|
+
|
144
162
|
@property
|
145
163
|
@pulumi.getter(name="databaseConfig")
|
146
164
|
def database_config(self) -> Optional[pulumi.Input['EnvironmentConfigDatabaseConfigArgs']]:
|
@@ -346,6 +364,51 @@ class EnvironmentConfigArgs:
|
|
346
364
|
pulumi.set(self, "workloads_config", value)
|
347
365
|
|
348
366
|
|
367
|
+
@pulumi.input_type
|
368
|
+
class EnvironmentConfigDataRetentionConfigArgs:
|
369
|
+
def __init__(__self__, *,
|
370
|
+
task_logs_retention_configs: pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]):
|
371
|
+
"""
|
372
|
+
:param pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
373
|
+
"""
|
374
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
375
|
+
|
376
|
+
@property
|
377
|
+
@pulumi.getter(name="taskLogsRetentionConfigs")
|
378
|
+
def task_logs_retention_configs(self) -> pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]:
|
379
|
+
"""
|
380
|
+
Optional. The configuration setting for Task Logs.
|
381
|
+
"""
|
382
|
+
return pulumi.get(self, "task_logs_retention_configs")
|
383
|
+
|
384
|
+
@task_logs_retention_configs.setter
|
385
|
+
def task_logs_retention_configs(self, value: pulumi.Input[Sequence[pulumi.Input['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs']]]):
|
386
|
+
pulumi.set(self, "task_logs_retention_configs", value)
|
387
|
+
|
388
|
+
|
389
|
+
@pulumi.input_type
|
390
|
+
class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs:
|
391
|
+
def __init__(__self__, *,
|
392
|
+
storage_mode: Optional[pulumi.Input[str]] = None):
|
393
|
+
"""
|
394
|
+
:param pulumi.Input[str] storage_mode: Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
395
|
+
"""
|
396
|
+
if storage_mode is not None:
|
397
|
+
pulumi.set(__self__, "storage_mode", storage_mode)
|
398
|
+
|
399
|
+
@property
|
400
|
+
@pulumi.getter(name="storageMode")
|
401
|
+
def storage_mode(self) -> Optional[pulumi.Input[str]]:
|
402
|
+
"""
|
403
|
+
Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
404
|
+
"""
|
405
|
+
return pulumi.get(self, "storage_mode")
|
406
|
+
|
407
|
+
@storage_mode.setter
|
408
|
+
def storage_mode(self, value: Optional[pulumi.Input[str]]):
|
409
|
+
pulumi.set(self, "storage_mode", value)
|
410
|
+
|
411
|
+
|
349
412
|
@pulumi.input_type
|
350
413
|
class EnvironmentConfigDatabaseConfigArgs:
|
351
414
|
def __init__(__self__, *,
|
pulumi_gcp/composer/outputs.py
CHANGED
@@ -12,6 +12,8 @@ from . import outputs
|
|
12
12
|
|
13
13
|
__all__ = [
|
14
14
|
'EnvironmentConfig',
|
15
|
+
'EnvironmentConfigDataRetentionConfig',
|
16
|
+
'EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig',
|
15
17
|
'EnvironmentConfigDatabaseConfig',
|
16
18
|
'EnvironmentConfigEncryptionConfig',
|
17
19
|
'EnvironmentConfigMaintenanceWindow',
|
@@ -35,6 +37,8 @@ __all__ = [
|
|
35
37
|
'EnvironmentConfigWorkloadsConfigWorker',
|
36
38
|
'EnvironmentStorageConfig',
|
37
39
|
'GetEnvironmentConfigResult',
|
40
|
+
'GetEnvironmentConfigDataRetentionConfigResult',
|
41
|
+
'GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult',
|
38
42
|
'GetEnvironmentConfigDatabaseConfigResult',
|
39
43
|
'GetEnvironmentConfigEncryptionConfigResult',
|
40
44
|
'GetEnvironmentConfigMaintenanceWindowResult',
|
@@ -69,6 +73,8 @@ class EnvironmentConfig(dict):
|
|
69
73
|
suggest = "airflow_uri"
|
70
74
|
elif key == "dagGcsPrefix":
|
71
75
|
suggest = "dag_gcs_prefix"
|
76
|
+
elif key == "dataRetentionConfig":
|
77
|
+
suggest = "data_retention_config"
|
72
78
|
elif key == "databaseConfig":
|
73
79
|
suggest = "database_config"
|
74
80
|
elif key == "enablePrivateBuildsOnly":
|
@@ -118,6 +124,7 @@ class EnvironmentConfig(dict):
|
|
118
124
|
def __init__(__self__, *,
|
119
125
|
airflow_uri: Optional[str] = None,
|
120
126
|
dag_gcs_prefix: Optional[str] = None,
|
127
|
+
data_retention_config: Optional['outputs.EnvironmentConfigDataRetentionConfig'] = None,
|
121
128
|
database_config: Optional['outputs.EnvironmentConfigDatabaseConfig'] = None,
|
122
129
|
enable_private_builds_only: Optional[bool] = None,
|
123
130
|
enable_private_environment: Optional[bool] = None,
|
@@ -138,6 +145,7 @@ class EnvironmentConfig(dict):
|
|
138
145
|
"""
|
139
146
|
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
140
147
|
: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.
|
148
|
+
:param 'EnvironmentConfigDataRetentionConfigArgs' data_retention_config: The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
141
149
|
: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
150
|
: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
151
|
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
@@ -160,6 +168,8 @@ class EnvironmentConfig(dict):
|
|
160
168
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
161
169
|
if dag_gcs_prefix is not None:
|
162
170
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
171
|
+
if data_retention_config is not None:
|
172
|
+
pulumi.set(__self__, "data_retention_config", data_retention_config)
|
163
173
|
if database_config is not None:
|
164
174
|
pulumi.set(__self__, "database_config", database_config)
|
165
175
|
if enable_private_builds_only is not None:
|
@@ -211,6 +221,14 @@ class EnvironmentConfig(dict):
|
|
211
221
|
"""
|
212
222
|
return pulumi.get(self, "dag_gcs_prefix")
|
213
223
|
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="dataRetentionConfig")
|
226
|
+
def data_retention_config(self) -> Optional['outputs.EnvironmentConfigDataRetentionConfig']:
|
227
|
+
"""
|
228
|
+
The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "data_retention_config")
|
231
|
+
|
214
232
|
@property
|
215
233
|
@pulumi.getter(name="databaseConfig")
|
216
234
|
def database_config(self) -> Optional['outputs.EnvironmentConfigDatabaseConfig']:
|
@@ -348,6 +366,77 @@ class EnvironmentConfig(dict):
|
|
348
366
|
return pulumi.get(self, "workloads_config")
|
349
367
|
|
350
368
|
|
369
|
+
@pulumi.output_type
|
370
|
+
class EnvironmentConfigDataRetentionConfig(dict):
|
371
|
+
@staticmethod
|
372
|
+
def __key_warning(key: str):
|
373
|
+
suggest = None
|
374
|
+
if key == "taskLogsRetentionConfigs":
|
375
|
+
suggest = "task_logs_retention_configs"
|
376
|
+
|
377
|
+
if suggest:
|
378
|
+
pulumi.log.warn(f"Key '{key}' not found in EnvironmentConfigDataRetentionConfig. Access the value via the '{suggest}' property getter instead.")
|
379
|
+
|
380
|
+
def __getitem__(self, key: str) -> Any:
|
381
|
+
EnvironmentConfigDataRetentionConfig.__key_warning(key)
|
382
|
+
return super().__getitem__(key)
|
383
|
+
|
384
|
+
def get(self, key: str, default = None) -> Any:
|
385
|
+
EnvironmentConfigDataRetentionConfig.__key_warning(key)
|
386
|
+
return super().get(key, default)
|
387
|
+
|
388
|
+
def __init__(__self__, *,
|
389
|
+
task_logs_retention_configs: Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']):
|
390
|
+
"""
|
391
|
+
:param Sequence['EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
392
|
+
"""
|
393
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="taskLogsRetentionConfigs")
|
397
|
+
def task_logs_retention_configs(self) -> Sequence['outputs.EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig']:
|
398
|
+
"""
|
399
|
+
Optional. The configuration setting for Task Logs.
|
400
|
+
"""
|
401
|
+
return pulumi.get(self, "task_logs_retention_configs")
|
402
|
+
|
403
|
+
|
404
|
+
@pulumi.output_type
|
405
|
+
class EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig(dict):
|
406
|
+
@staticmethod
|
407
|
+
def __key_warning(key: str):
|
408
|
+
suggest = None
|
409
|
+
if key == "storageMode":
|
410
|
+
suggest = "storage_mode"
|
411
|
+
|
412
|
+
if suggest:
|
413
|
+
pulumi.log.warn(f"Key '{key}' not found in EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig. Access the value via the '{suggest}' property getter instead.")
|
414
|
+
|
415
|
+
def __getitem__(self, key: str) -> Any:
|
416
|
+
EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig.__key_warning(key)
|
417
|
+
return super().__getitem__(key)
|
418
|
+
|
419
|
+
def get(self, key: str, default = None) -> Any:
|
420
|
+
EnvironmentConfigDataRetentionConfigTaskLogsRetentionConfig.__key_warning(key)
|
421
|
+
return super().get(key, default)
|
422
|
+
|
423
|
+
def __init__(__self__, *,
|
424
|
+
storage_mode: Optional[str] = None):
|
425
|
+
"""
|
426
|
+
:param str storage_mode: Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
427
|
+
"""
|
428
|
+
if storage_mode is not None:
|
429
|
+
pulumi.set(__self__, "storage_mode", storage_mode)
|
430
|
+
|
431
|
+
@property
|
432
|
+
@pulumi.getter(name="storageMode")
|
433
|
+
def storage_mode(self) -> Optional[str]:
|
434
|
+
"""
|
435
|
+
Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "storage_mode")
|
438
|
+
|
439
|
+
|
351
440
|
@pulumi.output_type
|
352
441
|
class EnvironmentConfigDatabaseConfig(dict):
|
353
442
|
@staticmethod
|
@@ -1812,6 +1901,7 @@ class GetEnvironmentConfigResult(dict):
|
|
1812
1901
|
def __init__(__self__, *,
|
1813
1902
|
airflow_uri: str,
|
1814
1903
|
dag_gcs_prefix: str,
|
1904
|
+
data_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigResult'],
|
1815
1905
|
database_configs: Sequence['outputs.GetEnvironmentConfigDatabaseConfigResult'],
|
1816
1906
|
enable_private_builds_only: bool,
|
1817
1907
|
enable_private_environment: bool,
|
@@ -1832,6 +1922,7 @@ class GetEnvironmentConfigResult(dict):
|
|
1832
1922
|
"""
|
1833
1923
|
:param str airflow_uri: The URI of the Apache Airflow Web UI hosted within this environment.
|
1834
1924
|
: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.
|
1925
|
+
:param Sequence['GetEnvironmentConfigDataRetentionConfigArgs'] data_retention_configs: The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
1835
1926
|
: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
1927
|
: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
1928
|
:param bool enable_private_environment: Optional. If true, a private Composer environment will be created.
|
@@ -1852,6 +1943,7 @@ class GetEnvironmentConfigResult(dict):
|
|
1852
1943
|
"""
|
1853
1944
|
pulumi.set(__self__, "airflow_uri", airflow_uri)
|
1854
1945
|
pulumi.set(__self__, "dag_gcs_prefix", dag_gcs_prefix)
|
1946
|
+
pulumi.set(__self__, "data_retention_configs", data_retention_configs)
|
1855
1947
|
pulumi.set(__self__, "database_configs", database_configs)
|
1856
1948
|
pulumi.set(__self__, "enable_private_builds_only", enable_private_builds_only)
|
1857
1949
|
pulumi.set(__self__, "enable_private_environment", enable_private_environment)
|
@@ -1886,6 +1978,14 @@ class GetEnvironmentConfigResult(dict):
|
|
1886
1978
|
"""
|
1887
1979
|
return pulumi.get(self, "dag_gcs_prefix")
|
1888
1980
|
|
1981
|
+
@property
|
1982
|
+
@pulumi.getter(name="dataRetentionConfigs")
|
1983
|
+
def data_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigResult']:
|
1984
|
+
"""
|
1985
|
+
The configuration setting for Airflow data retention mechanism. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4. or newer
|
1986
|
+
"""
|
1987
|
+
return pulumi.get(self, "data_retention_configs")
|
1988
|
+
|
1889
1989
|
@property
|
1890
1990
|
@pulumi.getter(name="databaseConfigs")
|
1891
1991
|
def database_configs(self) -> Sequence['outputs.GetEnvironmentConfigDatabaseConfigResult']:
|
@@ -2023,6 +2123,42 @@ class GetEnvironmentConfigResult(dict):
|
|
2023
2123
|
return pulumi.get(self, "workloads_configs")
|
2024
2124
|
|
2025
2125
|
|
2126
|
+
@pulumi.output_type
|
2127
|
+
class GetEnvironmentConfigDataRetentionConfigResult(dict):
|
2128
|
+
def __init__(__self__, *,
|
2129
|
+
task_logs_retention_configs: Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']):
|
2130
|
+
"""
|
2131
|
+
:param Sequence['GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigArgs'] task_logs_retention_configs: Optional. The configuration setting for Task Logs.
|
2132
|
+
"""
|
2133
|
+
pulumi.set(__self__, "task_logs_retention_configs", task_logs_retention_configs)
|
2134
|
+
|
2135
|
+
@property
|
2136
|
+
@pulumi.getter(name="taskLogsRetentionConfigs")
|
2137
|
+
def task_logs_retention_configs(self) -> Sequence['outputs.GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult']:
|
2138
|
+
"""
|
2139
|
+
Optional. The configuration setting for Task Logs.
|
2140
|
+
"""
|
2141
|
+
return pulumi.get(self, "task_logs_retention_configs")
|
2142
|
+
|
2143
|
+
|
2144
|
+
@pulumi.output_type
|
2145
|
+
class GetEnvironmentConfigDataRetentionConfigTaskLogsRetentionConfigResult(dict):
|
2146
|
+
def __init__(__self__, *,
|
2147
|
+
storage_mode: str):
|
2148
|
+
"""
|
2149
|
+
:param str storage_mode: Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
2150
|
+
"""
|
2151
|
+
pulumi.set(__self__, "storage_mode", storage_mode)
|
2152
|
+
|
2153
|
+
@property
|
2154
|
+
@pulumi.getter(name="storageMode")
|
2155
|
+
def storage_mode(self) -> str:
|
2156
|
+
"""
|
2157
|
+
Whether logs in cloud logging only is enabled or not. This field is supported for Cloud Composer environments in versions composer-2.0.32-airflow-2.1.4 and newer.
|
2158
|
+
"""
|
2159
|
+
return pulumi.get(self, "storage_mode")
|
2160
|
+
|
2161
|
+
|
2026
2162
|
@pulumi.output_type
|
2027
2163
|
class GetEnvironmentConfigDatabaseConfigResult(dict):
|
2028
2164
|
def __init__(__self__, *,
|
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -9947,7 +9947,7 @@ class InstanceGuestAcceleratorArgs:
|
|
9947
9947
|
type: pulumi.Input[str]):
|
9948
9948
|
"""
|
9949
9949
|
:param pulumi.Input[int] count: The number of the guest accelerator cards exposed to this instance.
|
9950
|
-
:param pulumi.Input[str] type: The
|
9950
|
+
:param pulumi.Input[str] type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
9951
9951
|
"""
|
9952
9952
|
pulumi.set(__self__, "count", count)
|
9953
9953
|
pulumi.set(__self__, "type", type)
|
@@ -9968,7 +9968,7 @@ class InstanceGuestAcceleratorArgs:
|
|
9968
9968
|
@pulumi.getter
|
9969
9969
|
def type(self) -> pulumi.Input[str]:
|
9970
9970
|
"""
|
9971
|
-
The
|
9971
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
9972
9972
|
"""
|
9973
9973
|
return pulumi.get(self, "type")
|
9974
9974
|
|
@@ -10784,7 +10784,6 @@ class InstanceSchedulingArgs:
|
|
10784
10784
|
between 0 and 168 hours with hour granularity and the default value being 1
|
10785
10785
|
hour.
|
10786
10786
|
:param pulumi.Input[str] maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
10787
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
10788
10787
|
:param pulumi.Input['InstanceSchedulingMaxRunDurationArgs'] max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
10789
10788
|
<a name="nested_max_run_duration"></a>The `max_run_duration` block supports:
|
10790
10789
|
:param pulumi.Input[int] min_node_cpus: The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
@@ -10871,7 +10870,6 @@ class InstanceSchedulingArgs:
|
|
10871
10870
|
def maintenance_interval(self) -> Optional[pulumi.Input[str]]:
|
10872
10871
|
"""
|
10873
10872
|
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
10874
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
10875
10873
|
"""
|
10876
10874
|
return pulumi.get(self, "maintenance_interval")
|
10877
10875
|
|
@@ -11893,8 +11891,7 @@ class InstanceTemplateGuestAcceleratorArgs:
|
|
11893
11891
|
type: pulumi.Input[str]):
|
11894
11892
|
"""
|
11895
11893
|
:param pulumi.Input[int] count: The number of the guest accelerator cards exposed to this instance.
|
11896
|
-
:param pulumi.Input[str] type: The type
|
11897
|
-
`"PERSISTENT"`.
|
11894
|
+
:param pulumi.Input[str] type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
11898
11895
|
"""
|
11899
11896
|
pulumi.set(__self__, "count", count)
|
11900
11897
|
pulumi.set(__self__, "type", type)
|
@@ -11915,8 +11912,7 @@ class InstanceTemplateGuestAcceleratorArgs:
|
|
11915
11912
|
@pulumi.getter
|
11916
11913
|
def type(self) -> pulumi.Input[str]:
|
11917
11914
|
"""
|
11918
|
-
The type
|
11919
|
-
`"PERSISTENT"`.
|
11915
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
11920
11916
|
"""
|
11921
11917
|
return pulumi.get(self, "type")
|
11922
11918
|
|
@@ -12525,7 +12521,6 @@ class InstanceTemplateSchedulingArgs:
|
|
12525
12521
|
between 0 and 168 hours with hour granularity and the default value being 1
|
12526
12522
|
hour.
|
12527
12523
|
:param pulumi.Input[str] maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
12528
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
12529
12524
|
:param pulumi.Input['InstanceTemplateSchedulingMaxRunDurationArgs'] max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
12530
12525
|
<a name="nested_max_run_duration"></a>The `max_run_duration` block supports:
|
12531
12526
|
:param pulumi.Input[int] min_node_cpus: Minimum number of cpus for the instance.
|
@@ -12611,7 +12606,6 @@ class InstanceTemplateSchedulingArgs:
|
|
12611
12606
|
def maintenance_interval(self) -> Optional[pulumi.Input[str]]:
|
12612
12607
|
"""
|
12613
12608
|
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
12614
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
12615
12609
|
"""
|
12616
12610
|
return pulumi.get(self, "maintenance_interval")
|
12617
12611
|
|
@@ -19715,8 +19709,7 @@ class RegionInstanceTemplateGuestAcceleratorArgs:
|
|
19715
19709
|
type: pulumi.Input[str]):
|
19716
19710
|
"""
|
19717
19711
|
:param pulumi.Input[int] count: The number of the guest accelerator cards exposed to this instance.
|
19718
|
-
:param pulumi.Input[str] type: The type
|
19719
|
-
`"PERSISTENT"`.
|
19712
|
+
:param pulumi.Input[str] type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
19720
19713
|
"""
|
19721
19714
|
pulumi.set(__self__, "count", count)
|
19722
19715
|
pulumi.set(__self__, "type", type)
|
@@ -19737,8 +19730,7 @@ class RegionInstanceTemplateGuestAcceleratorArgs:
|
|
19737
19730
|
@pulumi.getter
|
19738
19731
|
def type(self) -> pulumi.Input[str]:
|
19739
19732
|
"""
|
19740
|
-
The type
|
19741
|
-
`"PERSISTENT"`.
|
19733
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
19742
19734
|
"""
|
19743
19735
|
return pulumi.get(self, "type")
|
19744
19736
|
|
@@ -20312,8 +20304,7 @@ class RegionInstanceTemplateSchedulingArgs:
|
|
20312
20304
|
recovery of the Local Ssd state is attempted. Its value should be in
|
20313
20305
|
between 0 and 168 hours with hour granularity and the default value being 1
|
20314
20306
|
hour.
|
20315
|
-
:param pulumi.Input[str] maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20316
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
20307
|
+
:param pulumi.Input[str] maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20317
20308
|
:param pulumi.Input['RegionInstanceTemplateSchedulingMaxRunDurationArgs'] max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
20318
20309
|
:param pulumi.Input[int] min_node_cpus: Minimum number of cpus for the instance.
|
20319
20310
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceTemplateSchedulingNodeAffinityArgs']]] node_affinities: Specifies node affinities or anti-affinities
|
@@ -20397,8 +20388,7 @@ class RegionInstanceTemplateSchedulingArgs:
|
|
20397
20388
|
@pulumi.getter(name="maintenanceInterval")
|
20398
20389
|
def maintenance_interval(self) -> Optional[pulumi.Input[str]]:
|
20399
20390
|
"""
|
20400
|
-
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20401
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
20391
|
+
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20402
20392
|
"""
|
20403
20393
|
return pulumi.get(self, "maintenance_interval")
|
20404
20394
|
|
@@ -1275,6 +1275,20 @@ class BackendService(pulumi.CustomResource):
|
|
1275
1275
|
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/backend-service)
|
1276
1276
|
|
1277
1277
|
## Example Usage
|
1278
|
+
### Backend Service External Iap
|
1279
|
+
|
1280
|
+
```python
|
1281
|
+
import pulumi
|
1282
|
+
import pulumi_gcp as gcp
|
1283
|
+
|
1284
|
+
default = gcp.compute.BackendService("default",
|
1285
|
+
iap=gcp.compute.BackendServiceIapArgs(
|
1286
|
+
oauth2_client_id="abc",
|
1287
|
+
oauth2_client_secret="xyz",
|
1288
|
+
),
|
1289
|
+
load_balancing_scheme="EXTERNAL",
|
1290
|
+
protocol="HTTP")
|
1291
|
+
```
|
1278
1292
|
### Backend Service Cache Include Http Headers
|
1279
1293
|
|
1280
1294
|
```python
|
@@ -1478,6 +1492,20 @@ class BackendService(pulumi.CustomResource):
|
|
1478
1492
|
* [Official Documentation](https://cloud.google.com/compute/docs/load-balancing/http/backend-service)
|
1479
1493
|
|
1480
1494
|
## Example Usage
|
1495
|
+
### Backend Service External Iap
|
1496
|
+
|
1497
|
+
```python
|
1498
|
+
import pulumi
|
1499
|
+
import pulumi_gcp as gcp
|
1500
|
+
|
1501
|
+
default = gcp.compute.BackendService("default",
|
1502
|
+
iap=gcp.compute.BackendServiceIapArgs(
|
1503
|
+
oauth2_client_id="abc",
|
1504
|
+
oauth2_client_secret="xyz",
|
1505
|
+
),
|
1506
|
+
load_balancing_scheme="EXTERNAL",
|
1507
|
+
protocol="HTTP")
|
1508
|
+
```
|
1481
1509
|
### Backend Service Cache Include Http Headers
|
1482
1510
|
|
1483
1511
|
```python
|
pulumi_gcp/compute/outputs.py
CHANGED
@@ -10037,7 +10037,7 @@ class InstanceGuestAccelerator(dict):
|
|
10037
10037
|
type: str):
|
10038
10038
|
"""
|
10039
10039
|
:param int count: The number of the guest accelerator cards exposed to this instance.
|
10040
|
-
:param str type: The
|
10040
|
+
:param str type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
10041
10041
|
"""
|
10042
10042
|
pulumi.set(__self__, "count", count)
|
10043
10043
|
pulumi.set(__self__, "type", type)
|
@@ -10054,7 +10054,7 @@ class InstanceGuestAccelerator(dict):
|
|
10054
10054
|
@pulumi.getter
|
10055
10055
|
def type(self) -> str:
|
10056
10056
|
"""
|
10057
|
-
The
|
10057
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
10058
10058
|
"""
|
10059
10059
|
return pulumi.get(self, "type")
|
10060
10060
|
|
@@ -10898,7 +10898,6 @@ class InstanceScheduling(dict):
|
|
10898
10898
|
between 0 and 168 hours with hour granularity and the default value being 1
|
10899
10899
|
hour.
|
10900
10900
|
:param str maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
10901
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
10902
10901
|
:param 'InstanceSchedulingMaxRunDurationArgs' max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
10903
10902
|
<a name="nested_max_run_duration"></a>The `max_run_duration` block supports:
|
10904
10903
|
:param int min_node_cpus: The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.
|
@@ -10973,7 +10972,6 @@ class InstanceScheduling(dict):
|
|
10973
10972
|
def maintenance_interval(self) -> Optional[str]:
|
10974
10973
|
"""
|
10975
10974
|
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
10976
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
10977
10975
|
"""
|
10978
10976
|
return pulumi.get(self, "maintenance_interval")
|
10979
10977
|
|
@@ -11963,8 +11961,7 @@ class InstanceTemplateGuestAccelerator(dict):
|
|
11963
11961
|
type: str):
|
11964
11962
|
"""
|
11965
11963
|
:param int count: The number of the guest accelerator cards exposed to this instance.
|
11966
|
-
:param str type: The type
|
11967
|
-
`"PERSISTENT"`.
|
11964
|
+
:param str type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
11968
11965
|
"""
|
11969
11966
|
pulumi.set(__self__, "count", count)
|
11970
11967
|
pulumi.set(__self__, "type", type)
|
@@ -11981,8 +11978,7 @@ class InstanceTemplateGuestAccelerator(dict):
|
|
11981
11978
|
@pulumi.getter
|
11982
11979
|
def type(self) -> str:
|
11983
11980
|
"""
|
11984
|
-
The type
|
11985
|
-
`"PERSISTENT"`.
|
11981
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
11986
11982
|
"""
|
11987
11983
|
return pulumi.get(self, "type")
|
11988
11984
|
|
@@ -12636,7 +12632,6 @@ class InstanceTemplateScheduling(dict):
|
|
12636
12632
|
between 0 and 168 hours with hour granularity and the default value being 1
|
12637
12633
|
hour.
|
12638
12634
|
:param str maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
12639
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
12640
12635
|
:param 'InstanceTemplateSchedulingMaxRunDurationArgs' max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
12641
12636
|
<a name="nested_max_run_duration"></a>The `max_run_duration` block supports:
|
12642
12637
|
:param int min_node_cpus: Minimum number of cpus for the instance.
|
@@ -12710,7 +12705,6 @@ class InstanceTemplateScheduling(dict):
|
|
12710
12705
|
def maintenance_interval(self) -> Optional[str]:
|
12711
12706
|
"""
|
12712
12707
|
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
12713
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
12714
12708
|
"""
|
12715
12709
|
return pulumi.get(self, "maintenance_interval")
|
12716
12710
|
|
@@ -19776,8 +19770,7 @@ class RegionInstanceTemplateGuestAccelerator(dict):
|
|
19776
19770
|
type: str):
|
19777
19771
|
"""
|
19778
19772
|
:param int count: The number of the guest accelerator cards exposed to this instance.
|
19779
|
-
:param str type: The type
|
19780
|
-
`"PERSISTENT"`.
|
19773
|
+
:param str type: The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
19781
19774
|
"""
|
19782
19775
|
pulumi.set(__self__, "count", count)
|
19783
19776
|
pulumi.set(__self__, "type", type)
|
@@ -19794,8 +19787,7 @@ class RegionInstanceTemplateGuestAccelerator(dict):
|
|
19794
19787
|
@pulumi.getter
|
19795
19788
|
def type(self) -> str:
|
19796
19789
|
"""
|
19797
|
-
The type
|
19798
|
-
`"PERSISTENT"`.
|
19790
|
+
The accelerator type resource to expose to this instance. E.g. `nvidia-tesla-k80`.
|
19799
19791
|
"""
|
19800
19792
|
return pulumi.get(self, "type")
|
19801
19793
|
|
@@ -20416,8 +20408,7 @@ class RegionInstanceTemplateScheduling(dict):
|
|
20416
20408
|
recovery of the Local Ssd state is attempted. Its value should be in
|
20417
20409
|
between 0 and 168 hours with hour granularity and the default value being 1
|
20418
20410
|
hour.
|
20419
|
-
:param str maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20420
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
20411
|
+
:param str maintenance_interval: Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20421
20412
|
:param 'RegionInstanceTemplateSchedulingMaxRunDurationArgs' max_run_duration: The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
|
20422
20413
|
:param int min_node_cpus: Minimum number of cpus for the instance.
|
20423
20414
|
:param Sequence['RegionInstanceTemplateSchedulingNodeAffinityArgs'] node_affinities: Specifies node affinities or anti-affinities
|
@@ -20489,8 +20480,7 @@ class RegionInstanceTemplateScheduling(dict):
|
|
20489
20480
|
@pulumi.getter(name="maintenanceInterval")
|
20490
20481
|
def maintenance_interval(self) -> Optional[str]:
|
20491
20482
|
"""
|
20492
|
-
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20493
|
-
<a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
|
20483
|
+
Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.
|
20494
20484
|
"""
|
20495
20485
|
return pulumi.get(self, "maintenance_interval")
|
20496
20486
|
|
@@ -41572,7 +41562,7 @@ class GetInstanceNetworkInterfaceResult(dict):
|
|
41572
41562
|
:param str ipv6_address: An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
|
41573
41563
|
:param str name: The name of the instance. One of `name` or `self_link` must be provided.
|
41574
41564
|
:param str network: The name or self_link of the network attached to this interface.
|
41575
|
-
:param str network_attachment: The URL of the network attachment
|
41565
|
+
:param str network_attachment: Beta The URL of the network attachment to this interface.
|
41576
41566
|
:param str network_ip: The private IP address assigned to the instance.
|
41577
41567
|
:param str nic_type: The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
|
41578
41568
|
:param int queue_count: The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
|
@@ -41667,7 +41657,7 @@ class GetInstanceNetworkInterfaceResult(dict):
|
|
41667
41657
|
@pulumi.getter(name="networkAttachment")
|
41668
41658
|
def network_attachment(self) -> str:
|
41669
41659
|
"""
|
41670
|
-
The URL of the network attachment
|
41660
|
+
Beta The URL of the network attachment to this interface.
|
41671
41661
|
"""
|
41672
41662
|
return pulumi.get(self, "network_attachment")
|
41673
41663
|
|
@@ -1198,6 +1198,21 @@ class RegionBackendService(pulumi.CustomResource):
|
|
1198
1198
|
* [Internal TCP/UDP Load Balancing](https://cloud.google.com/compute/docs/load-balancing/internal/)
|
1199
1199
|
|
1200
1200
|
## Example Usage
|
1201
|
+
### Region Backend Service External Iap
|
1202
|
+
|
1203
|
+
```python
|
1204
|
+
import pulumi
|
1205
|
+
import pulumi_gcp as gcp
|
1206
|
+
|
1207
|
+
default = gcp.compute.RegionBackendService("default",
|
1208
|
+
iap=gcp.compute.RegionBackendServiceIapArgs(
|
1209
|
+
oauth2_client_id="abc",
|
1210
|
+
oauth2_client_secret="xyz",
|
1211
|
+
),
|
1212
|
+
load_balancing_scheme="EXTERNAL",
|
1213
|
+
protocol="HTTP",
|
1214
|
+
region="us-central1")
|
1215
|
+
```
|
1201
1216
|
|
1202
1217
|
## Import
|
1203
1218
|
|
@@ -1326,6 +1341,21 @@ class RegionBackendService(pulumi.CustomResource):
|
|
1326
1341
|
* [Internal TCP/UDP Load Balancing](https://cloud.google.com/compute/docs/load-balancing/internal/)
|
1327
1342
|
|
1328
1343
|
## Example Usage
|
1344
|
+
### Region Backend Service External Iap
|
1345
|
+
|
1346
|
+
```python
|
1347
|
+
import pulumi
|
1348
|
+
import pulumi_gcp as gcp
|
1349
|
+
|
1350
|
+
default = gcp.compute.RegionBackendService("default",
|
1351
|
+
iap=gcp.compute.RegionBackendServiceIapArgs(
|
1352
|
+
oauth2_client_id="abc",
|
1353
|
+
oauth2_client_secret="xyz",
|
1354
|
+
),
|
1355
|
+
load_balancing_scheme="EXTERNAL",
|
1356
|
+
protocol="HTTP",
|
1357
|
+
region="us-central1")
|
1358
|
+
```
|
1329
1359
|
|
1330
1360
|
## Import
|
1331
1361
|
|