pulumi-gcp 8.26.0a1744267117__py3-none-any.whl → 8.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
- pulumi_gcp/accesscontextmanager/outputs.py +95 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/control_plane_access.py +419 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
- pulumi_gcp/clouddeploy/automation.py +64 -2
- pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
- pulumi_gcp/clouddeploy/outputs.py +1130 -5
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +87 -2
- pulumi_gcp/compute/_inputs.py +448 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +387 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- pulumi_gcp/compute/resource_policy.py +30 -0
- pulumi_gcp/compute/snapshot.py +6 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
- pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
- pulumi_gcp/databasemigrationservice/outputs.py +18 -15
- pulumi_gcp/datastream/_inputs.py +506 -0
- pulumi_gcp/datastream/outputs.py +376 -0
- pulumi_gcp/datastream/stream.py +0 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +77 -0
- pulumi_gcp/developerconnect/account_connector.py +866 -0
- pulumi_gcp/developerconnect/outputs.py +64 -0
- pulumi_gcp/firebase/hosting_version.py +34 -14
- pulumi_gcp/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/__init__.py +1 -0
- pulumi_gcp/folder/service_identity.py +314 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/_inputs.py +176 -0
- pulumi_gcp/gemini/code_tools_setting.py +601 -0
- pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
- pulumi_gcp/gemini/outputs.py +124 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
- pulumi_gcp/managedkafka/_inputs.py +6 -6
- pulumi_gcp/managedkafka/connect_cluster.py +84 -40
- pulumi_gcp/managedkafka/connector.py +98 -44
- pulumi_gcp/managedkafka/outputs.py +4 -4
- pulumi_gcp/memorystore/_inputs.py +205 -0
- pulumi_gcp/memorystore/get_instance.py +45 -1
- pulumi_gcp/memorystore/instance.py +194 -0
- pulumi_gcp/memorystore/outputs.py +270 -0
- pulumi_gcp/ml/engine_model.py +0 -22
- pulumi_gcp/monitoring/_inputs.py +37 -19
- pulumi_gcp/monitoring/outputs.py +39 -11
- pulumi_gcp/monitoring/uptime_check_config.py +8 -0
- pulumi_gcp/netapp/_inputs.py +92 -6
- pulumi_gcp/netapp/outputs.py +77 -4
- pulumi_gcp/netapp/volume_replication.py +12 -2
- pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5439 -0
- pulumi_gcp/osconfig/outputs.py +3978 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1055 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/regional_parameter.py +78 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +69 -0
- pulumi_gcp/redis/cluster.py +140 -0
- pulumi_gcp/redis/outputs.py +40 -0
- pulumi_gcp/spanner/database.py +0 -34
- pulumi_gcp/storage/_inputs.py +111 -0
- pulumi_gcp/storage/bucket_object.py +28 -0
- pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
- pulumi_gcp/storage/outputs.py +174 -0
- pulumi_gcp/vertex/__init__.py +12 -0
- pulumi_gcp/vertex/_inputs.py +294 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group.py +1 -1
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
- pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
- pulumi_gcp/vertex/outputs.py +168 -0
- pulumi_gcp/workbench/_inputs.py +60 -0
- pulumi_gcp/workbench/instance.py +48 -0
- pulumi_gcp/workbench/outputs.py +55 -0
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/RECORD +116 -97
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrun/service.py
CHANGED
@@ -605,6 +605,29 @@ class Service(pulumi.CustomResource):
|
|
605
605
|
},
|
606
606
|
})
|
607
607
|
```
|
608
|
+
### Cloud Run Service Iap
|
609
|
+
|
610
|
+
```python
|
611
|
+
import pulumi
|
612
|
+
import pulumi_gcp as gcp
|
613
|
+
|
614
|
+
default = gcp.cloudrun.Service("default",
|
615
|
+
name="cloudrun-srv",
|
616
|
+
location="us-central1",
|
617
|
+
metadata={
|
618
|
+
"annotations": {
|
619
|
+
"run.googleapis.com/launch-stage": "BETA",
|
620
|
+
"run.googleapis.com/iap-enabled": "true",
|
621
|
+
},
|
622
|
+
},
|
623
|
+
template={
|
624
|
+
"spec": {
|
625
|
+
"containers": [{
|
626
|
+
"image": "gcr.io/cloudrun/hello",
|
627
|
+
}],
|
628
|
+
},
|
629
|
+
})
|
630
|
+
```
|
608
631
|
|
609
632
|
## Import
|
610
633
|
|
@@ -930,6 +953,29 @@ class Service(pulumi.CustomResource):
|
|
930
953
|
},
|
931
954
|
})
|
932
955
|
```
|
956
|
+
### Cloud Run Service Iap
|
957
|
+
|
958
|
+
```python
|
959
|
+
import pulumi
|
960
|
+
import pulumi_gcp as gcp
|
961
|
+
|
962
|
+
default = gcp.cloudrun.Service("default",
|
963
|
+
name="cloudrun-srv",
|
964
|
+
location="us-central1",
|
965
|
+
metadata={
|
966
|
+
"annotations": {
|
967
|
+
"run.googleapis.com/launch-stage": "BETA",
|
968
|
+
"run.googleapis.com/iap-enabled": "true",
|
969
|
+
},
|
970
|
+
},
|
971
|
+
template={
|
972
|
+
"spec": {
|
973
|
+
"containers": [{
|
974
|
+
"image": "gcr.io/cloudrun/hello",
|
975
|
+
}],
|
976
|
+
},
|
977
|
+
})
|
978
|
+
```
|
933
979
|
|
934
980
|
## Import
|
935
981
|
|
@@ -28,7 +28,7 @@ class GetServiceResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getService.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, annotations=None, binary_authorizations=None, build_configs=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
|
31
|
+
def __init__(__self__, annotations=None, binary_authorizations=None, build_configs=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, deletion_protection=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, iap_enabled=None, id=None, ingress=None, invoker_iam_disabled=None, labels=None, last_modifier=None, latest_created_revision=None, latest_ready_revision=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, scalings=None, templates=None, terminal_conditions=None, traffic_statuses=None, traffics=None, uid=None, update_time=None, uri=None, urls=None):
|
32
32
|
if annotations and not isinstance(annotations, dict):
|
33
33
|
raise TypeError("Expected argument 'annotations' to be a dict")
|
34
34
|
pulumi.set(__self__, "annotations", annotations)
|
@@ -83,6 +83,9 @@ class GetServiceResult:
|
|
83
83
|
if generation and not isinstance(generation, str):
|
84
84
|
raise TypeError("Expected argument 'generation' to be a str")
|
85
85
|
pulumi.set(__self__, "generation", generation)
|
86
|
+
if iap_enabled and not isinstance(iap_enabled, bool):
|
87
|
+
raise TypeError("Expected argument 'iap_enabled' to be a bool")
|
88
|
+
pulumi.set(__self__, "iap_enabled", iap_enabled)
|
86
89
|
if id and not isinstance(id, str):
|
87
90
|
raise TypeError("Expected argument 'id' to be a str")
|
88
91
|
pulumi.set(__self__, "id", id)
|
@@ -243,6 +246,11 @@ class GetServiceResult:
|
|
243
246
|
def generation(self) -> builtins.str:
|
244
247
|
return pulumi.get(self, "generation")
|
245
248
|
|
249
|
+
@property
|
250
|
+
@pulumi.getter(name="iapEnabled")
|
251
|
+
def iap_enabled(self) -> builtins.bool:
|
252
|
+
return pulumi.get(self, "iap_enabled")
|
253
|
+
|
246
254
|
@property
|
247
255
|
@pulumi.getter
|
248
256
|
def id(self) -> builtins.str:
|
@@ -386,6 +394,7 @@ class AwaitableGetServiceResult(GetServiceResult):
|
|
386
394
|
etag=self.etag,
|
387
395
|
expire_time=self.expire_time,
|
388
396
|
generation=self.generation,
|
397
|
+
iap_enabled=self.iap_enabled,
|
389
398
|
id=self.id,
|
390
399
|
ingress=self.ingress,
|
391
400
|
invoker_iam_disabled=self.invoker_iam_disabled,
|
@@ -464,6 +473,7 @@ def get_service(location: Optional[builtins.str] = None,
|
|
464
473
|
etag=pulumi.get(__ret__, 'etag'),
|
465
474
|
expire_time=pulumi.get(__ret__, 'expire_time'),
|
466
475
|
generation=pulumi.get(__ret__, 'generation'),
|
476
|
+
iap_enabled=pulumi.get(__ret__, 'iap_enabled'),
|
467
477
|
id=pulumi.get(__ret__, 'id'),
|
468
478
|
ingress=pulumi.get(__ret__, 'ingress'),
|
469
479
|
invoker_iam_disabled=pulumi.get(__ret__, 'invoker_iam_disabled'),
|
@@ -539,6 +549,7 @@ def get_service_output(location: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
539
549
|
etag=pulumi.get(__response__, 'etag'),
|
540
550
|
expire_time=pulumi.get(__response__, 'expire_time'),
|
541
551
|
generation=pulumi.get(__response__, 'generation'),
|
552
|
+
iap_enabled=pulumi.get(__response__, 'iap_enabled'),
|
542
553
|
id=pulumi.get(__response__, 'id'),
|
543
554
|
ingress=pulumi.get(__response__, 'ingress'),
|
544
555
|
invoker_iam_disabled=pulumi.get(__response__, 'invoker_iam_disabled'),
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -33,6 +33,7 @@ class ServiceArgs:
|
|
33
33
|
default_uri_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
34
34
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
35
35
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
36
|
+
iap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
36
37
|
ingress: Optional[pulumi.Input[builtins.str]] = None,
|
37
38
|
invoker_iam_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
38
39
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -62,6 +63,7 @@ class ServiceArgs:
|
|
62
63
|
https://cloud.google.com/run/docs/configuring/custom-audiences.
|
63
64
|
:param pulumi.Input[builtins.bool] default_uri_disabled: Disables public resolution of the default URI of this service.
|
64
65
|
:param pulumi.Input[builtins.str] description: User-provided description of the Service. This field currently has a 512-character limit.
|
66
|
+
:param pulumi.Input[builtins.bool] iap_enabled: Used to enable/disable IAP for the service.
|
65
67
|
:param pulumi.Input[builtins.str] ingress: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or
|
66
68
|
INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL",
|
67
69
|
"INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]
|
@@ -106,6 +108,8 @@ class ServiceArgs:
|
|
106
108
|
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
107
109
|
if description is not None:
|
108
110
|
pulumi.set(__self__, "description", description)
|
111
|
+
if iap_enabled is not None:
|
112
|
+
pulumi.set(__self__, "iap_enabled", iap_enabled)
|
109
113
|
if ingress is not None:
|
110
114
|
pulumi.set(__self__, "ingress", ingress)
|
111
115
|
if invoker_iam_disabled is not None:
|
@@ -261,6 +265,18 @@ class ServiceArgs:
|
|
261
265
|
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
262
266
|
pulumi.set(self, "description", value)
|
263
267
|
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="iapEnabled")
|
270
|
+
def iap_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
271
|
+
"""
|
272
|
+
Used to enable/disable IAP for the service.
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "iap_enabled")
|
275
|
+
|
276
|
+
@iap_enabled.setter
|
277
|
+
def iap_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
278
|
+
pulumi.set(self, "iap_enabled", value)
|
279
|
+
|
264
280
|
@property
|
265
281
|
@pulumi.getter
|
266
282
|
def ingress(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -392,6 +408,7 @@ class _ServiceState:
|
|
392
408
|
etag: Optional[pulumi.Input[builtins.str]] = None,
|
393
409
|
expire_time: Optional[pulumi.Input[builtins.str]] = None,
|
394
410
|
generation: Optional[pulumi.Input[builtins.str]] = None,
|
411
|
+
iap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
395
412
|
ingress: Optional[pulumi.Input[builtins.str]] = None,
|
396
413
|
invoker_iam_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
397
414
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -441,6 +458,7 @@ class _ServiceState:
|
|
441
458
|
:param pulumi.Input[builtins.str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
|
442
459
|
:param pulumi.Input[builtins.str] expire_time: For a deleted resource, the time after which it will be permanently deleted.
|
443
460
|
:param pulumi.Input[builtins.str] generation: A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
461
|
+
:param pulumi.Input[builtins.bool] iap_enabled: Used to enable/disable IAP for the service.
|
444
462
|
:param pulumi.Input[builtins.str] ingress: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or
|
445
463
|
INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL",
|
446
464
|
"INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]
|
@@ -523,6 +541,8 @@ class _ServiceState:
|
|
523
541
|
pulumi.set(__self__, "expire_time", expire_time)
|
524
542
|
if generation is not None:
|
525
543
|
pulumi.set(__self__, "generation", generation)
|
544
|
+
if iap_enabled is not None:
|
545
|
+
pulumi.set(__self__, "iap_enabled", iap_enabled)
|
526
546
|
if ingress is not None:
|
527
547
|
pulumi.set(__self__, "ingress", ingress)
|
528
548
|
if invoker_iam_disabled is not None:
|
@@ -787,6 +807,18 @@ class _ServiceState:
|
|
787
807
|
def generation(self, value: Optional[pulumi.Input[builtins.str]]):
|
788
808
|
pulumi.set(self, "generation", value)
|
789
809
|
|
810
|
+
@property
|
811
|
+
@pulumi.getter(name="iapEnabled")
|
812
|
+
def iap_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
813
|
+
"""
|
814
|
+
Used to enable/disable IAP for the service.
|
815
|
+
"""
|
816
|
+
return pulumi.get(self, "iap_enabled")
|
817
|
+
|
818
|
+
@iap_enabled.setter
|
819
|
+
def iap_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
820
|
+
pulumi.set(self, "iap_enabled", value)
|
821
|
+
|
790
822
|
@property
|
791
823
|
@pulumi.getter
|
792
824
|
def ingress(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -1087,6 +1119,7 @@ class Service(pulumi.CustomResource):
|
|
1087
1119
|
default_uri_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1088
1120
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
1089
1121
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
1122
|
+
iap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1090
1123
|
ingress: Optional[pulumi.Input[builtins.str]] = None,
|
1091
1124
|
invoker_iam_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
1092
1125
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -1297,7 +1330,6 @@ class Service(pulumi.CustomResource):
|
|
1297
1330
|
location="us-central1",
|
1298
1331
|
deletion_protection=False,
|
1299
1332
|
ingress="INGRESS_TRAFFIC_ALL",
|
1300
|
-
launch_stage="BETA",
|
1301
1333
|
template={
|
1302
1334
|
"containers": [{
|
1303
1335
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1313,6 +1345,7 @@ class Service(pulumi.CustomResource):
|
|
1313
1345
|
"node_selector": {
|
1314
1346
|
"accelerator": "nvidia-l4",
|
1315
1347
|
},
|
1348
|
+
"gpu_zonal_redundancy_disabled": True,
|
1316
1349
|
"scaling": {
|
1317
1350
|
"max_instance_count": 1,
|
1318
1351
|
},
|
@@ -1623,6 +1656,25 @@ class Service(pulumi.CustomResource):
|
|
1623
1656
|
logs_writer,
|
1624
1657
|
]))
|
1625
1658
|
```
|
1659
|
+
### Cloudrunv2 Service Iap
|
1660
|
+
|
1661
|
+
```python
|
1662
|
+
import pulumi
|
1663
|
+
import pulumi_gcp as gcp
|
1664
|
+
|
1665
|
+
default = gcp.cloudrunv2.Service("default",
|
1666
|
+
name="cloudrun-iap-service",
|
1667
|
+
location="us-central1",
|
1668
|
+
deletion_protection=False,
|
1669
|
+
ingress="INGRESS_TRAFFIC_ALL",
|
1670
|
+
launch_stage="BETA",
|
1671
|
+
iap_enabled=True,
|
1672
|
+
template={
|
1673
|
+
"containers": [{
|
1674
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
1675
|
+
}],
|
1676
|
+
})
|
1677
|
+
```
|
1626
1678
|
|
1627
1679
|
## Import
|
1628
1680
|
|
@@ -1666,6 +1718,7 @@ class Service(pulumi.CustomResource):
|
|
1666
1718
|
https://cloud.google.com/run/docs/configuring/custom-audiences.
|
1667
1719
|
:param pulumi.Input[builtins.bool] default_uri_disabled: Disables public resolution of the default URI of this service.
|
1668
1720
|
:param pulumi.Input[builtins.str] description: User-provided description of the Service. This field currently has a 512-character limit.
|
1721
|
+
:param pulumi.Input[builtins.bool] iap_enabled: Used to enable/disable IAP for the service.
|
1669
1722
|
:param pulumi.Input[builtins.str] ingress: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or
|
1670
1723
|
INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL",
|
1671
1724
|
"INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]
|
@@ -1898,7 +1951,6 @@ class Service(pulumi.CustomResource):
|
|
1898
1951
|
location="us-central1",
|
1899
1952
|
deletion_protection=False,
|
1900
1953
|
ingress="INGRESS_TRAFFIC_ALL",
|
1901
|
-
launch_stage="BETA",
|
1902
1954
|
template={
|
1903
1955
|
"containers": [{
|
1904
1956
|
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
@@ -1914,6 +1966,7 @@ class Service(pulumi.CustomResource):
|
|
1914
1966
|
"node_selector": {
|
1915
1967
|
"accelerator": "nvidia-l4",
|
1916
1968
|
},
|
1969
|
+
"gpu_zonal_redundancy_disabled": True,
|
1917
1970
|
"scaling": {
|
1918
1971
|
"max_instance_count": 1,
|
1919
1972
|
},
|
@@ -2224,6 +2277,25 @@ class Service(pulumi.CustomResource):
|
|
2224
2277
|
logs_writer,
|
2225
2278
|
]))
|
2226
2279
|
```
|
2280
|
+
### Cloudrunv2 Service Iap
|
2281
|
+
|
2282
|
+
```python
|
2283
|
+
import pulumi
|
2284
|
+
import pulumi_gcp as gcp
|
2285
|
+
|
2286
|
+
default = gcp.cloudrunv2.Service("default",
|
2287
|
+
name="cloudrun-iap-service",
|
2288
|
+
location="us-central1",
|
2289
|
+
deletion_protection=False,
|
2290
|
+
ingress="INGRESS_TRAFFIC_ALL",
|
2291
|
+
launch_stage="BETA",
|
2292
|
+
iap_enabled=True,
|
2293
|
+
template={
|
2294
|
+
"containers": [{
|
2295
|
+
"image": "us-docker.pkg.dev/cloudrun/container/hello",
|
2296
|
+
}],
|
2297
|
+
})
|
2298
|
+
```
|
2227
2299
|
|
2228
2300
|
## Import
|
2229
2301
|
|
@@ -2273,6 +2345,7 @@ class Service(pulumi.CustomResource):
|
|
2273
2345
|
default_uri_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
2274
2346
|
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
2275
2347
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
2348
|
+
iap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
2276
2349
|
ingress: Optional[pulumi.Input[builtins.str]] = None,
|
2277
2350
|
invoker_iam_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
2278
2351
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -2301,6 +2374,7 @@ class Service(pulumi.CustomResource):
|
|
2301
2374
|
__props__.__dict__["default_uri_disabled"] = default_uri_disabled
|
2302
2375
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
2303
2376
|
__props__.__dict__["description"] = description
|
2377
|
+
__props__.__dict__["iap_enabled"] = iap_enabled
|
2304
2378
|
__props__.__dict__["ingress"] = ingress
|
2305
2379
|
__props__.__dict__["invoker_iam_disabled"] = invoker_iam_disabled
|
2306
2380
|
__props__.__dict__["labels"] = labels
|
@@ -2366,6 +2440,7 @@ class Service(pulumi.CustomResource):
|
|
2366
2440
|
etag: Optional[pulumi.Input[builtins.str]] = None,
|
2367
2441
|
expire_time: Optional[pulumi.Input[builtins.str]] = None,
|
2368
2442
|
generation: Optional[pulumi.Input[builtins.str]] = None,
|
2443
|
+
iap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
2369
2444
|
ingress: Optional[pulumi.Input[builtins.str]] = None,
|
2370
2445
|
invoker_iam_disabled: Optional[pulumi.Input[builtins.bool]] = None,
|
2371
2446
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
@@ -2420,6 +2495,7 @@ class Service(pulumi.CustomResource):
|
|
2420
2495
|
:param pulumi.Input[builtins.str] etag: A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
|
2421
2496
|
:param pulumi.Input[builtins.str] expire_time: For a deleted resource, the time after which it will be permanently deleted.
|
2422
2497
|
:param pulumi.Input[builtins.str] generation: A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
|
2498
|
+
:param pulumi.Input[builtins.bool] iap_enabled: Used to enable/disable IAP for the service.
|
2423
2499
|
:param pulumi.Input[builtins.str] ingress: Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or
|
2424
2500
|
INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. Possible values: ["INGRESS_TRAFFIC_ALL",
|
2425
2501
|
"INGRESS_TRAFFIC_INTERNAL_ONLY", "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER"]
|
@@ -2488,6 +2564,7 @@ class Service(pulumi.CustomResource):
|
|
2488
2564
|
__props__.__dict__["etag"] = etag
|
2489
2565
|
__props__.__dict__["expire_time"] = expire_time
|
2490
2566
|
__props__.__dict__["generation"] = generation
|
2567
|
+
__props__.__dict__["iap_enabled"] = iap_enabled
|
2491
2568
|
__props__.__dict__["ingress"] = ingress
|
2492
2569
|
__props__.__dict__["invoker_iam_disabled"] = invoker_iam_disabled
|
2493
2570
|
__props__.__dict__["labels"] = labels
|
@@ -2659,6 +2736,14 @@ class Service(pulumi.CustomResource):
|
|
2659
2736
|
"""
|
2660
2737
|
return pulumi.get(self, "generation")
|
2661
2738
|
|
2739
|
+
@property
|
2740
|
+
@pulumi.getter(name="iapEnabled")
|
2741
|
+
def iap_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
2742
|
+
"""
|
2743
|
+
Used to enable/disable IAP for the service.
|
2744
|
+
"""
|
2745
|
+
return pulumi.get(self, "iap_enabled")
|
2746
|
+
|
2662
2747
|
@property
|
2663
2748
|
@pulumi.getter
|
2664
2749
|
def ingress(self) -> pulumi.Output[builtins.str]:
|