pulumi-gcp 8.25.1__py3-none-any.whl → 8.26.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 (57) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
  3. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
  4. pulumi_gcp/accesscontextmanager/outputs.py +95 -0
  5. pulumi_gcp/apigee/__init__.py +1 -0
  6. pulumi_gcp/apigee/control_plane_access.py +419 -0
  7. pulumi_gcp/clouddeploy/__init__.py +1 -0
  8. pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
  9. pulumi_gcp/clouddeploy/automation.py +64 -2
  10. pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
  11. pulumi_gcp/clouddeploy/outputs.py +1130 -5
  12. pulumi_gcp/cloudrunv2/service.py +2 -2
  13. pulumi_gcp/compute/_inputs.py +20 -0
  14. pulumi_gcp/compute/outputs.py +25 -0
  15. pulumi_gcp/compute/resource_policy.py +30 -0
  16. pulumi_gcp/datastream/_inputs.py +506 -0
  17. pulumi_gcp/datastream/outputs.py +376 -0
  18. pulumi_gcp/datastream/stream.py +0 -2
  19. pulumi_gcp/firebase/hosting_version.py +34 -14
  20. pulumi_gcp/folder/__init__.py +1 -0
  21. pulumi_gcp/folder/service_identity.py +340 -0
  22. pulumi_gcp/gemini/__init__.py +2 -0
  23. pulumi_gcp/gemini/_inputs.py +176 -0
  24. pulumi_gcp/gemini/code_tools_setting.py +601 -0
  25. pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
  26. pulumi_gcp/gemini/outputs.py +124 -0
  27. pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
  28. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
  29. pulumi_gcp/memorystore/_inputs.py +136 -0
  30. pulumi_gcp/memorystore/get_instance.py +12 -1
  31. pulumi_gcp/memorystore/instance.py +54 -0
  32. pulumi_gcp/memorystore/outputs.py +190 -0
  33. pulumi_gcp/netapp/_inputs.py +89 -3
  34. pulumi_gcp/netapp/outputs.py +75 -2
  35. pulumi_gcp/netapp/volume_replication.py +12 -2
  36. pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
  37. pulumi_gcp/osconfig/__init__.py +1 -0
  38. pulumi_gcp/osconfig/_inputs.py +5439 -0
  39. pulumi_gcp/osconfig/outputs.py +3978 -0
  40. pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1047 -0
  41. pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
  42. pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
  43. pulumi_gcp/parametermanager/outputs.py +11 -0
  44. pulumi_gcp/parametermanager/regional_parameter.py +78 -0
  45. pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
  46. pulumi_gcp/pulumi-plugin.json +1 -1
  47. pulumi_gcp/spanner/database.py +0 -34
  48. pulumi_gcp/storage/bucket_object.py +28 -0
  49. pulumi_gcp/storage/get_bucket_object.py +12 -1
  50. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  51. pulumi_gcp/workbench/_inputs.py +60 -0
  52. pulumi_gcp/workbench/instance.py +48 -0
  53. pulumi_gcp/workbench/outputs.py +55 -0
  54. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/METADATA +1 -1
  55. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/RECORD +57 -51
  56. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/WHEEL +0 -0
  57. {pulumi_gcp-8.25.1.dist-info → pulumi_gcp-8.26.0.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,7 @@ __all__ = [
22
22
  'VolumeExportPolicyRule',
23
23
  'VolumeMountOption',
24
24
  'VolumeReplicationDestinationVolumeParameters',
25
+ 'VolumeReplicationDestinationVolumeParametersTieringPolicy',
25
26
  'VolumeReplicationTransferStat',
26
27
  'VolumeRestoreParameters',
27
28
  'VolumeSnapshotPolicy',
@@ -385,6 +386,8 @@ class VolumeReplicationDestinationVolumeParameters(dict):
385
386
  suggest = "storage_pool"
386
387
  elif key == "shareName":
387
388
  suggest = "share_name"
389
+ elif key == "tieringPolicy":
390
+ suggest = "tiering_policy"
388
391
  elif key == "volumeId":
389
392
  suggest = "volume_id"
390
393
 
@@ -403,11 +406,14 @@ class VolumeReplicationDestinationVolumeParameters(dict):
403
406
  storage_pool: builtins.str,
404
407
  description: Optional[builtins.str] = None,
405
408
  share_name: Optional[builtins.str] = None,
409
+ tiering_policy: Optional['outputs.VolumeReplicationDestinationVolumeParametersTieringPolicy'] = None,
406
410
  volume_id: Optional[builtins.str] = None):
407
411
  """
408
412
  :param builtins.str storage_pool: Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
409
413
  :param builtins.str description: Description for the destination volume.
410
414
  :param builtins.str share_name: Share name for destination volume. If not specified, name of source volume's share name will be used.
415
+ :param 'VolumeReplicationDestinationVolumeParametersTieringPolicyArgs' tiering_policy: Tiering policy for the volume.
416
+ Structure is documented below.
411
417
  :param builtins.str volume_id: Name for the destination volume to be created. If not specified, the name of the source volume will be used.
412
418
  """
413
419
  pulumi.set(__self__, "storage_pool", storage_pool)
@@ -415,6 +421,8 @@ class VolumeReplicationDestinationVolumeParameters(dict):
415
421
  pulumi.set(__self__, "description", description)
416
422
  if share_name is not None:
417
423
  pulumi.set(__self__, "share_name", share_name)
424
+ if tiering_policy is not None:
425
+ pulumi.set(__self__, "tiering_policy", tiering_policy)
418
426
  if volume_id is not None:
419
427
  pulumi.set(__self__, "volume_id", volume_id)
420
428
 
@@ -442,6 +450,15 @@ class VolumeReplicationDestinationVolumeParameters(dict):
442
450
  """
443
451
  return pulumi.get(self, "share_name")
444
452
 
453
+ @property
454
+ @pulumi.getter(name="tieringPolicy")
455
+ def tiering_policy(self) -> Optional['outputs.VolumeReplicationDestinationVolumeParametersTieringPolicy']:
456
+ """
457
+ Tiering policy for the volume.
458
+ Structure is documented below.
459
+ """
460
+ return pulumi.get(self, "tiering_policy")
461
+
445
462
  @property
446
463
  @pulumi.getter(name="volumeId")
447
464
  def volume_id(self) -> Optional[builtins.str]:
@@ -451,6 +468,62 @@ class VolumeReplicationDestinationVolumeParameters(dict):
451
468
  return pulumi.get(self, "volume_id")
452
469
 
453
470
 
471
+ @pulumi.output_type
472
+ class VolumeReplicationDestinationVolumeParametersTieringPolicy(dict):
473
+ @staticmethod
474
+ def __key_warning(key: str):
475
+ suggest = None
476
+ if key == "coolingThresholdDays":
477
+ suggest = "cooling_threshold_days"
478
+ elif key == "tierAction":
479
+ suggest = "tier_action"
480
+
481
+ if suggest:
482
+ pulumi.log.warn(f"Key '{key}' not found in VolumeReplicationDestinationVolumeParametersTieringPolicy. Access the value via the '{suggest}' property getter instead.")
483
+
484
+ def __getitem__(self, key: str) -> Any:
485
+ VolumeReplicationDestinationVolumeParametersTieringPolicy.__key_warning(key)
486
+ return super().__getitem__(key)
487
+
488
+ def get(self, key: str, default = None) -> Any:
489
+ VolumeReplicationDestinationVolumeParametersTieringPolicy.__key_warning(key)
490
+ return super().get(key, default)
491
+
492
+ def __init__(__self__, *,
493
+ cooling_threshold_days: Optional[builtins.int] = None,
494
+ tier_action: Optional[builtins.str] = None):
495
+ """
496
+ :param builtins.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 2-183.
497
+ Default is 31.
498
+ :param builtins.str tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
499
+ Default value is `PAUSED`.
500
+ Possible values are: `ENABLED`, `PAUSED`.
501
+ """
502
+ if cooling_threshold_days is not None:
503
+ pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
504
+ if tier_action is not None:
505
+ pulumi.set(__self__, "tier_action", tier_action)
506
+
507
+ @property
508
+ @pulumi.getter(name="coolingThresholdDays")
509
+ def cooling_threshold_days(self) -> Optional[builtins.int]:
510
+ """
511
+ Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
512
+ Default is 31.
513
+ """
514
+ return pulumi.get(self, "cooling_threshold_days")
515
+
516
+ @property
517
+ @pulumi.getter(name="tierAction")
518
+ def tier_action(self) -> Optional[builtins.str]:
519
+ """
520
+ Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
521
+ Default value is `PAUSED`.
522
+ Possible values are: `ENABLED`, `PAUSED`.
523
+ """
524
+ return pulumi.get(self, "tier_action")
525
+
526
+
454
527
  @pulumi.output_type
455
528
  class VolumeReplicationTransferStat(dict):
456
529
  @staticmethod
@@ -1038,7 +1111,7 @@ class VolumeTieringPolicy(dict):
1038
1111
  cooling_threshold_days: Optional[builtins.int] = None,
1039
1112
  tier_action: Optional[builtins.str] = None):
1040
1113
  """
1041
- :param builtins.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.
1114
+ :param builtins.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 2-183.
1042
1115
  Default is 31.
1043
1116
  :param builtins.str tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
1044
1117
  Default value is `PAUSED`.
@@ -1053,7 +1126,7 @@ class VolumeTieringPolicy(dict):
1053
1126
  @pulumi.getter(name="coolingThresholdDays")
1054
1127
  def cooling_threshold_days(self) -> Optional[builtins.int]:
1055
1128
  """
1056
- 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.
1129
+ Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
1057
1130
  Default is 31.
1058
1131
  """
1059
1132
  return pulumi.get(self, "cooling_threshold_days")
@@ -693,7 +693,8 @@ class VolumeReplication(pulumi.CustomResource):
693
693
  location="us-west2",
694
694
  service_level="PREMIUM",
695
695
  capacity_gib="2048",
696
- network=default.id)
696
+ network=default.id,
697
+ allow_auto_tiering=True)
697
698
  source_volume = gcp.netapp.Volume("source_volume",
698
699
  location=source_pool.location,
699
700
  name="source-volume",
@@ -713,6 +714,10 @@ class VolumeReplication(pulumi.CustomResource):
713
714
  "volume_id": "destination-volume",
714
715
  "share_name": "source-volume",
715
716
  "description": "This is a replicated volume",
717
+ "tiering_policy": {
718
+ "cooling_threshold_days": 20,
719
+ "tier_action": "ENABLED",
720
+ },
716
721
  },
717
722
  delete_destination_volume=True,
718
723
  wait_for_mirror=True,
@@ -798,7 +803,8 @@ class VolumeReplication(pulumi.CustomResource):
798
803
  location="us-west2",
799
804
  service_level="PREMIUM",
800
805
  capacity_gib="2048",
801
- network=default.id)
806
+ network=default.id,
807
+ allow_auto_tiering=True)
802
808
  source_volume = gcp.netapp.Volume("source_volume",
803
809
  location=source_pool.location,
804
810
  name="source-volume",
@@ -818,6 +824,10 @@ class VolumeReplication(pulumi.CustomResource):
818
824
  "volume_id": "destination-volume",
819
825
  "share_name": "source-volume",
820
826
  "description": "This is a replicated volume",
827
+ "tiering_policy": {
828
+ "cooling_threshold_days": 20,
829
+ "tier_action": "ENABLED",
830
+ },
821
831
  },
822
832
  delete_destination_volume=True,
823
833
  wait_for_mirror=True,
@@ -459,9 +459,10 @@ class ServiceConnectionPolicy(pulumi.CustomResource):
459
459
 
460
460
  To get more information about ServiceConnectionPolicy, see:
461
461
 
462
- * [API documentation](https://cloud.google.com/secure-web-proxy/docs/reference/networkconnectivity/rest/v1/projects.locations.networkConnectionPolicies)
462
+ * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.serviceConnectionPolicies)
463
463
  * How-to Guides
464
464
  * [About Service Connection Policies](https://cloud.google.com/vpc/docs/about-service-connection-policies#service-policies)
465
+ * [About Service Connectivity Automation](https://cloud.google.com/vpc/docs/about-service-connectivity-automation)
465
466
 
466
467
  ## Example Usage
467
468
 
@@ -546,9 +547,10 @@ class ServiceConnectionPolicy(pulumi.CustomResource):
546
547
 
547
548
  To get more information about ServiceConnectionPolicy, see:
548
549
 
549
- * [API documentation](https://cloud.google.com/secure-web-proxy/docs/reference/networkconnectivity/rest/v1/projects.locations.networkConnectionPolicies)
550
+ * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.serviceConnectionPolicies)
550
551
  * How-to Guides
551
552
  * [About Service Connection Policies](https://cloud.google.com/vpc/docs/about-service-connection-policies#service-policies)
553
+ * [About Service Connectivity Automation](https://cloud.google.com/vpc/docs/about-service-connectivity-automation)
552
554
 
553
555
  ## Example Usage
554
556
 
@@ -10,5 +10,6 @@ from .guest_policies import *
10
10
  from .os_policy_assignment import *
11
11
  from .patch_deployment import *
12
12
  from .v2_policy_orchestrator import *
13
+ from .v2_policy_orchestrator_for_organization import *
13
14
  from ._inputs import *
14
15
  from . import outputs