pulumi-gcp 8.2.0a1726671837__py3-none-any.whl → 8.3.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 (100) hide show
  1. pulumi_gcp/__init__.py +158 -0
  2. pulumi_gcp/alloydb/_inputs.py +20 -0
  3. pulumi_gcp/alloydb/instance.py +36 -0
  4. pulumi_gcp/alloydb/outputs.py +14 -0
  5. pulumi_gcp/bigquery/__init__.py +1 -0
  6. pulumi_gcp/bigquery/get_tables.py +143 -0
  7. pulumi_gcp/bigquery/outputs.py +30 -0
  8. pulumi_gcp/compute/__init__.py +2 -0
  9. pulumi_gcp/compute/_inputs.py +12481 -9158
  10. pulumi_gcp/compute/attached_disk.py +103 -0
  11. pulumi_gcp/compute/backend_service.py +29 -22
  12. pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
  13. pulumi_gcp/compute/get_instance.py +3 -0
  14. pulumi_gcp/compute/network_firewall_policy_with_rules.py +826 -0
  15. pulumi_gcp/compute/outputs.py +3695 -1293
  16. pulumi_gcp/compute/region_backend_service.py +29 -22
  17. pulumi_gcp/compute/region_target_http_proxy.py +159 -0
  18. pulumi_gcp/compute/region_target_https_proxy.py +175 -0
  19. pulumi_gcp/compute/router_nat.py +27 -66
  20. pulumi_gcp/compute/service_attachment.py +75 -0
  21. pulumi_gcp/compute/target_http_proxy.py +49 -28
  22. pulumi_gcp/compute/target_https_proxy.py +49 -28
  23. pulumi_gcp/config/__init__.pyi +6 -0
  24. pulumi_gcp/config/vars.py +12 -0
  25. pulumi_gcp/container/_inputs.py +168 -99
  26. pulumi_gcp/container/attached_cluster.py +54 -1
  27. pulumi_gcp/container/outputs.py +155 -70
  28. pulumi_gcp/databasemigrationservice/__init__.py +1 -0
  29. pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
  30. pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
  31. pulumi_gcp/databasemigrationservice/outputs.py +268 -0
  32. pulumi_gcp/dataproc/get_metastore_service.py +11 -1
  33. pulumi_gcp/dataproc/metastore_federation.py +8 -8
  34. pulumi_gcp/dataproc/metastore_service.py +95 -0
  35. pulumi_gcp/datastream/stream.py +21 -14
  36. pulumi_gcp/developerconnect/__init__.py +11 -0
  37. pulumi_gcp/developerconnect/_inputs.py +304 -0
  38. pulumi_gcp/developerconnect/connection.py +1037 -0
  39. pulumi_gcp/developerconnect/git_repository_link.py +873 -0
  40. pulumi_gcp/developerconnect/outputs.py +249 -0
  41. pulumi_gcp/discoveryengine/__init__.py +1 -0
  42. pulumi_gcp/discoveryengine/_inputs.py +131 -0
  43. pulumi_gcp/discoveryengine/outputs.py +131 -0
  44. pulumi_gcp/discoveryengine/target_site.py +870 -0
  45. pulumi_gcp/dns/managed_zone.py +1 -1
  46. pulumi_gcp/filestore/get_instance.py +21 -1
  47. pulumi_gcp/filestore/instance.py +94 -0
  48. pulumi_gcp/gkehub/feature_membership.py +140 -62
  49. pulumi_gcp/gkeonprem/_inputs.py +3 -3
  50. pulumi_gcp/gkeonprem/outputs.py +2 -2
  51. pulumi_gcp/healthcare/__init__.py +1 -0
  52. pulumi_gcp/healthcare/_inputs.py +39 -0
  53. pulumi_gcp/healthcare/outputs.py +40 -0
  54. pulumi_gcp/healthcare/workspace.py +465 -0
  55. pulumi_gcp/looker/instance.py +81 -0
  56. pulumi_gcp/memorystore/__init__.py +10 -0
  57. pulumi_gcp/memorystore/_inputs.py +731 -0
  58. pulumi_gcp/memorystore/instance.py +1663 -0
  59. pulumi_gcp/memorystore/outputs.py +598 -0
  60. pulumi_gcp/netapp/_inputs.py +63 -0
  61. pulumi_gcp/netapp/outputs.py +57 -0
  62. pulumi_gcp/netapp/storage_pool.py +54 -0
  63. pulumi_gcp/netapp/volume.py +183 -0
  64. pulumi_gcp/organizations/folder.py +52 -33
  65. pulumi_gcp/provider.py +60 -0
  66. pulumi_gcp/pubsub/subscription.py +43 -7
  67. pulumi_gcp/pulumi-plugin.json +1 -1
  68. pulumi_gcp/secretmanager/__init__.py +8 -0
  69. pulumi_gcp/secretmanager/_inputs.py +308 -0
  70. pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
  71. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
  72. pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
  73. pulumi_gcp/secretmanager/outputs.py +336 -0
  74. pulumi_gcp/secretmanager/regional_secret.py +1433 -0
  75. pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
  76. pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
  77. pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
  78. pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
  79. pulumi_gcp/securitycenter/__init__.py +4 -0
  80. pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
  81. pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
  82. pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
  83. pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
  84. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
  85. pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
  86. pulumi_gcp/siteverification/__init__.py +3 -0
  87. pulumi_gcp/siteverification/_inputs.py +85 -0
  88. pulumi_gcp/siteverification/outputs.py +57 -0
  89. pulumi_gcp/siteverification/web_resource.py +398 -0
  90. pulumi_gcp/spanner/__init__.py +1 -0
  91. pulumi_gcp/spanner/_inputs.py +129 -0
  92. pulumi_gcp/spanner/backup_schedule.py +748 -0
  93. pulumi_gcp/spanner/get_instance.py +11 -1
  94. pulumi_gcp/spanner/instance.py +56 -0
  95. pulumi_gcp/spanner/outputs.py +93 -0
  96. pulumi_gcp/vpcaccess/connector.py +21 -28
  97. {pulumi_gcp-8.2.0a1726671837.dist-info → pulumi_gcp-8.3.0.dist-info}/METADATA +1 -1
  98. {pulumi_gcp-8.2.0a1726671837.dist-info → pulumi_gcp-8.3.0.dist-info}/RECORD +100 -69
  99. {pulumi_gcp-8.2.0a1726671837.dist-info → pulumi_gcp-8.3.0.dist-info}/WHEEL +0 -0
  100. {pulumi_gcp-8.2.0a1726671837.dist-info → pulumi_gcp-8.3.0.dist-info}/top_level.txt +0 -0
@@ -28,6 +28,7 @@ __all__ = [
28
28
  'VolumeSnapshotPolicyHourlySchedule',
29
29
  'VolumeSnapshotPolicyMonthlySchedule',
30
30
  'VolumeSnapshotPolicyWeeklySchedule',
31
+ 'VolumeTieringPolicy',
31
32
  ]
32
33
 
33
34
  @pulumi.output_type
@@ -1011,3 +1012,59 @@ class VolumeSnapshotPolicyWeeklySchedule(dict):
1011
1012
  return pulumi.get(self, "minute")
1012
1013
 
1013
1014
 
1015
+ @pulumi.output_type
1016
+ class VolumeTieringPolicy(dict):
1017
+ @staticmethod
1018
+ def __key_warning(key: str):
1019
+ suggest = None
1020
+ if key == "coolingThresholdDays":
1021
+ suggest = "cooling_threshold_days"
1022
+ elif key == "tierAction":
1023
+ suggest = "tier_action"
1024
+
1025
+ if suggest:
1026
+ pulumi.log.warn(f"Key '{key}' not found in VolumeTieringPolicy. Access the value via the '{suggest}' property getter instead.")
1027
+
1028
+ def __getitem__(self, key: str) -> Any:
1029
+ VolumeTieringPolicy.__key_warning(key)
1030
+ return super().__getitem__(key)
1031
+
1032
+ def get(self, key: str, default = None) -> Any:
1033
+ VolumeTieringPolicy.__key_warning(key)
1034
+ return super().get(key, default)
1035
+
1036
+ def __init__(__self__, *,
1037
+ cooling_threshold_days: Optional[int] = None,
1038
+ tier_action: Optional[str] = None):
1039
+ """
1040
+ :param int cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 7-183.
1041
+ Default is 31.
1042
+ :param str tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1043
+ Default value is `PAUSED`.
1044
+ Possible values are: `ENABLED`, `PAUSED`.
1045
+ """
1046
+ if cooling_threshold_days is not None:
1047
+ pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
1048
+ if tier_action is not None:
1049
+ pulumi.set(__self__, "tier_action", tier_action)
1050
+
1051
+ @property
1052
+ @pulumi.getter(name="coolingThresholdDays")
1053
+ def cooling_threshold_days(self) -> Optional[int]:
1054
+ """
1055
+ Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 7-183.
1056
+ Default is 31.
1057
+ """
1058
+ return pulumi.get(self, "cooling_threshold_days")
1059
+
1060
+ @property
1061
+ @pulumi.getter(name="tierAction")
1062
+ def tier_action(self) -> Optional[str]:
1063
+ """
1064
+ Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1065
+ Default value is `PAUSED`.
1066
+ Possible values are: `ENABLED`, `PAUSED`.
1067
+ """
1068
+ return pulumi.get(self, "tier_action")
1069
+
1070
+
@@ -24,6 +24,7 @@ class StoragePoolArgs:
24
24
  network: pulumi.Input[str],
25
25
  service_level: pulumi.Input[str],
26
26
  active_directory: Optional[pulumi.Input[str]] = None,
27
+ allow_auto_tiering: Optional[pulumi.Input[bool]] = None,
27
28
  description: Optional[pulumi.Input[str]] = None,
28
29
  kms_config: Optional[pulumi.Input[str]] = None,
29
30
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -41,6 +42,8 @@ class StoragePoolArgs:
41
42
  Possible values are: `PREMIUM`, `EXTREME`, `STANDARD`, `FLEX`.
42
43
  :param pulumi.Input[str] active_directory: Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`.
43
44
  The policy needs to be in the same location as the storage pool.
45
+ :param pulumi.Input[bool] allow_auto_tiering: Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
46
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
44
47
  :param pulumi.Input[str] description: An optional description of this resource.
45
48
  :param pulumi.Input[str] kms_config: Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`.
46
49
  The policy needs to be in the same location as the storage pool.
@@ -68,6 +71,8 @@ class StoragePoolArgs:
68
71
  pulumi.set(__self__, "service_level", service_level)
69
72
  if active_directory is not None:
70
73
  pulumi.set(__self__, "active_directory", active_directory)
74
+ if allow_auto_tiering is not None:
75
+ pulumi.set(__self__, "allow_auto_tiering", allow_auto_tiering)
71
76
  if description is not None:
72
77
  pulumi.set(__self__, "description", description)
73
78
  if kms_config is not None:
@@ -147,6 +152,19 @@ class StoragePoolArgs:
147
152
  def active_directory(self, value: Optional[pulumi.Input[str]]):
148
153
  pulumi.set(self, "active_directory", value)
149
154
 
155
+ @property
156
+ @pulumi.getter(name="allowAutoTiering")
157
+ def allow_auto_tiering(self) -> Optional[pulumi.Input[bool]]:
158
+ """
159
+ Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
160
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
161
+ """
162
+ return pulumi.get(self, "allow_auto_tiering")
163
+
164
+ @allow_auto_tiering.setter
165
+ def allow_auto_tiering(self, value: Optional[pulumi.Input[bool]]):
166
+ pulumi.set(self, "allow_auto_tiering", value)
167
+
150
168
  @property
151
169
  @pulumi.getter
152
170
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -260,6 +278,7 @@ class StoragePoolArgs:
260
278
  class _StoragePoolState:
261
279
  def __init__(__self__, *,
262
280
  active_directory: Optional[pulumi.Input[str]] = None,
281
+ allow_auto_tiering: Optional[pulumi.Input[bool]] = None,
263
282
  capacity_gib: Optional[pulumi.Input[str]] = None,
264
283
  description: Optional[pulumi.Input[str]] = None,
265
284
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -281,6 +300,8 @@ class _StoragePoolState:
281
300
  Input properties used for looking up and filtering StoragePool resources.
282
301
  :param pulumi.Input[str] active_directory: Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`.
283
302
  The policy needs to be in the same location as the storage pool.
303
+ :param pulumi.Input[bool] allow_auto_tiering: Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
304
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
284
305
  :param pulumi.Input[str] capacity_gib: Capacity of the storage pool (in GiB).
285
306
  :param pulumi.Input[str] description: An optional description of this resource.
286
307
  :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.
@@ -315,6 +336,8 @@ class _StoragePoolState:
315
336
  """
316
337
  if active_directory is not None:
317
338
  pulumi.set(__self__, "active_directory", active_directory)
339
+ if allow_auto_tiering is not None:
340
+ pulumi.set(__self__, "allow_auto_tiering", allow_auto_tiering)
318
341
  if capacity_gib is not None:
319
342
  pulumi.set(__self__, "capacity_gib", capacity_gib)
320
343
  if description is not None:
@@ -363,6 +386,19 @@ class _StoragePoolState:
363
386
  def active_directory(self, value: Optional[pulumi.Input[str]]):
364
387
  pulumi.set(self, "active_directory", value)
365
388
 
389
+ @property
390
+ @pulumi.getter(name="allowAutoTiering")
391
+ def allow_auto_tiering(self) -> Optional[pulumi.Input[bool]]:
392
+ """
393
+ Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
394
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
395
+ """
396
+ return pulumi.get(self, "allow_auto_tiering")
397
+
398
+ @allow_auto_tiering.setter
399
+ def allow_auto_tiering(self, value: Optional[pulumi.Input[bool]]):
400
+ pulumi.set(self, "allow_auto_tiering", value)
401
+
366
402
  @property
367
403
  @pulumi.getter(name="capacityGib")
368
404
  def capacity_gib(self) -> Optional[pulumi.Input[str]]:
@@ -588,6 +624,7 @@ class StoragePool(pulumi.CustomResource):
588
624
  resource_name: str,
589
625
  opts: Optional[pulumi.ResourceOptions] = None,
590
626
  active_directory: Optional[pulumi.Input[str]] = None,
627
+ allow_auto_tiering: Optional[pulumi.Input[bool]] = None,
591
628
  capacity_gib: Optional[pulumi.Input[str]] = None,
592
629
  description: Optional[pulumi.Input[str]] = None,
593
630
  kms_config: Optional[pulumi.Input[str]] = None,
@@ -671,6 +708,8 @@ class StoragePool(pulumi.CustomResource):
671
708
  :param pulumi.ResourceOptions opts: Options for the resource.
672
709
  :param pulumi.Input[str] active_directory: Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`.
673
710
  The policy needs to be in the same location as the storage pool.
711
+ :param pulumi.Input[bool] allow_auto_tiering: Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
712
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
674
713
  :param pulumi.Input[str] capacity_gib: Capacity of the storage pool (in GiB).
675
714
  :param pulumi.Input[str] description: An optional description of this resource.
676
715
  :param pulumi.Input[str] kms_config: Specifies the CMEK policy to be used for volume encryption. Format: `projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}`.
@@ -785,6 +824,7 @@ class StoragePool(pulumi.CustomResource):
785
824
  resource_name: str,
786
825
  opts: Optional[pulumi.ResourceOptions] = None,
787
826
  active_directory: Optional[pulumi.Input[str]] = None,
827
+ allow_auto_tiering: Optional[pulumi.Input[bool]] = None,
788
828
  capacity_gib: Optional[pulumi.Input[str]] = None,
789
829
  description: Optional[pulumi.Input[str]] = None,
790
830
  kms_config: Optional[pulumi.Input[str]] = None,
@@ -807,6 +847,7 @@ class StoragePool(pulumi.CustomResource):
807
847
  __props__ = StoragePoolArgs.__new__(StoragePoolArgs)
808
848
 
809
849
  __props__.__dict__["active_directory"] = active_directory
850
+ __props__.__dict__["allow_auto_tiering"] = allow_auto_tiering
810
851
  if capacity_gib is None and not opts.urn:
811
852
  raise TypeError("Missing required property 'capacity_gib'")
812
853
  __props__.__dict__["capacity_gib"] = capacity_gib
@@ -845,6 +886,7 @@ class StoragePool(pulumi.CustomResource):
845
886
  id: pulumi.Input[str],
846
887
  opts: Optional[pulumi.ResourceOptions] = None,
847
888
  active_directory: Optional[pulumi.Input[str]] = None,
889
+ allow_auto_tiering: Optional[pulumi.Input[bool]] = None,
848
890
  capacity_gib: Optional[pulumi.Input[str]] = None,
849
891
  description: Optional[pulumi.Input[str]] = None,
850
892
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -871,6 +913,8 @@ class StoragePool(pulumi.CustomResource):
871
913
  :param pulumi.ResourceOptions opts: Options for the resource.
872
914
  :param pulumi.Input[str] active_directory: Specifies the Active Directory policy to be used. Format: `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`.
873
915
  The policy needs to be in the same location as the storage pool.
916
+ :param pulumi.Input[bool] allow_auto_tiering: Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
917
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
874
918
  :param pulumi.Input[str] capacity_gib: Capacity of the storage pool (in GiB).
875
919
  :param pulumi.Input[str] description: An optional description of this resource.
876
920
  :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.
@@ -908,6 +952,7 @@ class StoragePool(pulumi.CustomResource):
908
952
  __props__ = _StoragePoolState.__new__(_StoragePoolState)
909
953
 
910
954
  __props__.__dict__["active_directory"] = active_directory
955
+ __props__.__dict__["allow_auto_tiering"] = allow_auto_tiering
911
956
  __props__.__dict__["capacity_gib"] = capacity_gib
912
957
  __props__.__dict__["description"] = description
913
958
  __props__.__dict__["effective_labels"] = effective_labels
@@ -936,6 +981,15 @@ class StoragePool(pulumi.CustomResource):
936
981
  """
937
982
  return pulumi.get(self, "active_directory")
938
983
 
984
+ @property
985
+ @pulumi.getter(name="allowAutoTiering")
986
+ def allow_auto_tiering(self) -> pulumi.Output[Optional[bool]]:
987
+ """
988
+ Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
989
+ Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
990
+ """
991
+ return pulumi.get(self, "allow_auto_tiering")
992
+
939
993
  @property
940
994
  @pulumi.getter(name="capacityGib")
941
995
  def capacity_gib(self) -> pulumi.Output[str]: