pulumi-gcp 8.10.0a1731739693__py3-none-any.whl → 8.10.0a1732125494__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 (52) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/accesscontextmanager/__init__.py +1 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +90 -54
  4. pulumi_gcp/accesscontextmanager/get_access_policy.py +158 -0
  5. pulumi_gcp/accesscontextmanager/outputs.py +60 -36
  6. pulumi_gcp/artifactregistry/_inputs.py +56 -0
  7. pulumi_gcp/artifactregistry/outputs.py +65 -0
  8. pulumi_gcp/artifactregistry/repository.py +48 -0
  9. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  10. pulumi_gcp/backupdisasterrecovery/backup_vault.py +63 -0
  11. pulumi_gcp/backupdisasterrecovery/get_data_source.py +263 -0
  12. pulumi_gcp/backupdisasterrecovery/outputs.py +402 -0
  13. pulumi_gcp/certificateauthority/authority.py +28 -138
  14. pulumi_gcp/cloudrun/service.py +0 -10
  15. pulumi_gcp/cloudrunv2/get_service.py +15 -4
  16. pulumi_gcp/cloudrunv2/service.py +30 -2
  17. pulumi_gcp/compute/_inputs.py +12 -12
  18. pulumi_gcp/compute/outputs.py +10 -10
  19. pulumi_gcp/dataproc/__init__.py +1 -0
  20. pulumi_gcp/dataproc/_inputs.py +490 -0
  21. pulumi_gcp/dataproc/gdc_spark_application.py +1658 -0
  22. pulumi_gcp/dataproc/outputs.py +385 -0
  23. pulumi_gcp/filestore/_inputs.py +152 -0
  24. pulumi_gcp/filestore/get_instance.py +12 -1
  25. pulumi_gcp/filestore/instance.py +47 -0
  26. pulumi_gcp/filestore/outputs.py +229 -0
  27. pulumi_gcp/iam/__init__.py +2 -0
  28. pulumi_gcp/iam/_inputs.py +274 -0
  29. pulumi_gcp/iam/folders_policy_binding.py +917 -0
  30. pulumi_gcp/iam/organizations_policy_binding.py +901 -0
  31. pulumi_gcp/iam/outputs.py +198 -0
  32. pulumi_gcp/managedkafka/cluster.py +4 -0
  33. pulumi_gcp/managedkafka/topic.py +4 -0
  34. pulumi_gcp/pubsub/subscription.py +8 -8
  35. pulumi_gcp/pulumi-plugin.json +1 -1
  36. pulumi_gcp/redis/_inputs.py +213 -0
  37. pulumi_gcp/redis/cluster.py +289 -0
  38. pulumi_gcp/redis/outputs.py +185 -0
  39. pulumi_gcp/securesourcemanager/_inputs.py +33 -0
  40. pulumi_gcp/securesourcemanager/instance.py +90 -3
  41. pulumi_gcp/securesourcemanager/outputs.py +19 -0
  42. pulumi_gcp/spanner/database.py +14 -14
  43. pulumi_gcp/sql/_inputs.py +73 -0
  44. pulumi_gcp/sql/database_instance.py +60 -0
  45. pulumi_gcp/sql/outputs.py +146 -0
  46. pulumi_gcp/sql/user.py +2 -2
  47. pulumi_gcp/tags/location_tag_binding.py +8 -8
  48. pulumi_gcp/vertex/ai_endpoint.py +22 -29
  49. {pulumi_gcp-8.10.0a1731739693.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/METADATA +1 -1
  50. {pulumi_gcp-8.10.0a1731739693.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/RECORD +52 -47
  51. {pulumi_gcp-8.10.0a1731739693.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/WHEEL +0 -0
  52. {pulumi_gcp-8.10.0a1731739693.dist-info → pulumi_gcp-8.10.0a1732125494.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/outputs.py CHANGED
@@ -33,6 +33,7 @@ __all__ = [
33
33
  'DatabaseInstanceSettingsIpConfiguration',
34
34
  'DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork',
35
35
  'DatabaseInstanceSettingsIpConfigurationPscConfig',
36
+ 'DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection',
36
37
  'DatabaseInstanceSettingsLocationPreference',
37
38
  'DatabaseInstanceSettingsMaintenanceWindow',
38
39
  'DatabaseInstanceSettingsPasswordValidationPolicy',
@@ -58,6 +59,7 @@ __all__ = [
58
59
  'GetDatabaseInstanceSettingIpConfigurationResult',
59
60
  'GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkResult',
60
61
  'GetDatabaseInstanceSettingIpConfigurationPscConfigResult',
62
+ 'GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult',
61
63
  'GetDatabaseInstanceSettingLocationPreferenceResult',
62
64
  'GetDatabaseInstanceSettingMaintenanceWindowResult',
63
65
  'GetDatabaseInstanceSettingPasswordValidationPolicyResult',
@@ -80,6 +82,7 @@ __all__ = [
80
82
  'GetDatabaseInstancesInstanceSettingIpConfigurationResult',
81
83
  'GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetworkResult',
82
84
  'GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult',
85
+ 'GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult',
83
86
  'GetDatabaseInstancesInstanceSettingLocationPreferenceResult',
84
87
  'GetDatabaseInstancesInstanceSettingMaintenanceWindowResult',
85
88
  'GetDatabaseInstancesInstanceSettingPasswordValidationPolicyResult',
@@ -1672,6 +1675,8 @@ class DatabaseInstanceSettingsIpConfigurationPscConfig(dict):
1672
1675
  suggest = None
1673
1676
  if key == "allowedConsumerProjects":
1674
1677
  suggest = "allowed_consumer_projects"
1678
+ elif key == "pscAutoConnections":
1679
+ suggest = "psc_auto_connections"
1675
1680
  elif key == "pscEnabled":
1676
1681
  suggest = "psc_enabled"
1677
1682
 
@@ -1688,13 +1693,17 @@ class DatabaseInstanceSettingsIpConfigurationPscConfig(dict):
1688
1693
 
1689
1694
  def __init__(__self__, *,
1690
1695
  allowed_consumer_projects: Optional[Sequence[str]] = None,
1696
+ psc_auto_connections: Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection']] = None,
1691
1697
  psc_enabled: Optional[bool] = None):
1692
1698
  """
1693
1699
  :param Sequence[str] allowed_consumer_projects: List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
1700
+ :param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnectionArgs'] psc_auto_connections: A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
1694
1701
  :param bool psc_enabled: Whether PSC connectivity is enabled for this instance.
1695
1702
  """
1696
1703
  if allowed_consumer_projects is not None:
1697
1704
  pulumi.set(__self__, "allowed_consumer_projects", allowed_consumer_projects)
1705
+ if psc_auto_connections is not None:
1706
+ pulumi.set(__self__, "psc_auto_connections", psc_auto_connections)
1698
1707
  if psc_enabled is not None:
1699
1708
  pulumi.set(__self__, "psc_enabled", psc_enabled)
1700
1709
 
@@ -1706,6 +1715,14 @@ class DatabaseInstanceSettingsIpConfigurationPscConfig(dict):
1706
1715
  """
1707
1716
  return pulumi.get(self, "allowed_consumer_projects")
1708
1717
 
1718
+ @property
1719
+ @pulumi.getter(name="pscAutoConnections")
1720
+ def psc_auto_connections(self) -> Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection']]:
1721
+ """
1722
+ A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
1723
+ """
1724
+ return pulumi.get(self, "psc_auto_connections")
1725
+
1709
1726
  @property
1710
1727
  @pulumi.getter(name="pscEnabled")
1711
1728
  def psc_enabled(self) -> Optional[bool]:
@@ -1715,6 +1732,55 @@ class DatabaseInstanceSettingsIpConfigurationPscConfig(dict):
1715
1732
  return pulumi.get(self, "psc_enabled")
1716
1733
 
1717
1734
 
1735
+ @pulumi.output_type
1736
+ class DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection(dict):
1737
+ @staticmethod
1738
+ def __key_warning(key: str):
1739
+ suggest = None
1740
+ if key == "consumerNetwork":
1741
+ suggest = "consumer_network"
1742
+ elif key == "consumerServiceProjectId":
1743
+ suggest = "consumer_service_project_id"
1744
+
1745
+ if suggest:
1746
+ pulumi.log.warn(f"Key '{key}' not found in DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection. Access the value via the '{suggest}' property getter instead.")
1747
+
1748
+ def __getitem__(self, key: str) -> Any:
1749
+ DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection.__key_warning(key)
1750
+ return super().__getitem__(key)
1751
+
1752
+ def get(self, key: str, default = None) -> Any:
1753
+ DatabaseInstanceSettingsIpConfigurationPscConfigPscAutoConnection.__key_warning(key)
1754
+ return super().get(key, default)
1755
+
1756
+ def __init__(__self__, *,
1757
+ consumer_network: str,
1758
+ consumer_service_project_id: Optional[str] = None):
1759
+ """
1760
+ :param str consumer_network: "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project."
1761
+ :param str consumer_service_project_id: The project ID of consumer service project of this consumer endpoint.
1762
+ """
1763
+ pulumi.set(__self__, "consumer_network", consumer_network)
1764
+ if consumer_service_project_id is not None:
1765
+ pulumi.set(__self__, "consumer_service_project_id", consumer_service_project_id)
1766
+
1767
+ @property
1768
+ @pulumi.getter(name="consumerNetwork")
1769
+ def consumer_network(self) -> str:
1770
+ """
1771
+ "The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. For example, `projects/project1/global/networks/network1`. The consumer host project of this network might be different from the consumer service project."
1772
+ """
1773
+ return pulumi.get(self, "consumer_network")
1774
+
1775
+ @property
1776
+ @pulumi.getter(name="consumerServiceProjectId")
1777
+ def consumer_service_project_id(self) -> Optional[str]:
1778
+ """
1779
+ The project ID of consumer service project of this consumer endpoint.
1780
+ """
1781
+ return pulumi.get(self, "consumer_service_project_id")
1782
+
1783
+
1718
1784
  @pulumi.output_type
1719
1785
  class DatabaseInstanceSettingsLocationPreference(dict):
1720
1786
  @staticmethod
@@ -3300,12 +3366,15 @@ class GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkResult(dict):
3300
3366
  class GetDatabaseInstanceSettingIpConfigurationPscConfigResult(dict):
3301
3367
  def __init__(__self__, *,
3302
3368
  allowed_consumer_projects: Sequence[str],
3369
+ psc_auto_connections: Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult'],
3303
3370
  psc_enabled: bool):
3304
3371
  """
3305
3372
  :param Sequence[str] allowed_consumer_projects: List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
3373
+ :param Sequence['GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnectionArgs'] psc_auto_connections: A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
3306
3374
  :param bool psc_enabled: Whether PSC connectivity is enabled for this instance.
3307
3375
  """
3308
3376
  pulumi.set(__self__, "allowed_consumer_projects", allowed_consumer_projects)
3377
+ pulumi.set(__self__, "psc_auto_connections", psc_auto_connections)
3309
3378
  pulumi.set(__self__, "psc_enabled", psc_enabled)
3310
3379
 
3311
3380
  @property
@@ -3316,6 +3385,14 @@ class GetDatabaseInstanceSettingIpConfigurationPscConfigResult(dict):
3316
3385
  """
3317
3386
  return pulumi.get(self, "allowed_consumer_projects")
3318
3387
 
3388
+ @property
3389
+ @pulumi.getter(name="pscAutoConnections")
3390
+ def psc_auto_connections(self) -> Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult']:
3391
+ """
3392
+ A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
3393
+ """
3394
+ return pulumi.get(self, "psc_auto_connections")
3395
+
3319
3396
  @property
3320
3397
  @pulumi.getter(name="pscEnabled")
3321
3398
  def psc_enabled(self) -> bool:
@@ -3325,6 +3402,35 @@ class GetDatabaseInstanceSettingIpConfigurationPscConfigResult(dict):
3325
3402
  return pulumi.get(self, "psc_enabled")
3326
3403
 
3327
3404
 
3405
+ @pulumi.output_type
3406
+ class GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult(dict):
3407
+ def __init__(__self__, *,
3408
+ consumer_network: str,
3409
+ consumer_service_project_id: str):
3410
+ """
3411
+ :param str consumer_network: The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
3412
+ :param str consumer_service_project_id: The project ID of consumer service project of this consumer endpoint.
3413
+ """
3414
+ pulumi.set(__self__, "consumer_network", consumer_network)
3415
+ pulumi.set(__self__, "consumer_service_project_id", consumer_service_project_id)
3416
+
3417
+ @property
3418
+ @pulumi.getter(name="consumerNetwork")
3419
+ def consumer_network(self) -> str:
3420
+ """
3421
+ The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
3422
+ """
3423
+ return pulumi.get(self, "consumer_network")
3424
+
3425
+ @property
3426
+ @pulumi.getter(name="consumerServiceProjectId")
3427
+ def consumer_service_project_id(self) -> str:
3428
+ """
3429
+ The project ID of consumer service project of this consumer endpoint.
3430
+ """
3431
+ return pulumi.get(self, "consumer_service_project_id")
3432
+
3433
+
3328
3434
  @pulumi.output_type
3329
3435
  class GetDatabaseInstanceSettingLocationPreferenceResult(dict):
3330
3436
  def __init__(__self__, *,
@@ -4819,12 +4925,15 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetworkResult(
4819
4925
  class GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult(dict):
4820
4926
  def __init__(__self__, *,
4821
4927
  allowed_consumer_projects: Sequence[str],
4928
+ psc_auto_connections: Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult'],
4822
4929
  psc_enabled: bool):
4823
4930
  """
4824
4931
  :param Sequence[str] allowed_consumer_projects: List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
4932
+ :param Sequence['GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigPscAutoConnectionArgs'] psc_auto_connections: A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
4825
4933
  :param bool psc_enabled: Whether PSC connectivity is enabled for this instance.
4826
4934
  """
4827
4935
  pulumi.set(__self__, "allowed_consumer_projects", allowed_consumer_projects)
4936
+ pulumi.set(__self__, "psc_auto_connections", psc_auto_connections)
4828
4937
  pulumi.set(__self__, "psc_enabled", psc_enabled)
4829
4938
 
4830
4939
  @property
@@ -4835,6 +4944,14 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult(dict):
4835
4944
  """
4836
4945
  return pulumi.get(self, "allowed_consumer_projects")
4837
4946
 
4947
+ @property
4948
+ @pulumi.getter(name="pscAutoConnections")
4949
+ def psc_auto_connections(self) -> Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult']:
4950
+ """
4951
+ A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
4952
+ """
4953
+ return pulumi.get(self, "psc_auto_connections")
4954
+
4838
4955
  @property
4839
4956
  @pulumi.getter(name="pscEnabled")
4840
4957
  def psc_enabled(self) -> bool:
@@ -4844,6 +4961,35 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult(dict):
4844
4961
  return pulumi.get(self, "psc_enabled")
4845
4962
 
4846
4963
 
4964
+ @pulumi.output_type
4965
+ class GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigPscAutoConnectionResult(dict):
4966
+ def __init__(__self__, *,
4967
+ consumer_network: str,
4968
+ consumer_service_project_id: str):
4969
+ """
4970
+ :param str consumer_network: The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
4971
+ :param str consumer_service_project_id: The project ID of consumer service project of this consumer endpoint.
4972
+ """
4973
+ pulumi.set(__self__, "consumer_network", consumer_network)
4974
+ pulumi.set(__self__, "consumer_service_project_id", consumer_service_project_id)
4975
+
4976
+ @property
4977
+ @pulumi.getter(name="consumerNetwork")
4978
+ def consumer_network(self) -> str:
4979
+ """
4980
+ The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
4981
+ """
4982
+ return pulumi.get(self, "consumer_network")
4983
+
4984
+ @property
4985
+ @pulumi.getter(name="consumerServiceProjectId")
4986
+ def consumer_service_project_id(self) -> str:
4987
+ """
4988
+ The project ID of consumer service project of this consumer endpoint.
4989
+ """
4990
+ return pulumi.get(self, "consumer_service_project_id")
4991
+
4992
+
4847
4993
  @pulumi.output_type
4848
4994
  class GetDatabaseInstancesInstanceSettingLocationPreferenceResult(dict):
4849
4995
  def __init__(__self__, *,
pulumi_gcp/sql/user.py CHANGED
@@ -424,7 +424,7 @@ class User(pulumi.CustomResource):
424
424
  settings={
425
425
  "tier": "db-f1-micro",
426
426
  "database_flags": [{
427
- "name": "cloudsql_iam_authentication",
427
+ "name": "cloudsql.iam_authentication",
428
428
  "value": "on",
429
429
  }],
430
430
  })
@@ -563,7 +563,7 @@ class User(pulumi.CustomResource):
563
563
  settings={
564
564
  "tier": "db-f1-micro",
565
565
  "database_flags": [{
566
- "name": "cloudsql_iam_authentication",
566
+ "name": "cloudsql.iam_authentication",
567
567
  "value": "on",
568
568
  }],
569
569
  })
@@ -187,12 +187,12 @@ class LocationTagBinding(pulumi.CustomResource):
187
187
  short_name="keyname",
188
188
  description="For keyname resources.")
189
189
  value = gcp.tags.TagValue("value",
190
- parent=key.name.apply(lambda name: f"tagKeys/{name}"),
190
+ parent=key.id,
191
191
  short_name="valuename",
192
192
  description="For valuename resources.")
193
193
  binding = gcp.tags.LocationTagBinding("binding",
194
194
  parent=f"//run.googleapis.com/projects/{project_google_project['number']}/locations/{default['location']}/services/{default['name']}",
195
- tag_value=value.name.apply(lambda name: f"tagValues/{name}"),
195
+ tag_value=value.id,
196
196
  location="us-central1")
197
197
  ```
198
198
 
@@ -211,12 +211,12 @@ class LocationTagBinding(pulumi.CustomResource):
211
211
  short_name="keyname",
212
212
  description="For keyname resources.")
213
213
  value = gcp.tags.TagValue("value",
214
- parent=key.name.apply(lambda name: f"tagKeys/{name}"),
214
+ parent=key.id,
215
215
  short_name="valuename",
216
216
  description="For valuename resources.")
217
217
  binding = gcp.tags.LocationTagBinding("binding",
218
218
  parent=project.number.apply(lambda number: f"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance['instanceId']}"),
219
- tag_value=value.name.apply(lambda name: f"tagValues/{name}"),
219
+ tag_value=value.id,
220
220
  location="us-central1-a")
221
221
  ```
222
222
 
@@ -274,12 +274,12 @@ class LocationTagBinding(pulumi.CustomResource):
274
274
  short_name="keyname",
275
275
  description="For keyname resources.")
276
276
  value = gcp.tags.TagValue("value",
277
- parent=key.name.apply(lambda name: f"tagKeys/{name}"),
277
+ parent=key.id,
278
278
  short_name="valuename",
279
279
  description="For valuename resources.")
280
280
  binding = gcp.tags.LocationTagBinding("binding",
281
281
  parent=f"//run.googleapis.com/projects/{project_google_project['number']}/locations/{default['location']}/services/{default['name']}",
282
- tag_value=value.name.apply(lambda name: f"tagValues/{name}"),
282
+ tag_value=value.id,
283
283
  location="us-central1")
284
284
  ```
285
285
 
@@ -298,12 +298,12 @@ class LocationTagBinding(pulumi.CustomResource):
298
298
  short_name="keyname",
299
299
  description="For keyname resources.")
300
300
  value = gcp.tags.TagValue("value",
301
- parent=key.name.apply(lambda name: f"tagKeys/{name}"),
301
+ parent=key.id,
302
302
  short_name="valuename",
303
303
  description="For valuename resources.")
304
304
  binding = gcp.tags.LocationTagBinding("binding",
305
305
  parent=project.number.apply(lambda number: f"//compute.googleapis.com/projects/{number}/zones/us-central1-a/instances/{instance['instanceId']}"),
306
- tag_value=value.name.apply(lambda name: f"tagValues/{name}"),
306
+ tag_value=value.id,
307
307
  location="us-central1-a")
308
308
  ```
309
309
 
@@ -59,11 +59,10 @@ class AiEndpointArgs:
59
59
  :param pulumi.Input[str] region: The region for the resource
60
60
  :param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
61
61
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
62
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
63
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
64
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
62
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
65
63
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
66
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
64
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
65
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
67
66
  """
68
67
  pulumi.set(__self__, "display_name", display_name)
69
68
  pulumi.set(__self__, "location", location)
@@ -249,11 +248,10 @@ class AiEndpointArgs:
249
248
  """
250
249
  A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
251
250
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
252
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
253
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
254
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
251
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
255
252
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
256
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
253
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
254
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
257
255
  """
258
256
  return pulumi.get(self, "traffic_split")
259
257
 
@@ -321,11 +319,10 @@ class _AiEndpointState:
321
319
  :param pulumi.Input[str] region: The region for the resource
322
320
  :param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
323
321
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
324
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
325
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
326
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
322
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
327
323
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
328
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
324
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
325
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
329
326
  :param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
330
327
  """
331
328
  if create_time is not None:
@@ -617,11 +614,10 @@ class _AiEndpointState:
617
614
  """
618
615
  A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
619
616
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
620
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
621
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
622
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
617
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
623
618
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
624
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
619
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
620
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
625
621
  """
626
622
  return pulumi.get(self, "traffic_split")
627
623
 
@@ -816,11 +812,10 @@ class AiEndpoint(pulumi.CustomResource):
816
812
  :param pulumi.Input[str] region: The region for the resource
817
813
  :param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
818
814
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
819
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
820
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
821
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
815
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
822
816
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
823
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
817
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
818
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
824
819
  """
825
820
  ...
826
821
  @overload
@@ -1093,11 +1088,10 @@ class AiEndpoint(pulumi.CustomResource):
1093
1088
  :param pulumi.Input[str] region: The region for the resource
1094
1089
  :param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
1095
1090
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
1096
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
1097
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
1098
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
1091
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
1099
1092
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
1100
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
1093
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
1094
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
1101
1095
  :param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
1102
1096
  """
1103
1097
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1293,15 +1287,14 @@ class AiEndpoint(pulumi.CustomResource):
1293
1287
 
1294
1288
  @property
1295
1289
  @pulumi.getter(name="trafficSplit")
1296
- def traffic_split(self) -> pulumi.Output[Optional[str]]:
1290
+ def traffic_split(self) -> pulumi.Output[str]:
1297
1291
  """
1298
1292
  A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
1299
1293
  If a DeployedModel's id is not listed in this map, then it receives no traffic.
1300
- The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
1301
- > **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
1302
- resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
1294
+ The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. See
1303
1295
  the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
1304
- [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
1296
+ [documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
1297
+ > **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
1305
1298
  """
1306
1299
  return pulumi.get(self, "traffic_split")
1307
1300
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 8.10.0a1731739693
3
+ Version: 8.10.0a1732125494
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io