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
@@ -96,6 +96,8 @@ __all__ = [
96
96
  'MetastoreServiceNetworkConfigArgs',
97
97
  'MetastoreServiceNetworkConfigConsumerArgs',
98
98
  'MetastoreServiceScalingConfigArgs',
99
+ 'MetastoreServiceScalingConfigAutoscalingConfigArgs',
100
+ 'MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs',
99
101
  'MetastoreServiceScheduledBackupArgs',
100
102
  'MetastoreServiceTelemetryConfigArgs',
101
103
  'WorkflowTemplateJobArgs',
@@ -5737,18 +5739,36 @@ class MetastoreServiceNetworkConfigConsumerArgs:
5737
5739
  @pulumi.input_type
5738
5740
  class MetastoreServiceScalingConfigArgs:
5739
5741
  def __init__(__self__, *,
5742
+ autoscaling_config: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']] = None,
5740
5743
  instance_size: Optional[pulumi.Input[str]] = None,
5741
5744
  scaling_factor: Optional[pulumi.Input[float]] = None):
5742
5745
  """
5746
+ :param pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs'] autoscaling_config: Represents the autoscaling configuration of a metastore service.
5747
+ Structure is documented below.
5743
5748
  :param pulumi.Input[str] instance_size: Metastore instance sizes.
5744
5749
  Possible values are: `EXTRA_SMALL`, `SMALL`, `MEDIUM`, `LARGE`, `EXTRA_LARGE`.
5745
5750
  :param pulumi.Input[float] scaling_factor: Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
5746
5751
  """
5752
+ if autoscaling_config is not None:
5753
+ pulumi.set(__self__, "autoscaling_config", autoscaling_config)
5747
5754
  if instance_size is not None:
5748
5755
  pulumi.set(__self__, "instance_size", instance_size)
5749
5756
  if scaling_factor is not None:
5750
5757
  pulumi.set(__self__, "scaling_factor", scaling_factor)
5751
5758
 
5759
+ @property
5760
+ @pulumi.getter(name="autoscalingConfig")
5761
+ def autoscaling_config(self) -> Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']]:
5762
+ """
5763
+ Represents the autoscaling configuration of a metastore service.
5764
+ Structure is documented below.
5765
+ """
5766
+ return pulumi.get(self, "autoscaling_config")
5767
+
5768
+ @autoscaling_config.setter
5769
+ def autoscaling_config(self, value: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigArgs']]):
5770
+ pulumi.set(self, "autoscaling_config", value)
5771
+
5752
5772
  @property
5753
5773
  @pulumi.getter(name="instanceSize")
5754
5774
  def instance_size(self) -> Optional[pulumi.Input[str]]:
@@ -5775,6 +5795,86 @@ class MetastoreServiceScalingConfigArgs:
5775
5795
  pulumi.set(self, "scaling_factor", value)
5776
5796
 
5777
5797
 
5798
+ @pulumi.input_type
5799
+ class MetastoreServiceScalingConfigAutoscalingConfigArgs:
5800
+ def __init__(__self__, *,
5801
+ autoscaling_enabled: Optional[pulumi.Input[bool]] = None,
5802
+ limit_config: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']] = None):
5803
+ """
5804
+ :param pulumi.Input[bool] autoscaling_enabled: Defines whether autoscaling is enabled. The default value is false.
5805
+ :param pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs'] limit_config: Represents the limit configuration of a metastore service.
5806
+ Structure is documented below.
5807
+ """
5808
+ if autoscaling_enabled is not None:
5809
+ pulumi.set(__self__, "autoscaling_enabled", autoscaling_enabled)
5810
+ if limit_config is not None:
5811
+ pulumi.set(__self__, "limit_config", limit_config)
5812
+
5813
+ @property
5814
+ @pulumi.getter(name="autoscalingEnabled")
5815
+ def autoscaling_enabled(self) -> Optional[pulumi.Input[bool]]:
5816
+ """
5817
+ Defines whether autoscaling is enabled. The default value is false.
5818
+ """
5819
+ return pulumi.get(self, "autoscaling_enabled")
5820
+
5821
+ @autoscaling_enabled.setter
5822
+ def autoscaling_enabled(self, value: Optional[pulumi.Input[bool]]):
5823
+ pulumi.set(self, "autoscaling_enabled", value)
5824
+
5825
+ @property
5826
+ @pulumi.getter(name="limitConfig")
5827
+ def limit_config(self) -> Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']]:
5828
+ """
5829
+ Represents the limit configuration of a metastore service.
5830
+ Structure is documented below.
5831
+ """
5832
+ return pulumi.get(self, "limit_config")
5833
+
5834
+ @limit_config.setter
5835
+ def limit_config(self, value: Optional[pulumi.Input['MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs']]):
5836
+ pulumi.set(self, "limit_config", value)
5837
+
5838
+
5839
+ @pulumi.input_type
5840
+ class MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs:
5841
+ def __init__(__self__, *,
5842
+ max_scaling_factor: Optional[pulumi.Input[float]] = None,
5843
+ min_scaling_factor: Optional[pulumi.Input[float]] = None):
5844
+ """
5845
+ :param pulumi.Input[float] max_scaling_factor: The maximum scaling factor that the service will autoscale to. The default value is 6.0.
5846
+ :param pulumi.Input[float] min_scaling_factor: The minimum scaling factor that the service will autoscale to. The default value is 0.1.
5847
+ """
5848
+ if max_scaling_factor is not None:
5849
+ pulumi.set(__self__, "max_scaling_factor", max_scaling_factor)
5850
+ if min_scaling_factor is not None:
5851
+ pulumi.set(__self__, "min_scaling_factor", min_scaling_factor)
5852
+
5853
+ @property
5854
+ @pulumi.getter(name="maxScalingFactor")
5855
+ def max_scaling_factor(self) -> Optional[pulumi.Input[float]]:
5856
+ """
5857
+ The maximum scaling factor that the service will autoscale to. The default value is 6.0.
5858
+ """
5859
+ return pulumi.get(self, "max_scaling_factor")
5860
+
5861
+ @max_scaling_factor.setter
5862
+ def max_scaling_factor(self, value: Optional[pulumi.Input[float]]):
5863
+ pulumi.set(self, "max_scaling_factor", value)
5864
+
5865
+ @property
5866
+ @pulumi.getter(name="minScalingFactor")
5867
+ def min_scaling_factor(self) -> Optional[pulumi.Input[float]]:
5868
+ """
5869
+ The minimum scaling factor that the service will autoscale to. The default value is 0.1.
5870
+ """
5871
+ return pulumi.get(self, "min_scaling_factor")
5872
+
5873
+ @min_scaling_factor.setter
5874
+ def min_scaling_factor(self, value: Optional[pulumi.Input[float]]):
5875
+ pulumi.set(self, "min_scaling_factor", value)
5876
+
5877
+
5778
5878
  @pulumi.input_type
5779
5879
  class MetastoreServiceScheduledBackupArgs:
5780
5880
  def __init__(__self__, *,
@@ -1005,6 +1005,92 @@ class MetastoreService(pulumi.CustomResource):
1005
1005
  "env": "test",
1006
1006
  })
1007
1007
  ```
1008
+ ### Dataproc Metastore Service Autoscaling Max Scaling Factor
1009
+
1010
+ ```python
1011
+ import pulumi
1012
+ import pulumi_gcp as gcp
1013
+
1014
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1015
+ service_id="test-service",
1016
+ location="us-central1",
1017
+ database_type="SPANNER",
1018
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1019
+ version="3.1.2",
1020
+ ),
1021
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1022
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1023
+ autoscaling_enabled=True,
1024
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1025
+ max_scaling_factor=1,
1026
+ ),
1027
+ ),
1028
+ ))
1029
+ ```
1030
+ ### Dataproc Metastore Service Autoscaling Min And Max Scaling Factor
1031
+
1032
+ ```python
1033
+ import pulumi
1034
+ import pulumi_gcp as gcp
1035
+
1036
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1037
+ service_id="test-service",
1038
+ location="us-central1",
1039
+ database_type="SPANNER",
1040
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1041
+ version="3.1.2",
1042
+ ),
1043
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1044
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1045
+ autoscaling_enabled=True,
1046
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1047
+ min_scaling_factor=0.1,
1048
+ max_scaling_factor=1,
1049
+ ),
1050
+ ),
1051
+ ))
1052
+ ```
1053
+ ### Dataproc Metastore Service Autoscaling Min Scaling Factor
1054
+
1055
+ ```python
1056
+ import pulumi
1057
+ import pulumi_gcp as gcp
1058
+
1059
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1060
+ service_id="test-service",
1061
+ location="us-central1",
1062
+ database_type="SPANNER",
1063
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1064
+ version="3.1.2",
1065
+ ),
1066
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1067
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1068
+ autoscaling_enabled=True,
1069
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1070
+ min_scaling_factor=0.1,
1071
+ ),
1072
+ ),
1073
+ ))
1074
+ ```
1075
+ ### Dataproc Metastore Service Autoscaling No Limit Config
1076
+
1077
+ ```python
1078
+ import pulumi
1079
+ import pulumi_gcp as gcp
1080
+
1081
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1082
+ service_id="test-service",
1083
+ location="us-central1",
1084
+ database_type="SPANNER",
1085
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1086
+ version="3.1.2",
1087
+ ),
1088
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1089
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1090
+ autoscaling_enabled=True,
1091
+ ),
1092
+ ))
1093
+ ```
1008
1094
 
1009
1095
  ## Import
1010
1096
 
@@ -1258,6 +1344,92 @@ class MetastoreService(pulumi.CustomResource):
1258
1344
  "env": "test",
1259
1345
  })
1260
1346
  ```
1347
+ ### Dataproc Metastore Service Autoscaling Max Scaling Factor
1348
+
1349
+ ```python
1350
+ import pulumi
1351
+ import pulumi_gcp as gcp
1352
+
1353
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1354
+ service_id="test-service",
1355
+ location="us-central1",
1356
+ database_type="SPANNER",
1357
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1358
+ version="3.1.2",
1359
+ ),
1360
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1361
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1362
+ autoscaling_enabled=True,
1363
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1364
+ max_scaling_factor=1,
1365
+ ),
1366
+ ),
1367
+ ))
1368
+ ```
1369
+ ### Dataproc Metastore Service Autoscaling Min And Max Scaling Factor
1370
+
1371
+ ```python
1372
+ import pulumi
1373
+ import pulumi_gcp as gcp
1374
+
1375
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1376
+ service_id="test-service",
1377
+ location="us-central1",
1378
+ database_type="SPANNER",
1379
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1380
+ version="3.1.2",
1381
+ ),
1382
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1383
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1384
+ autoscaling_enabled=True,
1385
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1386
+ min_scaling_factor=0.1,
1387
+ max_scaling_factor=1,
1388
+ ),
1389
+ ),
1390
+ ))
1391
+ ```
1392
+ ### Dataproc Metastore Service Autoscaling Min Scaling Factor
1393
+
1394
+ ```python
1395
+ import pulumi
1396
+ import pulumi_gcp as gcp
1397
+
1398
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1399
+ service_id="test-service",
1400
+ location="us-central1",
1401
+ database_type="SPANNER",
1402
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1403
+ version="3.1.2",
1404
+ ),
1405
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1406
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1407
+ autoscaling_enabled=True,
1408
+ limit_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
1409
+ min_scaling_factor=0.1,
1410
+ ),
1411
+ ),
1412
+ ))
1413
+ ```
1414
+ ### Dataproc Metastore Service Autoscaling No Limit Config
1415
+
1416
+ ```python
1417
+ import pulumi
1418
+ import pulumi_gcp as gcp
1419
+
1420
+ test_resource = gcp.dataproc.MetastoreService("test_resource",
1421
+ service_id="test-service",
1422
+ location="us-central1",
1423
+ database_type="SPANNER",
1424
+ hive_metastore_config=gcp.dataproc.MetastoreServiceHiveMetastoreConfigArgs(
1425
+ version="3.1.2",
1426
+ ),
1427
+ scaling_config=gcp.dataproc.MetastoreServiceScalingConfigArgs(
1428
+ autoscaling_config=gcp.dataproc.MetastoreServiceScalingConfigAutoscalingConfigArgs(
1429
+ autoscaling_enabled=True,
1430
+ ),
1431
+ ))
1432
+ ```
1261
1433
 
1262
1434
  ## Import
1263
1435
 
@@ -97,6 +97,8 @@ __all__ = [
97
97
  'MetastoreServiceNetworkConfig',
98
98
  'MetastoreServiceNetworkConfigConsumer',
99
99
  'MetastoreServiceScalingConfig',
100
+ 'MetastoreServiceScalingConfigAutoscalingConfig',
101
+ 'MetastoreServiceScalingConfigAutoscalingConfigLimitConfig',
100
102
  'MetastoreServiceScheduledBackup',
101
103
  'MetastoreServiceTelemetryConfig',
102
104
  'WorkflowTemplateJob',
@@ -166,6 +168,8 @@ __all__ = [
166
168
  'GetMetastoreServiceNetworkConfigResult',
167
169
  'GetMetastoreServiceNetworkConfigConsumerResult',
168
170
  'GetMetastoreServiceScalingConfigResult',
171
+ 'GetMetastoreServiceScalingConfigAutoscalingConfigResult',
172
+ 'GetMetastoreServiceScalingConfigAutoscalingConfigLimitConfigResult',
169
173
  'GetMetastoreServiceScheduledBackupResult',
170
174
  'GetMetastoreServiceTelemetryConfigResult',
171
175
  ]
@@ -6099,7 +6103,9 @@ class MetastoreServiceScalingConfig(dict):
6099
6103
  @staticmethod
6100
6104
  def __key_warning(key: str):
6101
6105
  suggest = None
6102
- if key == "instanceSize":
6106
+ if key == "autoscalingConfig":
6107
+ suggest = "autoscaling_config"
6108
+ elif key == "instanceSize":
6103
6109
  suggest = "instance_size"
6104
6110
  elif key == "scalingFactor":
6105
6111
  suggest = "scaling_factor"
@@ -6116,18 +6122,32 @@ class MetastoreServiceScalingConfig(dict):
6116
6122
  return super().get(key, default)
6117
6123
 
6118
6124
  def __init__(__self__, *,
6125
+ autoscaling_config: Optional['outputs.MetastoreServiceScalingConfigAutoscalingConfig'] = None,
6119
6126
  instance_size: Optional[str] = None,
6120
6127
  scaling_factor: Optional[float] = None):
6121
6128
  """
6129
+ :param 'MetastoreServiceScalingConfigAutoscalingConfigArgs' autoscaling_config: Represents the autoscaling configuration of a metastore service.
6130
+ Structure is documented below.
6122
6131
  :param str instance_size: Metastore instance sizes.
6123
6132
  Possible values are: `EXTRA_SMALL`, `SMALL`, `MEDIUM`, `LARGE`, `EXTRA_LARGE`.
6124
6133
  :param float scaling_factor: Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
6125
6134
  """
6135
+ if autoscaling_config is not None:
6136
+ pulumi.set(__self__, "autoscaling_config", autoscaling_config)
6126
6137
  if instance_size is not None:
6127
6138
  pulumi.set(__self__, "instance_size", instance_size)
6128
6139
  if scaling_factor is not None:
6129
6140
  pulumi.set(__self__, "scaling_factor", scaling_factor)
6130
6141
 
6142
+ @property
6143
+ @pulumi.getter(name="autoscalingConfig")
6144
+ def autoscaling_config(self) -> Optional['outputs.MetastoreServiceScalingConfigAutoscalingConfig']:
6145
+ """
6146
+ Represents the autoscaling configuration of a metastore service.
6147
+ Structure is documented below.
6148
+ """
6149
+ return pulumi.get(self, "autoscaling_config")
6150
+
6131
6151
  @property
6132
6152
  @pulumi.getter(name="instanceSize")
6133
6153
  def instance_size(self) -> Optional[str]:
@@ -6146,6 +6166,108 @@ class MetastoreServiceScalingConfig(dict):
6146
6166
  return pulumi.get(self, "scaling_factor")
6147
6167
 
6148
6168
 
6169
+ @pulumi.output_type
6170
+ class MetastoreServiceScalingConfigAutoscalingConfig(dict):
6171
+ @staticmethod
6172
+ def __key_warning(key: str):
6173
+ suggest = None
6174
+ if key == "autoscalingEnabled":
6175
+ suggest = "autoscaling_enabled"
6176
+ elif key == "limitConfig":
6177
+ suggest = "limit_config"
6178
+
6179
+ if suggest:
6180
+ pulumi.log.warn(f"Key '{key}' not found in MetastoreServiceScalingConfigAutoscalingConfig. Access the value via the '{suggest}' property getter instead.")
6181
+
6182
+ def __getitem__(self, key: str) -> Any:
6183
+ MetastoreServiceScalingConfigAutoscalingConfig.__key_warning(key)
6184
+ return super().__getitem__(key)
6185
+
6186
+ def get(self, key: str, default = None) -> Any:
6187
+ MetastoreServiceScalingConfigAutoscalingConfig.__key_warning(key)
6188
+ return super().get(key, default)
6189
+
6190
+ def __init__(__self__, *,
6191
+ autoscaling_enabled: Optional[bool] = None,
6192
+ limit_config: Optional['outputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfig'] = None):
6193
+ """
6194
+ :param bool autoscaling_enabled: Defines whether autoscaling is enabled. The default value is false.
6195
+ :param 'MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs' limit_config: Represents the limit configuration of a metastore service.
6196
+ Structure is documented below.
6197
+ """
6198
+ if autoscaling_enabled is not None:
6199
+ pulumi.set(__self__, "autoscaling_enabled", autoscaling_enabled)
6200
+ if limit_config is not None:
6201
+ pulumi.set(__self__, "limit_config", limit_config)
6202
+
6203
+ @property
6204
+ @pulumi.getter(name="autoscalingEnabled")
6205
+ def autoscaling_enabled(self) -> Optional[bool]:
6206
+ """
6207
+ Defines whether autoscaling is enabled. The default value is false.
6208
+ """
6209
+ return pulumi.get(self, "autoscaling_enabled")
6210
+
6211
+ @property
6212
+ @pulumi.getter(name="limitConfig")
6213
+ def limit_config(self) -> Optional['outputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfig']:
6214
+ """
6215
+ Represents the limit configuration of a metastore service.
6216
+ Structure is documented below.
6217
+ """
6218
+ return pulumi.get(self, "limit_config")
6219
+
6220
+
6221
+ @pulumi.output_type
6222
+ class MetastoreServiceScalingConfigAutoscalingConfigLimitConfig(dict):
6223
+ @staticmethod
6224
+ def __key_warning(key: str):
6225
+ suggest = None
6226
+ if key == "maxScalingFactor":
6227
+ suggest = "max_scaling_factor"
6228
+ elif key == "minScalingFactor":
6229
+ suggest = "min_scaling_factor"
6230
+
6231
+ if suggest:
6232
+ pulumi.log.warn(f"Key '{key}' not found in MetastoreServiceScalingConfigAutoscalingConfigLimitConfig. Access the value via the '{suggest}' property getter instead.")
6233
+
6234
+ def __getitem__(self, key: str) -> Any:
6235
+ MetastoreServiceScalingConfigAutoscalingConfigLimitConfig.__key_warning(key)
6236
+ return super().__getitem__(key)
6237
+
6238
+ def get(self, key: str, default = None) -> Any:
6239
+ MetastoreServiceScalingConfigAutoscalingConfigLimitConfig.__key_warning(key)
6240
+ return super().get(key, default)
6241
+
6242
+ def __init__(__self__, *,
6243
+ max_scaling_factor: Optional[float] = None,
6244
+ min_scaling_factor: Optional[float] = None):
6245
+ """
6246
+ :param float max_scaling_factor: The maximum scaling factor that the service will autoscale to. The default value is 6.0.
6247
+ :param float min_scaling_factor: The minimum scaling factor that the service will autoscale to. The default value is 0.1.
6248
+ """
6249
+ if max_scaling_factor is not None:
6250
+ pulumi.set(__self__, "max_scaling_factor", max_scaling_factor)
6251
+ if min_scaling_factor is not None:
6252
+ pulumi.set(__self__, "min_scaling_factor", min_scaling_factor)
6253
+
6254
+ @property
6255
+ @pulumi.getter(name="maxScalingFactor")
6256
+ def max_scaling_factor(self) -> Optional[float]:
6257
+ """
6258
+ The maximum scaling factor that the service will autoscale to. The default value is 6.0.
6259
+ """
6260
+ return pulumi.get(self, "max_scaling_factor")
6261
+
6262
+ @property
6263
+ @pulumi.getter(name="minScalingFactor")
6264
+ def min_scaling_factor(self) -> Optional[float]:
6265
+ """
6266
+ The minimum scaling factor that the service will autoscale to. The default value is 0.1.
6267
+ """
6268
+ return pulumi.get(self, "min_scaling_factor")
6269
+
6270
+
6149
6271
  @pulumi.output_type
6150
6272
  class MetastoreServiceScheduledBackup(dict):
6151
6273
  @staticmethod
@@ -10596,15 +10718,26 @@ class GetMetastoreServiceNetworkConfigConsumerResult(dict):
10596
10718
  @pulumi.output_type
10597
10719
  class GetMetastoreServiceScalingConfigResult(dict):
10598
10720
  def __init__(__self__, *,
10721
+ autoscaling_configs: Sequence['outputs.GetMetastoreServiceScalingConfigAutoscalingConfigResult'],
10599
10722
  instance_size: str,
10600
10723
  scaling_factor: float):
10601
10724
  """
10725
+ :param Sequence['GetMetastoreServiceScalingConfigAutoscalingConfigArgs'] autoscaling_configs: Represents the autoscaling configuration of a metastore service.
10602
10726
  :param str instance_size: Metastore instance sizes. Possible values: ["EXTRA_SMALL", "SMALL", "MEDIUM", "LARGE", "EXTRA_LARGE"]
10603
10727
  :param float scaling_factor: Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
10604
10728
  """
10729
+ pulumi.set(__self__, "autoscaling_configs", autoscaling_configs)
10605
10730
  pulumi.set(__self__, "instance_size", instance_size)
10606
10731
  pulumi.set(__self__, "scaling_factor", scaling_factor)
10607
10732
 
10733
+ @property
10734
+ @pulumi.getter(name="autoscalingConfigs")
10735
+ def autoscaling_configs(self) -> Sequence['outputs.GetMetastoreServiceScalingConfigAutoscalingConfigResult']:
10736
+ """
10737
+ Represents the autoscaling configuration of a metastore service.
10738
+ """
10739
+ return pulumi.get(self, "autoscaling_configs")
10740
+
10608
10741
  @property
10609
10742
  @pulumi.getter(name="instanceSize")
10610
10743
  def instance_size(self) -> str:
@@ -10622,6 +10755,64 @@ class GetMetastoreServiceScalingConfigResult(dict):
10622
10755
  return pulumi.get(self, "scaling_factor")
10623
10756
 
10624
10757
 
10758
+ @pulumi.output_type
10759
+ class GetMetastoreServiceScalingConfigAutoscalingConfigResult(dict):
10760
+ def __init__(__self__, *,
10761
+ autoscaling_enabled: bool,
10762
+ limit_configs: Sequence['outputs.GetMetastoreServiceScalingConfigAutoscalingConfigLimitConfigResult']):
10763
+ """
10764
+ :param bool autoscaling_enabled: Defines whether autoscaling is enabled. The default value is false.
10765
+ :param Sequence['GetMetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs'] limit_configs: Represents the limit configuration of a metastore service.
10766
+ """
10767
+ pulumi.set(__self__, "autoscaling_enabled", autoscaling_enabled)
10768
+ pulumi.set(__self__, "limit_configs", limit_configs)
10769
+
10770
+ @property
10771
+ @pulumi.getter(name="autoscalingEnabled")
10772
+ def autoscaling_enabled(self) -> bool:
10773
+ """
10774
+ Defines whether autoscaling is enabled. The default value is false.
10775
+ """
10776
+ return pulumi.get(self, "autoscaling_enabled")
10777
+
10778
+ @property
10779
+ @pulumi.getter(name="limitConfigs")
10780
+ def limit_configs(self) -> Sequence['outputs.GetMetastoreServiceScalingConfigAutoscalingConfigLimitConfigResult']:
10781
+ """
10782
+ Represents the limit configuration of a metastore service.
10783
+ """
10784
+ return pulumi.get(self, "limit_configs")
10785
+
10786
+
10787
+ @pulumi.output_type
10788
+ class GetMetastoreServiceScalingConfigAutoscalingConfigLimitConfigResult(dict):
10789
+ def __init__(__self__, *,
10790
+ max_scaling_factor: float,
10791
+ min_scaling_factor: float):
10792
+ """
10793
+ :param float max_scaling_factor: The maximum scaling factor that the service will autoscale to. The default value is 6.0.
10794
+ :param float min_scaling_factor: The minimum scaling factor that the service will autoscale to. The default value is 0.1.
10795
+ """
10796
+ pulumi.set(__self__, "max_scaling_factor", max_scaling_factor)
10797
+ pulumi.set(__self__, "min_scaling_factor", min_scaling_factor)
10798
+
10799
+ @property
10800
+ @pulumi.getter(name="maxScalingFactor")
10801
+ def max_scaling_factor(self) -> float:
10802
+ """
10803
+ The maximum scaling factor that the service will autoscale to. The default value is 6.0.
10804
+ """
10805
+ return pulumi.get(self, "max_scaling_factor")
10806
+
10807
+ @property
10808
+ @pulumi.getter(name="minScalingFactor")
10809
+ def min_scaling_factor(self) -> float:
10810
+ """
10811
+ The minimum scaling factor that the service will autoscale to. The default value is 0.1.
10812
+ """
10813
+ return pulumi.get(self, "min_scaling_factor")
10814
+
10815
+
10625
10816
  @pulumi.output_type
10626
10817
  class GetMetastoreServiceScheduledBackupResult(dict):
10627
10818
  def __init__(__self__, *,
@@ -178,13 +178,11 @@ class WorkflowTemplateArgs:
178
178
 
179
179
  @property
180
180
  @pulumi.getter
181
+ @_utilities.deprecated("""version is not useful as a configurable field, and will be removed in the future.""")
181
182
  def version(self) -> Optional[pulumi.Input[int]]:
182
183
  """
183
184
  Output only. The current version of this workflow template.
184
185
  """
185
- warnings.warn("""version is not useful as a configurable field, and will be removed in the future.""", DeprecationWarning)
186
- pulumi.log.warn("""version is deprecated: version is not useful as a configurable field, and will be removed in the future.""")
187
-
188
186
  return pulumi.get(self, "version")
189
187
 
190
188
  @version.setter
@@ -420,13 +418,11 @@ class _WorkflowTemplateState:
420
418
 
421
419
  @property
422
420
  @pulumi.getter
421
+ @_utilities.deprecated("""version is not useful as a configurable field, and will be removed in the future.""")
423
422
  def version(self) -> Optional[pulumi.Input[int]]:
424
423
  """
425
424
  Output only. The current version of this workflow template.
426
425
  """
427
- warnings.warn("""version is not useful as a configurable field, and will be removed in the future.""", DeprecationWarning)
428
- pulumi.log.warn("""version is deprecated: version is not useful as a configurable field, and will be removed in the future.""")
429
-
430
426
  return pulumi.get(self, "version")
431
427
 
432
428
  @version.setter
@@ -892,12 +888,10 @@ class WorkflowTemplate(pulumi.CustomResource):
892
888
 
893
889
  @property
894
890
  @pulumi.getter
891
+ @_utilities.deprecated("""version is not useful as a configurable field, and will be removed in the future.""")
895
892
  def version(self) -> pulumi.Output[int]:
896
893
  """
897
894
  Output only. The current version of this workflow template.
898
895
  """
899
- warnings.warn("""version is not useful as a configurable field, and will be removed in the future.""", DeprecationWarning)
900
- pulumi.log.warn("""version is deprecated: version is not useful as a configurable field, and will be removed in the future.""")
901
-
902
896
  return pulumi.get(self, "version")
903
897
 
@@ -252,7 +252,7 @@ class DataStoreIndex(pulumi.CustomResource):
252
252
  direction="ASCENDING",
253
253
  ),
254
254
  ],
255
- opts=pulumi.ResourceOptions(depends_on=[database]))
255
+ opts = pulumi.ResourceOptions(depends_on=[database]))
256
256
  ```
257
257
 
258
258
  ## Import
@@ -341,7 +341,7 @@ class DataStoreIndex(pulumi.CustomResource):
341
341
  direction="ASCENDING",
342
342
  ),
343
343
  ],
344
- opts=pulumi.ResourceOptions(depends_on=[database]))
344
+ opts = pulumi.ResourceOptions(depends_on=[database]))
345
345
  ```
346
346
 
347
347
  ## Import