pulumi-gcp 8.28.0a1745598508__py3-none-any.whl → 8.29.0a1746076904__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 (78) hide show
  1. pulumi_gcp/__init__.py +88 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +399 -0
  3. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +54 -0
  4. pulumi_gcp/accesscontextmanager/outputs.py +369 -0
  5. pulumi_gcp/alloydb/_inputs.py +47 -1
  6. pulumi_gcp/alloydb/outputs.py +61 -3
  7. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +8 -2
  8. pulumi_gcp/applicationintegration/client.py +34 -12
  9. pulumi_gcp/artifactregistry/outputs.py +2 -2
  10. pulumi_gcp/certificateauthority/_inputs.py +32 -0
  11. pulumi_gcp/certificateauthority/ca_pool.py +2 -0
  12. pulumi_gcp/certificateauthority/outputs.py +22 -0
  13. pulumi_gcp/clouddeploy/_inputs.py +0 -6
  14. pulumi_gcp/clouddeploy/delivery_pipeline.py +84 -77
  15. pulumi_gcp/clouddeploy/outputs.py +0 -4
  16. pulumi_gcp/cloudrunv2/_inputs.py +3 -3
  17. pulumi_gcp/cloudrunv2/outputs.py +4 -4
  18. pulumi_gcp/colab/runtime_template.py +3 -3
  19. pulumi_gcp/compute/__init__.py +7 -0
  20. pulumi_gcp/compute/_inputs.py +809 -1
  21. pulumi_gcp/compute/backend_service.py +89 -0
  22. pulumi_gcp/compute/firewall_policy_with_rules.py +2 -2
  23. pulumi_gcp/compute/get_backend_service.py +12 -1
  24. pulumi_gcp/compute/get_storage_pool_iam_policy.py +183 -0
  25. pulumi_gcp/compute/get_storage_pool_types.py +268 -0
  26. pulumi_gcp/compute/outputs.py +743 -3
  27. pulumi_gcp/compute/resource_policy_attachment.py +476 -0
  28. pulumi_gcp/compute/storage_pool.py +1045 -0
  29. pulumi_gcp/compute/storage_pool_iam_binding.py +1088 -0
  30. pulumi_gcp/compute/storage_pool_iam_member.py +1088 -0
  31. pulumi_gcp/compute/storage_pool_iam_policy.py +907 -0
  32. pulumi_gcp/config/__init__.pyi +2 -0
  33. pulumi_gcp/config/vars.py +4 -0
  34. pulumi_gcp/container/_inputs.py +63 -3
  35. pulumi_gcp/container/outputs.py +70 -6
  36. pulumi_gcp/dataproc/get_metastore_service.py +12 -1
  37. pulumi_gcp/dataproc/metastore_service.py +61 -0
  38. pulumi_gcp/datastream/connection_profile.py +40 -0
  39. pulumi_gcp/discoveryengine/_inputs.py +38 -0
  40. pulumi_gcp/discoveryengine/chat_engine.py +6 -4
  41. pulumi_gcp/discoveryengine/outputs.py +26 -0
  42. pulumi_gcp/firebaserules/_inputs.py +6 -6
  43. pulumi_gcp/firebaserules/outputs.py +4 -4
  44. pulumi_gcp/gkebackup/__init__.py +2 -0
  45. pulumi_gcp/gkebackup/backup_channel.py +737 -0
  46. pulumi_gcp/gkebackup/restore_channel.py +737 -0
  47. pulumi_gcp/gkehub/_inputs.py +208 -0
  48. pulumi_gcp/gkehub/outputs.py +171 -1
  49. pulumi_gcp/healthcare/pipeline_job.py +2 -2
  50. pulumi_gcp/iap/__init__.py +4 -0
  51. pulumi_gcp/iap/_inputs.py +130 -0
  52. pulumi_gcp/iap/get_web_cloud_run_service_iam_policy.py +183 -0
  53. pulumi_gcp/iap/outputs.py +76 -0
  54. pulumi_gcp/iap/web_cloud_run_service_iam_binding.py +1089 -0
  55. pulumi_gcp/iap/web_cloud_run_service_iam_member.py +1089 -0
  56. pulumi_gcp/iap/web_cloud_run_service_iam_policy.py +908 -0
  57. pulumi_gcp/kms/key_ring_import_job.py +7 -7
  58. pulumi_gcp/managedkafka/connect_cluster.py +8 -4
  59. pulumi_gcp/managedkafka/connector.py +8 -4
  60. pulumi_gcp/monitoring/uptime_check_config.py +49 -0
  61. pulumi_gcp/networkconnectivity/internal_range.py +82 -0
  62. pulumi_gcp/projects/_inputs.py +0 -6
  63. pulumi_gcp/projects/api_key.py +28 -0
  64. pulumi_gcp/projects/outputs.py +0 -4
  65. pulumi_gcp/provider.py +20 -0
  66. pulumi_gcp/pulumi-plugin.json +1 -1
  67. pulumi_gcp/redis/get_instance.py +12 -1
  68. pulumi_gcp/redis/instance.py +61 -0
  69. pulumi_gcp/sql/_inputs.py +86 -6
  70. pulumi_gcp/sql/outputs.py +156 -12
  71. pulumi_gcp/storage/__init__.py +1 -0
  72. pulumi_gcp/storage/_inputs.py +457 -0
  73. pulumi_gcp/storage/batch_operations_job.py +776 -0
  74. pulumi_gcp/storage/outputs.py +403 -0
  75. {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/METADATA +1 -1
  76. {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/RECORD +78 -64
  77. {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/WHEEL +1 -1
  78. {pulumi_gcp-8.28.0a1745598508.dist-info → pulumi_gcp-8.29.0a1746076904.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/outputs.py CHANGED
@@ -690,6 +690,10 @@ class DatabaseInstanceSettings(dict):
690
690
  suggest = "connector_enforcement"
691
691
  elif key == "dataCacheConfig":
692
692
  suggest = "data_cache_config"
693
+ elif key == "dataDiskProvisionedIops":
694
+ suggest = "data_disk_provisioned_iops"
695
+ elif key == "dataDiskProvisionedThroughput":
696
+ suggest = "data_disk_provisioned_throughput"
693
697
  elif key == "databaseFlags":
694
698
  suggest = "database_flags"
695
699
  elif key == "deletionProtectionEnabled":
@@ -720,6 +724,8 @@ class DatabaseInstanceSettings(dict):
720
724
  suggest = "password_validation_policy"
721
725
  elif key == "pricingPlan":
722
726
  suggest = "pricing_plan"
727
+ elif key == "retainBackupsOnDelete":
728
+ suggest = "retain_backups_on_delete"
723
729
  elif key == "sqlServerAuditConfig":
724
730
  suggest = "sql_server_audit_config"
725
731
  elif key == "timeZone":
@@ -748,6 +754,8 @@ class DatabaseInstanceSettings(dict):
748
754
  collation: Optional[builtins.str] = None,
749
755
  connector_enforcement: Optional[builtins.str] = None,
750
756
  data_cache_config: Optional['outputs.DatabaseInstanceSettingsDataCacheConfig'] = None,
757
+ data_disk_provisioned_iops: Optional[builtins.int] = None,
758
+ data_disk_provisioned_throughput: Optional[builtins.int] = None,
751
759
  database_flags: Optional[Sequence['outputs.DatabaseInstanceSettingsDatabaseFlag']] = None,
752
760
  deletion_protection_enabled: Optional[builtins.bool] = None,
753
761
  deny_maintenance_period: Optional['outputs.DatabaseInstanceSettingsDenyMaintenancePeriod'] = None,
@@ -764,6 +772,7 @@ class DatabaseInstanceSettings(dict):
764
772
  maintenance_window: Optional['outputs.DatabaseInstanceSettingsMaintenanceWindow'] = None,
765
773
  password_validation_policy: Optional['outputs.DatabaseInstanceSettingsPasswordValidationPolicy'] = None,
766
774
  pricing_plan: Optional[builtins.str] = None,
775
+ retain_backups_on_delete: Optional[builtins.bool] = None,
767
776
  sql_server_audit_config: Optional['outputs.DatabaseInstanceSettingsSqlServerAuditConfig'] = None,
768
777
  time_zone: Optional[builtins.str] = None,
769
778
  user_labels: Optional[Mapping[str, builtins.str]] = None,
@@ -783,17 +792,20 @@ class DatabaseInstanceSettings(dict):
783
792
  :param builtins.str collation: The name of server instance collation.
784
793
  :param builtins.str connector_enforcement: Control the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections, can be `REQUIRED` or `NOT_REQUIRED`. If enabled, all the direct connections are rejected.
785
794
  :param 'DatabaseInstanceSettingsDataCacheConfigArgs' data_cache_config: Data cache configurations.
795
+ :param builtins.int data_disk_provisioned_iops: Provisioned number of I/O operations per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
796
+ :param builtins.int data_disk_provisioned_throughput: Provisioned throughput measured in MiB per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
786
797
  :param builtins.bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
787
798
  :param builtins.bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
788
799
  :param builtins.int disk_autoresize_limit: The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
789
- :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
790
- :param builtins.str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
800
+ :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
801
+ :param builtins.str disk_type: The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to `PD_SSD`. HYPERDISK_BALANCED is preview.
791
802
  :param builtins.str edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
792
803
  :param builtins.bool enable_dataplex_integration: Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
793
804
  :param builtins.bool enable_google_ml_integration: Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
794
805
  :param 'DatabaseInstanceSettingsInsightsConfigArgs' insights_config: Configuration of Query Insights.
795
806
  :param 'DatabaseInstanceSettingsMaintenanceWindowArgs' maintenance_window: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
796
807
  :param builtins.str pricing_plan: Pricing plan for this instance, can only be `PER_USE`.
808
+ :param builtins.bool retain_backups_on_delete: When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The `ON_DEMAND` backup will be retained until customer deletes the backup or the project. The `AUTOMATED` backup will be retained based on the backups retention setting.
797
809
  :param builtins.str time_zone: The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
798
810
  :param Mapping[str, builtins.str] user_labels: A set of key/value user label pairs to assign to the instance.
799
811
  :param builtins.int version: Used to make sure changes to the `settings` block are
@@ -816,6 +828,10 @@ class DatabaseInstanceSettings(dict):
816
828
  pulumi.set(__self__, "connector_enforcement", connector_enforcement)
817
829
  if data_cache_config is not None:
818
830
  pulumi.set(__self__, "data_cache_config", data_cache_config)
831
+ if data_disk_provisioned_iops is not None:
832
+ pulumi.set(__self__, "data_disk_provisioned_iops", data_disk_provisioned_iops)
833
+ if data_disk_provisioned_throughput is not None:
834
+ pulumi.set(__self__, "data_disk_provisioned_throughput", data_disk_provisioned_throughput)
819
835
  if database_flags is not None:
820
836
  pulumi.set(__self__, "database_flags", database_flags)
821
837
  if deletion_protection_enabled is not None:
@@ -848,6 +864,8 @@ class DatabaseInstanceSettings(dict):
848
864
  pulumi.set(__self__, "password_validation_policy", password_validation_policy)
849
865
  if pricing_plan is not None:
850
866
  pulumi.set(__self__, "pricing_plan", pricing_plan)
867
+ if retain_backups_on_delete is not None:
868
+ pulumi.set(__self__, "retain_backups_on_delete", retain_backups_on_delete)
851
869
  if sql_server_audit_config is not None:
852
870
  pulumi.set(__self__, "sql_server_audit_config", sql_server_audit_config)
853
871
  if time_zone is not None:
@@ -928,6 +946,22 @@ class DatabaseInstanceSettings(dict):
928
946
  """
929
947
  return pulumi.get(self, "data_cache_config")
930
948
 
949
+ @property
950
+ @pulumi.getter(name="dataDiskProvisionedIops")
951
+ def data_disk_provisioned_iops(self) -> Optional[builtins.int]:
952
+ """
953
+ Provisioned number of I/O operations per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
954
+ """
955
+ return pulumi.get(self, "data_disk_provisioned_iops")
956
+
957
+ @property
958
+ @pulumi.getter(name="dataDiskProvisionedThroughput")
959
+ def data_disk_provisioned_throughput(self) -> Optional[builtins.int]:
960
+ """
961
+ Provisioned throughput measured in MiB per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
962
+ """
963
+ return pulumi.get(self, "data_disk_provisioned_throughput")
964
+
931
965
  @property
932
966
  @pulumi.getter(name="databaseFlags")
933
967
  def database_flags(self) -> Optional[Sequence['outputs.DatabaseInstanceSettingsDatabaseFlag']]:
@@ -966,7 +1000,7 @@ class DatabaseInstanceSettings(dict):
966
1000
  @pulumi.getter(name="diskSize")
967
1001
  def disk_size(self) -> Optional[builtins.int]:
968
1002
  """
969
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
1003
+ The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
970
1004
  """
971
1005
  return pulumi.get(self, "disk_size")
972
1006
 
@@ -974,7 +1008,7 @@ class DatabaseInstanceSettings(dict):
974
1008
  @pulumi.getter(name="diskType")
975
1009
  def disk_type(self) -> Optional[builtins.str]:
976
1010
  """
977
- The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
1011
+ The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to `PD_SSD`. HYPERDISK_BALANCED is preview.
978
1012
  """
979
1013
  return pulumi.get(self, "disk_type")
980
1014
 
@@ -1041,6 +1075,14 @@ class DatabaseInstanceSettings(dict):
1041
1075
  """
1042
1076
  return pulumi.get(self, "pricing_plan")
1043
1077
 
1078
+ @property
1079
+ @pulumi.getter(name="retainBackupsOnDelete")
1080
+ def retain_backups_on_delete(self) -> Optional[builtins.bool]:
1081
+ """
1082
+ When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The `ON_DEMAND` backup will be retained until customer deletes the backup or the project. The `AUTOMATED` backup will be retained based on the backups retention setting.
1083
+ """
1084
+ return pulumi.get(self, "retain_backups_on_delete")
1085
+
1044
1086
  @property
1045
1087
  @pulumi.getter(name="sqlServerAuditConfig")
1046
1088
  def sql_server_audit_config(self) -> Optional['outputs.DatabaseInstanceSettingsSqlServerAuditConfig']:
@@ -1524,6 +1566,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1524
1566
  suggest = "allocated_ip_range"
1525
1567
  elif key == "authorizedNetworks":
1526
1568
  suggest = "authorized_networks"
1569
+ elif key == "customSubjectAlternativeNames":
1570
+ suggest = "custom_subject_alternative_names"
1527
1571
  elif key == "enablePrivatePathForGoogleCloudServices":
1528
1572
  suggest = "enable_private_path_for_google_cloud_services"
1529
1573
  elif key == "ipv4Enabled":
@@ -1553,6 +1597,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1553
1597
  def __init__(__self__, *,
1554
1598
  allocated_ip_range: Optional[builtins.str] = None,
1555
1599
  authorized_networks: Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork']] = None,
1600
+ custom_subject_alternative_names: Optional[Sequence[builtins.str]] = None,
1556
1601
  enable_private_path_for_google_cloud_services: Optional[builtins.bool] = None,
1557
1602
  ipv4_enabled: Optional[builtins.bool] = None,
1558
1603
  private_network: Optional[builtins.str] = None,
@@ -1562,6 +1607,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1562
1607
  ssl_mode: Optional[builtins.str] = None):
1563
1608
  """
1564
1609
  :param builtins.str allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
1610
+ :param Sequence[builtins.str] custom_subject_alternative_names: The custom subject alternative names for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
1565
1611
  :param builtins.bool enable_private_path_for_google_cloud_services: Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
1566
1612
  :param builtins.bool ipv4_enabled: Whether this Cloud SQL instance should be assigned
1567
1613
  a public IPV4 address. At least `ipv4_enabled` must be enabled or a
@@ -1580,6 +1626,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1580
1626
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
1581
1627
  if authorized_networks is not None:
1582
1628
  pulumi.set(__self__, "authorized_networks", authorized_networks)
1629
+ if custom_subject_alternative_names is not None:
1630
+ pulumi.set(__self__, "custom_subject_alternative_names", custom_subject_alternative_names)
1583
1631
  if enable_private_path_for_google_cloud_services is not None:
1584
1632
  pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
1585
1633
  if ipv4_enabled is not None:
@@ -1608,6 +1656,14 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
1608
1656
  def authorized_networks(self) -> Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork']]:
1609
1657
  return pulumi.get(self, "authorized_networks")
1610
1658
 
1659
+ @property
1660
+ @pulumi.getter(name="customSubjectAlternativeNames")
1661
+ def custom_subject_alternative_names(self) -> Optional[Sequence[builtins.str]]:
1662
+ """
1663
+ The custom subject alternative names for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
1664
+ """
1665
+ return pulumi.get(self, "custom_subject_alternative_names")
1666
+
1611
1667
  @property
1612
1668
  @pulumi.getter(name="enablePrivatePathForGoogleCloudServices")
1613
1669
  def enable_private_path_for_google_cloud_services(self) -> Optional[builtins.bool]:
@@ -2753,6 +2809,8 @@ class GetDatabaseInstanceSettingResult(dict):
2753
2809
  collation: builtins.str,
2754
2810
  connector_enforcement: builtins.str,
2755
2811
  data_cache_configs: Sequence['outputs.GetDatabaseInstanceSettingDataCacheConfigResult'],
2812
+ data_disk_provisioned_iops: builtins.int,
2813
+ data_disk_provisioned_throughput: builtins.int,
2756
2814
  database_flags: Sequence['outputs.GetDatabaseInstanceSettingDatabaseFlagResult'],
2757
2815
  deletion_protection_enabled: builtins.bool,
2758
2816
  deny_maintenance_periods: Sequence['outputs.GetDatabaseInstanceSettingDenyMaintenancePeriodResult'],
@@ -2769,6 +2827,7 @@ class GetDatabaseInstanceSettingResult(dict):
2769
2827
  maintenance_windows: Sequence['outputs.GetDatabaseInstanceSettingMaintenanceWindowResult'],
2770
2828
  password_validation_policies: Sequence['outputs.GetDatabaseInstanceSettingPasswordValidationPolicyResult'],
2771
2829
  pricing_plan: builtins.str,
2830
+ retain_backups_on_delete: builtins.bool,
2772
2831
  sql_server_audit_configs: Sequence['outputs.GetDatabaseInstanceSettingSqlServerAuditConfigResult'],
2773
2832
  tier: builtins.str,
2774
2833
  time_zone: builtins.str,
@@ -2785,17 +2844,20 @@ class GetDatabaseInstanceSettingResult(dict):
2785
2844
  :param builtins.str collation: The name of server instance collation.
2786
2845
  :param builtins.str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
2787
2846
  :param Sequence['GetDatabaseInstanceSettingDataCacheConfigArgs'] data_cache_configs: Data cache configurations.
2847
+ :param builtins.int data_disk_provisioned_iops: Provisioned number of I/O operations per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
2848
+ :param builtins.int data_disk_provisioned_throughput: Provisioned throughput measured in MiB per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
2788
2849
  :param builtins.bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
2789
2850
  :param builtins.bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to true.
2790
2851
  :param builtins.int disk_autoresize_limit: The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
2791
- :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
2792
- :param builtins.str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
2852
+ :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED.
2853
+ :param builtins.str disk_type: The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to PD_SSD.
2793
2854
  :param builtins.str edition: The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
2794
2855
  :param builtins.bool enable_dataplex_integration: Enables Dataplex Integration.
2795
2856
  :param builtins.bool enable_google_ml_integration: Enables Vertex AI Integration.
2796
2857
  :param Sequence['GetDatabaseInstanceSettingInsightsConfigArgs'] insights_configs: Configuration of Query Insights.
2797
2858
  :param Sequence['GetDatabaseInstanceSettingMaintenanceWindowArgs'] maintenance_windows: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
2798
2859
  :param builtins.str pricing_plan: Pricing plan for this instance, can only be PER_USE.
2860
+ :param builtins.bool retain_backups_on_delete: When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
2799
2861
  :param builtins.str tier: The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
2800
2862
  :param builtins.str time_zone: The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
2801
2863
  :param Mapping[str, builtins.str] user_labels: A set of key/value user label pairs to assign to the instance.
@@ -2809,6 +2871,8 @@ class GetDatabaseInstanceSettingResult(dict):
2809
2871
  pulumi.set(__self__, "collation", collation)
2810
2872
  pulumi.set(__self__, "connector_enforcement", connector_enforcement)
2811
2873
  pulumi.set(__self__, "data_cache_configs", data_cache_configs)
2874
+ pulumi.set(__self__, "data_disk_provisioned_iops", data_disk_provisioned_iops)
2875
+ pulumi.set(__self__, "data_disk_provisioned_throughput", data_disk_provisioned_throughput)
2812
2876
  pulumi.set(__self__, "database_flags", database_flags)
2813
2877
  pulumi.set(__self__, "deletion_protection_enabled", deletion_protection_enabled)
2814
2878
  pulumi.set(__self__, "deny_maintenance_periods", deny_maintenance_periods)
@@ -2825,6 +2889,7 @@ class GetDatabaseInstanceSettingResult(dict):
2825
2889
  pulumi.set(__self__, "maintenance_windows", maintenance_windows)
2826
2890
  pulumi.set(__self__, "password_validation_policies", password_validation_policies)
2827
2891
  pulumi.set(__self__, "pricing_plan", pricing_plan)
2892
+ pulumi.set(__self__, "retain_backups_on_delete", retain_backups_on_delete)
2828
2893
  pulumi.set(__self__, "sql_server_audit_configs", sql_server_audit_configs)
2829
2894
  pulumi.set(__self__, "tier", tier)
2830
2895
  pulumi.set(__self__, "time_zone", time_zone)
@@ -2891,6 +2956,22 @@ class GetDatabaseInstanceSettingResult(dict):
2891
2956
  """
2892
2957
  return pulumi.get(self, "data_cache_configs")
2893
2958
 
2959
+ @property
2960
+ @pulumi.getter(name="dataDiskProvisionedIops")
2961
+ def data_disk_provisioned_iops(self) -> builtins.int:
2962
+ """
2963
+ Provisioned number of I/O operations per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
2964
+ """
2965
+ return pulumi.get(self, "data_disk_provisioned_iops")
2966
+
2967
+ @property
2968
+ @pulumi.getter(name="dataDiskProvisionedThroughput")
2969
+ def data_disk_provisioned_throughput(self) -> builtins.int:
2970
+ """
2971
+ Provisioned throughput measured in MiB per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
2972
+ """
2973
+ return pulumi.get(self, "data_disk_provisioned_throughput")
2974
+
2894
2975
  @property
2895
2976
  @pulumi.getter(name="databaseFlags")
2896
2977
  def database_flags(self) -> Sequence['outputs.GetDatabaseInstanceSettingDatabaseFlagResult']:
@@ -2929,7 +3010,7 @@ class GetDatabaseInstanceSettingResult(dict):
2929
3010
  @pulumi.getter(name="diskSize")
2930
3011
  def disk_size(self) -> builtins.int:
2931
3012
  """
2932
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
3013
+ The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED.
2933
3014
  """
2934
3015
  return pulumi.get(self, "disk_size")
2935
3016
 
@@ -2937,7 +3018,7 @@ class GetDatabaseInstanceSettingResult(dict):
2937
3018
  @pulumi.getter(name="diskType")
2938
3019
  def disk_type(self) -> builtins.str:
2939
3020
  """
2940
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
3021
+ The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to PD_SSD.
2941
3022
  """
2942
3023
  return pulumi.get(self, "disk_type")
2943
3024
 
@@ -3004,6 +3085,14 @@ class GetDatabaseInstanceSettingResult(dict):
3004
3085
  """
3005
3086
  return pulumi.get(self, "pricing_plan")
3006
3087
 
3088
+ @property
3089
+ @pulumi.getter(name="retainBackupsOnDelete")
3090
+ def retain_backups_on_delete(self) -> builtins.bool:
3091
+ """
3092
+ When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
3093
+ """
3094
+ return pulumi.get(self, "retain_backups_on_delete")
3095
+
3007
3096
  @property
3008
3097
  @pulumi.getter(name="sqlServerAuditConfigs")
3009
3098
  def sql_server_audit_configs(self) -> Sequence['outputs.GetDatabaseInstanceSettingSqlServerAuditConfigResult']:
@@ -3341,6 +3430,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3341
3430
  def __init__(__self__, *,
3342
3431
  allocated_ip_range: builtins.str,
3343
3432
  authorized_networks: Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkResult'],
3433
+ custom_subject_alternative_names: Sequence[builtins.str],
3344
3434
  enable_private_path_for_google_cloud_services: builtins.bool,
3345
3435
  ipv4_enabled: builtins.bool,
3346
3436
  private_network: builtins.str,
@@ -3350,6 +3440,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3350
3440
  ssl_mode: builtins.str):
3351
3441
  """
3352
3442
  :param builtins.str allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
3443
+ :param Sequence[builtins.str] custom_subject_alternative_names: The custom subject alternative names for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
3353
3444
  :param builtins.bool enable_private_path_for_google_cloud_services: Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
3354
3445
  :param builtins.bool ipv4_enabled: Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
3355
3446
  :param builtins.str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
@@ -3360,6 +3451,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3360
3451
  """
3361
3452
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
3362
3453
  pulumi.set(__self__, "authorized_networks", authorized_networks)
3454
+ pulumi.set(__self__, "custom_subject_alternative_names", custom_subject_alternative_names)
3363
3455
  pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
3364
3456
  pulumi.set(__self__, "ipv4_enabled", ipv4_enabled)
3365
3457
  pulumi.set(__self__, "private_network", private_network)
@@ -3381,6 +3473,14 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
3381
3473
  def authorized_networks(self) -> Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkResult']:
3382
3474
  return pulumi.get(self, "authorized_networks")
3383
3475
 
3476
+ @property
3477
+ @pulumi.getter(name="customSubjectAlternativeNames")
3478
+ def custom_subject_alternative_names(self) -> Sequence[builtins.str]:
3479
+ """
3480
+ The custom subject alternative names for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
3481
+ """
3482
+ return pulumi.get(self, "custom_subject_alternative_names")
3483
+
3384
3484
  @property
3385
3485
  @pulumi.getter(name="enablePrivatePathForGoogleCloudServices")
3386
3486
  def enable_private_path_for_google_cloud_services(self) -> builtins.bool:
@@ -4369,6 +4469,8 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4369
4469
  collation: builtins.str,
4370
4470
  connector_enforcement: builtins.str,
4371
4471
  data_cache_configs: Sequence['outputs.GetDatabaseInstancesInstanceSettingDataCacheConfigResult'],
4472
+ data_disk_provisioned_iops: builtins.int,
4473
+ data_disk_provisioned_throughput: builtins.int,
4372
4474
  database_flags: Sequence['outputs.GetDatabaseInstancesInstanceSettingDatabaseFlagResult'],
4373
4475
  deletion_protection_enabled: builtins.bool,
4374
4476
  deny_maintenance_periods: Sequence['outputs.GetDatabaseInstancesInstanceSettingDenyMaintenancePeriodResult'],
@@ -4385,6 +4487,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4385
4487
  maintenance_windows: Sequence['outputs.GetDatabaseInstancesInstanceSettingMaintenanceWindowResult'],
4386
4488
  password_validation_policies: Sequence['outputs.GetDatabaseInstancesInstanceSettingPasswordValidationPolicyResult'],
4387
4489
  pricing_plan: builtins.str,
4490
+ retain_backups_on_delete: builtins.bool,
4388
4491
  sql_server_audit_configs: Sequence['outputs.GetDatabaseInstancesInstanceSettingSqlServerAuditConfigResult'],
4389
4492
  tier: builtins.str,
4390
4493
  time_zone: builtins.str,
@@ -4401,17 +4504,20 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4401
4504
  :param builtins.str collation: The name of server instance collation.
4402
4505
  :param builtins.str connector_enforcement: Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
4403
4506
  :param Sequence['GetDatabaseInstancesInstanceSettingDataCacheConfigArgs'] data_cache_configs: Data cache configurations.
4507
+ :param builtins.int data_disk_provisioned_iops: Provisioned number of I/O operations per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
4508
+ :param builtins.int data_disk_provisioned_throughput: Provisioned throughput measured in MiB per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
4404
4509
  :param builtins.bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
4405
4510
  :param builtins.bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to true.
4406
4511
  :param builtins.int disk_autoresize_limit: The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
4407
- :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
4408
- :param builtins.str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
4512
+ :param builtins.int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED.
4513
+ :param builtins.str disk_type: The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to PD_SSD.
4409
4514
  :param builtins.str edition: The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
4410
4515
  :param builtins.bool enable_dataplex_integration: Enables Dataplex Integration.
4411
4516
  :param builtins.bool enable_google_ml_integration: Enables Vertex AI Integration.
4412
4517
  :param Sequence['GetDatabaseInstancesInstanceSettingInsightsConfigArgs'] insights_configs: Configuration of Query Insights.
4413
4518
  :param Sequence['GetDatabaseInstancesInstanceSettingMaintenanceWindowArgs'] maintenance_windows: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
4414
4519
  :param builtins.str pricing_plan: Pricing plan for this instance, can only be PER_USE.
4520
+ :param builtins.bool retain_backups_on_delete: When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
4415
4521
  :param builtins.str tier: To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
4416
4522
  :param builtins.str time_zone: The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
4417
4523
  :param Mapping[str, builtins.str] user_labels: A set of key/value user label pairs to assign to the instance.
@@ -4425,6 +4531,8 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4425
4531
  pulumi.set(__self__, "collation", collation)
4426
4532
  pulumi.set(__self__, "connector_enforcement", connector_enforcement)
4427
4533
  pulumi.set(__self__, "data_cache_configs", data_cache_configs)
4534
+ pulumi.set(__self__, "data_disk_provisioned_iops", data_disk_provisioned_iops)
4535
+ pulumi.set(__self__, "data_disk_provisioned_throughput", data_disk_provisioned_throughput)
4428
4536
  pulumi.set(__self__, "database_flags", database_flags)
4429
4537
  pulumi.set(__self__, "deletion_protection_enabled", deletion_protection_enabled)
4430
4538
  pulumi.set(__self__, "deny_maintenance_periods", deny_maintenance_periods)
@@ -4441,6 +4549,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4441
4549
  pulumi.set(__self__, "maintenance_windows", maintenance_windows)
4442
4550
  pulumi.set(__self__, "password_validation_policies", password_validation_policies)
4443
4551
  pulumi.set(__self__, "pricing_plan", pricing_plan)
4552
+ pulumi.set(__self__, "retain_backups_on_delete", retain_backups_on_delete)
4444
4553
  pulumi.set(__self__, "sql_server_audit_configs", sql_server_audit_configs)
4445
4554
  pulumi.set(__self__, "tier", tier)
4446
4555
  pulumi.set(__self__, "time_zone", time_zone)
@@ -4507,6 +4616,22 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4507
4616
  """
4508
4617
  return pulumi.get(self, "data_cache_configs")
4509
4618
 
4619
+ @property
4620
+ @pulumi.getter(name="dataDiskProvisionedIops")
4621
+ def data_disk_provisioned_iops(self) -> builtins.int:
4622
+ """
4623
+ Provisioned number of I/O operations per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
4624
+ """
4625
+ return pulumi.get(self, "data_disk_provisioned_iops")
4626
+
4627
+ @property
4628
+ @pulumi.getter(name="dataDiskProvisionedThroughput")
4629
+ def data_disk_provisioned_throughput(self) -> builtins.int:
4630
+ """
4631
+ Provisioned throughput measured in MiB per second for the data disk. This field is only used for HYPERDISK_BALANCED disk types.
4632
+ """
4633
+ return pulumi.get(self, "data_disk_provisioned_throughput")
4634
+
4510
4635
  @property
4511
4636
  @pulumi.getter(name="databaseFlags")
4512
4637
  def database_flags(self) -> Sequence['outputs.GetDatabaseInstancesInstanceSettingDatabaseFlagResult']:
@@ -4545,7 +4670,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4545
4670
  @pulumi.getter(name="diskSize")
4546
4671
  def disk_size(self) -> builtins.int:
4547
4672
  """
4548
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
4673
+ The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB for PD_SSD, PD_HDD and 20GB for HYPERDISK_BALANCED.
4549
4674
  """
4550
4675
  return pulumi.get(self, "disk_size")
4551
4676
 
@@ -4553,7 +4678,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4553
4678
  @pulumi.getter(name="diskType")
4554
4679
  def disk_type(self) -> builtins.str:
4555
4680
  """
4556
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
4681
+ The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to PD_SSD.
4557
4682
  """
4558
4683
  return pulumi.get(self, "disk_type")
4559
4684
 
@@ -4620,6 +4745,14 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
4620
4745
  """
4621
4746
  return pulumi.get(self, "pricing_plan")
4622
4747
 
4748
+ @property
4749
+ @pulumi.getter(name="retainBackupsOnDelete")
4750
+ def retain_backups_on_delete(self) -> builtins.bool:
4751
+ """
4752
+ When this parameter is set to true, Cloud SQL retains backups of the instance even after the instance is deleted. The ON_DEMAND backup will be retained until customer deletes the backup or the project. The AUTOMATED backup will be retained based on the backups retention setting.
4753
+ """
4754
+ return pulumi.get(self, "retain_backups_on_delete")
4755
+
4623
4756
  @property
4624
4757
  @pulumi.getter(name="sqlServerAuditConfigs")
4625
4758
  def sql_server_audit_configs(self) -> Sequence['outputs.GetDatabaseInstancesInstanceSettingSqlServerAuditConfigResult']:
@@ -4957,6 +5090,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4957
5090
  def __init__(__self__, *,
4958
5091
  allocated_ip_range: builtins.str,
4959
5092
  authorized_networks: Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetworkResult'],
5093
+ custom_subject_alternative_names: Sequence[builtins.str],
4960
5094
  enable_private_path_for_google_cloud_services: builtins.bool,
4961
5095
  ipv4_enabled: builtins.bool,
4962
5096
  private_network: builtins.str,
@@ -4966,6 +5100,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4966
5100
  ssl_mode: builtins.str):
4967
5101
  """
4968
5102
  :param builtins.str allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
5103
+ :param Sequence[builtins.str] custom_subject_alternative_names: The custom subject alternative names for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
4969
5104
  :param builtins.bool enable_private_path_for_google_cloud_services: Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
4970
5105
  :param builtins.bool ipv4_enabled: Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
4971
5106
  :param builtins.str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
@@ -4976,6 +5111,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4976
5111
  """
4977
5112
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
4978
5113
  pulumi.set(__self__, "authorized_networks", authorized_networks)
5114
+ pulumi.set(__self__, "custom_subject_alternative_names", custom_subject_alternative_names)
4979
5115
  pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
4980
5116
  pulumi.set(__self__, "ipv4_enabled", ipv4_enabled)
4981
5117
  pulumi.set(__self__, "private_network", private_network)
@@ -4997,6 +5133,14 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
4997
5133
  def authorized_networks(self) -> Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetworkResult']:
4998
5134
  return pulumi.get(self, "authorized_networks")
4999
5135
 
5136
+ @property
5137
+ @pulumi.getter(name="customSubjectAlternativeNames")
5138
+ def custom_subject_alternative_names(self) -> Sequence[builtins.str]:
5139
+ """
5140
+ The custom subject alternative names for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
5141
+ """
5142
+ return pulumi.get(self, "custom_subject_alternative_names")
5143
+
5000
5144
  @property
5001
5145
  @pulumi.getter(name="enablePrivatePathForGoogleCloudServices")
5002
5146
  def enable_private_path_for_google_cloud_services(self) -> builtins.bool:
@@ -7,6 +7,7 @@ from .. import _utilities
7
7
  import typing
8
8
  # Export this package's modules as members:
9
9
  from .anywhere_cache import *
10
+ from .batch_operations_job import *
10
11
  from .bucket import *
11
12
  from .bucket_access_control import *
12
13
  from .bucket_acl import *