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.
Files changed (132) hide show
  1. pulumi_gcp/__init__.py +32 -19
  2. pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
  3. pulumi_gcp/activedirectory/domain.py +38 -2
  4. pulumi_gcp/activedirectory/domain_trust.py +0 -30
  5. pulumi_gcp/activedirectory/peering.py +0 -72
  6. pulumi_gcp/alloydb/cluster.py +12 -200
  7. pulumi_gcp/alloydb/instance.py +13 -5
  8. pulumi_gcp/alloydb/user.py +14 -6
  9. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
  10. pulumi_gcp/apigee/sync_authorization.py +4 -2
  11. pulumi_gcp/apigee/target_server.py +4 -2
  12. pulumi_gcp/appengine/firewall_rule.py +4 -2
  13. pulumi_gcp/appengine/flexible_app_version.py +4 -2
  14. pulumi_gcp/apphub/service.py +8 -4
  15. pulumi_gcp/apphub/service_project_attachment.py +8 -4
  16. pulumi_gcp/applicationintegration/client.py +0 -154
  17. pulumi_gcp/bigquery/_inputs.py +0 -70
  18. pulumi_gcp/bigquery/iam_binding.py +0 -260
  19. pulumi_gcp/bigquery/iam_member.py +0 -260
  20. pulumi_gcp/bigquery/iam_policy.py +0 -240
  21. pulumi_gcp/bigquery/outputs.py +0 -44
  22. pulumi_gcp/bigquery/reservation.py +0 -84
  23. pulumi_gcp/bigquery/table.py +0 -98
  24. pulumi_gcp/billing/project_info.py +4 -2
  25. pulumi_gcp/cloudasset/folder_feed.py +4 -2
  26. pulumi_gcp/cloudrunv2/_inputs.py +25 -25
  27. pulumi_gcp/cloudrunv2/get_job.py +11 -1
  28. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  29. pulumi_gcp/cloudrunv2/job.py +50 -0
  30. pulumi_gcp/cloudrunv2/outputs.py +26 -26
  31. pulumi_gcp/cloudrunv2/service.py +54 -0
  32. pulumi_gcp/compute/_inputs.py +117 -54
  33. pulumi_gcp/compute/backend_service.py +52 -0
  34. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  35. pulumi_gcp/compute/forwarding_rule.py +42 -0
  36. pulumi_gcp/compute/get_forwarding_rule.py +11 -1
  37. pulumi_gcp/compute/global_address.py +8 -4
  38. pulumi_gcp/compute/global_forwarding_rule.py +7 -0
  39. pulumi_gcp/compute/instance_template.py +56 -7
  40. pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
  41. pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
  42. pulumi_gcp/compute/network_attachment.py +8 -4
  43. pulumi_gcp/compute/node_group.py +4 -2
  44. pulumi_gcp/compute/organization_security_policy_association.py +4 -2
  45. pulumi_gcp/compute/outputs.py +101 -42
  46. pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
  47. pulumi_gcp/compute/region_backend_service.py +36 -7
  48. pulumi_gcp/compute/region_instance_template.py +56 -7
  49. pulumi_gcp/compute/region_ssl_certificate.py +49 -7
  50. pulumi_gcp/compute/ssl_certificate.py +49 -7
  51. pulumi_gcp/compute/subnetwork.py +193 -23
  52. pulumi_gcp/config/__init__.pyi +3 -5
  53. pulumi_gcp/config/vars.py +6 -10
  54. pulumi_gcp/container/_inputs.py +19 -41
  55. pulumi_gcp/container/cluster.py +79 -0
  56. pulumi_gcp/container/get_cluster.py +21 -1
  57. pulumi_gcp/container/get_engine_versions.py +8 -2
  58. pulumi_gcp/container/outputs.py +17 -40
  59. pulumi_gcp/diagflow/intent.py +4 -2
  60. pulumi_gcp/edgenetwork/network.py +83 -0
  61. pulumi_gcp/edgenetwork/subnet.py +83 -0
  62. pulumi_gcp/firebase/database_instance.py +2 -0
  63. pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
  64. pulumi_gcp/firebase/hosting_version.py +4 -2
  65. pulumi_gcp/firebase/project.py +2 -0
  66. pulumi_gcp/firestore/document.py +8 -4
  67. pulumi_gcp/folder/access_approval_settings.py +12 -6
  68. pulumi_gcp/gkeonprem/_inputs.py +11 -11
  69. pulumi_gcp/gkeonprem/outputs.py +9 -9
  70. pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
  71. pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
  72. pulumi_gcp/iam/access_boundary_policy.py +4 -2
  73. pulumi_gcp/iam/deny_policy.py +4 -2
  74. pulumi_gcp/iap/brand.py +4 -2
  75. pulumi_gcp/iap/client.py +4 -2
  76. pulumi_gcp/identityplatform/__init__.py +0 -1
  77. pulumi_gcp/identityplatform/_inputs.py +0 -396
  78. pulumi_gcp/identityplatform/config.py +2 -0
  79. pulumi_gcp/identityplatform/outputs.py +0 -313
  80. pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
  81. pulumi_gcp/kms/__init__.py +4 -0
  82. pulumi_gcp/kms/_inputs.py +130 -0
  83. pulumi_gcp/kms/autokey_config.py +6 -2
  84. pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
  85. pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
  86. pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
  87. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
  88. pulumi_gcp/kms/key_handle.py +8 -2
  89. pulumi_gcp/kms/outputs.py +76 -0
  90. pulumi_gcp/logging/folder_settings.py +4 -2
  91. pulumi_gcp/monitoring/monitored_project.py +4 -2
  92. pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
  93. pulumi_gcp/networkservices/_inputs.py +23 -0
  94. pulumi_gcp/networkservices/outputs.py +17 -1
  95. pulumi_gcp/networkservices/tcp_route.py +2 -0
  96. pulumi_gcp/organizations/access_approval_settings.py +4 -2
  97. pulumi_gcp/organizations/folder.py +35 -1
  98. pulumi_gcp/organizations/get_client_config.py +14 -1
  99. pulumi_gcp/organizations/get_folder.py +11 -1
  100. pulumi_gcp/organizations/get_project.py +3 -13
  101. pulumi_gcp/organizations/project.py +3 -87
  102. pulumi_gcp/orgpolicy/policy.py +12 -6
  103. pulumi_gcp/projects/api_key.py +2 -52
  104. pulumi_gcp/provider.py +32 -52
  105. pulumi_gcp/pubsub/topic.py +1 -1
  106. pulumi_gcp/pulumi-plugin.json +1 -1
  107. pulumi_gcp/redis/cluster.py +58 -0
  108. pulumi_gcp/resourcemanager/lien.py +4 -2
  109. pulumi_gcp/securitycenter/__init__.py +1 -0
  110. pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
  111. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
  112. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
  113. pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
  114. pulumi_gcp/sql/_inputs.py +3 -36
  115. pulumi_gcp/sql/outputs.py +6 -49
  116. pulumi_gcp/storage/_inputs.py +23 -23
  117. pulumi_gcp/storage/bucket.py +6 -6
  118. pulumi_gcp/storage/outputs.py +27 -27
  119. pulumi_gcp/tags/tag_binding.py +4 -2
  120. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
  121. pulumi_gcp/vmwareengine/network.py +4 -2
  122. pulumi_gcp/vpcaccess/connector.py +14 -6
  123. pulumi_gcp/vpcaccess/get_connector.py +6 -2
  124. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/METADATA +1 -1
  125. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/RECORD +127 -127
  126. pulumi_gcp/datastore/__init__.py +0 -10
  127. pulumi_gcp/datastore/_inputs.py +0 -76
  128. pulumi_gcp/datastore/data_store_index.py +0 -515
  129. pulumi_gcp/datastore/outputs.py +0 -51
  130. pulumi_gcp/identityplatform/project_default_config.py +0 -357
  131. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/WHEEL +0 -0
  132. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0.dist-info}/top_level.txt +0 -0
@@ -36,6 +36,9 @@ class NetworkArgs:
36
36
  :param pulumi.Input[str] zone: The name of the target Distributed Cloud Edge zone.
37
37
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
38
38
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
39
+
40
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
41
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
39
42
  :param pulumi.Input[int] mtu: IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
40
43
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
41
44
  If it is not provided, the provider project is used.
@@ -108,6 +111,9 @@ class NetworkArgs:
108
111
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
109
112
  """
110
113
  Labels associated with this resource.
114
+
115
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
116
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
111
117
  """
112
118
  return pulumi.get(self, "labels")
113
119
 
@@ -146,12 +152,14 @@ class _NetworkState:
146
152
  def __init__(__self__, *,
147
153
  create_time: Optional[pulumi.Input[str]] = None,
148
154
  description: Optional[pulumi.Input[str]] = None,
155
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
149
156
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
150
157
  location: Optional[pulumi.Input[str]] = None,
151
158
  mtu: Optional[pulumi.Input[int]] = None,
152
159
  name: Optional[pulumi.Input[str]] = None,
153
160
  network_id: Optional[pulumi.Input[str]] = None,
154
161
  project: Optional[pulumi.Input[str]] = None,
162
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
155
163
  update_time: Optional[pulumi.Input[str]] = None,
156
164
  zone: Optional[pulumi.Input[str]] = None):
157
165
  """
@@ -160,7 +168,11 @@ class _NetworkState:
160
168
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
161
169
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
162
170
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
171
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
163
172
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
173
+
174
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
175
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
164
176
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
165
177
  :param pulumi.Input[int] mtu: IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
166
178
  :param pulumi.Input[str] name: The canonical name of this resource, with format
@@ -171,6 +183,8 @@ class _NetworkState:
171
183
  - - -
172
184
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
173
185
  If it is not provided, the provider project is used.
186
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
187
+ and default labels configured on the provider.
174
188
  :param pulumi.Input[str] update_time: The time when the subnet was last updated.
175
189
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
176
190
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
@@ -180,6 +194,8 @@ class _NetworkState:
180
194
  pulumi.set(__self__, "create_time", create_time)
181
195
  if description is not None:
182
196
  pulumi.set(__self__, "description", description)
197
+ if effective_labels is not None:
198
+ pulumi.set(__self__, "effective_labels", effective_labels)
183
199
  if labels is not None:
184
200
  pulumi.set(__self__, "labels", labels)
185
201
  if location is not None:
@@ -192,6 +208,8 @@ class _NetworkState:
192
208
  pulumi.set(__self__, "network_id", network_id)
193
209
  if project is not None:
194
210
  pulumi.set(__self__, "project", project)
211
+ if pulumi_labels is not None:
212
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
195
213
  if update_time is not None:
196
214
  pulumi.set(__self__, "update_time", update_time)
197
215
  if zone is not None:
@@ -223,11 +241,26 @@ class _NetworkState:
223
241
  def description(self, value: Optional[pulumi.Input[str]]):
224
242
  pulumi.set(self, "description", value)
225
243
 
244
+ @property
245
+ @pulumi.getter(name="effectiveLabels")
246
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
247
+ """
248
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
249
+ """
250
+ return pulumi.get(self, "effective_labels")
251
+
252
+ @effective_labels.setter
253
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
254
+ pulumi.set(self, "effective_labels", value)
255
+
226
256
  @property
227
257
  @pulumi.getter
228
258
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
229
259
  """
230
260
  Labels associated with this resource.
261
+
262
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
263
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
231
264
  """
232
265
  return pulumi.get(self, "labels")
233
266
 
@@ -300,6 +333,19 @@ class _NetworkState:
300
333
  def project(self, value: Optional[pulumi.Input[str]]):
301
334
  pulumi.set(self, "project", value)
302
335
 
336
+ @property
337
+ @pulumi.getter(name="pulumiLabels")
338
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
339
+ """
340
+ The combination of labels configured directly on the resource
341
+ and default labels configured on the provider.
342
+ """
343
+ return pulumi.get(self, "pulumi_labels")
344
+
345
+ @pulumi_labels.setter
346
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
347
+ pulumi.set(self, "pulumi_labels", value)
348
+
303
349
  @property
304
350
  @pulumi.getter(name="updateTime")
305
351
  def update_time(self) -> Optional[pulumi.Input[str]]:
@@ -408,6 +454,9 @@ class Network(pulumi.CustomResource):
408
454
  :param pulumi.ResourceOptions opts: Options for the resource.
409
455
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
410
456
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
457
+
458
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
459
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
411
460
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
412
461
  :param pulumi.Input[int] mtu: IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
413
462
  :param pulumi.Input[str] network_id: A unique ID that identifies this network.
@@ -533,8 +582,12 @@ class Network(pulumi.CustomResource):
533
582
  raise TypeError("Missing required property 'zone'")
534
583
  __props__.__dict__["zone"] = zone
535
584
  __props__.__dict__["create_time"] = None
585
+ __props__.__dict__["effective_labels"] = None
536
586
  __props__.__dict__["name"] = None
587
+ __props__.__dict__["pulumi_labels"] = None
537
588
  __props__.__dict__["update_time"] = None
589
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
590
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
538
591
  super(Network, __self__).__init__(
539
592
  'gcp:edgenetwork/network:Network',
540
593
  resource_name,
@@ -547,12 +600,14 @@ class Network(pulumi.CustomResource):
547
600
  opts: Optional[pulumi.ResourceOptions] = None,
548
601
  create_time: Optional[pulumi.Input[str]] = None,
549
602
  description: Optional[pulumi.Input[str]] = None,
603
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
550
604
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
551
605
  location: Optional[pulumi.Input[str]] = None,
552
606
  mtu: Optional[pulumi.Input[int]] = None,
553
607
  name: Optional[pulumi.Input[str]] = None,
554
608
  network_id: Optional[pulumi.Input[str]] = None,
555
609
  project: Optional[pulumi.Input[str]] = None,
610
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
556
611
  update_time: Optional[pulumi.Input[str]] = None,
557
612
  zone: Optional[pulumi.Input[str]] = None) -> 'Network':
558
613
  """
@@ -566,7 +621,11 @@ class Network(pulumi.CustomResource):
566
621
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
567
622
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
568
623
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
624
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
569
625
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
626
+
627
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
628
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
570
629
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
571
630
  :param pulumi.Input[int] mtu: IP (L3) MTU value of the network. Default value is `1500`. Possible values are: `1500`, `9000`.
572
631
  :param pulumi.Input[str] name: The canonical name of this resource, with format
@@ -577,6 +636,8 @@ class Network(pulumi.CustomResource):
577
636
  - - -
578
637
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
579
638
  If it is not provided, the provider project is used.
639
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
640
+ and default labels configured on the provider.
580
641
  :param pulumi.Input[str] update_time: The time when the subnet was last updated.
581
642
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
582
643
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
@@ -588,12 +649,14 @@ class Network(pulumi.CustomResource):
588
649
 
589
650
  __props__.__dict__["create_time"] = create_time
590
651
  __props__.__dict__["description"] = description
652
+ __props__.__dict__["effective_labels"] = effective_labels
591
653
  __props__.__dict__["labels"] = labels
592
654
  __props__.__dict__["location"] = location
593
655
  __props__.__dict__["mtu"] = mtu
594
656
  __props__.__dict__["name"] = name
595
657
  __props__.__dict__["network_id"] = network_id
596
658
  __props__.__dict__["project"] = project
659
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
597
660
  __props__.__dict__["update_time"] = update_time
598
661
  __props__.__dict__["zone"] = zone
599
662
  return Network(resource_name, opts=opts, __props__=__props__)
@@ -616,11 +679,22 @@ class Network(pulumi.CustomResource):
616
679
  """
617
680
  return pulumi.get(self, "description")
618
681
 
682
+ @property
683
+ @pulumi.getter(name="effectiveLabels")
684
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
685
+ """
686
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
687
+ """
688
+ return pulumi.get(self, "effective_labels")
689
+
619
690
  @property
620
691
  @pulumi.getter
621
692
  def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
622
693
  """
623
694
  Labels associated with this resource.
695
+
696
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
697
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
624
698
  """
625
699
  return pulumi.get(self, "labels")
626
700
 
@@ -669,6 +743,15 @@ class Network(pulumi.CustomResource):
669
743
  """
670
744
  return pulumi.get(self, "project")
671
745
 
746
+ @property
747
+ @pulumi.getter(name="pulumiLabels")
748
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
749
+ """
750
+ The combination of labels configured directly on the resource
751
+ and default labels configured on the provider.
752
+ """
753
+ return pulumi.get(self, "pulumi_labels")
754
+
672
755
  @property
673
756
  @pulumi.getter(name="updateTime")
674
757
  def update_time(self) -> pulumi.Output[str]:
@@ -43,6 +43,9 @@ class SubnetArgs:
43
43
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv4_cidrs: The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
44
44
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv6_cidrs: The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
45
45
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
46
+
47
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
48
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
46
49
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
47
50
  If it is not provided, the provider project is used.
48
51
  :param pulumi.Input[int] vlan_id: VLAN ID for this subnetwork. If not specified, one is assigned automatically.
@@ -157,6 +160,9 @@ class SubnetArgs:
157
160
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
158
161
  """
159
162
  Labels associated with this resource.
163
+
164
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
165
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
160
166
  """
161
167
  return pulumi.get(self, "labels")
162
168
 
@@ -195,6 +201,7 @@ class _SubnetState:
195
201
  def __init__(__self__, *,
196
202
  create_time: Optional[pulumi.Input[str]] = None,
197
203
  description: Optional[pulumi.Input[str]] = None,
204
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
198
205
  ipv4_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
199
206
  ipv6_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
200
207
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -202,6 +209,7 @@ class _SubnetState:
202
209
  name: Optional[pulumi.Input[str]] = None,
203
210
  network: Optional[pulumi.Input[str]] = None,
204
211
  project: Optional[pulumi.Input[str]] = None,
212
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
205
213
  state: Optional[pulumi.Input[str]] = None,
206
214
  subnet_id: Optional[pulumi.Input[str]] = None,
207
215
  update_time: Optional[pulumi.Input[str]] = None,
@@ -213,9 +221,13 @@ class _SubnetState:
213
221
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
214
222
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
215
223
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
224
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
216
225
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv4_cidrs: The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
217
226
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv6_cidrs: The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
218
227
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
228
+
229
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
230
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
219
231
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
220
232
  :param pulumi.Input[str] name: The canonical name of this resource, with format
221
233
  `projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}`
@@ -223,6 +235,8 @@ class _SubnetState:
223
235
  Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
224
236
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
225
237
  If it is not provided, the provider project is used.
238
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
239
+ and default labels configured on the provider.
226
240
  :param pulumi.Input[str] state: Current stage of the resource to the device by config push.
227
241
  :param pulumi.Input[str] subnet_id: A unique ID that identifies this subnet.
228
242
 
@@ -238,6 +252,8 @@ class _SubnetState:
238
252
  pulumi.set(__self__, "create_time", create_time)
239
253
  if description is not None:
240
254
  pulumi.set(__self__, "description", description)
255
+ if effective_labels is not None:
256
+ pulumi.set(__self__, "effective_labels", effective_labels)
241
257
  if ipv4_cidrs is not None:
242
258
  pulumi.set(__self__, "ipv4_cidrs", ipv4_cidrs)
243
259
  if ipv6_cidrs is not None:
@@ -252,6 +268,8 @@ class _SubnetState:
252
268
  pulumi.set(__self__, "network", network)
253
269
  if project is not None:
254
270
  pulumi.set(__self__, "project", project)
271
+ if pulumi_labels is not None:
272
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
255
273
  if state is not None:
256
274
  pulumi.set(__self__, "state", state)
257
275
  if subnet_id is not None:
@@ -289,6 +307,18 @@ class _SubnetState:
289
307
  def description(self, value: Optional[pulumi.Input[str]]):
290
308
  pulumi.set(self, "description", value)
291
309
 
310
+ @property
311
+ @pulumi.getter(name="effectiveLabels")
312
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
313
+ """
314
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
315
+ """
316
+ return pulumi.get(self, "effective_labels")
317
+
318
+ @effective_labels.setter
319
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
320
+ pulumi.set(self, "effective_labels", value)
321
+
292
322
  @property
293
323
  @pulumi.getter(name="ipv4Cidrs")
294
324
  def ipv4_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -318,6 +348,9 @@ class _SubnetState:
318
348
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
319
349
  """
320
350
  Labels associated with this resource.
351
+
352
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
353
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
321
354
  """
322
355
  return pulumi.get(self, "labels")
323
356
 
@@ -376,6 +409,19 @@ class _SubnetState:
376
409
  def project(self, value: Optional[pulumi.Input[str]]):
377
410
  pulumi.set(self, "project", value)
378
411
 
412
+ @property
413
+ @pulumi.getter(name="pulumiLabels")
414
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
415
+ """
416
+ The combination of labels configured directly on the resource
417
+ and default labels configured on the provider.
418
+ """
419
+ return pulumi.get(self, "pulumi_labels")
420
+
421
+ @pulumi_labels.setter
422
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
423
+ pulumi.set(self, "pulumi_labels", value)
424
+
379
425
  @property
380
426
  @pulumi.getter
381
427
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -559,6 +605,9 @@ class Subnet(pulumi.CustomResource):
559
605
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv4_cidrs: The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
560
606
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv6_cidrs: The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
561
607
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
608
+
609
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
610
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
562
611
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
563
612
  :param pulumi.Input[str] network: The ID of the network to which this router belongs.
564
613
  Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
@@ -725,9 +774,13 @@ class Subnet(pulumi.CustomResource):
725
774
  raise TypeError("Missing required property 'zone'")
726
775
  __props__.__dict__["zone"] = zone
727
776
  __props__.__dict__["create_time"] = None
777
+ __props__.__dict__["effective_labels"] = None
728
778
  __props__.__dict__["name"] = None
779
+ __props__.__dict__["pulumi_labels"] = None
729
780
  __props__.__dict__["state"] = None
730
781
  __props__.__dict__["update_time"] = None
782
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
783
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
731
784
  super(Subnet, __self__).__init__(
732
785
  'gcp:edgenetwork/subnet:Subnet',
733
786
  resource_name,
@@ -740,6 +793,7 @@ class Subnet(pulumi.CustomResource):
740
793
  opts: Optional[pulumi.ResourceOptions] = None,
741
794
  create_time: Optional[pulumi.Input[str]] = None,
742
795
  description: Optional[pulumi.Input[str]] = None,
796
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
743
797
  ipv4_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
744
798
  ipv6_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
745
799
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -747,6 +801,7 @@ class Subnet(pulumi.CustomResource):
747
801
  name: Optional[pulumi.Input[str]] = None,
748
802
  network: Optional[pulumi.Input[str]] = None,
749
803
  project: Optional[pulumi.Input[str]] = None,
804
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
750
805
  state: Optional[pulumi.Input[str]] = None,
751
806
  subnet_id: Optional[pulumi.Input[str]] = None,
752
807
  update_time: Optional[pulumi.Input[str]] = None,
@@ -763,9 +818,13 @@ class Subnet(pulumi.CustomResource):
763
818
  A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
764
819
  fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
765
820
  :param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
821
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
766
822
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv4_cidrs: The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format.
767
823
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ipv6_cidrs: The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format.
768
824
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
825
+
826
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
827
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
769
828
  :param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
770
829
  :param pulumi.Input[str] name: The canonical name of this resource, with format
771
830
  `projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}`
@@ -773,6 +832,8 @@ class Subnet(pulumi.CustomResource):
773
832
  Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
774
833
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
775
834
  If it is not provided, the provider project is used.
835
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
836
+ and default labels configured on the provider.
776
837
  :param pulumi.Input[str] state: Current stage of the resource to the device by config push.
777
838
  :param pulumi.Input[str] subnet_id: A unique ID that identifies this subnet.
778
839
 
@@ -790,6 +851,7 @@ class Subnet(pulumi.CustomResource):
790
851
 
791
852
  __props__.__dict__["create_time"] = create_time
792
853
  __props__.__dict__["description"] = description
854
+ __props__.__dict__["effective_labels"] = effective_labels
793
855
  __props__.__dict__["ipv4_cidrs"] = ipv4_cidrs
794
856
  __props__.__dict__["ipv6_cidrs"] = ipv6_cidrs
795
857
  __props__.__dict__["labels"] = labels
@@ -797,6 +859,7 @@ class Subnet(pulumi.CustomResource):
797
859
  __props__.__dict__["name"] = name
798
860
  __props__.__dict__["network"] = network
799
861
  __props__.__dict__["project"] = project
862
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
800
863
  __props__.__dict__["state"] = state
801
864
  __props__.__dict__["subnet_id"] = subnet_id
802
865
  __props__.__dict__["update_time"] = update_time
@@ -822,6 +885,14 @@ class Subnet(pulumi.CustomResource):
822
885
  """
823
886
  return pulumi.get(self, "description")
824
887
 
888
+ @property
889
+ @pulumi.getter(name="effectiveLabels")
890
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
891
+ """
892
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
893
+ """
894
+ return pulumi.get(self, "effective_labels")
895
+
825
896
  @property
826
897
  @pulumi.getter(name="ipv4Cidrs")
827
898
  def ipv4_cidrs(self) -> pulumi.Output[Optional[Sequence[str]]]:
@@ -843,6 +914,9 @@ class Subnet(pulumi.CustomResource):
843
914
  def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
844
915
  """
845
916
  Labels associated with this resource.
917
+
918
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
919
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
846
920
  """
847
921
  return pulumi.get(self, "labels")
848
922
 
@@ -881,6 +955,15 @@ class Subnet(pulumi.CustomResource):
881
955
  """
882
956
  return pulumi.get(self, "project")
883
957
 
958
+ @property
959
+ @pulumi.getter(name="pulumiLabels")
960
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
961
+ """
962
+ The combination of labels configured directly on the resource
963
+ and default labels configured on the provider.
964
+ """
965
+ return pulumi.get(self, "pulumi_labels")
966
+
884
967
  @property
885
968
  @pulumi.getter
886
969
  def state(self) -> pulumi.Output[str]:
@@ -338,6 +338,7 @@ class DatabaseInstance(pulumi.CustomResource):
338
338
  project_id="rtdb-project",
339
339
  name="rtdb-project",
340
340
  org_id="123456789",
341
+ deletion_policy="DELETE",
341
342
  labels={
342
343
  "firebase": "enabled",
343
344
  })
@@ -445,6 +446,7 @@ class DatabaseInstance(pulumi.CustomResource):
445
446
  project_id="rtdb-project",
446
447
  name="rtdb-project",
447
448
  org_id="123456789",
449
+ deletion_policy="DELETE",
448
450
  labels={
449
451
  "firebase": "enabled",
450
452
  })
@@ -641,7 +641,8 @@ class HostingCustomDomain(pulumi.CustomResource):
641
641
  "containers": [{
642
642
  "image": "us-docker.pkg.dev/cloudrun/container/hello",
643
643
  }],
644
- })
644
+ },
645
+ deletion_protection=True)
645
646
  default_hosting_version = gcp.firebase.HostingVersion("default",
646
647
  site_id=default.site_id,
647
648
  config={
@@ -767,7 +768,8 @@ class HostingCustomDomain(pulumi.CustomResource):
767
768
  "containers": [{
768
769
  "image": "us-docker.pkg.dev/cloudrun/container/hello",
769
770
  }],
770
- })
771
+ },
772
+ deletion_protection=True)
771
773
  default_hosting_version = gcp.firebase.HostingVersion("default",
772
774
  site_id=default.site_id,
773
775
  config={
@@ -221,7 +221,8 @@ class HostingVersion(pulumi.CustomResource):
221
221
  "containers": [{
222
222
  "image": "us-docker.pkg.dev/cloudrun/container/hello",
223
223
  }],
224
- })
224
+ },
225
+ deletion_protection=True)
225
226
  default_hosting_version = gcp.firebase.HostingVersion("default",
226
227
  site_id=default.site_id,
227
228
  config={
@@ -379,7 +380,8 @@ class HostingVersion(pulumi.CustomResource):
379
380
  "containers": [{
380
381
  "image": "us-docker.pkg.dev/cloudrun/container/hello",
381
382
  }],
382
- })
383
+ },
384
+ deletion_protection=True)
383
385
  default_hosting_version = gcp.firebase.HostingVersion("default",
384
386
  site_id=default.site_id,
385
387
  config={
@@ -135,6 +135,7 @@ class Project(pulumi.CustomResource):
135
135
  project_id="my-project",
136
136
  name="my-project",
137
137
  org_id="123456789",
138
+ deletion_policy="DELETE",
138
139
  labels={
139
140
  "firebase": "enabled",
140
141
  })
@@ -198,6 +199,7 @@ class Project(pulumi.CustomResource):
198
199
  project_id="my-project",
199
200
  name="my-project",
200
201
  org_id="123456789",
202
+ deletion_policy="DELETE",
201
203
  labels={
202
204
  "firebase": "enabled",
203
205
  })
@@ -313,7 +313,8 @@ class Document(pulumi.CustomResource):
313
313
  project = gcp.organizations.Project("project",
314
314
  project_id="project-id",
315
315
  name="project-id",
316
- org_id="123456789")
316
+ org_id="123456789",
317
+ deletion_policy="DELETE")
317
318
  wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
318
319
  opts = pulumi.ResourceOptions(depends_on=[project]))
319
320
  firestore = gcp.projects.Service("firestore",
@@ -343,7 +344,8 @@ class Document(pulumi.CustomResource):
343
344
  project = gcp.organizations.Project("project",
344
345
  project_id="project-id",
345
346
  name="project-id",
346
- org_id="123456789")
347
+ org_id="123456789",
348
+ deletion_policy="DELETE")
347
349
  wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
348
350
  opts = pulumi.ResourceOptions(depends_on=[project]))
349
351
  firestore = gcp.projects.Service("firestore",
@@ -437,7 +439,8 @@ class Document(pulumi.CustomResource):
437
439
  project = gcp.organizations.Project("project",
438
440
  project_id="project-id",
439
441
  name="project-id",
440
- org_id="123456789")
442
+ org_id="123456789",
443
+ deletion_policy="DELETE")
441
444
  wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
442
445
  opts = pulumi.ResourceOptions(depends_on=[project]))
443
446
  firestore = gcp.projects.Service("firestore",
@@ -467,7 +470,8 @@ class Document(pulumi.CustomResource):
467
470
  project = gcp.organizations.Project("project",
468
471
  project_id="project-id",
469
472
  name="project-id",
470
- org_id="123456789")
473
+ org_id="123456789",
474
+ deletion_policy="DELETE")
471
475
  wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
472
476
  opts = pulumi.ResourceOptions(depends_on=[project]))
473
477
  firestore = gcp.projects.Service("firestore",
@@ -289,7 +289,8 @@ class AccessApprovalSettings(pulumi.CustomResource):
289
289
 
290
290
  my_folder = gcp.organizations.Folder("my_folder",
291
291
  display_name="my-folder",
292
- parent="organizations/123456789")
292
+ parent="organizations/123456789",
293
+ deletion_protection=False)
293
294
  folder_access_approval = gcp.folder.AccessApprovalSettings("folder_access_approval",
294
295
  folder_id=my_folder.folder_id,
295
296
  notification_emails=[
@@ -308,11 +309,13 @@ class AccessApprovalSettings(pulumi.CustomResource):
308
309
 
309
310
  my_folder = gcp.organizations.Folder("my_folder",
310
311
  display_name="my-folder",
311
- parent="organizations/123456789")
312
+ parent="organizations/123456789",
313
+ deletion_protection=False)
312
314
  my_project = gcp.organizations.Project("my_project",
313
315
  name="My Project",
314
316
  project_id="your-project-id",
315
- folder_id=my_folder.name)
317
+ folder_id=my_folder.name,
318
+ deletion_policy="DELETE")
316
319
  key_ring = gcp.kms.KeyRing("key_ring",
317
320
  name="key-ring",
318
321
  location="global",
@@ -395,7 +398,8 @@ class AccessApprovalSettings(pulumi.CustomResource):
395
398
 
396
399
  my_folder = gcp.organizations.Folder("my_folder",
397
400
  display_name="my-folder",
398
- parent="organizations/123456789")
401
+ parent="organizations/123456789",
402
+ deletion_protection=False)
399
403
  folder_access_approval = gcp.folder.AccessApprovalSettings("folder_access_approval",
400
404
  folder_id=my_folder.folder_id,
401
405
  notification_emails=[
@@ -414,11 +418,13 @@ class AccessApprovalSettings(pulumi.CustomResource):
414
418
 
415
419
  my_folder = gcp.organizations.Folder("my_folder",
416
420
  display_name="my-folder",
417
- parent="organizations/123456789")
421
+ parent="organizations/123456789",
422
+ deletion_protection=False)
418
423
  my_project = gcp.organizations.Project("my_project",
419
424
  name="My Project",
420
425
  project_id="your-project-id",
421
- folder_id=my_folder.name)
426
+ folder_id=my_folder.name,
427
+ deletion_policy="DELETE")
422
428
  key_ring = gcp.kms.KeyRing("key_ring",
423
429
  name="key-ring",
424
430
  location="global",