pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740551699__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 (189) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
  3. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  4. pulumi_gcp/accesscontextmanager/outputs.py +104 -8
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
  9. pulumi_gcp/alloydb/__init__.py +1 -0
  10. pulumi_gcp/alloydb/get_instance.py +466 -0
  11. pulumi_gcp/alloydb/outputs.py +352 -0
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
  15. pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
  16. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
  17. pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
  18. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
  19. pulumi_gcp/bigquery/connection.py +2 -14
  20. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
  21. pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
  22. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
  23. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
  24. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
  25. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  26. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  27. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
  28. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
  29. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
  30. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
  31. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
  32. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  33. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  34. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
  35. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
  36. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
  37. pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
  38. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
  39. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
  40. pulumi_gcp/cloudrun/_inputs.py +6 -3
  41. pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
  42. pulumi_gcp/cloudrun/outputs.py +4 -2
  43. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
  44. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
  45. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
  46. pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
  47. pulumi_gcp/composer/_inputs.py +6 -6
  48. pulumi_gcp/composer/outputs.py +8 -8
  49. pulumi_gcp/compute/_inputs.py +756 -30
  50. pulumi_gcp/compute/firewall_policy_rule.py +0 -2
  51. pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
  52. pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
  53. pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
  54. pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
  55. pulumi_gcp/compute/get_image_iam_policy.py +2 -2
  56. pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
  57. pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
  58. pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
  59. pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
  60. pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
  61. pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
  62. pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
  63. pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
  64. pulumi_gcp/compute/instance_template.py +14 -35
  65. pulumi_gcp/compute/outputs.py +796 -18
  66. pulumi_gcp/config/__init__.pyi +2 -0
  67. pulumi_gcp/config/vars.py +4 -0
  68. pulumi_gcp/container/_inputs.py +447 -3
  69. pulumi_gcp/container/outputs.py +469 -5
  70. pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
  71. pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
  72. pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
  73. pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
  74. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  75. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  76. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  77. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  78. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
  79. pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
  80. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
  81. pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
  82. pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
  83. pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
  84. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
  85. pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
  86. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
  87. pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
  88. pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
  89. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
  90. pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
  91. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
  92. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
  93. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
  94. pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
  95. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
  96. pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
  97. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
  98. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
  99. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
  100. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
  101. pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
  102. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
  103. pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
  104. pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
  105. pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
  106. pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
  107. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  108. pulumi_gcp/eventarc/_inputs.py +29 -8
  109. pulumi_gcp/eventarc/google_channel_config.py +58 -46
  110. pulumi_gcp/eventarc/outputs.py +20 -6
  111. pulumi_gcp/eventarc/trigger.py +95 -72
  112. pulumi_gcp/filestore/backup.py +4 -4
  113. pulumi_gcp/firebase/__init__.py +1 -0
  114. pulumi_gcp/firebase/data_connect_service.py +937 -0
  115. pulumi_gcp/gemini/__init__.py +4 -0
  116. pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
  117. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
  118. pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
  119. pulumi_gcp/gemini/logging_setting.py +42 -54
  120. pulumi_gcp/gemini/logging_setting_binding.py +722 -0
  121. pulumi_gcp/gemini/release_channel_setting.py +39 -43
  122. pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
  123. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
  124. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
  125. pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
  126. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
  127. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
  128. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
  129. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
  130. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
  131. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
  132. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  133. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
  134. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
  135. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  136. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
  137. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  138. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  139. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
  140. pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
  141. pulumi_gcp/monitoring/_inputs.py +588 -0
  142. pulumi_gcp/monitoring/outputs.py +410 -0
  143. pulumi_gcp/netapp/__init__.py +1 -0
  144. pulumi_gcp/netapp/volume_quota_rule.py +895 -0
  145. pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
  146. pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
  147. pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
  148. pulumi_gcp/networkservices/authz_extension.py +8 -15
  149. pulumi_gcp/networkservices/mesh.py +79 -12
  150. pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
  151. pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
  152. pulumi_gcp/provider.py +20 -0
  153. pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
  154. pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
  155. pulumi_gcp/pulumi-plugin.json +1 -1
  156. pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
  157. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
  158. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
  159. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
  160. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
  161. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  162. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
  163. pulumi_gcp/securitycenter/mute_config.py +136 -3
  164. pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
  165. pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
  166. pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
  167. pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
  168. pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
  169. pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
  170. pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
  171. pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
  172. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
  173. pulumi_gcp/spanner/instance.py +0 -46
  174. pulumi_gcp/sql/_inputs.py +6 -6
  175. pulumi_gcp/sql/outputs.py +4 -4
  176. pulumi_gcp/storage/bucket.py +30 -0
  177. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  178. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  179. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  180. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
  181. pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
  182. pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
  183. pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
  184. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
  185. pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
  186. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/METADATA +1 -1
  187. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
  188. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
  189. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
@@ -24,6 +24,7 @@ class HaVpnGatewayArgs:
24
24
  network: pulumi.Input[str],
25
25
  description: Optional[pulumi.Input[str]] = None,
26
26
  gateway_ip_version: Optional[pulumi.Input[str]] = None,
27
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
28
  name: Optional[pulumi.Input[str]] = None,
28
29
  project: Optional[pulumi.Input[str]] = None,
29
30
  region: Optional[pulumi.Input[str]] = None,
@@ -39,6 +40,11 @@ class HaVpnGatewayArgs:
39
40
  :param pulumi.Input[str] gateway_ip_version: The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
40
41
  Default value is `IPV4`.
41
42
  Possible values are: `IPV4`, `IPV6`.
43
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels for this resource. These can only be added or modified by the setLabels method.
44
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
45
+
46
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
47
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
42
48
  :param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
43
49
  created. The name must be 1-63 characters long, and comply with
44
50
  RFC1035. Specifically, the name must be 1-63 characters long and
@@ -61,6 +67,8 @@ class HaVpnGatewayArgs:
61
67
  pulumi.set(__self__, "description", description)
62
68
  if gateway_ip_version is not None:
63
69
  pulumi.set(__self__, "gateway_ip_version", gateway_ip_version)
70
+ if labels is not None:
71
+ pulumi.set(__self__, "labels", labels)
64
72
  if name is not None:
65
73
  pulumi.set(__self__, "name", name)
66
74
  if project is not None:
@@ -113,6 +121,22 @@ class HaVpnGatewayArgs:
113
121
  def gateway_ip_version(self, value: Optional[pulumi.Input[str]]):
114
122
  pulumi.set(self, "gateway_ip_version", value)
115
123
 
124
+ @property
125
+ @pulumi.getter
126
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
127
+ """
128
+ Labels for this resource. These can only be added or modified by the setLabels method.
129
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
130
+
131
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
132
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
133
+ """
134
+ return pulumi.get(self, "labels")
135
+
136
+ @labels.setter
137
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
138
+ pulumi.set(self, "labels", value)
139
+
116
140
  @property
117
141
  @pulumi.getter
118
142
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -189,10 +213,14 @@ class HaVpnGatewayArgs:
189
213
  class _HaVpnGatewayState:
190
214
  def __init__(__self__, *,
191
215
  description: Optional[pulumi.Input[str]] = None,
216
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
192
217
  gateway_ip_version: Optional[pulumi.Input[str]] = None,
218
+ label_fingerprint: Optional[pulumi.Input[str]] = None,
219
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
193
220
  name: Optional[pulumi.Input[str]] = None,
194
221
  network: Optional[pulumi.Input[str]] = None,
195
222
  project: Optional[pulumi.Input[str]] = None,
223
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
196
224
  region: Optional[pulumi.Input[str]] = None,
197
225
  self_link: Optional[pulumi.Input[str]] = None,
198
226
  stack_type: Optional[pulumi.Input[str]] = None,
@@ -200,9 +228,20 @@ class _HaVpnGatewayState:
200
228
  """
201
229
  Input properties used for looking up and filtering HaVpnGateway resources.
202
230
  :param pulumi.Input[str] description: An optional description of this resource.
231
+ :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.
203
232
  :param pulumi.Input[str] gateway_ip_version: The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
204
233
  Default value is `IPV4`.
205
234
  Possible values are: `IPV4`, `IPV6`.
235
+ :param pulumi.Input[str] label_fingerprint: A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash
236
+ of the labels set used for optimistic locking. The fingerprint is initially generated by
237
+ Compute Engine and changes after every request to modify or update labels.
238
+ You must always provide an up-to-date fingerprint hash in order to update or change labels,
239
+ otherwise the request will fail with error 412 conditionNotMet.
240
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels for this resource. These can only be added or modified by the setLabels method.
241
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
242
+
243
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
244
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
206
245
  :param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
207
246
  created. The name must be 1-63 characters long, and comply with
208
247
  RFC1035. Specifically, the name must be 1-63 characters long and
@@ -216,6 +255,8 @@ class _HaVpnGatewayState:
216
255
  - - -
217
256
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
218
257
  If it is not provided, the provider project is used.
258
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
259
+ and default labels configured on the provider.
219
260
  :param pulumi.Input[str] region: The region this gateway should sit in.
220
261
  :param pulumi.Input[str] self_link: The URI of the created resource.
221
262
  :param pulumi.Input[str] stack_type: The stack type for this VPN gateway to identify the IP protocols that are enabled.
@@ -227,14 +268,22 @@ class _HaVpnGatewayState:
227
268
  """
228
269
  if description is not None:
229
270
  pulumi.set(__self__, "description", description)
271
+ if effective_labels is not None:
272
+ pulumi.set(__self__, "effective_labels", effective_labels)
230
273
  if gateway_ip_version is not None:
231
274
  pulumi.set(__self__, "gateway_ip_version", gateway_ip_version)
275
+ if label_fingerprint is not None:
276
+ pulumi.set(__self__, "label_fingerprint", label_fingerprint)
277
+ if labels is not None:
278
+ pulumi.set(__self__, "labels", labels)
232
279
  if name is not None:
233
280
  pulumi.set(__self__, "name", name)
234
281
  if network is not None:
235
282
  pulumi.set(__self__, "network", network)
236
283
  if project is not None:
237
284
  pulumi.set(__self__, "project", project)
285
+ if pulumi_labels is not None:
286
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
238
287
  if region is not None:
239
288
  pulumi.set(__self__, "region", region)
240
289
  if self_link is not None:
@@ -256,6 +305,18 @@ class _HaVpnGatewayState:
256
305
  def description(self, value: Optional[pulumi.Input[str]]):
257
306
  pulumi.set(self, "description", value)
258
307
 
308
+ @property
309
+ @pulumi.getter(name="effectiveLabels")
310
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
311
+ """
312
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
313
+ """
314
+ return pulumi.get(self, "effective_labels")
315
+
316
+ @effective_labels.setter
317
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
318
+ pulumi.set(self, "effective_labels", value)
319
+
259
320
  @property
260
321
  @pulumi.getter(name="gatewayIpVersion")
261
322
  def gateway_ip_version(self) -> Optional[pulumi.Input[str]]:
@@ -270,6 +331,38 @@ class _HaVpnGatewayState:
270
331
  def gateway_ip_version(self, value: Optional[pulumi.Input[str]]):
271
332
  pulumi.set(self, "gateway_ip_version", value)
272
333
 
334
+ @property
335
+ @pulumi.getter(name="labelFingerprint")
336
+ def label_fingerprint(self) -> Optional[pulumi.Input[str]]:
337
+ """
338
+ A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash
339
+ of the labels set used for optimistic locking. The fingerprint is initially generated by
340
+ Compute Engine and changes after every request to modify or update labels.
341
+ You must always provide an up-to-date fingerprint hash in order to update or change labels,
342
+ otherwise the request will fail with error 412 conditionNotMet.
343
+ """
344
+ return pulumi.get(self, "label_fingerprint")
345
+
346
+ @label_fingerprint.setter
347
+ def label_fingerprint(self, value: Optional[pulumi.Input[str]]):
348
+ pulumi.set(self, "label_fingerprint", value)
349
+
350
+ @property
351
+ @pulumi.getter
352
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
353
+ """
354
+ Labels for this resource. These can only be added or modified by the setLabels method.
355
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
356
+
357
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
358
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
359
+ """
360
+ return pulumi.get(self, "labels")
361
+
362
+ @labels.setter
363
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
364
+ pulumi.set(self, "labels", value)
365
+
273
366
  @property
274
367
  @pulumi.getter
275
368
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -316,6 +409,19 @@ class _HaVpnGatewayState:
316
409
  def project(self, value: Optional[pulumi.Input[str]]):
317
410
  pulumi.set(self, "project", value)
318
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
+
319
425
  @property
320
426
  @pulumi.getter
321
427
  def region(self) -> Optional[pulumi.Input[str]]:
@@ -376,6 +482,7 @@ class HaVpnGateway(pulumi.CustomResource):
376
482
  opts: Optional[pulumi.ResourceOptions] = None,
377
483
  description: Optional[pulumi.Input[str]] = None,
378
484
  gateway_ip_version: Optional[pulumi.Input[str]] = None,
485
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
379
486
  name: Optional[pulumi.Input[str]] = None,
380
487
  network: Optional[pulumi.Input[str]] = None,
381
488
  project: Optional[pulumi.Input[str]] = None,
@@ -424,7 +531,10 @@ class HaVpnGateway(pulumi.CustomResource):
424
531
  region="us-central1",
425
532
  name="ha-vpn-1",
426
533
  network=network1.id,
427
- stack_type="IPV4_IPV6")
534
+ stack_type="IPV4_IPV6",
535
+ labels={
536
+ "mykey": "myvalue",
537
+ })
428
538
  ```
429
539
  ### Compute Ha Vpn Gateway Encrypted Interconnect
430
540
 
@@ -521,6 +631,11 @@ class HaVpnGateway(pulumi.CustomResource):
521
631
  :param pulumi.Input[str] gateway_ip_version: The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
522
632
  Default value is `IPV4`.
523
633
  Possible values are: `IPV4`, `IPV6`.
634
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels for this resource. These can only be added or modified by the setLabels method.
635
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
636
+
637
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
638
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
524
639
  :param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
525
640
  created. The name must be 1-63 characters long, and comply with
526
641
  RFC1035. Specifically, the name must be 1-63 characters long and
@@ -589,7 +704,10 @@ class HaVpnGateway(pulumi.CustomResource):
589
704
  region="us-central1",
590
705
  name="ha-vpn-1",
591
706
  network=network1.id,
592
- stack_type="IPV4_IPV6")
707
+ stack_type="IPV4_IPV6",
708
+ labels={
709
+ "mykey": "myvalue",
710
+ })
593
711
  ```
594
712
  ### Compute Ha Vpn Gateway Encrypted Interconnect
595
713
 
@@ -697,6 +815,7 @@ class HaVpnGateway(pulumi.CustomResource):
697
815
  opts: Optional[pulumi.ResourceOptions] = None,
698
816
  description: Optional[pulumi.Input[str]] = None,
699
817
  gateway_ip_version: Optional[pulumi.Input[str]] = None,
818
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
700
819
  name: Optional[pulumi.Input[str]] = None,
701
820
  network: Optional[pulumi.Input[str]] = None,
702
821
  project: Optional[pulumi.Input[str]] = None,
@@ -714,6 +833,7 @@ class HaVpnGateway(pulumi.CustomResource):
714
833
 
715
834
  __props__.__dict__["description"] = description
716
835
  __props__.__dict__["gateway_ip_version"] = gateway_ip_version
836
+ __props__.__dict__["labels"] = labels
717
837
  __props__.__dict__["name"] = name
718
838
  if network is None and not opts.urn:
719
839
  raise TypeError("Missing required property 'network'")
@@ -722,7 +842,12 @@ class HaVpnGateway(pulumi.CustomResource):
722
842
  __props__.__dict__["region"] = region
723
843
  __props__.__dict__["stack_type"] = stack_type
724
844
  __props__.__dict__["vpn_interfaces"] = vpn_interfaces
845
+ __props__.__dict__["effective_labels"] = None
846
+ __props__.__dict__["label_fingerprint"] = None
847
+ __props__.__dict__["pulumi_labels"] = None
725
848
  __props__.__dict__["self_link"] = None
849
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
850
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
726
851
  super(HaVpnGateway, __self__).__init__(
727
852
  'gcp:compute/haVpnGateway:HaVpnGateway',
728
853
  resource_name,
@@ -734,10 +859,14 @@ class HaVpnGateway(pulumi.CustomResource):
734
859
  id: pulumi.Input[str],
735
860
  opts: Optional[pulumi.ResourceOptions] = None,
736
861
  description: Optional[pulumi.Input[str]] = None,
862
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
737
863
  gateway_ip_version: Optional[pulumi.Input[str]] = None,
864
+ label_fingerprint: Optional[pulumi.Input[str]] = None,
865
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
738
866
  name: Optional[pulumi.Input[str]] = None,
739
867
  network: Optional[pulumi.Input[str]] = None,
740
868
  project: Optional[pulumi.Input[str]] = None,
869
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
741
870
  region: Optional[pulumi.Input[str]] = None,
742
871
  self_link: Optional[pulumi.Input[str]] = None,
743
872
  stack_type: Optional[pulumi.Input[str]] = None,
@@ -750,9 +879,20 @@ class HaVpnGateway(pulumi.CustomResource):
750
879
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
751
880
  :param pulumi.ResourceOptions opts: Options for the resource.
752
881
  :param pulumi.Input[str] description: An optional description of this resource.
882
+ :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.
753
883
  :param pulumi.Input[str] gateway_ip_version: The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used.
754
884
  Default value is `IPV4`.
755
885
  Possible values are: `IPV4`, `IPV6`.
886
+ :param pulumi.Input[str] label_fingerprint: A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash
887
+ of the labels set used for optimistic locking. The fingerprint is initially generated by
888
+ Compute Engine and changes after every request to modify or update labels.
889
+ You must always provide an up-to-date fingerprint hash in order to update or change labels,
890
+ otherwise the request will fail with error 412 conditionNotMet.
891
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels for this resource. These can only be added or modified by the setLabels method.
892
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
893
+
894
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
895
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
756
896
  :param pulumi.Input[str] name: Name of the resource. Provided by the client when the resource is
757
897
  created. The name must be 1-63 characters long, and comply with
758
898
  RFC1035. Specifically, the name must be 1-63 characters long and
@@ -766,6 +906,8 @@ class HaVpnGateway(pulumi.CustomResource):
766
906
  - - -
767
907
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
768
908
  If it is not provided, the provider project is used.
909
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
910
+ and default labels configured on the provider.
769
911
  :param pulumi.Input[str] region: The region this gateway should sit in.
770
912
  :param pulumi.Input[str] self_link: The URI of the created resource.
771
913
  :param pulumi.Input[str] stack_type: The stack type for this VPN gateway to identify the IP protocols that are enabled.
@@ -780,10 +922,14 @@ class HaVpnGateway(pulumi.CustomResource):
780
922
  __props__ = _HaVpnGatewayState.__new__(_HaVpnGatewayState)
781
923
 
782
924
  __props__.__dict__["description"] = description
925
+ __props__.__dict__["effective_labels"] = effective_labels
783
926
  __props__.__dict__["gateway_ip_version"] = gateway_ip_version
927
+ __props__.__dict__["label_fingerprint"] = label_fingerprint
928
+ __props__.__dict__["labels"] = labels
784
929
  __props__.__dict__["name"] = name
785
930
  __props__.__dict__["network"] = network
786
931
  __props__.__dict__["project"] = project
932
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
787
933
  __props__.__dict__["region"] = region
788
934
  __props__.__dict__["self_link"] = self_link
789
935
  __props__.__dict__["stack_type"] = stack_type
@@ -798,6 +944,14 @@ class HaVpnGateway(pulumi.CustomResource):
798
944
  """
799
945
  return pulumi.get(self, "description")
800
946
 
947
+ @property
948
+ @pulumi.getter(name="effectiveLabels")
949
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
950
+ """
951
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
952
+ """
953
+ return pulumi.get(self, "effective_labels")
954
+
801
955
  @property
802
956
  @pulumi.getter(name="gatewayIpVersion")
803
957
  def gateway_ip_version(self) -> pulumi.Output[Optional[str]]:
@@ -808,6 +962,30 @@ class HaVpnGateway(pulumi.CustomResource):
808
962
  """
809
963
  return pulumi.get(self, "gateway_ip_version")
810
964
 
965
+ @property
966
+ @pulumi.getter(name="labelFingerprint")
967
+ def label_fingerprint(self) -> pulumi.Output[str]:
968
+ """
969
+ A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash
970
+ of the labels set used for optimistic locking. The fingerprint is initially generated by
971
+ Compute Engine and changes after every request to modify or update labels.
972
+ You must always provide an up-to-date fingerprint hash in order to update or change labels,
973
+ otherwise the request will fail with error 412 conditionNotMet.
974
+ """
975
+ return pulumi.get(self, "label_fingerprint")
976
+
977
+ @property
978
+ @pulumi.getter
979
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
980
+ """
981
+ Labels for this resource. These can only be added or modified by the setLabels method.
982
+ Each label key/value pair must comply with RFC1035. Label values may be empty.
983
+
984
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
985
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
986
+ """
987
+ return pulumi.get(self, "labels")
988
+
811
989
  @property
812
990
  @pulumi.getter
813
991
  def name(self) -> pulumi.Output[str]:
@@ -842,6 +1020,15 @@ class HaVpnGateway(pulumi.CustomResource):
842
1020
  """
843
1021
  return pulumi.get(self, "project")
844
1022
 
1023
+ @property
1024
+ @pulumi.getter(name="pulumiLabels")
1025
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
1026
+ """
1027
+ The combination of labels configured directly on the resource
1028
+ and default labels configured on the provider.
1029
+ """
1030
+ return pulumi.get(self, "pulumi_labels")
1031
+
845
1032
  @property
846
1033
  @pulumi.getter
847
1034
  def region(self) -> pulumi.Output[str]:
@@ -54,11 +54,8 @@ class InstanceTemplateArgs:
54
54
  :param pulumi.Input[Sequence[pulumi.Input['InstanceTemplateDiskArgs']]] disks: Disks to attach to instances created from this template.
55
55
  This can be specified multiple times for multiple disks. Structure is
56
56
  documented below.
57
- :param pulumi.Input[str] machine_type: The machine type to create.
58
-
59
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
60
-
61
- - - -
57
+ :param pulumi.Input[str] machine_type: The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
58
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
62
59
  :param pulumi.Input['InstanceTemplateAdvancedMachineFeaturesArgs'] advanced_machine_features: Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below
63
60
  :param pulumi.Input[bool] can_ip_forward: Whether to allow sending and receiving of
64
61
  packets with non-matching source or destination IPs. This defaults to false.
@@ -196,11 +193,8 @@ class InstanceTemplateArgs:
196
193
  @pulumi.getter(name="machineType")
197
194
  def machine_type(self) -> pulumi.Input[str]:
198
195
  """
199
- The machine type to create.
200
-
201
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
202
-
203
- - - -
196
+ The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
197
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
204
198
  """
205
199
  return pulumi.get(self, "machine_type")
206
200
 
@@ -619,11 +613,8 @@ class _InstanceTemplateState:
619
613
 
620
614
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
621
615
  Please refer to the field 'effective_labels' for all of the labels present on the resource.
622
- :param pulumi.Input[str] machine_type: The machine type to create.
623
-
624
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
625
-
626
- - - -
616
+ :param pulumi.Input[str] machine_type: The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
617
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
627
618
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
628
619
  within instances created from this template.
629
620
  :param pulumi.Input[str] metadata_fingerprint: The unique fingerprint of the metadata.
@@ -906,11 +897,8 @@ class _InstanceTemplateState:
906
897
  @pulumi.getter(name="machineType")
907
898
  def machine_type(self) -> Optional[pulumi.Input[str]]:
908
899
  """
909
- The machine type to create.
910
-
911
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
912
-
913
- - - -
900
+ The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
901
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
914
902
  """
915
903
  return pulumi.get(self, "machine_type")
916
904
 
@@ -1524,11 +1512,8 @@ class InstanceTemplate(pulumi.CustomResource):
1524
1512
 
1525
1513
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1526
1514
  Please refer to the field 'effective_labels' for all of the labels present on the resource.
1527
- :param pulumi.Input[str] machine_type: The machine type to create.
1528
-
1529
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
1530
-
1531
- - - -
1515
+ :param pulumi.Input[str] machine_type: The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
1516
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
1532
1517
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
1533
1518
  within instances created from this template.
1534
1519
  :param pulumi.Input[str] metadata_startup_script: An alternative to using the
@@ -2004,11 +1989,8 @@ class InstanceTemplate(pulumi.CustomResource):
2004
1989
 
2005
1990
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
2006
1991
  Please refer to the field 'effective_labels' for all of the labels present on the resource.
2007
- :param pulumi.Input[str] machine_type: The machine type to create.
2008
-
2009
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
2010
-
2011
- - - -
1992
+ :param pulumi.Input[str] machine_type: The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
1993
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
2012
1994
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
2013
1995
  within instances created from this template.
2014
1996
  :param pulumi.Input[str] metadata_fingerprint: The unique fingerprint of the metadata.
@@ -2213,11 +2195,8 @@ class InstanceTemplate(pulumi.CustomResource):
2213
2195
  @pulumi.getter(name="machineType")
2214
2196
  def machine_type(self) -> pulumi.Output[str]:
2215
2197
  """
2216
- The machine type to create.
2217
-
2218
- To create a machine with a [custom type](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) (such as extended memory), format the value like `custom-VCPUS-MEM_IN_MB` like `custom-6-20480` for 6 vCPU and 20GB of RAM.
2219
-
2220
- - - -
2198
+ The machine type to create. To create a machine with a custom type (such as extended memory), format the value like
2199
+ custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.
2221
2200
  """
2222
2201
  return pulumi.get(self, "machine_type")
2223
2202