pulumi-gcp 8.3.0a1727223968__py3-none-any.whl → 8.3.0a1727226164__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 (76) hide show
  1. pulumi_gcp/__init__.py +120 -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/compute/__init__.py +1 -0
  6. pulumi_gcp/compute/_inputs.py +1400 -0
  7. pulumi_gcp/compute/attached_disk.py +103 -0
  8. pulumi_gcp/compute/backend_service.py +29 -22
  9. pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
  10. pulumi_gcp/compute/outputs.py +1019 -0
  11. pulumi_gcp/compute/region_backend_service.py +29 -22
  12. pulumi_gcp/compute/router_nat.py +27 -66
  13. pulumi_gcp/config/__init__.pyi +2 -0
  14. pulumi_gcp/config/vars.py +4 -0
  15. pulumi_gcp/container/_inputs.py +72 -99
  16. pulumi_gcp/container/outputs.py +53 -70
  17. pulumi_gcp/databasemigrationservice/__init__.py +1 -0
  18. pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
  19. pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
  20. pulumi_gcp/databasemigrationservice/outputs.py +268 -0
  21. pulumi_gcp/dataproc/get_metastore_service.py +11 -1
  22. pulumi_gcp/dataproc/metastore_service.py +93 -0
  23. pulumi_gcp/developerconnect/_inputs.py +42 -39
  24. pulumi_gcp/developerconnect/connection.py +86 -83
  25. pulumi_gcp/developerconnect/outputs.py +28 -26
  26. pulumi_gcp/discoveryengine/__init__.py +1 -0
  27. pulumi_gcp/discoveryengine/_inputs.py +131 -0
  28. pulumi_gcp/discoveryengine/outputs.py +131 -0
  29. pulumi_gcp/discoveryengine/target_site.py +870 -0
  30. pulumi_gcp/dns/managed_zone.py +1 -1
  31. pulumi_gcp/filestore/get_instance.py +21 -1
  32. pulumi_gcp/filestore/instance.py +94 -0
  33. pulumi_gcp/gkehub/feature_membership.py +140 -62
  34. pulumi_gcp/healthcare/__init__.py +1 -0
  35. pulumi_gcp/healthcare/_inputs.py +39 -0
  36. pulumi_gcp/healthcare/outputs.py +40 -0
  37. pulumi_gcp/healthcare/workspace.py +465 -0
  38. pulumi_gcp/looker/instance.py +81 -0
  39. pulumi_gcp/netapp/_inputs.py +63 -0
  40. pulumi_gcp/netapp/outputs.py +57 -0
  41. pulumi_gcp/netapp/storage_pool.py +54 -0
  42. pulumi_gcp/netapp/volume.py +82 -0
  43. pulumi_gcp/provider.py +20 -0
  44. pulumi_gcp/pubsub/subscription.py +43 -7
  45. pulumi_gcp/pulumi-plugin.json +1 -1
  46. pulumi_gcp/secretmanager/__init__.py +8 -0
  47. pulumi_gcp/secretmanager/_inputs.py +308 -0
  48. pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
  49. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
  50. pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
  51. pulumi_gcp/secretmanager/outputs.py +336 -0
  52. pulumi_gcp/secretmanager/regional_secret.py +1433 -0
  53. pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
  54. pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
  55. pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
  56. pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
  57. pulumi_gcp/securitycenter/__init__.py +4 -0
  58. pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
  59. pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
  60. pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
  61. pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
  62. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
  63. pulumi_gcp/siteverification/__init__.py +3 -0
  64. pulumi_gcp/siteverification/_inputs.py +85 -0
  65. pulumi_gcp/siteverification/outputs.py +57 -0
  66. pulumi_gcp/siteverification/web_resource.py +398 -0
  67. pulumi_gcp/spanner/__init__.py +1 -0
  68. pulumi_gcp/spanner/_inputs.py +129 -0
  69. pulumi_gcp/spanner/backup_schedule.py +748 -0
  70. pulumi_gcp/spanner/get_instance.py +11 -1
  71. pulumi_gcp/spanner/instance.py +56 -0
  72. pulumi_gcp/spanner/outputs.py +93 -0
  73. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/RECORD +76 -56
  75. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-8.3.0a1727223968.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/top_level.txt +0 -0
@@ -39,6 +39,8 @@ __all__ = [
39
39
  'VolumeSnapshotPolicyMonthlyScheduleArgsDict',
40
40
  'VolumeSnapshotPolicyWeeklyScheduleArgs',
41
41
  'VolumeSnapshotPolicyWeeklyScheduleArgsDict',
42
+ 'VolumeTieringPolicyArgs',
43
+ 'VolumeTieringPolicyArgsDict',
42
44
  ]
43
45
 
44
46
  MYPY = False
@@ -1285,3 +1287,64 @@ class VolumeSnapshotPolicyWeeklyScheduleArgs:
1285
1287
  pulumi.set(self, "minute", value)
1286
1288
 
1287
1289
 
1290
+ if not MYPY:
1291
+ class VolumeTieringPolicyArgsDict(TypedDict):
1292
+ cooling_threshold_days: NotRequired[pulumi.Input[int]]
1293
+ """
1294
+ 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.
1295
+ Default is 31.
1296
+ """
1297
+ tier_action: NotRequired[pulumi.Input[str]]
1298
+ """
1299
+ Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1300
+ Default value is `PAUSED`.
1301
+ Possible values are: `ENABLED`, `PAUSED`.
1302
+ """
1303
+ elif False:
1304
+ VolumeTieringPolicyArgsDict: TypeAlias = Mapping[str, Any]
1305
+
1306
+ @pulumi.input_type
1307
+ class VolumeTieringPolicyArgs:
1308
+ def __init__(__self__, *,
1309
+ cooling_threshold_days: Optional[pulumi.Input[int]] = None,
1310
+ tier_action: Optional[pulumi.Input[str]] = None):
1311
+ """
1312
+ :param pulumi.Input[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.
1313
+ Default is 31.
1314
+ :param pulumi.Input[str] tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1315
+ Default value is `PAUSED`.
1316
+ Possible values are: `ENABLED`, `PAUSED`.
1317
+ """
1318
+ if cooling_threshold_days is not None:
1319
+ pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
1320
+ if tier_action is not None:
1321
+ pulumi.set(__self__, "tier_action", tier_action)
1322
+
1323
+ @property
1324
+ @pulumi.getter(name="coolingThresholdDays")
1325
+ def cooling_threshold_days(self) -> Optional[pulumi.Input[int]]:
1326
+ """
1327
+ 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.
1328
+ Default is 31.
1329
+ """
1330
+ return pulumi.get(self, "cooling_threshold_days")
1331
+
1332
+ @cooling_threshold_days.setter
1333
+ def cooling_threshold_days(self, value: Optional[pulumi.Input[int]]):
1334
+ pulumi.set(self, "cooling_threshold_days", value)
1335
+
1336
+ @property
1337
+ @pulumi.getter(name="tierAction")
1338
+ def tier_action(self) -> Optional[pulumi.Input[str]]:
1339
+ """
1340
+ Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1341
+ Default value is `PAUSED`.
1342
+ Possible values are: `ENABLED`, `PAUSED`.
1343
+ """
1344
+ return pulumi.get(self, "tier_action")
1345
+
1346
+ @tier_action.setter
1347
+ def tier_action(self, value: Optional[pulumi.Input[str]]):
1348
+ pulumi.set(self, "tier_action", value)
1349
+
1350
+
@@ -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]:
@@ -42,6 +42,7 @@ class VolumeArgs:
42
42
  smb_settings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
43
43
  snapshot_directory: Optional[pulumi.Input[bool]] = None,
44
44
  snapshot_policy: Optional[pulumi.Input['VolumeSnapshotPolicyArgs']] = None,
45
+ tiering_policy: Optional[pulumi.Input['VolumeTieringPolicyArgs']] = None,
45
46
  unix_permissions: Optional[pulumi.Input[str]] = None):
46
47
  """
47
48
  The set of arguments for constructing a Volume resource.
@@ -87,6 +88,8 @@ class VolumeArgs:
87
88
  :param pulumi.Input['VolumeSnapshotPolicyArgs'] snapshot_policy: Snapshot policy defines the schedule for automatic snapshot creation.
88
89
  To disable automatic snapshot creation you have to remove the whole snapshot_policy block.
89
90
  Structure is documented below.
91
+ :param pulumi.Input['VolumeTieringPolicyArgs'] tiering_policy: Tiering policy for the volume.
92
+ Structure is documented below.
90
93
  :param pulumi.Input[str] unix_permissions: Unix permission the mount point will be created with. Default is 0770. Applicable for UNIX security style volumes only.
91
94
  """
92
95
  pulumi.set(__self__, "capacity_gib", capacity_gib)
@@ -126,6 +129,8 @@ class VolumeArgs:
126
129
  pulumi.set(__self__, "snapshot_directory", snapshot_directory)
127
130
  if snapshot_policy is not None:
128
131
  pulumi.set(__self__, "snapshot_policy", snapshot_policy)
132
+ if tiering_policy is not None:
133
+ pulumi.set(__self__, "tiering_policy", tiering_policy)
129
134
  if unix_permissions is not None:
130
135
  pulumi.set(__self__, "unix_permissions", unix_permissions)
131
136
 
@@ -402,6 +407,19 @@ class VolumeArgs:
402
407
  def snapshot_policy(self, value: Optional[pulumi.Input['VolumeSnapshotPolicyArgs']]):
403
408
  pulumi.set(self, "snapshot_policy", value)
404
409
 
410
+ @property
411
+ @pulumi.getter(name="tieringPolicy")
412
+ def tiering_policy(self) -> Optional[pulumi.Input['VolumeTieringPolicyArgs']]:
413
+ """
414
+ Tiering policy for the volume.
415
+ Structure is documented below.
416
+ """
417
+ return pulumi.get(self, "tiering_policy")
418
+
419
+ @tiering_policy.setter
420
+ def tiering_policy(self, value: Optional[pulumi.Input['VolumeTieringPolicyArgs']]):
421
+ pulumi.set(self, "tiering_policy", value)
422
+
405
423
  @property
406
424
  @pulumi.getter(name="unixPermissions")
407
425
  def unix_permissions(self) -> Optional[pulumi.Input[str]]:
@@ -421,6 +439,7 @@ class _VolumeState:
421
439
  active_directory: Optional[pulumi.Input[str]] = None,
422
440
  backup_config: Optional[pulumi.Input['VolumeBackupConfigArgs']] = None,
423
441
  capacity_gib: Optional[pulumi.Input[str]] = None,
442
+ cold_tier_size_gib: Optional[pulumi.Input[str]] = None,
424
443
  create_time: Optional[pulumi.Input[str]] = None,
425
444
  deletion_policy: Optional[pulumi.Input[str]] = None,
426
445
  description: Optional[pulumi.Input[str]] = None,
@@ -454,6 +473,7 @@ class _VolumeState:
454
473
  state: Optional[pulumi.Input[str]] = None,
455
474
  state_details: Optional[pulumi.Input[str]] = None,
456
475
  storage_pool: Optional[pulumi.Input[str]] = None,
476
+ tiering_policy: Optional[pulumi.Input['VolumeTieringPolicyArgs']] = None,
457
477
  unix_permissions: Optional[pulumi.Input[str]] = None,
458
478
  used_gib: Optional[pulumi.Input[str]] = None,
459
479
  zone: Optional[pulumi.Input[str]] = None):
@@ -463,6 +483,7 @@ class _VolumeState:
463
483
  :param pulumi.Input['VolumeBackupConfigArgs'] backup_config: Backup configuration for the volume.
464
484
  Structure is documented below.
465
485
  :param pulumi.Input[str] capacity_gib: Capacity of the volume (in GiB).
486
+ :param pulumi.Input[str] cold_tier_size_gib: Output only. Size of the volume cold tier data in GiB.
466
487
  :param pulumi.Input[str] create_time: Create time of the volume. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
467
488
  :param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
468
489
  Volumes may have nested snapshot resources. Deleting such a volume will fail.
@@ -518,6 +539,8 @@ class _VolumeState:
518
539
  :param pulumi.Input[str] state: State of the volume.
519
540
  :param pulumi.Input[str] state_details: State details of the volume.
520
541
  :param pulumi.Input[str] storage_pool: Name of the storage pool to create the volume in. Pool needs enough spare capacity to accomodate the volume.
542
+ :param pulumi.Input['VolumeTieringPolicyArgs'] tiering_policy: Tiering policy for the volume.
543
+ Structure is documented below.
521
544
  :param pulumi.Input[str] unix_permissions: Unix permission the mount point will be created with. Default is 0770. Applicable for UNIX security style volumes only.
522
545
  :param pulumi.Input[str] used_gib: Used capacity of the volume (in GiB). This is computed periodically and it does not represent the realtime usage.
523
546
  :param pulumi.Input[str] zone: Specifies the active zone for regional volume.
@@ -528,6 +551,8 @@ class _VolumeState:
528
551
  pulumi.set(__self__, "backup_config", backup_config)
529
552
  if capacity_gib is not None:
530
553
  pulumi.set(__self__, "capacity_gib", capacity_gib)
554
+ if cold_tier_size_gib is not None:
555
+ pulumi.set(__self__, "cold_tier_size_gib", cold_tier_size_gib)
531
556
  if create_time is not None:
532
557
  pulumi.set(__self__, "create_time", create_time)
533
558
  if deletion_policy is not None:
@@ -594,6 +619,8 @@ class _VolumeState:
594
619
  pulumi.set(__self__, "state_details", state_details)
595
620
  if storage_pool is not None:
596
621
  pulumi.set(__self__, "storage_pool", storage_pool)
622
+ if tiering_policy is not None:
623
+ pulumi.set(__self__, "tiering_policy", tiering_policy)
597
624
  if unix_permissions is not None:
598
625
  pulumi.set(__self__, "unix_permissions", unix_permissions)
599
626
  if used_gib is not None:
@@ -638,6 +665,18 @@ class _VolumeState:
638
665
  def capacity_gib(self, value: Optional[pulumi.Input[str]]):
639
666
  pulumi.set(self, "capacity_gib", value)
640
667
 
668
+ @property
669
+ @pulumi.getter(name="coldTierSizeGib")
670
+ def cold_tier_size_gib(self) -> Optional[pulumi.Input[str]]:
671
+ """
672
+ Output only. Size of the volume cold tier data in GiB.
673
+ """
674
+ return pulumi.get(self, "cold_tier_size_gib")
675
+
676
+ @cold_tier_size_gib.setter
677
+ def cold_tier_size_gib(self, value: Optional[pulumi.Input[str]]):
678
+ pulumi.set(self, "cold_tier_size_gib", value)
679
+
641
680
  @property
642
681
  @pulumi.getter(name="createTime")
643
682
  def create_time(self) -> Optional[pulumi.Input[str]]:
@@ -1056,6 +1095,19 @@ class _VolumeState:
1056
1095
  def storage_pool(self, value: Optional[pulumi.Input[str]]):
1057
1096
  pulumi.set(self, "storage_pool", value)
1058
1097
 
1098
+ @property
1099
+ @pulumi.getter(name="tieringPolicy")
1100
+ def tiering_policy(self) -> Optional[pulumi.Input['VolumeTieringPolicyArgs']]:
1101
+ """
1102
+ Tiering policy for the volume.
1103
+ Structure is documented below.
1104
+ """
1105
+ return pulumi.get(self, "tiering_policy")
1106
+
1107
+ @tiering_policy.setter
1108
+ def tiering_policy(self, value: Optional[pulumi.Input['VolumeTieringPolicyArgs']]):
1109
+ pulumi.set(self, "tiering_policy", value)
1110
+
1059
1111
  @property
1060
1112
  @pulumi.getter(name="unixPermissions")
1061
1113
  def unix_permissions(self) -> Optional[pulumi.Input[str]]:
@@ -1119,6 +1171,7 @@ class Volume(pulumi.CustomResource):
1119
1171
  snapshot_directory: Optional[pulumi.Input[bool]] = None,
1120
1172
  snapshot_policy: Optional[pulumi.Input[Union['VolumeSnapshotPolicyArgs', 'VolumeSnapshotPolicyArgsDict']]] = None,
1121
1173
  storage_pool: Optional[pulumi.Input[str]] = None,
1174
+ tiering_policy: Optional[pulumi.Input[Union['VolumeTieringPolicyArgs', 'VolumeTieringPolicyArgsDict']]] = None,
1122
1175
  unix_permissions: Optional[pulumi.Input[str]] = None,
1123
1176
  __props__=None):
1124
1177
  """
@@ -1228,6 +1281,8 @@ class Volume(pulumi.CustomResource):
1228
1281
  To disable automatic snapshot creation you have to remove the whole snapshot_policy block.
1229
1282
  Structure is documented below.
1230
1283
  :param pulumi.Input[str] storage_pool: Name of the storage pool to create the volume in. Pool needs enough spare capacity to accomodate the volume.
1284
+ :param pulumi.Input[Union['VolumeTieringPolicyArgs', 'VolumeTieringPolicyArgsDict']] tiering_policy: Tiering policy for the volume.
1285
+ Structure is documented below.
1231
1286
  :param pulumi.Input[str] unix_permissions: Unix permission the mount point will be created with. Default is 0770. Applicable for UNIX security style volumes only.
1232
1287
  """
1233
1288
  ...
@@ -1335,6 +1390,7 @@ class Volume(pulumi.CustomResource):
1335
1390
  snapshot_directory: Optional[pulumi.Input[bool]] = None,
1336
1391
  snapshot_policy: Optional[pulumi.Input[Union['VolumeSnapshotPolicyArgs', 'VolumeSnapshotPolicyArgsDict']]] = None,
1337
1392
  storage_pool: Optional[pulumi.Input[str]] = None,
1393
+ tiering_policy: Optional[pulumi.Input[Union['VolumeTieringPolicyArgs', 'VolumeTieringPolicyArgsDict']]] = None,
1338
1394
  unix_permissions: Optional[pulumi.Input[str]] = None,
1339
1395
  __props__=None):
1340
1396
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -1376,8 +1432,10 @@ class Volume(pulumi.CustomResource):
1376
1432
  if storage_pool is None and not opts.urn:
1377
1433
  raise TypeError("Missing required property 'storage_pool'")
1378
1434
  __props__.__dict__["storage_pool"] = storage_pool
1435
+ __props__.__dict__["tiering_policy"] = tiering_policy
1379
1436
  __props__.__dict__["unix_permissions"] = unix_permissions
1380
1437
  __props__.__dict__["active_directory"] = None
1438
+ __props__.__dict__["cold_tier_size_gib"] = None
1381
1439
  __props__.__dict__["create_time"] = None
1382
1440
  __props__.__dict__["effective_labels"] = None
1383
1441
  __props__.__dict__["encryption_type"] = None
@@ -1409,6 +1467,7 @@ class Volume(pulumi.CustomResource):
1409
1467
  active_directory: Optional[pulumi.Input[str]] = None,
1410
1468
  backup_config: Optional[pulumi.Input[Union['VolumeBackupConfigArgs', 'VolumeBackupConfigArgsDict']]] = None,
1411
1469
  capacity_gib: Optional[pulumi.Input[str]] = None,
1470
+ cold_tier_size_gib: Optional[pulumi.Input[str]] = None,
1412
1471
  create_time: Optional[pulumi.Input[str]] = None,
1413
1472
  deletion_policy: Optional[pulumi.Input[str]] = None,
1414
1473
  description: Optional[pulumi.Input[str]] = None,
@@ -1442,6 +1501,7 @@ class Volume(pulumi.CustomResource):
1442
1501
  state: Optional[pulumi.Input[str]] = None,
1443
1502
  state_details: Optional[pulumi.Input[str]] = None,
1444
1503
  storage_pool: Optional[pulumi.Input[str]] = None,
1504
+ tiering_policy: Optional[pulumi.Input[Union['VolumeTieringPolicyArgs', 'VolumeTieringPolicyArgsDict']]] = None,
1445
1505
  unix_permissions: Optional[pulumi.Input[str]] = None,
1446
1506
  used_gib: Optional[pulumi.Input[str]] = None,
1447
1507
  zone: Optional[pulumi.Input[str]] = None) -> 'Volume':
@@ -1456,6 +1516,7 @@ class Volume(pulumi.CustomResource):
1456
1516
  :param pulumi.Input[Union['VolumeBackupConfigArgs', 'VolumeBackupConfigArgsDict']] backup_config: Backup configuration for the volume.
1457
1517
  Structure is documented below.
1458
1518
  :param pulumi.Input[str] capacity_gib: Capacity of the volume (in GiB).
1519
+ :param pulumi.Input[str] cold_tier_size_gib: Output only. Size of the volume cold tier data in GiB.
1459
1520
  :param pulumi.Input[str] create_time: Create time of the volume. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
1460
1521
  :param pulumi.Input[str] deletion_policy: Policy to determine if the volume should be deleted forcefully.
1461
1522
  Volumes may have nested snapshot resources. Deleting such a volume will fail.
@@ -1511,6 +1572,8 @@ class Volume(pulumi.CustomResource):
1511
1572
  :param pulumi.Input[str] state: State of the volume.
1512
1573
  :param pulumi.Input[str] state_details: State details of the volume.
1513
1574
  :param pulumi.Input[str] storage_pool: Name of the storage pool to create the volume in. Pool needs enough spare capacity to accomodate the volume.
1575
+ :param pulumi.Input[Union['VolumeTieringPolicyArgs', 'VolumeTieringPolicyArgsDict']] tiering_policy: Tiering policy for the volume.
1576
+ Structure is documented below.
1514
1577
  :param pulumi.Input[str] unix_permissions: Unix permission the mount point will be created with. Default is 0770. Applicable for UNIX security style volumes only.
1515
1578
  :param pulumi.Input[str] used_gib: Used capacity of the volume (in GiB). This is computed periodically and it does not represent the realtime usage.
1516
1579
  :param pulumi.Input[str] zone: Specifies the active zone for regional volume.
@@ -1522,6 +1585,7 @@ class Volume(pulumi.CustomResource):
1522
1585
  __props__.__dict__["active_directory"] = active_directory
1523
1586
  __props__.__dict__["backup_config"] = backup_config
1524
1587
  __props__.__dict__["capacity_gib"] = capacity_gib
1588
+ __props__.__dict__["cold_tier_size_gib"] = cold_tier_size_gib
1525
1589
  __props__.__dict__["create_time"] = create_time
1526
1590
  __props__.__dict__["deletion_policy"] = deletion_policy
1527
1591
  __props__.__dict__["description"] = description
@@ -1555,6 +1619,7 @@ class Volume(pulumi.CustomResource):
1555
1619
  __props__.__dict__["state"] = state
1556
1620
  __props__.__dict__["state_details"] = state_details
1557
1621
  __props__.__dict__["storage_pool"] = storage_pool
1622
+ __props__.__dict__["tiering_policy"] = tiering_policy
1558
1623
  __props__.__dict__["unix_permissions"] = unix_permissions
1559
1624
  __props__.__dict__["used_gib"] = used_gib
1560
1625
  __props__.__dict__["zone"] = zone
@@ -1585,6 +1650,14 @@ class Volume(pulumi.CustomResource):
1585
1650
  """
1586
1651
  return pulumi.get(self, "capacity_gib")
1587
1652
 
1653
+ @property
1654
+ @pulumi.getter(name="coldTierSizeGib")
1655
+ def cold_tier_size_gib(self) -> pulumi.Output[str]:
1656
+ """
1657
+ Output only. Size of the volume cold tier data in GiB.
1658
+ """
1659
+ return pulumi.get(self, "cold_tier_size_gib")
1660
+
1588
1661
  @property
1589
1662
  @pulumi.getter(name="createTime")
1590
1663
  def create_time(self) -> pulumi.Output[str]:
@@ -1871,6 +1944,15 @@ class Volume(pulumi.CustomResource):
1871
1944
  """
1872
1945
  return pulumi.get(self, "storage_pool")
1873
1946
 
1947
+ @property
1948
+ @pulumi.getter(name="tieringPolicy")
1949
+ def tiering_policy(self) -> pulumi.Output[Optional['outputs.VolumeTieringPolicy']]:
1950
+ """
1951
+ Tiering policy for the volume.
1952
+ Structure is documented below.
1953
+ """
1954
+ return pulumi.get(self, "tiering_policy")
1955
+
1874
1956
  @property
1875
1957
  @pulumi.getter(name="unixPermissions")
1876
1958
  def unix_permissions(self) -> pulumi.Output[str]:
pulumi_gcp/provider.py CHANGED
@@ -164,6 +164,7 @@ class ProviderArgs:
164
164
  runtimeconfig_custom_endpoint: Optional[pulumi.Input[str]] = None,
165
165
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
166
166
  secret_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
167
+ secret_manager_regional_custom_endpoint: Optional[pulumi.Input[str]] = None,
167
168
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
168
169
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
169
170
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -489,6 +490,8 @@ class ProviderArgs:
489
490
  pulumi.set(__self__, "scopes", scopes)
490
491
  if secret_manager_custom_endpoint is not None:
491
492
  pulumi.set(__self__, "secret_manager_custom_endpoint", secret_manager_custom_endpoint)
493
+ if secret_manager_regional_custom_endpoint is not None:
494
+ pulumi.set(__self__, "secret_manager_regional_custom_endpoint", secret_manager_regional_custom_endpoint)
492
495
  if secure_source_manager_custom_endpoint is not None:
493
496
  pulumi.set(__self__, "secure_source_manager_custom_endpoint", secure_source_manager_custom_endpoint)
494
497
  if security_center_custom_endpoint is not None:
@@ -1848,6 +1851,15 @@ class ProviderArgs:
1848
1851
  def secret_manager_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
1849
1852
  pulumi.set(self, "secret_manager_custom_endpoint", value)
1850
1853
 
1854
+ @property
1855
+ @pulumi.getter(name="secretManagerRegionalCustomEndpoint")
1856
+ def secret_manager_regional_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
1857
+ return pulumi.get(self, "secret_manager_regional_custom_endpoint")
1858
+
1859
+ @secret_manager_regional_custom_endpoint.setter
1860
+ def secret_manager_regional_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
1861
+ pulumi.set(self, "secret_manager_regional_custom_endpoint", value)
1862
+
1851
1863
  @property
1852
1864
  @pulumi.getter(name="secureSourceManagerCustomEndpoint")
1853
1865
  def secure_source_manager_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
@@ -2268,6 +2280,7 @@ class Provider(pulumi.ProviderResource):
2268
2280
  runtimeconfig_custom_endpoint: Optional[pulumi.Input[str]] = None,
2269
2281
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2270
2282
  secret_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2283
+ secret_manager_regional_custom_endpoint: Optional[pulumi.Input[str]] = None,
2271
2284
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2272
2285
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
2273
2286
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -2479,6 +2492,7 @@ class Provider(pulumi.ProviderResource):
2479
2492
  runtimeconfig_custom_endpoint: Optional[pulumi.Input[str]] = None,
2480
2493
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2481
2494
  secret_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2495
+ secret_manager_regional_custom_endpoint: Optional[pulumi.Input[str]] = None,
2482
2496
  secure_source_manager_custom_endpoint: Optional[pulumi.Input[str]] = None,
2483
2497
  security_center_custom_endpoint: Optional[pulumi.Input[str]] = None,
2484
2498
  security_center_management_custom_endpoint: Optional[pulumi.Input[str]] = None,
@@ -2666,6 +2680,7 @@ class Provider(pulumi.ProviderResource):
2666
2680
  __props__.__dict__["runtimeconfig_custom_endpoint"] = runtimeconfig_custom_endpoint
2667
2681
  __props__.__dict__["scopes"] = pulumi.Output.from_input(scopes).apply(pulumi.runtime.to_json) if scopes is not None else None
2668
2682
  __props__.__dict__["secret_manager_custom_endpoint"] = secret_manager_custom_endpoint
2683
+ __props__.__dict__["secret_manager_regional_custom_endpoint"] = secret_manager_regional_custom_endpoint
2669
2684
  __props__.__dict__["secure_source_manager_custom_endpoint"] = secure_source_manager_custom_endpoint
2670
2685
  __props__.__dict__["security_center_custom_endpoint"] = security_center_custom_endpoint
2671
2686
  __props__.__dict__["security_center_management_custom_endpoint"] = security_center_management_custom_endpoint
@@ -3396,6 +3411,11 @@ class Provider(pulumi.ProviderResource):
3396
3411
  def secret_manager_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
3397
3412
  return pulumi.get(self, "secret_manager_custom_endpoint")
3398
3413
 
3414
+ @property
3415
+ @pulumi.getter(name="secretManagerRegionalCustomEndpoint")
3416
+ def secret_manager_regional_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
3417
+ return pulumi.get(self, "secret_manager_regional_custom_endpoint")
3418
+
3399
3419
  @property
3400
3420
  @pulumi.getter(name="secureSourceManagerCustomEndpoint")
3401
3421
  def secure_source_manager_custom_endpoint(self) -> pulumi.Output[Optional[str]]: