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
@@ -30,6 +30,10 @@ class ApiKeyArgs:
30
30
  The set of arguments for constructing a ApiKey resource.
31
31
  :param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
32
32
  :param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
33
+
34
+
35
+
36
+ - - -
33
37
  :param pulumi.Input[builtins.str] project: The project for the resource
34
38
  :param pulumi.Input['ApiKeyRestrictionsArgs'] restrictions: Key restrictions.
35
39
  """
@@ -59,6 +63,10 @@ class ApiKeyArgs:
59
63
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
60
64
  """
61
65
  The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
66
+
67
+
68
+
69
+ - - -
62
70
  """
63
71
  return pulumi.get(self, "name")
64
72
 
@@ -105,6 +113,10 @@ class _ApiKeyState:
105
113
  :param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
106
114
  :param pulumi.Input[builtins.str] key_string: Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
107
115
  :param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
116
+
117
+
118
+
119
+ - - -
108
120
  :param pulumi.Input[builtins.str] project: The project for the resource
109
121
  :param pulumi.Input['ApiKeyRestrictionsArgs'] restrictions: Key restrictions.
110
122
  :param pulumi.Input[builtins.str] uid: Output only. Unique id in UUID4 format.
@@ -151,6 +163,10 @@ class _ApiKeyState:
151
163
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
152
164
  """
153
165
  The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
166
+
167
+
168
+
169
+ - - -
154
170
  """
155
171
  return pulumi.get(self, "name")
156
172
 
@@ -328,6 +344,10 @@ class ApiKey(pulumi.CustomResource):
328
344
  :param pulumi.ResourceOptions opts: Options for the resource.
329
345
  :param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
330
346
  :param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
347
+
348
+
349
+
350
+ - - -
331
351
  :param pulumi.Input[builtins.str] project: The project for the resource
332
352
  :param pulumi.Input[Union['ApiKeyRestrictionsArgs', 'ApiKeyRestrictionsArgsDict']] restrictions: Key restrictions.
333
353
  """
@@ -518,6 +538,10 @@ class ApiKey(pulumi.CustomResource):
518
538
  :param pulumi.Input[builtins.str] display_name: Human-readable display name of this API key. Modifiable by user.
519
539
  :param pulumi.Input[builtins.str] key_string: Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
520
540
  :param pulumi.Input[builtins.str] name: The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
541
+
542
+
543
+
544
+ - - -
521
545
  :param pulumi.Input[builtins.str] project: The project for the resource
522
546
  :param pulumi.Input[Union['ApiKeyRestrictionsArgs', 'ApiKeyRestrictionsArgsDict']] restrictions: Key restrictions.
523
547
  :param pulumi.Input[builtins.str] uid: Output only. Unique id in UUID4 format.
@@ -555,6 +579,10 @@ class ApiKey(pulumi.CustomResource):
555
579
  def name(self) -> pulumi.Output[builtins.str]:
556
580
  """
557
581
  The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: `a-z?`.
582
+
583
+
584
+
585
+ - - -
558
586
  """
559
587
  return pulumi.get(self, "name")
560
588
 
@@ -274,8 +274,6 @@ class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplication(dict):
274
274
  """
275
275
  :param builtins.str package_name: The package name of the application.
276
276
  :param builtins.str sha1_fingerprint: The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
277
-
278
- - - -
279
277
  """
280
278
  pulumi.set(__self__, "package_name", package_name)
281
279
  pulumi.set(__self__, "sha1_fingerprint", sha1_fingerprint)
@@ -293,8 +291,6 @@ class ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplication(dict):
293
291
  def sha1_fingerprint(self) -> builtins.str:
294
292
  """
295
293
  The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.
296
-
297
- - - -
298
294
  """
299
295
  return pulumi.get(self, "sha1_fingerprint")
300
296
 
pulumi_gcp/provider.py CHANGED
@@ -194,6 +194,7 @@ class ProviderArgs:
194
194
  source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
195
195
  spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
196
196
  sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
197
+ storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
197
198
  storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
198
199
  storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
199
200
  storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
@@ -565,6 +566,8 @@ class ProviderArgs:
565
566
  pulumi.set(__self__, "spanner_custom_endpoint", spanner_custom_endpoint)
566
567
  if sql_custom_endpoint is not None:
567
568
  pulumi.set(__self__, "sql_custom_endpoint", sql_custom_endpoint)
569
+ if storage_batch_operations_custom_endpoint is not None:
570
+ pulumi.set(__self__, "storage_batch_operations_custom_endpoint", storage_batch_operations_custom_endpoint)
568
571
  if storage_control_custom_endpoint is not None:
569
572
  pulumi.set(__self__, "storage_control_custom_endpoint", storage_control_custom_endpoint)
570
573
  if storage_custom_endpoint is not None:
@@ -2161,6 +2164,15 @@ class ProviderArgs:
2161
2164
  def sql_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
2162
2165
  pulumi.set(self, "sql_custom_endpoint", value)
2163
2166
 
2167
+ @property
2168
+ @pulumi.getter(name="storageBatchOperationsCustomEndpoint")
2169
+ def storage_batch_operations_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
2170
+ return pulumi.get(self, "storage_batch_operations_custom_endpoint")
2171
+
2172
+ @storage_batch_operations_custom_endpoint.setter
2173
+ def storage_batch_operations_custom_endpoint(self, value: Optional[pulumi.Input[builtins.str]]):
2174
+ pulumi.set(self, "storage_batch_operations_custom_endpoint", value)
2175
+
2164
2176
  @property
2165
2177
  @pulumi.getter(name="storageControlCustomEndpoint")
2166
2178
  def storage_control_custom_endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -2502,6 +2514,7 @@ class Provider(pulumi.ProviderResource):
2502
2514
  source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2503
2515
  spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2504
2516
  sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2517
+ storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2505
2518
  storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2506
2519
  storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2507
2520
  storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
@@ -2730,6 +2743,7 @@ class Provider(pulumi.ProviderResource):
2730
2743
  source_repo_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2731
2744
  spanner_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2732
2745
  sql_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2746
+ storage_batch_operations_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2733
2747
  storage_control_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2734
2748
  storage_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
2735
2749
  storage_insights_custom_endpoint: Optional[pulumi.Input[builtins.str]] = None,
@@ -2934,6 +2948,7 @@ class Provider(pulumi.ProviderResource):
2934
2948
  __props__.__dict__["source_repo_custom_endpoint"] = source_repo_custom_endpoint
2935
2949
  __props__.__dict__["spanner_custom_endpoint"] = spanner_custom_endpoint
2936
2950
  __props__.__dict__["sql_custom_endpoint"] = sql_custom_endpoint
2951
+ __props__.__dict__["storage_batch_operations_custom_endpoint"] = storage_batch_operations_custom_endpoint
2937
2952
  __props__.__dict__["storage_control_custom_endpoint"] = storage_control_custom_endpoint
2938
2953
  __props__.__dict__["storage_custom_endpoint"] = storage_custom_endpoint
2939
2954
  __props__.__dict__["storage_insights_custom_endpoint"] = storage_insights_custom_endpoint
@@ -3792,6 +3807,11 @@ class Provider(pulumi.ProviderResource):
3792
3807
  def sql_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
3793
3808
  return pulumi.get(self, "sql_custom_endpoint")
3794
3809
 
3810
+ @property
3811
+ @pulumi.getter(name="storageBatchOperationsCustomEndpoint")
3812
+ def storage_batch_operations_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
3813
+ return pulumi.get(self, "storage_batch_operations_custom_endpoint")
3814
+
3795
3815
  @property
3796
3816
  @pulumi.getter(name="storageControlCustomEndpoint")
3797
3817
  def storage_control_custom_endpoint(self) -> pulumi.Output[Optional[builtins.str]]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "gcp",
4
- "version": "8.28.0-alpha.1745598508"
4
+ "version": "8.29.0-alpha.1746076904"
5
5
  }
@@ -28,7 +28,7 @@ class GetInstanceResult:
28
28
  """
29
29
  A collection of values returned by getInstance.
30
30
  """
31
- def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tier=None, transit_encryption_mode=None):
31
+ def __init__(__self__, alternative_location_id=None, auth_enabled=None, auth_string=None, authorized_network=None, connect_mode=None, create_time=None, current_location_id=None, customer_managed_key=None, display_name=None, effective_labels=None, host=None, id=None, labels=None, location_id=None, maintenance_policies=None, maintenance_schedules=None, maintenance_version=None, memory_size_gb=None, name=None, nodes=None, persistence_configs=None, persistence_iam_identity=None, port=None, project=None, pulumi_labels=None, read_endpoint=None, read_endpoint_port=None, read_replicas_mode=None, redis_configs=None, redis_version=None, region=None, replica_count=None, reserved_ip_range=None, secondary_ip_range=None, server_ca_certs=None, tags=None, tier=None, transit_encryption_mode=None):
32
32
  if alternative_location_id and not isinstance(alternative_location_id, str):
33
33
  raise TypeError("Expected argument 'alternative_location_id' to be a str")
34
34
  pulumi.set(__self__, "alternative_location_id", alternative_location_id)
@@ -134,6 +134,9 @@ class GetInstanceResult:
134
134
  if server_ca_certs and not isinstance(server_ca_certs, list):
135
135
  raise TypeError("Expected argument 'server_ca_certs' to be a list")
136
136
  pulumi.set(__self__, "server_ca_certs", server_ca_certs)
137
+ if tags and not isinstance(tags, dict):
138
+ raise TypeError("Expected argument 'tags' to be a dict")
139
+ pulumi.set(__self__, "tags", tags)
137
140
  if tier and not isinstance(tier, str):
138
141
  raise TypeError("Expected argument 'tier' to be a str")
139
142
  pulumi.set(__self__, "tier", tier)
@@ -319,6 +322,11 @@ class GetInstanceResult:
319
322
  def server_ca_certs(self) -> Sequence['outputs.GetInstanceServerCaCertResult']:
320
323
  return pulumi.get(self, "server_ca_certs")
321
324
 
325
+ @property
326
+ @pulumi.getter
327
+ def tags(self) -> Mapping[str, builtins.str]:
328
+ return pulumi.get(self, "tags")
329
+
322
330
  @property
323
331
  @pulumi.getter
324
332
  def tier(self) -> builtins.str:
@@ -371,6 +379,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
371
379
  reserved_ip_range=self.reserved_ip_range,
372
380
  secondary_ip_range=self.secondary_ip_range,
373
381
  server_ca_certs=self.server_ca_certs,
382
+ tags=self.tags,
374
383
  tier=self.tier,
375
384
  transit_encryption_mode=self.transit_encryption_mode)
376
385
 
@@ -446,6 +455,7 @@ def get_instance(name: Optional[builtins.str] = None,
446
455
  reserved_ip_range=pulumi.get(__ret__, 'reserved_ip_range'),
447
456
  secondary_ip_range=pulumi.get(__ret__, 'secondary_ip_range'),
448
457
  server_ca_certs=pulumi.get(__ret__, 'server_ca_certs'),
458
+ tags=pulumi.get(__ret__, 'tags'),
449
459
  tier=pulumi.get(__ret__, 'tier'),
450
460
  transit_encryption_mode=pulumi.get(__ret__, 'transit_encryption_mode'))
451
461
  def get_instance_output(name: Optional[pulumi.Input[builtins.str]] = None,
@@ -518,5 +528,6 @@ def get_instance_output(name: Optional[pulumi.Input[builtins.str]] = None,
518
528
  reserved_ip_range=pulumi.get(__response__, 'reserved_ip_range'),
519
529
  secondary_ip_range=pulumi.get(__response__, 'secondary_ip_range'),
520
530
  server_ca_certs=pulumi.get(__response__, 'server_ca_certs'),
531
+ tags=pulumi.get(__response__, 'tags'),
521
532
  tier=pulumi.get(__response__, 'tier'),
522
533
  transit_encryption_mode=pulumi.get(__response__, 'transit_encryption_mode')))
@@ -43,6 +43,7 @@ class InstanceArgs:
43
43
  replica_count: Optional[pulumi.Input[builtins.int]] = None,
44
44
  reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
45
45
  secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
46
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
46
47
  tier: Optional[pulumi.Input[builtins.str]] = None,
47
48
  transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None):
48
49
  """
@@ -110,6 +111,9 @@ class InstanceArgs:
110
111
  an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
111
112
  "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address
112
113
  range associated with the private service access connection, or "auto".
114
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
115
+ Resource manager tag keys and values have the same definition as resource manager tags.
116
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
113
117
  :param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
114
118
  - BASIC: standalone instance
115
119
  - STANDARD_HA: highly available primary/replica instances
@@ -161,6 +165,8 @@ class InstanceArgs:
161
165
  pulumi.set(__self__, "reserved_ip_range", reserved_ip_range)
162
166
  if secondary_ip_range is not None:
163
167
  pulumi.set(__self__, "secondary_ip_range", secondary_ip_range)
168
+ if tags is not None:
169
+ pulumi.set(__self__, "tags", tags)
164
170
  if tier is not None:
165
171
  pulumi.set(__self__, "tier", tier)
166
172
  if transit_encryption_mode is not None:
@@ -460,6 +466,20 @@ class InstanceArgs:
460
466
  def secondary_ip_range(self, value: Optional[pulumi.Input[builtins.str]]):
461
467
  pulumi.set(self, "secondary_ip_range", value)
462
468
 
469
+ @property
470
+ @pulumi.getter
471
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
472
+ """
473
+ A map of resource manager tags.
474
+ Resource manager tag keys and values have the same definition as resource manager tags.
475
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
476
+ """
477
+ return pulumi.get(self, "tags")
478
+
479
+ @tags.setter
480
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
481
+ pulumi.set(self, "tags", value)
482
+
463
483
  @property
464
484
  @pulumi.getter
465
485
  def tier(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -529,6 +549,7 @@ class _InstanceState:
529
549
  reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
530
550
  secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
531
551
  server_ca_certs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]]] = None,
552
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
532
553
  tier: Optional[pulumi.Input[builtins.str]] = None,
533
554
  transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None):
534
555
  """
@@ -625,6 +646,9 @@ class _InstanceState:
625
646
  range associated with the private service access connection, or "auto".
626
647
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]] server_ca_certs: List of server CA certificates for the instance.
627
648
  Structure is documented below.
649
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
650
+ Resource manager tag keys and values have the same definition as resource manager tags.
651
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
628
652
  :param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
629
653
  - BASIC: standalone instance
630
654
  - STANDARD_HA: highly available primary/replica instances
@@ -703,6 +727,8 @@ class _InstanceState:
703
727
  pulumi.set(__self__, "secondary_ip_range", secondary_ip_range)
704
728
  if server_ca_certs is not None:
705
729
  pulumi.set(__self__, "server_ca_certs", server_ca_certs)
730
+ if tags is not None:
731
+ pulumi.set(__self__, "tags", tags)
706
732
  if tier is not None:
707
733
  pulumi.set(__self__, "tier", tier)
708
734
  if transit_encryption_mode is not None:
@@ -1174,6 +1200,20 @@ class _InstanceState:
1174
1200
  def server_ca_certs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceServerCaCertArgs']]]]):
1175
1201
  pulumi.set(self, "server_ca_certs", value)
1176
1202
 
1203
+ @property
1204
+ @pulumi.getter
1205
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
1206
+ """
1207
+ A map of resource manager tags.
1208
+ Resource manager tag keys and values have the same definition as resource manager tags.
1209
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
1210
+ """
1211
+ return pulumi.get(self, "tags")
1212
+
1213
+ @tags.setter
1214
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
1215
+ pulumi.set(self, "tags", value)
1216
+
1177
1217
  @property
1178
1218
  @pulumi.getter
1179
1219
  def tier(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1232,6 +1272,7 @@ class Instance(pulumi.CustomResource):
1232
1272
  replica_count: Optional[pulumi.Input[builtins.int]] = None,
1233
1273
  reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1234
1274
  secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1275
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1235
1276
  tier: Optional[pulumi.Input[builtins.str]] = None,
1236
1277
  transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None,
1237
1278
  __props__=None):
@@ -1516,6 +1557,9 @@ class Instance(pulumi.CustomResource):
1516
1557
  an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or
1517
1558
  "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address
1518
1559
  range associated with the private service access connection, or "auto".
1560
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
1561
+ Resource manager tag keys and values have the same definition as resource manager tags.
1562
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
1519
1563
  :param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
1520
1564
  - BASIC: standalone instance
1521
1565
  - STANDARD_HA: highly available primary/replica instances
@@ -1784,6 +1828,7 @@ class Instance(pulumi.CustomResource):
1784
1828
  replica_count: Optional[pulumi.Input[builtins.int]] = None,
1785
1829
  reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1786
1830
  secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1831
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1787
1832
  tier: Optional[pulumi.Input[builtins.str]] = None,
1788
1833
  transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None,
1789
1834
  __props__=None):
@@ -1818,6 +1863,7 @@ class Instance(pulumi.CustomResource):
1818
1863
  __props__.__dict__["replica_count"] = replica_count
1819
1864
  __props__.__dict__["reserved_ip_range"] = reserved_ip_range
1820
1865
  __props__.__dict__["secondary_ip_range"] = secondary_ip_range
1866
+ __props__.__dict__["tags"] = tags
1821
1867
  __props__.__dict__["tier"] = tier
1822
1868
  __props__.__dict__["transit_encryption_mode"] = transit_encryption_mode
1823
1869
  __props__.__dict__["auth_string"] = None
@@ -1879,6 +1925,7 @@ class Instance(pulumi.CustomResource):
1879
1925
  reserved_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1880
1926
  secondary_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1881
1927
  server_ca_certs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerCaCertArgs', 'InstanceServerCaCertArgsDict']]]]] = None,
1928
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1882
1929
  tier: Optional[pulumi.Input[builtins.str]] = None,
1883
1930
  transit_encryption_mode: Optional[pulumi.Input[builtins.str]] = None) -> 'Instance':
1884
1931
  """
@@ -1980,6 +2027,9 @@ class Instance(pulumi.CustomResource):
1980
2027
  range associated with the private service access connection, or "auto".
1981
2028
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerCaCertArgs', 'InstanceServerCaCertArgsDict']]]] server_ca_certs: List of server CA certificates for the instance.
1982
2029
  Structure is documented below.
2030
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: A map of resource manager tags.
2031
+ Resource manager tag keys and values have the same definition as resource manager tags.
2032
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
1983
2033
  :param pulumi.Input[builtins.str] tier: The service tier of the instance. Must be one of these values:
1984
2034
  - BASIC: standalone instance
1985
2035
  - STANDARD_HA: highly available primary/replica instances
@@ -2028,6 +2078,7 @@ class Instance(pulumi.CustomResource):
2028
2078
  __props__.__dict__["reserved_ip_range"] = reserved_ip_range
2029
2079
  __props__.__dict__["secondary_ip_range"] = secondary_ip_range
2030
2080
  __props__.__dict__["server_ca_certs"] = server_ca_certs
2081
+ __props__.__dict__["tags"] = tags
2031
2082
  __props__.__dict__["tier"] = tier
2032
2083
  __props__.__dict__["transit_encryption_mode"] = transit_encryption_mode
2033
2084
  return Instance(resource_name, opts=opts, __props__=__props__)
@@ -2362,6 +2413,16 @@ class Instance(pulumi.CustomResource):
2362
2413
  """
2363
2414
  return pulumi.get(self, "server_ca_certs")
2364
2415
 
2416
+ @property
2417
+ @pulumi.getter
2418
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
2419
+ """
2420
+ A map of resource manager tags.
2421
+ Resource manager tag keys and values have the same definition as resource manager tags.
2422
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_key_value}.
2423
+ """
2424
+ return pulumi.get(self, "tags")
2425
+
2365
2426
  @property
2366
2427
  @pulumi.getter
2367
2428
  def tier(self) -> pulumi.Output[Optional[builtins.str]]:
pulumi_gcp/sql/_inputs.py CHANGED
@@ -833,6 +833,14 @@ if not MYPY:
833
833
  """
834
834
  Data cache configurations.
835
835
  """
836
+ data_disk_provisioned_iops: NotRequired[pulumi.Input[builtins.int]]
837
+ """
838
+ Provisioned number of I/O operations per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
839
+ """
840
+ data_disk_provisioned_throughput: NotRequired[pulumi.Input[builtins.int]]
841
+ """
842
+ Provisioned throughput measured in MiB per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
843
+ """
836
844
  database_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsDatabaseFlagArgsDict']]]]
837
845
  deletion_protection_enabled: NotRequired[pulumi.Input[builtins.bool]]
838
846
  """
@@ -849,11 +857,11 @@ if not MYPY:
849
857
  """
850
858
  disk_size: NotRequired[pulumi.Input[builtins.int]]
851
859
  """
852
- 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.
860
+ 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.
853
861
  """
854
862
  disk_type: NotRequired[pulumi.Input[builtins.str]]
855
863
  """
856
- The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
864
+ The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to `PD_SSD`. HYPERDISK_BALANCED is preview.
857
865
  """
858
866
  edition: NotRequired[pulumi.Input[builtins.str]]
859
867
  """
@@ -882,6 +890,10 @@ if not MYPY:
882
890
  """
883
891
  Pricing plan for this instance, can only be `PER_USE`.
884
892
  """
893
+ retain_backups_on_delete: NotRequired[pulumi.Input[builtins.bool]]
894
+ """
895
+ 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.
896
+ """
885
897
  sql_server_audit_config: NotRequired[pulumi.Input['DatabaseInstanceSettingsSqlServerAuditConfigArgsDict']]
886
898
  time_zone: NotRequired[pulumi.Input[builtins.str]]
887
899
  """
@@ -911,6 +923,8 @@ class DatabaseInstanceSettingsArgs:
911
923
  collation: Optional[pulumi.Input[builtins.str]] = None,
912
924
  connector_enforcement: Optional[pulumi.Input[builtins.str]] = None,
913
925
  data_cache_config: Optional[pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs']] = None,
926
+ data_disk_provisioned_iops: Optional[pulumi.Input[builtins.int]] = None,
927
+ data_disk_provisioned_throughput: Optional[pulumi.Input[builtins.int]] = None,
914
928
  database_flags: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsDatabaseFlagArgs']]]] = None,
915
929
  deletion_protection_enabled: Optional[pulumi.Input[builtins.bool]] = None,
916
930
  deny_maintenance_period: Optional[pulumi.Input['DatabaseInstanceSettingsDenyMaintenancePeriodArgs']] = None,
@@ -927,6 +941,7 @@ class DatabaseInstanceSettingsArgs:
927
941
  maintenance_window: Optional[pulumi.Input['DatabaseInstanceSettingsMaintenanceWindowArgs']] = None,
928
942
  password_validation_policy: Optional[pulumi.Input['DatabaseInstanceSettingsPasswordValidationPolicyArgs']] = None,
929
943
  pricing_plan: Optional[pulumi.Input[builtins.str]] = None,
944
+ retain_backups_on_delete: Optional[pulumi.Input[builtins.bool]] = None,
930
945
  sql_server_audit_config: Optional[pulumi.Input['DatabaseInstanceSettingsSqlServerAuditConfigArgs']] = None,
931
946
  time_zone: Optional[pulumi.Input[builtins.str]] = None,
932
947
  user_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
@@ -946,17 +961,20 @@ class DatabaseInstanceSettingsArgs:
946
961
  :param pulumi.Input[builtins.str] collation: The name of server instance collation.
947
962
  :param pulumi.Input[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.
948
963
  :param pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs'] data_cache_config: Data cache configurations.
964
+ :param pulumi.Input[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.
965
+ :param pulumi.Input[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.
949
966
  :param pulumi.Input[builtins.bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
950
967
  :param pulumi.Input[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`.
951
968
  :param pulumi.Input[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.
952
- :param pulumi.Input[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.
953
- :param pulumi.Input[builtins.str] disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
969
+ :param pulumi.Input[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.
970
+ :param pulumi.Input[builtins.str] disk_type: The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to `PD_SSD`. HYPERDISK_BALANCED is preview.
954
971
  :param pulumi.Input[builtins.str] edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
955
972
  :param pulumi.Input[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`.
956
973
  :param pulumi.Input[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`.
957
974
  :param pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs'] insights_config: Configuration of Query Insights.
958
975
  :param pulumi.Input['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.
959
976
  :param pulumi.Input[builtins.str] pricing_plan: Pricing plan for this instance, can only be `PER_USE`.
977
+ :param pulumi.Input[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.
960
978
  :param pulumi.Input[builtins.str] time_zone: The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
961
979
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] user_labels: A set of key/value user label pairs to assign to the instance.
962
980
  :param pulumi.Input[builtins.int] version: Used to make sure changes to the `settings` block are
@@ -979,6 +997,10 @@ class DatabaseInstanceSettingsArgs:
979
997
  pulumi.set(__self__, "connector_enforcement", connector_enforcement)
980
998
  if data_cache_config is not None:
981
999
  pulumi.set(__self__, "data_cache_config", data_cache_config)
1000
+ if data_disk_provisioned_iops is not None:
1001
+ pulumi.set(__self__, "data_disk_provisioned_iops", data_disk_provisioned_iops)
1002
+ if data_disk_provisioned_throughput is not None:
1003
+ pulumi.set(__self__, "data_disk_provisioned_throughput", data_disk_provisioned_throughput)
982
1004
  if database_flags is not None:
983
1005
  pulumi.set(__self__, "database_flags", database_flags)
984
1006
  if deletion_protection_enabled is not None:
@@ -1011,6 +1033,8 @@ class DatabaseInstanceSettingsArgs:
1011
1033
  pulumi.set(__self__, "password_validation_policy", password_validation_policy)
1012
1034
  if pricing_plan is not None:
1013
1035
  pulumi.set(__self__, "pricing_plan", pricing_plan)
1036
+ if retain_backups_on_delete is not None:
1037
+ pulumi.set(__self__, "retain_backups_on_delete", retain_backups_on_delete)
1014
1038
  if sql_server_audit_config is not None:
1015
1039
  pulumi.set(__self__, "sql_server_audit_config", sql_server_audit_config)
1016
1040
  if time_zone is not None:
@@ -1127,6 +1151,30 @@ class DatabaseInstanceSettingsArgs:
1127
1151
  def data_cache_config(self, value: Optional[pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs']]):
1128
1152
  pulumi.set(self, "data_cache_config", value)
1129
1153
 
1154
+ @property
1155
+ @pulumi.getter(name="dataDiskProvisionedIops")
1156
+ def data_disk_provisioned_iops(self) -> Optional[pulumi.Input[builtins.int]]:
1157
+ """
1158
+ Provisioned number of I/O operations per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
1159
+ """
1160
+ return pulumi.get(self, "data_disk_provisioned_iops")
1161
+
1162
+ @data_disk_provisioned_iops.setter
1163
+ def data_disk_provisioned_iops(self, value: Optional[pulumi.Input[builtins.int]]):
1164
+ pulumi.set(self, "data_disk_provisioned_iops", value)
1165
+
1166
+ @property
1167
+ @pulumi.getter(name="dataDiskProvisionedThroughput")
1168
+ def data_disk_provisioned_throughput(self) -> Optional[pulumi.Input[builtins.int]]:
1169
+ """
1170
+ Provisioned throughput measured in MiB per second for the data disk. This field is only used for `HYPERDISK_BALANCED` disk types.
1171
+ """
1172
+ return pulumi.get(self, "data_disk_provisioned_throughput")
1173
+
1174
+ @data_disk_provisioned_throughput.setter
1175
+ def data_disk_provisioned_throughput(self, value: Optional[pulumi.Input[builtins.int]]):
1176
+ pulumi.set(self, "data_disk_provisioned_throughput", value)
1177
+
1130
1178
  @property
1131
1179
  @pulumi.getter(name="databaseFlags")
1132
1180
  def database_flags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsDatabaseFlagArgs']]]]:
@@ -1185,7 +1233,7 @@ class DatabaseInstanceSettingsArgs:
1185
1233
  @pulumi.getter(name="diskSize")
1186
1234
  def disk_size(self) -> Optional[pulumi.Input[builtins.int]]:
1187
1235
  """
1188
- 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.
1236
+ 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.
1189
1237
  """
1190
1238
  return pulumi.get(self, "disk_size")
1191
1239
 
@@ -1197,7 +1245,7 @@ class DatabaseInstanceSettingsArgs:
1197
1245
  @pulumi.getter(name="diskType")
1198
1246
  def disk_type(self) -> Optional[pulumi.Input[builtins.str]]:
1199
1247
  """
1200
- The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
1248
+ The type of data disk: PD_SSD, PD_HDD, or HYPERDISK_BALANCED. Defaults to `PD_SSD`. HYPERDISK_BALANCED is preview.
1201
1249
  """
1202
1250
  return pulumi.get(self, "disk_type")
1203
1251
 
@@ -1304,6 +1352,18 @@ class DatabaseInstanceSettingsArgs:
1304
1352
  def pricing_plan(self, value: Optional[pulumi.Input[builtins.str]]):
1305
1353
  pulumi.set(self, "pricing_plan", value)
1306
1354
 
1355
+ @property
1356
+ @pulumi.getter(name="retainBackupsOnDelete")
1357
+ def retain_backups_on_delete(self) -> Optional[pulumi.Input[builtins.bool]]:
1358
+ """
1359
+ 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.
1360
+ """
1361
+ return pulumi.get(self, "retain_backups_on_delete")
1362
+
1363
+ @retain_backups_on_delete.setter
1364
+ def retain_backups_on_delete(self, value: Optional[pulumi.Input[builtins.bool]]):
1365
+ pulumi.set(self, "retain_backups_on_delete", value)
1366
+
1307
1367
  @property
1308
1368
  @pulumi.getter(name="sqlServerAuditConfig")
1309
1369
  def sql_server_audit_config(self) -> Optional[pulumi.Input['DatabaseInstanceSettingsSqlServerAuditConfigArgs']]:
@@ -1899,6 +1959,10 @@ if not MYPY:
1899
1959
  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?.
1900
1960
  """
1901
1961
  authorized_networks: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgsDict']]]]
1962
+ custom_subject_alternative_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
1963
+ """
1964
+ The custom subject alternative names for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
1965
+ """
1902
1966
  enable_private_path_for_google_cloud_services: NotRequired[pulumi.Input[builtins.bool]]
1903
1967
  """
1904
1968
  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.
@@ -1941,6 +2005,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1941
2005
  def __init__(__self__, *,
1942
2006
  allocated_ip_range: Optional[pulumi.Input[builtins.str]] = None,
1943
2007
  authorized_networks: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs']]]] = None,
2008
+ custom_subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
1944
2009
  enable_private_path_for_google_cloud_services: Optional[pulumi.Input[builtins.bool]] = None,
1945
2010
  ipv4_enabled: Optional[pulumi.Input[builtins.bool]] = None,
1946
2011
  private_network: Optional[pulumi.Input[builtins.str]] = None,
@@ -1950,6 +2015,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1950
2015
  ssl_mode: Optional[pulumi.Input[builtins.str]] = None):
1951
2016
  """
1952
2017
  :param pulumi.Input[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?.
2018
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] custom_subject_alternative_names: The custom subject alternative names for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
1953
2019
  :param pulumi.Input[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.
1954
2020
  :param pulumi.Input[builtins.bool] ipv4_enabled: Whether this Cloud SQL instance should be assigned
1955
2021
  a public IPV4 address. At least `ipv4_enabled` must be enabled or a
@@ -1968,6 +2034,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
1968
2034
  pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
1969
2035
  if authorized_networks is not None:
1970
2036
  pulumi.set(__self__, "authorized_networks", authorized_networks)
2037
+ if custom_subject_alternative_names is not None:
2038
+ pulumi.set(__self__, "custom_subject_alternative_names", custom_subject_alternative_names)
1971
2039
  if enable_private_path_for_google_cloud_services is not None:
1972
2040
  pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
1973
2041
  if ipv4_enabled is not None:
@@ -2004,6 +2072,18 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
2004
2072
  def authorized_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs']]]]):
2005
2073
  pulumi.set(self, "authorized_networks", value)
2006
2074
 
2075
+ @property
2076
+ @pulumi.getter(name="customSubjectAlternativeNames")
2077
+ def custom_subject_alternative_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
2078
+ """
2079
+ The custom subject alternative names for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`.
2080
+ """
2081
+ return pulumi.get(self, "custom_subject_alternative_names")
2082
+
2083
+ @custom_subject_alternative_names.setter
2084
+ def custom_subject_alternative_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
2085
+ pulumi.set(self, "custom_subject_alternative_names", value)
2086
+
2007
2087
  @property
2008
2088
  @pulumi.getter(name="enablePrivatePathForGoogleCloudServices")
2009
2089
  def enable_private_path_for_google_cloud_services(self) -> Optional[pulumi.Input[builtins.bool]]: