pulumi-gcp 7.28.0a1718950249__py3-none-any.whl → 7.29.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. pulumi_gcp/__init__.py +67 -0
  2. pulumi_gcp/_utilities.py +35 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
  4. pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
  5. pulumi_gcp/accesscontextmanager/outputs.py +58 -74
  6. pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
  7. pulumi_gcp/activedirectory/domain.py +14 -14
  8. pulumi_gcp/activedirectory/domain_trust.py +14 -14
  9. pulumi_gcp/alloydb/backup.py +8 -8
  10. pulumi_gcp/alloydb/cluster.py +11 -17
  11. pulumi_gcp/alloydb/instance.py +8 -8
  12. pulumi_gcp/alloydb/user.py +8 -8
  13. pulumi_gcp/apigee/addons_config.py +4 -4
  14. pulumi_gcp/apigee/endpoint_attachment.py +2 -2
  15. pulumi_gcp/apigee/env_group.py +2 -2
  16. pulumi_gcp/apigee/environment.py +2 -2
  17. pulumi_gcp/apigee/instance.py +8 -8
  18. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +10 -10
  19. pulumi_gcp/apigee/nat_address.py +2 -2
  20. pulumi_gcp/apigee/organization.py +6 -6
  21. pulumi_gcp/apigee/sync_authorization.py +4 -4
  22. pulumi_gcp/apigee/target_server.py +10 -10
  23. pulumi_gcp/apphub/service.py +20 -20
  24. pulumi_gcp/apphub/service_project_attachment.py +8 -8
  25. pulumi_gcp/applicationintegration/auth_config.py +2 -2
  26. pulumi_gcp/applicationintegration/client.py +6 -18
  27. pulumi_gcp/artifactregistry/__init__.py +1 -0
  28. pulumi_gcp/artifactregistry/_inputs.py +4 -4
  29. pulumi_gcp/artifactregistry/get_docker_image.py +244 -0
  30. pulumi_gcp/artifactregistry/outputs.py +6 -6
  31. pulumi_gcp/artifactregistry/repository.py +10 -10
  32. pulumi_gcp/backupdisasterrecovery/management_server.py +2 -2
  33. pulumi_gcp/bigquery/_inputs.py +2 -6
  34. pulumi_gcp/bigquery/data_transfer_config.py +4 -4
  35. pulumi_gcp/bigquery/dataset.py +75 -0
  36. pulumi_gcp/bigquery/get_dataset.py +11 -1
  37. pulumi_gcp/bigquery/job.py +6 -6
  38. pulumi_gcp/bigquery/outputs.py +2 -6
  39. pulumi_gcp/bigtable/_inputs.py +41 -3
  40. pulumi_gcp/bigtable/instance.py +3 -9
  41. pulumi_gcp/bigtable/outputs.py +50 -3
  42. pulumi_gcp/bigtable/table.py +54 -0
  43. pulumi_gcp/billing/_inputs.py +22 -0
  44. pulumi_gcp/billing/budget.py +50 -0
  45. pulumi_gcp/billing/outputs.py +20 -0
  46. pulumi_gcp/certificateauthority/authority.py +2 -2
  47. pulumi_gcp/certificateauthority/certificate.py +4 -4
  48. pulumi_gcp/certificatemanager/_inputs.py +2 -6
  49. pulumi_gcp/certificatemanager/certificate.py +4 -4
  50. pulumi_gcp/certificatemanager/certificate_issuance_config.py +2 -2
  51. pulumi_gcp/certificatemanager/outputs.py +2 -6
  52. pulumi_gcp/cloudbuild/bitbucket_server_config.py +6 -6
  53. pulumi_gcp/cloudbuild/trigger.py +2 -2
  54. pulumi_gcp/cloudbuild/worker_pool.py +6 -6
  55. pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
  56. pulumi_gcp/cloudbuildv2/connection.py +112 -4
  57. pulumi_gcp/cloudbuildv2/outputs.py +421 -0
  58. pulumi_gcp/cloudbuildv2/repository.py +2 -2
  59. pulumi_gcp/cloudfunctionsv2/function.py +28 -28
  60. pulumi_gcp/cloudids/endpoint.py +2 -2
  61. pulumi_gcp/cloudrun/_inputs.py +3 -9
  62. pulumi_gcp/cloudrun/outputs.py +3 -9
  63. pulumi_gcp/cloudrunv2/get_job.py +21 -1
  64. pulumi_gcp/cloudrunv2/job.py +163 -19
  65. pulumi_gcp/cloudrunv2/service.py +8 -8
  66. pulumi_gcp/composer/__init__.py +3 -0
  67. pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
  68. pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
  69. pulumi_gcp/composer/user_workloads_config_map.py +475 -0
  70. pulumi_gcp/compute/_inputs.py +87 -2
  71. pulumi_gcp/compute/backend_service.py +28 -48
  72. pulumi_gcp/compute/disk.py +3 -9
  73. pulumi_gcp/compute/firewall.py +3 -9
  74. pulumi_gcp/compute/forwarding_rule.py +22 -22
  75. pulumi_gcp/compute/interconnect.py +4 -4
  76. pulumi_gcp/compute/outputs.py +176 -5
  77. pulumi_gcp/compute/packet_mirroring.py +2 -2
  78. pulumi_gcp/compute/project_cloud_armor_tier.py +2 -2
  79. pulumi_gcp/compute/region_backend_service.py +35 -48
  80. pulumi_gcp/compute/region_disk.py +3 -9
  81. pulumi_gcp/compute/region_network_endpoint.py +187 -0
  82. pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
  83. pulumi_gcp/compute/region_security_policy_rule.py +2 -2
  84. pulumi_gcp/compute/region_target_https_proxy.py +7 -14
  85. pulumi_gcp/compute/route.py +2 -2
  86. pulumi_gcp/compute/subnetwork.py +2 -6
  87. pulumi_gcp/compute/target_https_proxy.py +28 -14
  88. pulumi_gcp/compute/target_instance.py +2 -2
  89. pulumi_gcp/compute/vpn_gateway.py +2 -2
  90. pulumi_gcp/compute/vpn_tunnel.py +2 -2
  91. pulumi_gcp/config/__init__.pyi +2 -0
  92. pulumi_gcp/config/vars.py +4 -0
  93. pulumi_gcp/container/_inputs.py +4 -8
  94. pulumi_gcp/container/outputs.py +6 -10
  95. pulumi_gcp/databasemigrationservice/connection_profile.py +16 -16
  96. pulumi_gcp/datacatalog/policy_tag.py +2 -2
  97. pulumi_gcp/datafusion/instance.py +4 -8
  98. pulumi_gcp/dataplex/asset.py +2 -2
  99. pulumi_gcp/dataplex/datascan.py +2 -2
  100. pulumi_gcp/dataproc/_inputs.py +100 -0
  101. pulumi_gcp/dataproc/metastore_service.py +172 -0
  102. pulumi_gcp/dataproc/outputs.py +192 -1
  103. pulumi_gcp/dataproc/workflow_template.py +3 -9
  104. pulumi_gcp/datastore/data_store_index.py +2 -2
  105. pulumi_gcp/datastream/stream.py +6 -6
  106. pulumi_gcp/diagflow/entity_type.py +2 -2
  107. pulumi_gcp/diagflow/fulfillment.py +2 -2
  108. pulumi_gcp/diagflow/intent.py +4 -4
  109. pulumi_gcp/discoveryengine/_inputs.py +227 -0
  110. pulumi_gcp/discoveryengine/data_store.py +108 -0
  111. pulumi_gcp/discoveryengine/outputs.py +280 -0
  112. pulumi_gcp/edgecontainer/_inputs.py +107 -1
  113. pulumi_gcp/edgecontainer/node_pool.py +2 -2
  114. pulumi_gcp/edgecontainer/outputs.py +123 -1
  115. pulumi_gcp/edgecontainer/vpn_connection.py +2 -2
  116. pulumi_gcp/eventarc/channel.py +2 -2
  117. pulumi_gcp/eventarc/google_channel_config.py +2 -2
  118. pulumi_gcp/filestore/instance.py +3 -9
  119. pulumi_gcp/firebase/app_check_app_attest_config.py +8 -8
  120. pulumi_gcp/firebase/app_check_debug_token.py +4 -4
  121. pulumi_gcp/firebase/app_check_device_check_config.py +4 -4
  122. pulumi_gcp/firebase/app_check_play_integrity_config.py +8 -8
  123. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +4 -4
  124. pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +4 -4
  125. pulumi_gcp/firebase/app_check_service_config.py +6 -6
  126. pulumi_gcp/firebase/database_instance.py +2 -2
  127. pulumi_gcp/firestore/database.py +4 -4
  128. pulumi_gcp/firestore/document.py +12 -12
  129. pulumi_gcp/folder/access_approval_settings.py +2 -2
  130. pulumi_gcp/gkehub/_inputs.py +20 -8
  131. pulumi_gcp/gkehub/membership.py +3 -9
  132. pulumi_gcp/gkehub/membership_binding.py +4 -4
  133. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  134. pulumi_gcp/gkehub/namespace.py +2 -2
  135. pulumi_gcp/gkehub/outputs.py +19 -9
  136. pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -2
  137. pulumi_gcp/healthcare/fhir_store.py +3 -9
  138. pulumi_gcp/healthcare/hl7_store.py +3 -9
  139. pulumi_gcp/integrationconnectors/connection.py +2 -2
  140. pulumi_gcp/integrationconnectors/managed_zone.py +6 -6
  141. pulumi_gcp/kms/_inputs.py +1 -3
  142. pulumi_gcp/kms/autokey_config.py +16 -16
  143. pulumi_gcp/kms/key_handle.py +22 -22
  144. pulumi_gcp/kms/outputs.py +1 -3
  145. pulumi_gcp/logging/folder_settings.py +2 -2
  146. pulumi_gcp/logging/folder_sink.py +14 -14
  147. pulumi_gcp/logging/linked_dataset.py +2 -2
  148. pulumi_gcp/logging/organization_settings.py +2 -2
  149. pulumi_gcp/logging/organization_sink.py +14 -14
  150. pulumi_gcp/logging/project_bucket_config.py +2 -2
  151. pulumi_gcp/looker/instance.py +2 -2
  152. pulumi_gcp/managedkafka/__init__.py +11 -0
  153. pulumi_gcp/managedkafka/_inputs.py +169 -0
  154. pulumi_gcp/managedkafka/cluster.py +807 -0
  155. pulumi_gcp/managedkafka/outputs.py +197 -0
  156. pulumi_gcp/managedkafka/topic.py +599 -0
  157. pulumi_gcp/netapp/__init__.py +1 -0
  158. pulumi_gcp/netapp/active_directory.py +55 -0
  159. pulumi_gcp/netapp/backup.py +903 -0
  160. pulumi_gcp/netapp/volume_replication.py +2 -2
  161. pulumi_gcp/netapp/volume_snapshot.py +2 -2
  162. pulumi_gcp/networkconnectivity/internal_range.py +2 -2
  163. pulumi_gcp/networksecurity/gateway_security_policy.py +4 -4
  164. pulumi_gcp/networksecurity/tls_inspection_policy.py +4 -4
  165. pulumi_gcp/networkservices/gateway.py +6 -6
  166. pulumi_gcp/organizations/access_approval_settings.py +2 -2
  167. pulumi_gcp/parallelstore/instance.py +2 -2
  168. pulumi_gcp/projects/access_approval_settings.py +5 -11
  169. pulumi_gcp/provider.py +20 -0
  170. pulumi_gcp/pubsub/_inputs.py +40 -0
  171. pulumi_gcp/pubsub/outputs.py +66 -0
  172. pulumi_gcp/pubsub/schema.py +2 -2
  173. pulumi_gcp/pubsub/subscription.py +174 -8
  174. pulumi_gcp/pubsub/topic.py +2 -2
  175. pulumi_gcp/pulumi-plugin.json +1 -1
  176. pulumi_gcp/redis/cluster.py +4 -4
  177. pulumi_gcp/redis/get_instance.py +11 -1
  178. pulumi_gcp/redis/instance.py +49 -2
  179. pulumi_gcp/secretmanager/secret.py +2 -2
  180. pulumi_gcp/securesourcemanager/instance.py +6 -6
  181. pulumi_gcp/securitycenter/__init__.py +3 -0
  182. pulumi_gcp/securitycenter/_inputs.py +1105 -0
  183. pulumi_gcp/securitycenter/instance_iam_binding.py +2 -2
  184. pulumi_gcp/securitycenter/instance_iam_member.py +2 -2
  185. pulumi_gcp/securitycenter/instance_iam_policy.py +2 -2
  186. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
  187. pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
  188. pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
  189. pulumi_gcp/securitycenter/outputs.py +1048 -0
  190. pulumi_gcp/servicenetworking/__init__.py +1 -0
  191. pulumi_gcp/servicenetworking/vpc_service_controls.py +511 -0
  192. pulumi_gcp/sql/_inputs.py +1 -3
  193. pulumi_gcp/sql/database_instance.py +2 -2
  194. pulumi_gcp/sql/outputs.py +1 -3
  195. pulumi_gcp/sql/user.py +21 -7
  196. pulumi_gcp/storage/get_project_service_account.py +2 -2
  197. pulumi_gcp/storage/insights_report_config.py +2 -2
  198. pulumi_gcp/storage/notification.py +2 -2
  199. pulumi_gcp/storage/transfer_agent_pool.py +2 -2
  200. pulumi_gcp/storage/transfer_job.py +4 -4
  201. pulumi_gcp/tpu/v2_vm.py +4 -4
  202. pulumi_gcp/vertex/_inputs.py +1 -3
  203. pulumi_gcp/vertex/ai_endpoint.py +2 -2
  204. pulumi_gcp/vertex/ai_feature_online_store.py +31 -8
  205. pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
  206. pulumi_gcp/vertex/ai_tensorboard.py +2 -2
  207. pulumi_gcp/vertex/outputs.py +1 -3
  208. pulumi_gcp/vmwareengine/external_address.py +2 -2
  209. pulumi_gcp/vmwareengine/network.py +4 -4
  210. pulumi_gcp/vpcaccess/connector.py +2 -8
  211. {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/METADATA +1 -1
  212. {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/RECORD +214 -200
  213. {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/WHEEL +1 -1
  214. {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/top_level.txt +0 -0
@@ -123,6 +123,7 @@ class InstanceArgs:
123
123
 
124
124
  @property
125
125
  @pulumi.getter(name="instanceType")
126
+ @_utilities.deprecated("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
126
127
  def instance_type(self) -> Optional[pulumi.Input[str]]:
127
128
  """
128
129
  The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`.
@@ -131,9 +132,6 @@ class InstanceArgs:
131
132
  `"PRODUCTION"` instances. It is recommended for users to use `"PRODUCTION"` instances in any case, since a 1-node `"PRODUCTION"` instance
132
133
  is functionally identical to a `"DEVELOPMENT"` instance, but without the accompanying restrictions.
133
134
  """
134
- warnings.warn("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""", DeprecationWarning)
135
- pulumi.log.warn("""instance_type is deprecated: It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
136
-
137
135
  return pulumi.get(self, "instance_type")
138
136
 
139
137
  @instance_type.setter
@@ -315,6 +313,7 @@ class _InstanceState:
315
313
 
316
314
  @property
317
315
  @pulumi.getter(name="instanceType")
316
+ @_utilities.deprecated("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
318
317
  def instance_type(self) -> Optional[pulumi.Input[str]]:
319
318
  """
320
319
  The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`.
@@ -323,9 +322,6 @@ class _InstanceState:
323
322
  `"PRODUCTION"` instances. It is recommended for users to use `"PRODUCTION"` instances in any case, since a 1-node `"PRODUCTION"` instance
324
323
  is functionally identical to a `"DEVELOPMENT"` instance, but without the accompanying restrictions.
325
324
  """
326
- warnings.warn("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""", DeprecationWarning)
327
- pulumi.log.warn("""instance_type is deprecated: It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
328
-
329
325
  return pulumi.get(self, "instance_type")
330
326
 
331
327
  @instance_type.setter
@@ -773,6 +769,7 @@ class Instance(pulumi.CustomResource):
773
769
 
774
770
  @property
775
771
  @pulumi.getter(name="instanceType")
772
+ @_utilities.deprecated("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
776
773
  def instance_type(self) -> pulumi.Output[Optional[str]]:
777
774
  """
778
775
  The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`.
@@ -781,9 +778,6 @@ class Instance(pulumi.CustomResource):
781
778
  `"PRODUCTION"` instances. It is recommended for users to use `"PRODUCTION"` instances in any case, since a 1-node `"PRODUCTION"` instance
782
779
  is functionally identical to a `"DEVELOPMENT"` instance, but without the accompanying restrictions.
783
780
  """
784
- warnings.warn("""It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""", DeprecationWarning)
785
- pulumi.log.warn("""instance_type is deprecated: It is recommended to leave this field unspecified since the distinction between \"DEVELOPMENT\" and \"PRODUCTION\" instances is going away, and all instances will become \"PRODUCTION\" instances. This means that new and existing \"DEVELOPMENT\" instances will be converted to \"PRODUCTION\" instances. It is recommended for users to use \"PRODUCTION\" instances in any case, since a 1-node \"PRODUCTION\" instance is functionally identical to a \"DEVELOPMENT\" instance, but without the accompanying restrictions.""")
786
-
787
781
  return pulumi.get(self, "instance_type")
788
782
 
789
783
  @property
@@ -19,6 +19,7 @@ __all__ = [
19
19
  'InstanceClusterAutoscalingConfig',
20
20
  'InstanceIamBindingCondition',
21
21
  'InstanceIamMemberCondition',
22
+ 'TableAutomatedBackupPolicy',
22
23
  'TableColumnFamily',
23
24
  'TableIamBindingCondition',
24
25
  'TableIamMemberCondition',
@@ -159,13 +160,11 @@ class GCPolicyMaxAge(dict):
159
160
 
160
161
  @property
161
162
  @pulumi.getter
163
+ @_utilities.deprecated("""Deprecated in favor of duration""")
162
164
  def days(self) -> Optional[int]:
163
165
  """
164
166
  Number of days before applying GC policy.
165
167
  """
166
- warnings.warn("""Deprecated in favor of duration""", DeprecationWarning)
167
- pulumi.log.warn("""days is deprecated: Deprecated in favor of duration""")
168
-
169
168
  return pulumi.get(self, "days")
170
169
 
171
170
  @property
@@ -477,6 +476,54 @@ class InstanceIamMemberCondition(dict):
477
476
  return pulumi.get(self, "description")
478
477
 
479
478
 
479
+ @pulumi.output_type
480
+ class TableAutomatedBackupPolicy(dict):
481
+ @staticmethod
482
+ def __key_warning(key: str):
483
+ suggest = None
484
+ if key == "retentionPeriod":
485
+ suggest = "retention_period"
486
+
487
+ if suggest:
488
+ pulumi.log.warn(f"Key '{key}' not found in TableAutomatedBackupPolicy. Access the value via the '{suggest}' property getter instead.")
489
+
490
+ def __getitem__(self, key: str) -> Any:
491
+ TableAutomatedBackupPolicy.__key_warning(key)
492
+ return super().__getitem__(key)
493
+
494
+ def get(self, key: str, default = None) -> Any:
495
+ TableAutomatedBackupPolicy.__key_warning(key)
496
+ return super().get(key, default)
497
+
498
+ def __init__(__self__, *,
499
+ frequency: Optional[str] = None,
500
+ retention_period: Optional[str] = None):
501
+ """
502
+ :param str frequency: How frequently automated backups should occur.
503
+ :param str retention_period: How long the automated backups should be retained.
504
+ """
505
+ if frequency is not None:
506
+ pulumi.set(__self__, "frequency", frequency)
507
+ if retention_period is not None:
508
+ pulumi.set(__self__, "retention_period", retention_period)
509
+
510
+ @property
511
+ @pulumi.getter
512
+ def frequency(self) -> Optional[str]:
513
+ """
514
+ How frequently automated backups should occur.
515
+ """
516
+ return pulumi.get(self, "frequency")
517
+
518
+ @property
519
+ @pulumi.getter(name="retentionPeriod")
520
+ def retention_period(self) -> Optional[str]:
521
+ """
522
+ How long the automated backups should be retained.
523
+ """
524
+ return pulumi.get(self, "retention_period")
525
+
526
+
480
527
  @pulumi.output_type
481
528
  class TableColumnFamily(dict):
482
529
  def __init__(__self__, *,
@@ -17,6 +17,7 @@ __all__ = ['TableArgs', 'Table']
17
17
  class TableArgs:
18
18
  def __init__(__self__, *,
19
19
  instance_name: pulumi.Input[str],
20
+ automated_backup_policy: Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']] = None,
20
21
  change_stream_retention: Optional[pulumi.Input[str]] = None,
21
22
  column_families: Optional[pulumi.Input[Sequence[pulumi.Input['TableColumnFamilyArgs']]]] = None,
22
23
  deletion_protection: Optional[pulumi.Input[str]] = None,
@@ -26,6 +27,8 @@ class TableArgs:
26
27
  """
27
28
  The set of arguments for constructing a Table resource.
28
29
  :param pulumi.Input[str] instance_name: The name of the Bigtable instance.
30
+ :param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
31
+ Retention Period and Frequency to 0.
29
32
  :param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
30
33
 
31
34
  -----
@@ -39,6 +42,8 @@ class TableArgs:
39
42
  to delete/recreate the entire `bigtable.Table` resource.
40
43
  """
41
44
  pulumi.set(__self__, "instance_name", instance_name)
45
+ if automated_backup_policy is not None:
46
+ pulumi.set(__self__, "automated_backup_policy", automated_backup_policy)
42
47
  if change_stream_retention is not None:
43
48
  pulumi.set(__self__, "change_stream_retention", change_stream_retention)
44
49
  if column_families is not None:
@@ -64,6 +69,19 @@ class TableArgs:
64
69
  def instance_name(self, value: pulumi.Input[str]):
65
70
  pulumi.set(self, "instance_name", value)
66
71
 
72
+ @property
73
+ @pulumi.getter(name="automatedBackupPolicy")
74
+ def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
75
+ """
76
+ Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
77
+ Retention Period and Frequency to 0.
78
+ """
79
+ return pulumi.get(self, "automated_backup_policy")
80
+
81
+ @automated_backup_policy.setter
82
+ def automated_backup_policy(self, value: Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]):
83
+ pulumi.set(self, "automated_backup_policy", value)
84
+
67
85
  @property
68
86
  @pulumi.getter(name="changeStreamRetention")
69
87
  def change_stream_retention(self) -> Optional[pulumi.Input[str]]:
@@ -145,6 +163,7 @@ class TableArgs:
145
163
  @pulumi.input_type
146
164
  class _TableState:
147
165
  def __init__(__self__, *,
166
+ automated_backup_policy: Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']] = None,
148
167
  change_stream_retention: Optional[pulumi.Input[str]] = None,
149
168
  column_families: Optional[pulumi.Input[Sequence[pulumi.Input['TableColumnFamilyArgs']]]] = None,
150
169
  deletion_protection: Optional[pulumi.Input[str]] = None,
@@ -154,6 +173,8 @@ class _TableState:
154
173
  split_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
155
174
  """
156
175
  Input properties used for looking up and filtering Table resources.
176
+ :param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
177
+ Retention Period and Frequency to 0.
157
178
  :param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
158
179
 
159
180
  -----
@@ -167,6 +188,8 @@ class _TableState:
167
188
  !> **Warning:** Modifying the `split_keys` of an existing table will cause the provider
168
189
  to delete/recreate the entire `bigtable.Table` resource.
169
190
  """
191
+ if automated_backup_policy is not None:
192
+ pulumi.set(__self__, "automated_backup_policy", automated_backup_policy)
170
193
  if change_stream_retention is not None:
171
194
  pulumi.set(__self__, "change_stream_retention", change_stream_retention)
172
195
  if column_families is not None:
@@ -182,6 +205,19 @@ class _TableState:
182
205
  if split_keys is not None:
183
206
  pulumi.set(__self__, "split_keys", split_keys)
184
207
 
208
+ @property
209
+ @pulumi.getter(name="automatedBackupPolicy")
210
+ def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
211
+ """
212
+ Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
213
+ Retention Period and Frequency to 0.
214
+ """
215
+ return pulumi.get(self, "automated_backup_policy")
216
+
217
+ @automated_backup_policy.setter
218
+ def automated_backup_policy(self, value: Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]):
219
+ pulumi.set(self, "automated_backup_policy", value)
220
+
185
221
  @property
186
222
  @pulumi.getter(name="changeStreamRetention")
187
223
  def change_stream_retention(self) -> Optional[pulumi.Input[str]]:
@@ -277,6 +313,7 @@ class Table(pulumi.CustomResource):
277
313
  def __init__(__self__,
278
314
  resource_name: str,
279
315
  opts: Optional[pulumi.ResourceOptions] = None,
316
+ automated_backup_policy: Optional[pulumi.Input[pulumi.InputType['TableAutomatedBackupPolicyArgs']]] = None,
280
317
  change_stream_retention: Optional[pulumi.Input[str]] = None,
281
318
  column_families: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TableColumnFamilyArgs']]]]] = None,
282
319
  deletion_protection: Optional[pulumi.Input[str]] = None,
@@ -351,6 +388,8 @@ class Table(pulumi.CustomResource):
351
388
 
352
389
  :param str resource_name: The name of the resource.
353
390
  :param pulumi.ResourceOptions opts: Options for the resource.
391
+ :param pulumi.Input[pulumi.InputType['TableAutomatedBackupPolicyArgs']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
392
+ Retention Period and Frequency to 0.
354
393
  :param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
355
394
 
356
395
  -----
@@ -449,6 +488,7 @@ class Table(pulumi.CustomResource):
449
488
  def _internal_init(__self__,
450
489
  resource_name: str,
451
490
  opts: Optional[pulumi.ResourceOptions] = None,
491
+ automated_backup_policy: Optional[pulumi.Input[pulumi.InputType['TableAutomatedBackupPolicyArgs']]] = None,
452
492
  change_stream_retention: Optional[pulumi.Input[str]] = None,
453
493
  column_families: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TableColumnFamilyArgs']]]]] = None,
454
494
  deletion_protection: Optional[pulumi.Input[str]] = None,
@@ -465,6 +505,7 @@ class Table(pulumi.CustomResource):
465
505
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
466
506
  __props__ = TableArgs.__new__(TableArgs)
467
507
 
508
+ __props__.__dict__["automated_backup_policy"] = automated_backup_policy
468
509
  __props__.__dict__["change_stream_retention"] = change_stream_retention
469
510
  __props__.__dict__["column_families"] = column_families
470
511
  __props__.__dict__["deletion_protection"] = deletion_protection
@@ -484,6 +525,7 @@ class Table(pulumi.CustomResource):
484
525
  def get(resource_name: str,
485
526
  id: pulumi.Input[str],
486
527
  opts: Optional[pulumi.ResourceOptions] = None,
528
+ automated_backup_policy: Optional[pulumi.Input[pulumi.InputType['TableAutomatedBackupPolicyArgs']]] = None,
487
529
  change_stream_retention: Optional[pulumi.Input[str]] = None,
488
530
  column_families: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TableColumnFamilyArgs']]]]] = None,
489
531
  deletion_protection: Optional[pulumi.Input[str]] = None,
@@ -498,6 +540,8 @@ class Table(pulumi.CustomResource):
498
540
  :param str resource_name: The unique name of the resulting resource.
499
541
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
500
542
  :param pulumi.ResourceOptions opts: Options for the resource.
543
+ :param pulumi.Input[pulumi.InputType['TableAutomatedBackupPolicyArgs']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
544
+ Retention Period and Frequency to 0.
501
545
  :param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
502
546
 
503
547
  -----
@@ -515,6 +559,7 @@ class Table(pulumi.CustomResource):
515
559
 
516
560
  __props__ = _TableState.__new__(_TableState)
517
561
 
562
+ __props__.__dict__["automated_backup_policy"] = automated_backup_policy
518
563
  __props__.__dict__["change_stream_retention"] = change_stream_retention
519
564
  __props__.__dict__["column_families"] = column_families
520
565
  __props__.__dict__["deletion_protection"] = deletion_protection
@@ -524,6 +569,15 @@ class Table(pulumi.CustomResource):
524
569
  __props__.__dict__["split_keys"] = split_keys
525
570
  return Table(resource_name, opts=opts, __props__=__props__)
526
571
 
572
+ @property
573
+ @pulumi.getter(name="automatedBackupPolicy")
574
+ def automated_backup_policy(self) -> pulumi.Output[Optional['outputs.TableAutomatedBackupPolicy']]:
575
+ """
576
+ Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
577
+ Retention Period and Frequency to 0.
578
+ """
579
+ return pulumi.get(self, "automated_backup_policy")
580
+
527
581
  @property
528
582
  @pulumi.getter(name="changeStreamRetention")
529
583
  def change_stream_retention(self) -> pulumi.Output[str]:
@@ -104,6 +104,7 @@ class AccountIamMemberConditionArgs:
104
104
  class BudgetAllUpdatesRuleArgs:
105
105
  def __init__(__self__, *,
106
106
  disable_default_iam_recipients: Optional[pulumi.Input[bool]] = None,
107
+ enable_project_level_recipients: Optional[pulumi.Input[bool]] = None,
107
108
  monitoring_notification_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
108
109
  pubsub_topic: Optional[pulumi.Input[str]] = None,
109
110
  schema_version: Optional[pulumi.Input[str]] = None):
@@ -112,6 +113,10 @@ class BudgetAllUpdatesRuleArgs:
112
113
  when a threshold is exceeded. Default recipients are
113
114
  those with Billing Account Administrators and Billing
114
115
  Account Users IAM roles for the target account.
116
+ :param pulumi.Input[bool] enable_project_level_recipients: When set to true, and when the budget has a single project configured,
117
+ notifications will be sent to project level recipients of that project.
118
+ This field will be ignored if the budget has multiple or no project configured.
119
+ Currently, project level recipients are the users with Owner role on a cloud project.
115
120
  :param pulumi.Input[Sequence[pulumi.Input[str]]] monitoring_notification_channels: The full resource name of a monitoring notification
116
121
  channel in the form
117
122
  projects/{project_id}/notificationChannels/{channel_id}.
@@ -126,6 +131,8 @@ class BudgetAllUpdatesRuleArgs:
126
131
  """
127
132
  if disable_default_iam_recipients is not None:
128
133
  pulumi.set(__self__, "disable_default_iam_recipients", disable_default_iam_recipients)
134
+ if enable_project_level_recipients is not None:
135
+ pulumi.set(__self__, "enable_project_level_recipients", enable_project_level_recipients)
129
136
  if monitoring_notification_channels is not None:
130
137
  pulumi.set(__self__, "monitoring_notification_channels", monitoring_notification_channels)
131
138
  if pubsub_topic is not None:
@@ -148,6 +155,21 @@ class BudgetAllUpdatesRuleArgs:
148
155
  def disable_default_iam_recipients(self, value: Optional[pulumi.Input[bool]]):
149
156
  pulumi.set(self, "disable_default_iam_recipients", value)
150
157
 
158
+ @property
159
+ @pulumi.getter(name="enableProjectLevelRecipients")
160
+ def enable_project_level_recipients(self) -> Optional[pulumi.Input[bool]]:
161
+ """
162
+ When set to true, and when the budget has a single project configured,
163
+ notifications will be sent to project level recipients of that project.
164
+ This field will be ignored if the budget has multiple or no project configured.
165
+ Currently, project level recipients are the users with Owner role on a cloud project.
166
+ """
167
+ return pulumi.get(self, "enable_project_level_recipients")
168
+
169
+ @enable_project_level_recipients.setter
170
+ def enable_project_level_recipients(self, value: Optional[pulumi.Input[bool]]):
171
+ pulumi.set(self, "enable_project_level_recipients", value)
172
+
151
173
  @property
152
174
  @pulumi.getter(name="monitoringNotificationChannels")
153
175
  def monitoring_notification_channels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
@@ -435,6 +435,31 @@ class Budget(pulumi.CustomResource):
435
435
  disable_default_iam_recipients=True,
436
436
  ))
437
437
  ```
438
+ ### Billing Budget Notify Project Recipient
439
+
440
+ ```python
441
+ import pulumi
442
+ import pulumi_gcp as gcp
443
+
444
+ account = gcp.organizations.get_billing_account(billing_account="000000-0000000-0000000-000000")
445
+ project = gcp.organizations.get_project()
446
+ budget = gcp.billing.Budget("budget",
447
+ billing_account=account.id,
448
+ display_name="Example Billing Budget",
449
+ budget_filter=gcp.billing.BudgetBudgetFilterArgs(
450
+ projects=[f"projects/{project.number}"],
451
+ ),
452
+ amount=gcp.billing.BudgetAmountArgs(
453
+ specified_amount=gcp.billing.BudgetAmountSpecifiedAmountArgs(
454
+ currency_code="USD",
455
+ units="100000",
456
+ ),
457
+ ),
458
+ all_updates_rule=gcp.billing.BudgetAllUpdatesRuleArgs(
459
+ monitoring_notification_channels=[],
460
+ enable_project_level_recipients=True,
461
+ ))
462
+ ```
438
463
  ### Billing Budget Customperiod
439
464
 
440
465
  ```python
@@ -658,6 +683,31 @@ class Budget(pulumi.CustomResource):
658
683
  disable_default_iam_recipients=True,
659
684
  ))
660
685
  ```
686
+ ### Billing Budget Notify Project Recipient
687
+
688
+ ```python
689
+ import pulumi
690
+ import pulumi_gcp as gcp
691
+
692
+ account = gcp.organizations.get_billing_account(billing_account="000000-0000000-0000000-000000")
693
+ project = gcp.organizations.get_project()
694
+ budget = gcp.billing.Budget("budget",
695
+ billing_account=account.id,
696
+ display_name="Example Billing Budget",
697
+ budget_filter=gcp.billing.BudgetBudgetFilterArgs(
698
+ projects=[f"projects/{project.number}"],
699
+ ),
700
+ amount=gcp.billing.BudgetAmountArgs(
701
+ specified_amount=gcp.billing.BudgetAmountSpecifiedAmountArgs(
702
+ currency_code="USD",
703
+ units="100000",
704
+ ),
705
+ ),
706
+ all_updates_rule=gcp.billing.BudgetAllUpdatesRuleArgs(
707
+ monitoring_notification_channels=[],
708
+ enable_project_level_recipients=True,
709
+ ))
710
+ ```
661
711
  ### Billing Budget Customperiod
662
712
 
663
713
  ```python
@@ -84,6 +84,8 @@ class BudgetAllUpdatesRule(dict):
84
84
  suggest = None
85
85
  if key == "disableDefaultIamRecipients":
86
86
  suggest = "disable_default_iam_recipients"
87
+ elif key == "enableProjectLevelRecipients":
88
+ suggest = "enable_project_level_recipients"
87
89
  elif key == "monitoringNotificationChannels":
88
90
  suggest = "monitoring_notification_channels"
89
91
  elif key == "pubsubTopic":
@@ -104,6 +106,7 @@ class BudgetAllUpdatesRule(dict):
104
106
 
105
107
  def __init__(__self__, *,
106
108
  disable_default_iam_recipients: Optional[bool] = None,
109
+ enable_project_level_recipients: Optional[bool] = None,
107
110
  monitoring_notification_channels: Optional[Sequence[str]] = None,
108
111
  pubsub_topic: Optional[str] = None,
109
112
  schema_version: Optional[str] = None):
@@ -112,6 +115,10 @@ class BudgetAllUpdatesRule(dict):
112
115
  when a threshold is exceeded. Default recipients are
113
116
  those with Billing Account Administrators and Billing
114
117
  Account Users IAM roles for the target account.
118
+ :param bool enable_project_level_recipients: When set to true, and when the budget has a single project configured,
119
+ notifications will be sent to project level recipients of that project.
120
+ This field will be ignored if the budget has multiple or no project configured.
121
+ Currently, project level recipients are the users with Owner role on a cloud project.
115
122
  :param Sequence[str] monitoring_notification_channels: The full resource name of a monitoring notification
116
123
  channel in the form
117
124
  projects/{project_id}/notificationChannels/{channel_id}.
@@ -126,6 +133,8 @@ class BudgetAllUpdatesRule(dict):
126
133
  """
127
134
  if disable_default_iam_recipients is not None:
128
135
  pulumi.set(__self__, "disable_default_iam_recipients", disable_default_iam_recipients)
136
+ if enable_project_level_recipients is not None:
137
+ pulumi.set(__self__, "enable_project_level_recipients", enable_project_level_recipients)
129
138
  if monitoring_notification_channels is not None:
130
139
  pulumi.set(__self__, "monitoring_notification_channels", monitoring_notification_channels)
131
140
  if pubsub_topic is not None:
@@ -144,6 +153,17 @@ class BudgetAllUpdatesRule(dict):
144
153
  """
145
154
  return pulumi.get(self, "disable_default_iam_recipients")
146
155
 
156
+ @property
157
+ @pulumi.getter(name="enableProjectLevelRecipients")
158
+ def enable_project_level_recipients(self) -> Optional[bool]:
159
+ """
160
+ When set to true, and when the budget has a single project configured,
161
+ notifications will be sent to project level recipients of that project.
162
+ This field will be ignored if the budget has multiple or no project configured.
163
+ Currently, project level recipients are the users with Owner role on a cloud project.
164
+ """
165
+ return pulumi.get(self, "enable_project_level_recipients")
166
+
147
167
  @property
148
168
  @pulumi.getter(name="monitoringNotificationChannels")
149
169
  def monitoring_notification_channels(self) -> Optional[Sequence[str]]:
@@ -974,7 +974,7 @@ class Authority(pulumi.CustomResource):
974
974
  ),
975
975
  ),
976
976
  ),
977
- opts=pulumi.ResourceOptions(depends_on=[
977
+ opts = pulumi.ResourceOptions(depends_on=[
978
978
  privateca_sa_keyuser_signerverifier,
979
979
  privateca_sa_keyuser_viewer,
980
980
  ]))
@@ -1315,7 +1315,7 @@ class Authority(pulumi.CustomResource):
1315
1315
  ),
1316
1316
  ),
1317
1317
  ),
1318
- opts=pulumi.ResourceOptions(depends_on=[
1318
+ opts = pulumi.ResourceOptions(depends_on=[
1319
1319
  privateca_sa_keyuser_signerverifier,
1320
1320
  privateca_sa_keyuser_viewer,
1321
1321
  ]))
@@ -967,7 +967,7 @@ class Certificate(pulumi.CustomResource):
967
967
  key=std.filebase64(input="test-fixtures/rsa_public.pem").result,
968
968
  ),
969
969
  ),
970
- opts=pulumi.ResourceOptions(depends_on=[default_authority]))
970
+ opts = pulumi.ResourceOptions(depends_on=[default_authority]))
971
971
  ```
972
972
  ### Privateca Certificate Custom Ski
973
973
 
@@ -1056,7 +1056,7 @@ class Certificate(pulumi.CustomResource):
1056
1056
  key=std.filebase64(input="test-fixtures/rsa_public.pem").result,
1057
1057
  ),
1058
1058
  ),
1059
- opts=pulumi.ResourceOptions(depends_on=[default_authority]))
1059
+ opts = pulumi.ResourceOptions(depends_on=[default_authority]))
1060
1060
  ```
1061
1061
 
1062
1062
  ## Import
@@ -1496,7 +1496,7 @@ class Certificate(pulumi.CustomResource):
1496
1496
  key=std.filebase64(input="test-fixtures/rsa_public.pem").result,
1497
1497
  ),
1498
1498
  ),
1499
- opts=pulumi.ResourceOptions(depends_on=[default_authority]))
1499
+ opts = pulumi.ResourceOptions(depends_on=[default_authority]))
1500
1500
  ```
1501
1501
  ### Privateca Certificate Custom Ski
1502
1502
 
@@ -1585,7 +1585,7 @@ class Certificate(pulumi.CustomResource):
1585
1585
  key=std.filebase64(input="test-fixtures/rsa_public.pem").result,
1586
1586
  ),
1587
1587
  ),
1588
- opts=pulumi.ResourceOptions(depends_on=[default_authority]))
1588
+ opts = pulumi.ResourceOptions(depends_on=[default_authority]))
1589
1589
  ```
1590
1590
 
1591
1591
  ## Import
@@ -470,6 +470,7 @@ class CertificateSelfManagedArgs:
470
470
 
471
471
  @property
472
472
  @pulumi.getter(name="certificatePem")
473
+ @_utilities.deprecated("""`certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""")
473
474
  def certificate_pem(self) -> Optional[pulumi.Input[str]]:
474
475
  """
475
476
  (Optional, Deprecated)
@@ -479,9 +480,6 @@ class CertificateSelfManagedArgs:
479
480
 
480
481
  > **Warning:** `certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.
481
482
  """
482
- warnings.warn("""`certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""", DeprecationWarning)
483
- pulumi.log.warn("""certificate_pem is deprecated: `certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""")
484
-
485
483
  return pulumi.get(self, "certificate_pem")
486
484
 
487
485
  @certificate_pem.setter
@@ -517,6 +515,7 @@ class CertificateSelfManagedArgs:
517
515
 
518
516
  @property
519
517
  @pulumi.getter(name="privateKeyPem")
518
+ @_utilities.deprecated("""`private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""")
520
519
  def private_key_pem(self) -> Optional[pulumi.Input[str]]:
521
520
  """
522
521
  (Optional, Deprecated)
@@ -525,9 +524,6 @@ class CertificateSelfManagedArgs:
525
524
 
526
525
  > **Warning:** `private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.
527
526
  """
528
- warnings.warn("""`private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""", DeprecationWarning)
529
- pulumi.log.warn("""private_key_pem is deprecated: `private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""")
530
-
531
527
  return pulumi.get(self, "private_key_pem")
532
528
 
533
529
  @private_key_pem.setter
@@ -507,7 +507,7 @@ class Certificate(pulumi.CustomResource):
507
507
  lifetime="1814400s",
508
508
  rotation_window_percentage=34,
509
509
  key_algorithm="ECDSA_P256",
510
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
510
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
511
511
  default = gcp.certificatemanager.Certificate("default",
512
512
  name="issuance-config-cert",
513
513
  description="The default cert",
@@ -619,7 +619,7 @@ class Certificate(pulumi.CustomResource):
619
619
  lifetime="1814400s",
620
620
  rotation_window_percentage=34,
621
621
  key_algorithm="ECDSA_P256",
622
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
622
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
623
623
  default = gcp.certificatemanager.Certificate("default",
624
624
  name="issuance-config-cert",
625
625
  description="sample google managed all_regions certificate with issuance config for terraform",
@@ -834,7 +834,7 @@ class Certificate(pulumi.CustomResource):
834
834
  lifetime="1814400s",
835
835
  rotation_window_percentage=34,
836
836
  key_algorithm="ECDSA_P256",
837
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
837
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
838
838
  default = gcp.certificatemanager.Certificate("default",
839
839
  name="issuance-config-cert",
840
840
  description="The default cert",
@@ -946,7 +946,7 @@ class Certificate(pulumi.CustomResource):
946
946
  lifetime="1814400s",
947
947
  rotation_window_percentage=34,
948
948
  key_algorithm="ECDSA_P256",
949
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
949
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
950
950
  default = gcp.certificatemanager.Certificate("default",
951
951
  name="issuance-config-cert",
952
952
  description="sample google managed all_regions certificate with issuance config for terraform",
@@ -505,7 +505,7 @@ class CertificateIssuanceConfig(pulumi.CustomResource):
505
505
  "name": "wrench",
506
506
  "count": "3",
507
507
  },
508
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
508
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
509
509
  ```
510
510
 
511
511
  ## Import
@@ -630,7 +630,7 @@ class CertificateIssuanceConfig(pulumi.CustomResource):
630
630
  "name": "wrench",
631
631
  "count": "3",
632
632
  },
633
- opts=pulumi.ResourceOptions(depends_on=[ca_authority]))
633
+ opts = pulumi.ResourceOptions(depends_on=[ca_authority]))
634
634
  ```
635
635
 
636
636
  ## Import
@@ -526,6 +526,7 @@ class CertificateSelfManaged(dict):
526
526
 
527
527
  @property
528
528
  @pulumi.getter(name="certificatePem")
529
+ @_utilities.deprecated("""`certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""")
529
530
  def certificate_pem(self) -> Optional[str]:
530
531
  """
531
532
  (Optional, Deprecated)
@@ -535,9 +536,6 @@ class CertificateSelfManaged(dict):
535
536
 
536
537
  > **Warning:** `certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.
537
538
  """
538
- warnings.warn("""`certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""", DeprecationWarning)
539
- pulumi.log.warn("""certificate_pem is deprecated: `certificate_pem` is deprecated and will be removed in a future major release. Use `pem_certificate` instead.""")
540
-
541
539
  return pulumi.get(self, "certificate_pem")
542
540
 
543
541
  @property
@@ -561,6 +559,7 @@ class CertificateSelfManaged(dict):
561
559
 
562
560
  @property
563
561
  @pulumi.getter(name="privateKeyPem")
562
+ @_utilities.deprecated("""`private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""")
564
563
  def private_key_pem(self) -> Optional[str]:
565
564
  """
566
565
  (Optional, Deprecated)
@@ -569,9 +568,6 @@ class CertificateSelfManaged(dict):
569
568
 
570
569
  > **Warning:** `private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.
571
570
  """
572
- warnings.warn("""`private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""", DeprecationWarning)
573
- pulumi.log.warn("""private_key_pem is deprecated: `private_key_pem` is deprecated and will be removed in a future major release. Use `pem_private_key` instead.""")
574
-
575
571
  return pulumi.get(self, "private_key_pem")
576
572
 
577
573