pulumi-gcp 8.27.0a1744699567__py3-none-any.whl → 8.27.0a1744903336__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 +80 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +85 -0
- pulumi_gcp/compute/_inputs.py +428 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +362 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- 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/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/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/service_identity.py +0 -26
- 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 +69 -0
- pulumi_gcp/memorystore/get_instance.py +34 -1
- pulumi_gcp/memorystore/instance.py +140 -0
- pulumi_gcp/memorystore/outputs.py +80 -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 +3 -3
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +8 -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/storage/_inputs.py +111 -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_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-8.27.0a1744699567.dist-info → pulumi_gcp-8.27.0a1744903336.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.27.0a1744699567.dist-info → pulumi_gcp-8.27.0a1744903336.dist-info}/RECORD +76 -63
- {pulumi_gcp-8.27.0a1744699567.dist-info → pulumi_gcp-8.27.0a1744903336.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.27.0a1744699567.dist-info → pulumi_gcp-8.27.0a1744903336.dist-info}/top_level.txt +0 -0
pulumi_gcp/bigquery/table.py
CHANGED
@@ -67,7 +67,8 @@ class TableArgs:
|
|
67
67
|
milliseconds since the epoch. If not present, the table will persist
|
68
68
|
indefinitely. Expired tables will be deleted and their storage
|
69
69
|
reclaimed.
|
70
|
-
:param pulumi.Input['TableExternalCatalogTableOptionsArgs'] external_catalog_table_options: Options defining open source
|
70
|
+
:param pulumi.Input['TableExternalCatalogTableOptionsArgs'] external_catalog_table_options: Options defining open source
|
71
|
+
compatible table. Structure is documented below.
|
71
72
|
:param pulumi.Input['TableExternalDataConfigurationArgs'] external_data_configuration: Describes the data format,
|
72
73
|
location, and other properties of a table stored outside of BigQuery.
|
73
74
|
By defining these properties, the data source can then be queried as
|
@@ -97,7 +98,8 @@ class TableArgs:
|
|
97
98
|
expected to be the short name, for example "Production". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions)
|
98
99
|
for more details.
|
99
100
|
:param pulumi.Input[builtins.str] schema: A JSON schema for the table.
|
100
|
-
:param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data
|
101
|
+
:param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data
|
102
|
+
type definition in field schema. Structure is documented below.
|
101
103
|
:param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
|
102
104
|
Structure is documented below.
|
103
105
|
:param pulumi.Input[builtins.str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
|
@@ -271,7 +273,8 @@ class TableArgs:
|
|
271
273
|
@pulumi.getter(name="externalCatalogTableOptions")
|
272
274
|
def external_catalog_table_options(self) -> Optional[pulumi.Input['TableExternalCatalogTableOptionsArgs']]:
|
273
275
|
"""
|
274
|
-
Options defining open source
|
276
|
+
Options defining open source
|
277
|
+
compatible table. Structure is documented below.
|
275
278
|
"""
|
276
279
|
return pulumi.get(self, "external_catalog_table_options")
|
277
280
|
|
@@ -422,7 +425,8 @@ class TableArgs:
|
|
422
425
|
@pulumi.getter(name="schemaForeignTypeInfo")
|
423
426
|
def schema_foreign_type_info(self) -> Optional[pulumi.Input['TableSchemaForeignTypeInfoArgs']]:
|
424
427
|
"""
|
425
|
-
Specifies metadata of the foreign data
|
428
|
+
Specifies metadata of the foreign data
|
429
|
+
type definition in field schema. Structure is documented below.
|
426
430
|
"""
|
427
431
|
return pulumi.get(self, "schema_foreign_type_info")
|
428
432
|
|
@@ -574,7 +578,8 @@ class _TableState:
|
|
574
578
|
milliseconds since the epoch. If not present, the table will persist
|
575
579
|
indefinitely. Expired tables will be deleted and their storage
|
576
580
|
reclaimed.
|
577
|
-
:param pulumi.Input['TableExternalCatalogTableOptionsArgs'] external_catalog_table_options: Options defining open source
|
581
|
+
:param pulumi.Input['TableExternalCatalogTableOptionsArgs'] external_catalog_table_options: Options defining open source
|
582
|
+
compatible table. Structure is documented below.
|
578
583
|
:param pulumi.Input['TableExternalDataConfigurationArgs'] external_data_configuration: Describes the data format,
|
579
584
|
location, and other properties of a table stored outside of BigQuery.
|
580
585
|
By defining these properties, the data source can then be queried as
|
@@ -610,7 +615,8 @@ class _TableState:
|
|
610
615
|
expected to be the short name, for example "Production". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions)
|
611
616
|
for more details.
|
612
617
|
:param pulumi.Input[builtins.str] schema: A JSON schema for the table.
|
613
|
-
:param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data
|
618
|
+
:param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data
|
619
|
+
type definition in field schema. Structure is documented below.
|
614
620
|
:param pulumi.Input[builtins.str] self_link: The URI of the created resource.
|
615
621
|
:param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
|
616
622
|
Structure is documented below.
|
@@ -850,7 +856,8 @@ class _TableState:
|
|
850
856
|
@pulumi.getter(name="externalCatalogTableOptions")
|
851
857
|
def external_catalog_table_options(self) -> Optional[pulumi.Input['TableExternalCatalogTableOptionsArgs']]:
|
852
858
|
"""
|
853
|
-
Options defining open source
|
859
|
+
Options defining open source
|
860
|
+
compatible table. Structure is documented below.
|
854
861
|
"""
|
855
862
|
return pulumi.get(self, "external_catalog_table_options")
|
856
863
|
|
@@ -1073,7 +1080,8 @@ class _TableState:
|
|
1073
1080
|
@pulumi.getter(name="schemaForeignTypeInfo")
|
1074
1081
|
def schema_foreign_type_info(self) -> Optional[pulumi.Input['TableSchemaForeignTypeInfoArgs']]:
|
1075
1082
|
"""
|
1076
|
-
Specifies metadata of the foreign data
|
1083
|
+
Specifies metadata of the foreign data
|
1084
|
+
type definition in field schema. Structure is documented below.
|
1077
1085
|
"""
|
1078
1086
|
return pulumi.get(self, "schema_foreign_type_info")
|
1079
1087
|
|
@@ -1321,7 +1329,8 @@ class Table(pulumi.CustomResource):
|
|
1321
1329
|
milliseconds since the epoch. If not present, the table will persist
|
1322
1330
|
indefinitely. Expired tables will be deleted and their storage
|
1323
1331
|
reclaimed.
|
1324
|
-
:param pulumi.Input[Union['TableExternalCatalogTableOptionsArgs', 'TableExternalCatalogTableOptionsArgsDict']] external_catalog_table_options: Options defining open source
|
1332
|
+
:param pulumi.Input[Union['TableExternalCatalogTableOptionsArgs', 'TableExternalCatalogTableOptionsArgsDict']] external_catalog_table_options: Options defining open source
|
1333
|
+
compatible table. Structure is documented below.
|
1325
1334
|
:param pulumi.Input[Union['TableExternalDataConfigurationArgs', 'TableExternalDataConfigurationArgsDict']] external_data_configuration: Describes the data format,
|
1326
1335
|
location, and other properties of a table stored outside of BigQuery.
|
1327
1336
|
By defining these properties, the data source can then be queried as
|
@@ -1351,7 +1360,8 @@ class Table(pulumi.CustomResource):
|
|
1351
1360
|
expected to be the short name, for example "Production". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions)
|
1352
1361
|
for more details.
|
1353
1362
|
:param pulumi.Input[builtins.str] schema: A JSON schema for the table.
|
1354
|
-
:param pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']] schema_foreign_type_info: Specifies metadata of the foreign data
|
1363
|
+
:param pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']] schema_foreign_type_info: Specifies metadata of the foreign data
|
1364
|
+
type definition in field schema. Structure is documented below.
|
1355
1365
|
:param pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']] table_constraints: Defines the primary key and foreign keys.
|
1356
1366
|
Structure is documented below.
|
1357
1367
|
:param pulumi.Input[builtins.str] table_id: A unique ID for the resource.
|
@@ -1637,7 +1647,8 @@ class Table(pulumi.CustomResource):
|
|
1637
1647
|
milliseconds since the epoch. If not present, the table will persist
|
1638
1648
|
indefinitely. Expired tables will be deleted and their storage
|
1639
1649
|
reclaimed.
|
1640
|
-
:param pulumi.Input[Union['TableExternalCatalogTableOptionsArgs', 'TableExternalCatalogTableOptionsArgsDict']] external_catalog_table_options: Options defining open source
|
1650
|
+
:param pulumi.Input[Union['TableExternalCatalogTableOptionsArgs', 'TableExternalCatalogTableOptionsArgsDict']] external_catalog_table_options: Options defining open source
|
1651
|
+
compatible table. Structure is documented below.
|
1641
1652
|
:param pulumi.Input[Union['TableExternalDataConfigurationArgs', 'TableExternalDataConfigurationArgsDict']] external_data_configuration: Describes the data format,
|
1642
1653
|
location, and other properties of a table stored outside of BigQuery.
|
1643
1654
|
By defining these properties, the data source can then be queried as
|
@@ -1673,7 +1684,8 @@ class Table(pulumi.CustomResource):
|
|
1673
1684
|
expected to be the short name, for example "Production". See [Tag definitions](https://cloud.google.com/iam/docs/tags-access-control#definitions)
|
1674
1685
|
for more details.
|
1675
1686
|
:param pulumi.Input[builtins.str] schema: A JSON schema for the table.
|
1676
|
-
:param pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']] schema_foreign_type_info: Specifies metadata of the foreign data
|
1687
|
+
:param pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']] schema_foreign_type_info: Specifies metadata of the foreign data
|
1688
|
+
type definition in field schema. Structure is documented below.
|
1677
1689
|
:param pulumi.Input[builtins.str] self_link: The URI of the created resource.
|
1678
1690
|
:param pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']] table_constraints: Defines the primary key and foreign keys.
|
1679
1691
|
Structure is documented below.
|
@@ -1842,7 +1854,8 @@ class Table(pulumi.CustomResource):
|
|
1842
1854
|
@pulumi.getter(name="externalCatalogTableOptions")
|
1843
1855
|
def external_catalog_table_options(self) -> pulumi.Output[Optional['outputs.TableExternalCatalogTableOptions']]:
|
1844
1856
|
"""
|
1845
|
-
Options defining open source
|
1857
|
+
Options defining open source
|
1858
|
+
compatible table. Structure is documented below.
|
1846
1859
|
"""
|
1847
1860
|
return pulumi.get(self, "external_catalog_table_options")
|
1848
1861
|
|
@@ -1997,7 +2010,8 @@ class Table(pulumi.CustomResource):
|
|
1997
2010
|
@pulumi.getter(name="schemaForeignTypeInfo")
|
1998
2011
|
def schema_foreign_type_info(self) -> pulumi.Output[Optional['outputs.TableSchemaForeignTypeInfo']]:
|
1999
2012
|
"""
|
2000
|
-
Specifies metadata of the foreign data
|
2013
|
+
Specifies metadata of the foreign data
|
2014
|
+
type definition in field schema. Structure is documented below.
|
2001
2015
|
"""
|
2002
2016
|
return pulumi.get(self, "schema_foreign_type_info")
|
2003
2017
|
|
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,
|
@@ -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"]
|
@@ -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]:
|