pulumi-gcp 7.39.0a1726207510__py3-none-any.whl → 8.0.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 +32 -19
- pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
- pulumi_gcp/activedirectory/domain.py +38 -2
- pulumi_gcp/activedirectory/domain_trust.py +0 -30
- pulumi_gcp/activedirectory/peering.py +0 -72
- pulumi_gcp/alloydb/cluster.py +12 -200
- pulumi_gcp/alloydb/instance.py +13 -5
- pulumi_gcp/alloydb/user.py +14 -6
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
- pulumi_gcp/apigee/sync_authorization.py +4 -2
- pulumi_gcp/apigee/target_server.py +4 -2
- pulumi_gcp/appengine/firewall_rule.py +4 -2
- pulumi_gcp/appengine/flexible_app_version.py +4 -2
- pulumi_gcp/apphub/service.py +8 -4
- pulumi_gcp/apphub/service_project_attachment.py +8 -4
- pulumi_gcp/applicationintegration/client.py +0 -154
- pulumi_gcp/bigquery/_inputs.py +0 -70
- pulumi_gcp/bigquery/iam_binding.py +0 -260
- pulumi_gcp/bigquery/iam_member.py +0 -260
- pulumi_gcp/bigquery/iam_policy.py +0 -240
- pulumi_gcp/bigquery/outputs.py +0 -44
- pulumi_gcp/bigquery/reservation.py +0 -84
- pulumi_gcp/bigquery/table.py +0 -98
- pulumi_gcp/billing/project_info.py +4 -2
- pulumi_gcp/cloudasset/folder_feed.py +4 -2
- pulumi_gcp/cloudrunv2/_inputs.py +25 -25
- pulumi_gcp/cloudrunv2/get_job.py +11 -1
- pulumi_gcp/cloudrunv2/get_service.py +11 -1
- pulumi_gcp/cloudrunv2/job.py +50 -0
- pulumi_gcp/cloudrunv2/outputs.py +26 -26
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/compute/_inputs.py +117 -54
- pulumi_gcp/compute/backend_service.py +52 -0
- pulumi_gcp/compute/firewall_policy_rule.py +4 -2
- pulumi_gcp/compute/forwarding_rule.py +42 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/global_address.py +8 -4
- pulumi_gcp/compute/global_forwarding_rule.py +7 -0
- pulumi_gcp/compute/instance_template.py +56 -7
- pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
- pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
- pulumi_gcp/compute/network_attachment.py +8 -4
- pulumi_gcp/compute/node_group.py +4 -2
- pulumi_gcp/compute/organization_security_policy_association.py +4 -2
- pulumi_gcp/compute/outputs.py +101 -42
- pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
- pulumi_gcp/compute/region_backend_service.py +36 -7
- pulumi_gcp/compute/region_instance_template.py +56 -7
- pulumi_gcp/compute/region_ssl_certificate.py +49 -7
- pulumi_gcp/compute/ssl_certificate.py +49 -7
- pulumi_gcp/compute/subnetwork.py +193 -23
- pulumi_gcp/config/__init__.pyi +3 -5
- pulumi_gcp/config/vars.py +6 -10
- pulumi_gcp/container/_inputs.py +19 -41
- pulumi_gcp/container/cluster.py +79 -0
- pulumi_gcp/container/get_cluster.py +21 -1
- pulumi_gcp/container/get_engine_versions.py +8 -2
- pulumi_gcp/container/outputs.py +17 -40
- pulumi_gcp/diagflow/intent.py +4 -2
- pulumi_gcp/edgenetwork/network.py +83 -0
- pulumi_gcp/edgenetwork/subnet.py +83 -0
- pulumi_gcp/firebase/database_instance.py +2 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
- pulumi_gcp/firebase/hosting_version.py +4 -2
- pulumi_gcp/firebase/project.py +2 -0
- pulumi_gcp/firestore/document.py +8 -4
- pulumi_gcp/folder/access_approval_settings.py +12 -6
- pulumi_gcp/gkeonprem/_inputs.py +11 -11
- pulumi_gcp/gkeonprem/outputs.py +9 -9
- pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
- pulumi_gcp/iam/access_boundary_policy.py +4 -2
- pulumi_gcp/iam/deny_policy.py +4 -2
- pulumi_gcp/iap/brand.py +4 -2
- pulumi_gcp/iap/client.py +4 -2
- pulumi_gcp/identityplatform/__init__.py +0 -1
- pulumi_gcp/identityplatform/_inputs.py +0 -396
- pulumi_gcp/identityplatform/config.py +2 -0
- pulumi_gcp/identityplatform/outputs.py +0 -313
- pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
- pulumi_gcp/kms/__init__.py +4 -0
- pulumi_gcp/kms/_inputs.py +130 -0
- pulumi_gcp/kms/autokey_config.py +6 -2
- pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
- pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
- pulumi_gcp/kms/key_handle.py +8 -2
- pulumi_gcp/kms/outputs.py +76 -0
- pulumi_gcp/logging/folder_settings.py +4 -2
- pulumi_gcp/monitoring/monitored_project.py +4 -2
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
- pulumi_gcp/networkservices/_inputs.py +23 -0
- pulumi_gcp/networkservices/outputs.py +17 -1
- pulumi_gcp/networkservices/tcp_route.py +2 -0
- pulumi_gcp/organizations/access_approval_settings.py +4 -2
- pulumi_gcp/organizations/folder.py +35 -1
- pulumi_gcp/organizations/get_client_config.py +14 -1
- pulumi_gcp/organizations/get_folder.py +11 -1
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -87
- pulumi_gcp/orgpolicy/policy.py +12 -6
- pulumi_gcp/projects/api_key.py +2 -52
- pulumi_gcp/provider.py +32 -52
- pulumi_gcp/pubsub/topic.py +1 -1
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +58 -0
- pulumi_gcp/resourcemanager/lien.py +4 -2
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
- pulumi_gcp/sql/_inputs.py +3 -36
- pulumi_gcp/sql/outputs.py +6 -49
- pulumi_gcp/storage/_inputs.py +23 -23
- pulumi_gcp/storage/bucket.py +6 -6
- pulumi_gcp/storage/outputs.py +27 -27
- pulumi_gcp/tags/tag_binding.py +4 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
- pulumi_gcp/vmwareengine/network.py +4 -2
- pulumi_gcp/vpcaccess/connector.py +14 -6
- pulumi_gcp/vpcaccess/get_connector.py +6 -2
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/RECORD +127 -127
- pulumi_gcp/datastore/__init__.py +0 -10
- pulumi_gcp/datastore/_inputs.py +0 -76
- pulumi_gcp/datastore/data_store_index.py +0 -515
- pulumi_gcp/datastore/outputs.py +0 -51
- pulumi_gcp/identityplatform/project_default_config.py +0 -357
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/bigquery/table.py
CHANGED
@@ -23,7 +23,6 @@ class TableArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
dataset_id: pulumi.Input[str],
|
25
25
|
table_id: pulumi.Input[str],
|
26
|
-
allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
|
27
26
|
clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
28
27
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
29
28
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -49,13 +48,6 @@ class TableArgs:
|
|
49
48
|
Changing this forces a new resource to be created.
|
50
49
|
:param pulumi.Input[str] table_id: A unique ID for the resource.
|
51
50
|
Changing this forces a new resource to be created.
|
52
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
53
|
-
deletion when there are still resource tags attached. The default value is
|
54
|
-
false.
|
55
|
-
|
56
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
57
|
-
removed in a future major release. The default behavior will be allowing
|
58
|
-
the presence of resource tags on deletion after the next major release.
|
59
51
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
60
52
|
Up to four top-level columns are allowed, and should be specified in
|
61
53
|
descending priority order.
|
@@ -110,11 +102,6 @@ class TableArgs:
|
|
110
102
|
"""
|
111
103
|
pulumi.set(__self__, "dataset_id", dataset_id)
|
112
104
|
pulumi.set(__self__, "table_id", table_id)
|
113
|
-
if allow_resource_tags_on_deletion is not None:
|
114
|
-
warnings.warn("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""", DeprecationWarning)
|
115
|
-
pulumi.log.warn("""allow_resource_tags_on_deletion is deprecated: This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
116
|
-
if allow_resource_tags_on_deletion is not None:
|
117
|
-
pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
|
118
105
|
if clusterings is not None:
|
119
106
|
pulumi.set(__self__, "clusterings", clusterings)
|
120
107
|
if deletion_protection is not None:
|
@@ -180,25 +167,6 @@ class TableArgs:
|
|
180
167
|
def table_id(self, value: pulumi.Input[str]):
|
181
168
|
pulumi.set(self, "table_id", value)
|
182
169
|
|
183
|
-
@property
|
184
|
-
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
185
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
186
|
-
def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
|
187
|
-
"""
|
188
|
-
If set to true, it allows table
|
189
|
-
deletion when there are still resource tags attached. The default value is
|
190
|
-
false.
|
191
|
-
|
192
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
193
|
-
removed in a future major release. The default behavior will be allowing
|
194
|
-
the presence of resource tags on deletion after the next major release.
|
195
|
-
"""
|
196
|
-
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
197
|
-
|
198
|
-
@allow_resource_tags_on_deletion.setter
|
199
|
-
def allow_resource_tags_on_deletion(self, value: Optional[pulumi.Input[bool]]):
|
200
|
-
pulumi.set(self, "allow_resource_tags_on_deletion", value)
|
201
|
-
|
202
170
|
@property
|
203
171
|
@pulumi.getter
|
204
172
|
def clusterings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -463,7 +431,6 @@ class TableArgs:
|
|
463
431
|
@pulumi.input_type
|
464
432
|
class _TableState:
|
465
433
|
def __init__(__self__, *,
|
466
|
-
allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
|
467
434
|
clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
468
435
|
creation_time: Optional[pulumi.Input[int]] = None,
|
469
436
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
@@ -498,13 +465,6 @@ class _TableState:
|
|
498
465
|
view: Optional[pulumi.Input['TableViewArgs']] = None):
|
499
466
|
"""
|
500
467
|
Input properties used for looking up and filtering Table resources.
|
501
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
502
|
-
deletion when there are still resource tags attached. The default value is
|
503
|
-
false.
|
504
|
-
|
505
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
506
|
-
removed in a future major release. The default behavior will be allowing
|
507
|
-
the presence of resource tags on deletion after the next major release.
|
508
468
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
509
469
|
Up to four top-level columns are allowed, and should be specified in
|
510
470
|
descending priority order.
|
@@ -587,11 +547,6 @@ class _TableState:
|
|
587
547
|
:param pulumi.Input['TableViewArgs'] view: If specified, configures this table as a view.
|
588
548
|
Structure is documented below.
|
589
549
|
"""
|
590
|
-
if allow_resource_tags_on_deletion is not None:
|
591
|
-
warnings.warn("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""", DeprecationWarning)
|
592
|
-
pulumi.log.warn("""allow_resource_tags_on_deletion is deprecated: This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
593
|
-
if allow_resource_tags_on_deletion is not None:
|
594
|
-
pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
|
595
550
|
if clusterings is not None:
|
596
551
|
pulumi.set(__self__, "clusterings", clusterings)
|
597
552
|
if creation_time is not None:
|
@@ -657,25 +612,6 @@ class _TableState:
|
|
657
612
|
if view is not None:
|
658
613
|
pulumi.set(__self__, "view", view)
|
659
614
|
|
660
|
-
@property
|
661
|
-
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
662
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
663
|
-
def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
|
664
|
-
"""
|
665
|
-
If set to true, it allows table
|
666
|
-
deletion when there are still resource tags attached. The default value is
|
667
|
-
false.
|
668
|
-
|
669
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
670
|
-
removed in a future major release. The default behavior will be allowing
|
671
|
-
the presence of resource tags on deletion after the next major release.
|
672
|
-
"""
|
673
|
-
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
674
|
-
|
675
|
-
@allow_resource_tags_on_deletion.setter
|
676
|
-
def allow_resource_tags_on_deletion(self, value: Optional[pulumi.Input[bool]]):
|
677
|
-
pulumi.set(self, "allow_resource_tags_on_deletion", value)
|
678
|
-
|
679
615
|
@property
|
680
616
|
@pulumi.getter
|
681
617
|
def clusterings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -1115,7 +1051,6 @@ class Table(pulumi.CustomResource):
|
|
1115
1051
|
def __init__(__self__,
|
1116
1052
|
resource_name: str,
|
1117
1053
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1118
|
-
allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
|
1119
1054
|
clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1120
1055
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
1121
1056
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
@@ -1225,13 +1160,6 @@ class Table(pulumi.CustomResource):
|
|
1225
1160
|
|
1226
1161
|
:param str resource_name: The name of the resource.
|
1227
1162
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1228
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
1229
|
-
deletion when there are still resource tags attached. The default value is
|
1230
|
-
false.
|
1231
|
-
|
1232
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1233
|
-
removed in a future major release. The default behavior will be allowing
|
1234
|
-
the presence of resource tags on deletion after the next major release.
|
1235
1163
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
1236
1164
|
Up to four top-level columns are allowed, and should be specified in
|
1237
1165
|
descending priority order.
|
@@ -1394,7 +1322,6 @@ class Table(pulumi.CustomResource):
|
|
1394
1322
|
def _internal_init(__self__,
|
1395
1323
|
resource_name: str,
|
1396
1324
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1397
|
-
allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
|
1398
1325
|
clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1399
1326
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
1400
1327
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
@@ -1425,7 +1352,6 @@ class Table(pulumi.CustomResource):
|
|
1425
1352
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1426
1353
|
__props__ = TableArgs.__new__(TableArgs)
|
1427
1354
|
|
1428
|
-
__props__.__dict__["allow_resource_tags_on_deletion"] = allow_resource_tags_on_deletion
|
1429
1355
|
__props__.__dict__["clusterings"] = clusterings
|
1430
1356
|
if dataset_id is None and not opts.urn:
|
1431
1357
|
raise TypeError("Missing required property 'dataset_id'")
|
@@ -1474,7 +1400,6 @@ class Table(pulumi.CustomResource):
|
|
1474
1400
|
def get(resource_name: str,
|
1475
1401
|
id: pulumi.Input[str],
|
1476
1402
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1477
|
-
allow_resource_tags_on_deletion: Optional[pulumi.Input[bool]] = None,
|
1478
1403
|
clusterings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1479
1404
|
creation_time: Optional[pulumi.Input[int]] = None,
|
1480
1405
|
dataset_id: Optional[pulumi.Input[str]] = None,
|
@@ -1514,13 +1439,6 @@ class Table(pulumi.CustomResource):
|
|
1514
1439
|
:param str resource_name: The unique name of the resulting resource.
|
1515
1440
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1516
1441
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1517
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
1518
|
-
deletion when there are still resource tags attached. The default value is
|
1519
|
-
false.
|
1520
|
-
|
1521
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1522
|
-
removed in a future major release. The default behavior will be allowing
|
1523
|
-
the presence of resource tags on deletion after the next major release.
|
1524
1442
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
1525
1443
|
Up to four top-level columns are allowed, and should be specified in
|
1526
1444
|
descending priority order.
|
@@ -1607,7 +1525,6 @@ class Table(pulumi.CustomResource):
|
|
1607
1525
|
|
1608
1526
|
__props__ = _TableState.__new__(_TableState)
|
1609
1527
|
|
1610
|
-
__props__.__dict__["allow_resource_tags_on_deletion"] = allow_resource_tags_on_deletion
|
1611
1528
|
__props__.__dict__["clusterings"] = clusterings
|
1612
1529
|
__props__.__dict__["creation_time"] = creation_time
|
1613
1530
|
__props__.__dict__["dataset_id"] = dataset_id
|
@@ -1642,21 +1559,6 @@ class Table(pulumi.CustomResource):
|
|
1642
1559
|
__props__.__dict__["view"] = view
|
1643
1560
|
return Table(resource_name, opts=opts, __props__=__props__)
|
1644
1561
|
|
1645
|
-
@property
|
1646
|
-
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
1647
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
1648
|
-
def allow_resource_tags_on_deletion(self) -> pulumi.Output[Optional[bool]]:
|
1649
|
-
"""
|
1650
|
-
If set to true, it allows table
|
1651
|
-
deletion when there are still resource tags attached. The default value is
|
1652
|
-
false.
|
1653
|
-
|
1654
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1655
|
-
removed in a future major release. The default behavior will be allowing
|
1656
|
-
the presence of resource tags on deletion after the next major release.
|
1657
|
-
"""
|
1658
|
-
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
1659
|
-
|
1660
1562
|
@property
|
1661
1563
|
@pulumi.getter
|
1662
1564
|
def clusterings(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
@@ -147,7 +147,8 @@ class ProjectInfo(pulumi.CustomResource):
|
|
147
147
|
project = gcp.organizations.Project("project",
|
148
148
|
project_id="tf-test_81126",
|
149
149
|
name="tf-test_88717",
|
150
|
-
org_id="123456789"
|
150
|
+
org_id="123456789",
|
151
|
+
deletion_policy="DELETE")
|
151
152
|
default = gcp.billing.ProjectInfo("default",
|
152
153
|
project=project.project_id,
|
153
154
|
billing_account="000000-0000000-0000000-000000")
|
@@ -208,7 +209,8 @@ class ProjectInfo(pulumi.CustomResource):
|
|
208
209
|
project = gcp.organizations.Project("project",
|
209
210
|
project_id="tf-test_81126",
|
210
211
|
name="tf-test_88717",
|
211
|
-
org_id="123456789"
|
212
|
+
org_id="123456789",
|
213
|
+
deletion_policy="DELETE")
|
212
214
|
default = gcp.billing.ProjectInfo("default",
|
213
215
|
project=project.project_id,
|
214
216
|
billing_account="000000-0000000-0000000-000000")
|
@@ -410,7 +410,8 @@ class FolderFeed(pulumi.CustomResource):
|
|
410
410
|
# The folder that will be monitored for resource updates.
|
411
411
|
my_folder = gcp.organizations.Folder("my_folder",
|
412
412
|
display_name="Networking",
|
413
|
-
parent="organizations/123456789"
|
413
|
+
parent="organizations/123456789",
|
414
|
+
deletion_protection=False)
|
414
415
|
# Create a feed that sends notifications about network resource updates under a
|
415
416
|
# particular folder.
|
416
417
|
folder_feed = gcp.cloudasset.FolderFeed("folder_feed",
|
@@ -511,7 +512,8 @@ class FolderFeed(pulumi.CustomResource):
|
|
511
512
|
# The folder that will be monitored for resource updates.
|
512
513
|
my_folder = gcp.organizations.Folder("my_folder",
|
513
514
|
display_name="Networking",
|
514
|
-
parent="organizations/123456789"
|
515
|
+
parent="organizations/123456789",
|
516
|
+
deletion_protection=False)
|
515
517
|
# Create a feed that sends notifications about network resource updates under a
|
516
518
|
# particular folder.
|
517
519
|
folder_feed = gcp.cloudasset.FolderFeed("folder_feed",
|
pulumi_gcp/cloudrunv2/_inputs.py
CHANGED
@@ -93,8 +93,8 @@ __all__ = [
|
|
93
93
|
'ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgsDict',
|
94
94
|
'ServiceTemplateContainerLivenessProbeTcpSocketArgs',
|
95
95
|
'ServiceTemplateContainerLivenessProbeTcpSocketArgsDict',
|
96
|
-
'
|
97
|
-
'
|
96
|
+
'ServiceTemplateContainerPortsArgs',
|
97
|
+
'ServiceTemplateContainerPortsArgsDict',
|
98
98
|
'ServiceTemplateContainerResourcesArgs',
|
99
99
|
'ServiceTemplateContainerResourcesArgsDict',
|
100
100
|
'ServiceTemplateContainerStartupProbeArgs',
|
@@ -918,7 +918,7 @@ if not MYPY:
|
|
918
918
|
"""
|
919
919
|
args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
920
920
|
"""
|
921
|
-
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
921
|
+
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
922
922
|
"""
|
923
923
|
commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
924
924
|
"""
|
@@ -970,7 +970,7 @@ class JobTemplateTemplateContainerArgs:
|
|
970
970
|
working_dir: Optional[pulumi.Input[str]] = None):
|
971
971
|
"""
|
972
972
|
:param pulumi.Input[str] image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
973
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
974
974
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
975
975
|
:param pulumi.Input[Sequence[pulumi.Input['JobTemplateTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
|
976
976
|
Structure is documented below.
|
@@ -1018,7 +1018,7 @@ class JobTemplateTemplateContainerArgs:
|
|
1018
1018
|
@pulumi.getter
|
1019
1019
|
def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
1020
1020
|
"""
|
1021
|
-
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
1021
|
+
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
1022
1022
|
"""
|
1023
1023
|
return pulumi.get(self, "args")
|
1024
1024
|
|
@@ -1124,7 +1124,7 @@ if not MYPY:
|
|
1124
1124
|
"""
|
1125
1125
|
value: NotRequired[pulumi.Input[str]]
|
1126
1126
|
"""
|
1127
|
-
|
1127
|
+
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
1128
1128
|
"""
|
1129
1129
|
value_source: NotRequired[pulumi.Input['JobTemplateTemplateContainerEnvValueSourceArgsDict']]
|
1130
1130
|
"""
|
@@ -1142,7 +1142,7 @@ class JobTemplateTemplateContainerEnvArgs:
|
|
1142
1142
|
value_source: Optional[pulumi.Input['JobTemplateTemplateContainerEnvValueSourceArgs']] = None):
|
1143
1143
|
"""
|
1144
1144
|
:param pulumi.Input[str] name: Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters.
|
1145
|
-
:param pulumi.Input[str] value:
|
1145
|
+
:param pulumi.Input[str] value: Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
1146
1146
|
:param pulumi.Input['JobTemplateTemplateContainerEnvValueSourceArgs'] value_source: Source for the environment variable's value.
|
1147
1147
|
Structure is documented below.
|
1148
1148
|
"""
|
@@ -1168,7 +1168,7 @@ class JobTemplateTemplateContainerEnvArgs:
|
|
1168
1168
|
@pulumi.getter
|
1169
1169
|
def value(self) -> Optional[pulumi.Input[str]]:
|
1170
1170
|
"""
|
1171
|
-
|
1171
|
+
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
1172
1172
|
"""
|
1173
1173
|
return pulumi.get(self, "value")
|
1174
1174
|
|
@@ -2994,7 +2994,7 @@ if not MYPY:
|
|
2994
2994
|
"""
|
2995
2995
|
args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
2996
2996
|
"""
|
2997
|
-
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
2997
|
+
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
2998
2998
|
"""
|
2999
2999
|
commands: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
3000
3000
|
"""
|
@@ -3018,7 +3018,7 @@ if not MYPY:
|
|
3018
3018
|
"""
|
3019
3019
|
Name of the container specified as a DNS_LABEL.
|
3020
3020
|
"""
|
3021
|
-
ports: NotRequired[pulumi.Input[
|
3021
|
+
ports: NotRequired[pulumi.Input['ServiceTemplateContainerPortsArgsDict']]
|
3022
3022
|
"""
|
3023
3023
|
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
3024
3024
|
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
@@ -3056,14 +3056,14 @@ class ServiceTemplateContainerArgs:
|
|
3056
3056
|
envs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerEnvArgs']]]] = None,
|
3057
3057
|
liveness_probe: Optional[pulumi.Input['ServiceTemplateContainerLivenessProbeArgs']] = None,
|
3058
3058
|
name: Optional[pulumi.Input[str]] = None,
|
3059
|
-
ports: Optional[pulumi.Input[
|
3059
|
+
ports: Optional[pulumi.Input['ServiceTemplateContainerPortsArgs']] = None,
|
3060
3060
|
resources: Optional[pulumi.Input['ServiceTemplateContainerResourcesArgs']] = None,
|
3061
3061
|
startup_probe: Optional[pulumi.Input['ServiceTemplateContainerStartupProbeArgs']] = None,
|
3062
3062
|
volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerVolumeMountArgs']]]] = None,
|
3063
3063
|
working_dir: Optional[pulumi.Input[str]] = None):
|
3064
3064
|
"""
|
3065
3065
|
:param pulumi.Input[str] image: URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
|
3066
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
3066
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] args: Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
3067
3067
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] commands: Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
|
3068
3068
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] depends_ons: Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
|
3069
3069
|
:param pulumi.Input[Sequence[pulumi.Input['ServiceTemplateContainerEnvArgs']]] envs: List of environment variables to set in the container.
|
@@ -3071,7 +3071,7 @@ class ServiceTemplateContainerArgs:
|
|
3071
3071
|
:param pulumi.Input['ServiceTemplateContainerLivenessProbeArgs'] liveness_probe: Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
3072
3072
|
Structure is documented below.
|
3073
3073
|
:param pulumi.Input[str] name: Name of the container specified as a DNS_LABEL.
|
3074
|
-
:param pulumi.Input[
|
3074
|
+
:param pulumi.Input['ServiceTemplateContainerPortsArgs'] ports: List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
3075
3075
|
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
3076
3076
|
Structure is documented below.
|
3077
3077
|
:param pulumi.Input['ServiceTemplateContainerResourcesArgs'] resources: Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
@@ -3122,7 +3122,7 @@ class ServiceTemplateContainerArgs:
|
|
3122
3122
|
@pulumi.getter
|
3123
3123
|
def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
3124
3124
|
"""
|
3125
|
-
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references
|
3125
|
+
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
|
3126
3126
|
"""
|
3127
3127
|
return pulumi.get(self, "args")
|
3128
3128
|
|
@@ -3194,7 +3194,7 @@ class ServiceTemplateContainerArgs:
|
|
3194
3194
|
|
3195
3195
|
@property
|
3196
3196
|
@pulumi.getter
|
3197
|
-
def ports(self) -> Optional[pulumi.Input[
|
3197
|
+
def ports(self) -> Optional[pulumi.Input['ServiceTemplateContainerPortsArgs']]:
|
3198
3198
|
"""
|
3199
3199
|
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
|
3200
3200
|
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
|
@@ -3203,7 +3203,7 @@ class ServiceTemplateContainerArgs:
|
|
3203
3203
|
return pulumi.get(self, "ports")
|
3204
3204
|
|
3205
3205
|
@ports.setter
|
3206
|
-
def ports(self, value: Optional[pulumi.Input[
|
3206
|
+
def ports(self, value: Optional[pulumi.Input['ServiceTemplateContainerPortsArgs']]):
|
3207
3207
|
pulumi.set(self, "ports", value)
|
3208
3208
|
|
3209
3209
|
@property
|
@@ -3262,11 +3262,11 @@ if not MYPY:
|
|
3262
3262
|
class ServiceTemplateContainerEnvArgsDict(TypedDict):
|
3263
3263
|
name: pulumi.Input[str]
|
3264
3264
|
"""
|
3265
|
-
Name of the environment variable. Must be a C_IDENTIFIER, and
|
3265
|
+
Name of the environment variable. Must be a C_IDENTIFIER, and may not exceed 32768 characters.
|
3266
3266
|
"""
|
3267
3267
|
value: NotRequired[pulumi.Input[str]]
|
3268
3268
|
"""
|
3269
|
-
|
3269
|
+
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
3270
3270
|
"""
|
3271
3271
|
value_source: NotRequired[pulumi.Input['ServiceTemplateContainerEnvValueSourceArgsDict']]
|
3272
3272
|
"""
|
@@ -3283,8 +3283,8 @@ class ServiceTemplateContainerEnvArgs:
|
|
3283
3283
|
value: Optional[pulumi.Input[str]] = None,
|
3284
3284
|
value_source: Optional[pulumi.Input['ServiceTemplateContainerEnvValueSourceArgs']] = None):
|
3285
3285
|
"""
|
3286
|
-
:param pulumi.Input[str] name: Name of the environment variable. Must be a C_IDENTIFIER, and
|
3287
|
-
:param pulumi.Input[str] value:
|
3286
|
+
:param pulumi.Input[str] name: Name of the environment variable. Must be a C_IDENTIFIER, and may not exceed 32768 characters.
|
3287
|
+
:param pulumi.Input[str] value: Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
3288
3288
|
:param pulumi.Input['ServiceTemplateContainerEnvValueSourceArgs'] value_source: Source for the environment variable's value.
|
3289
3289
|
Structure is documented below.
|
3290
3290
|
"""
|
@@ -3298,7 +3298,7 @@ class ServiceTemplateContainerEnvArgs:
|
|
3298
3298
|
@pulumi.getter
|
3299
3299
|
def name(self) -> pulumi.Input[str]:
|
3300
3300
|
"""
|
3301
|
-
Name of the environment variable. Must be a C_IDENTIFIER, and
|
3301
|
+
Name of the environment variable. Must be a C_IDENTIFIER, and may not exceed 32768 characters.
|
3302
3302
|
"""
|
3303
3303
|
return pulumi.get(self, "name")
|
3304
3304
|
|
@@ -3310,7 +3310,7 @@ class ServiceTemplateContainerEnvArgs:
|
|
3310
3310
|
@pulumi.getter
|
3311
3311
|
def value(self) -> Optional[pulumi.Input[str]]:
|
3312
3312
|
"""
|
3313
|
-
|
3313
|
+
Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run.
|
3314
3314
|
"""
|
3315
3315
|
return pulumi.get(self, "value")
|
3316
3316
|
|
@@ -3804,7 +3804,7 @@ class ServiceTemplateContainerLivenessProbeTcpSocketArgs:
|
|
3804
3804
|
|
3805
3805
|
|
3806
3806
|
if not MYPY:
|
3807
|
-
class
|
3807
|
+
class ServiceTemplateContainerPortsArgsDict(TypedDict):
|
3808
3808
|
container_port: NotRequired[pulumi.Input[int]]
|
3809
3809
|
"""
|
3810
3810
|
Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.
|
@@ -3814,10 +3814,10 @@ if not MYPY:
|
|
3814
3814
|
If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".
|
3815
3815
|
"""
|
3816
3816
|
elif False:
|
3817
|
-
|
3817
|
+
ServiceTemplateContainerPortsArgsDict: TypeAlias = Mapping[str, Any]
|
3818
3818
|
|
3819
3819
|
@pulumi.input_type
|
3820
|
-
class
|
3820
|
+
class ServiceTemplateContainerPortsArgs:
|
3821
3821
|
def __init__(__self__, *,
|
3822
3822
|
container_port: Optional[pulumi.Input[int]] = None,
|
3823
3823
|
name: Optional[pulumi.Input[str]] = None):
|
pulumi_gcp/cloudrunv2/get_job.py
CHANGED
@@ -27,7 +27,7 @@ class GetJobResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getJob.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, annotations=None, binary_authorizations=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, delete_time=None, effective_annotations=None, effective_labels=None, etag=None, execution_count=None, expire_time=None, generation=None, id=None, labels=None, last_modifier=None, latest_created_executions=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, run_execution_token=None, start_execution_token=None, templates=None, terminal_conditions=None, uid=None, update_time=None):
|
30
|
+
def __init__(__self__, annotations=None, binary_authorizations=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, delete_time=None, deletion_protection=None, effective_annotations=None, effective_labels=None, etag=None, execution_count=None, expire_time=None, generation=None, id=None, labels=None, last_modifier=None, latest_created_executions=None, launch_stage=None, location=None, name=None, observed_generation=None, project=None, pulumi_labels=None, reconciling=None, run_execution_token=None, start_execution_token=None, templates=None, terminal_conditions=None, uid=None, update_time=None):
|
31
31
|
if annotations and not isinstance(annotations, dict):
|
32
32
|
raise TypeError("Expected argument 'annotations' to be a dict")
|
33
33
|
pulumi.set(__self__, "annotations", annotations)
|
@@ -52,6 +52,9 @@ class GetJobResult:
|
|
52
52
|
if delete_time and not isinstance(delete_time, str):
|
53
53
|
raise TypeError("Expected argument 'delete_time' to be a str")
|
54
54
|
pulumi.set(__self__, "delete_time", delete_time)
|
55
|
+
if deletion_protection and not isinstance(deletion_protection, bool):
|
56
|
+
raise TypeError("Expected argument 'deletion_protection' to be a bool")
|
57
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
55
58
|
if effective_annotations and not isinstance(effective_annotations, dict):
|
56
59
|
raise TypeError("Expected argument 'effective_annotations' to be a dict")
|
57
60
|
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
@@ -162,6 +165,11 @@ class GetJobResult:
|
|
162
165
|
def delete_time(self) -> str:
|
163
166
|
return pulumi.get(self, "delete_time")
|
164
167
|
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="deletionProtection")
|
170
|
+
def deletion_protection(self) -> bool:
|
171
|
+
return pulumi.get(self, "deletion_protection")
|
172
|
+
|
165
173
|
@property
|
166
174
|
@pulumi.getter(name="effectiveAnnotations")
|
167
175
|
def effective_annotations(self) -> Mapping[str, str]:
|
@@ -295,6 +303,7 @@ class AwaitableGetJobResult(GetJobResult):
|
|
295
303
|
create_time=self.create_time,
|
296
304
|
creator=self.creator,
|
297
305
|
delete_time=self.delete_time,
|
306
|
+
deletion_protection=self.deletion_protection,
|
298
307
|
effective_annotations=self.effective_annotations,
|
299
308
|
effective_labels=self.effective_labels,
|
300
309
|
etag=self.etag,
|
@@ -363,6 +372,7 @@ def get_job(location: Optional[str] = None,
|
|
363
372
|
create_time=pulumi.get(__ret__, 'create_time'),
|
364
373
|
creator=pulumi.get(__ret__, 'creator'),
|
365
374
|
delete_time=pulumi.get(__ret__, 'delete_time'),
|
375
|
+
deletion_protection=pulumi.get(__ret__, 'deletion_protection'),
|
366
376
|
effective_annotations=pulumi.get(__ret__, 'effective_annotations'),
|
367
377
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
368
378
|
etag=pulumi.get(__ret__, 'etag'),
|
@@ -27,7 +27,7 @@ class GetServiceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getService.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, annotations=None, binary_authorizations=None, client=None, client_version=None, conditions=None, create_time=None, creator=None, custom_audiences=None, default_uri_disabled=None, delete_time=None, description=None, effective_annotations=None, effective_labels=None, etag=None, expire_time=None, generation=None, id=None, ingress=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):
|
30
|
+
def __init__(__self__, annotations=None, binary_authorizations=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, 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):
|
31
31
|
if annotations and not isinstance(annotations, dict):
|
32
32
|
raise TypeError("Expected argument 'annotations' to be a dict")
|
33
33
|
pulumi.set(__self__, "annotations", annotations)
|
@@ -58,6 +58,9 @@ class GetServiceResult:
|
|
58
58
|
if delete_time and not isinstance(delete_time, str):
|
59
59
|
raise TypeError("Expected argument 'delete_time' to be a str")
|
60
60
|
pulumi.set(__self__, "delete_time", delete_time)
|
61
|
+
if deletion_protection and not isinstance(deletion_protection, bool):
|
62
|
+
raise TypeError("Expected argument 'deletion_protection' to be a bool")
|
63
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
61
64
|
if description and not isinstance(description, str):
|
62
65
|
raise TypeError("Expected argument 'description' to be a str")
|
63
66
|
pulumi.set(__self__, "description", description)
|
@@ -190,6 +193,11 @@ class GetServiceResult:
|
|
190
193
|
def delete_time(self) -> str:
|
191
194
|
return pulumi.get(self, "delete_time")
|
192
195
|
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="deletionProtection")
|
198
|
+
def deletion_protection(self) -> bool:
|
199
|
+
return pulumi.get(self, "deletion_protection")
|
200
|
+
|
193
201
|
@property
|
194
202
|
@pulumi.getter
|
195
203
|
def description(self) -> str:
|
@@ -345,6 +353,7 @@ class AwaitableGetServiceResult(GetServiceResult):
|
|
345
353
|
custom_audiences=self.custom_audiences,
|
346
354
|
default_uri_disabled=self.default_uri_disabled,
|
347
355
|
delete_time=self.delete_time,
|
356
|
+
deletion_protection=self.deletion_protection,
|
348
357
|
description=self.description,
|
349
358
|
effective_annotations=self.effective_annotations,
|
350
359
|
effective_labels=self.effective_labels,
|
@@ -419,6 +428,7 @@ def get_service(location: Optional[str] = None,
|
|
419
428
|
custom_audiences=pulumi.get(__ret__, 'custom_audiences'),
|
420
429
|
default_uri_disabled=pulumi.get(__ret__, 'default_uri_disabled'),
|
421
430
|
delete_time=pulumi.get(__ret__, 'delete_time'),
|
431
|
+
deletion_protection=pulumi.get(__ret__, 'deletion_protection'),
|
422
432
|
description=pulumi.get(__ret__, 'description'),
|
423
433
|
effective_annotations=pulumi.get(__ret__, 'effective_annotations'),
|
424
434
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|