pulumi-gcp 7.0.0rc0__py3-none-any.whl → 7.1.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (678) hide show
  1. pulumi_gcp/__init__.py +118 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +546 -71
  3. pulumi_gcp/accesscontextmanager/access_level.py +18 -2
  4. pulumi_gcp/accesscontextmanager/access_level_condition.py +57 -3
  5. pulumi_gcp/accesscontextmanager/access_levels.py +18 -2
  6. pulumi_gcp/accesscontextmanager/access_policy.py +18 -2
  7. pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +18 -2
  8. pulumi_gcp/accesscontextmanager/egress_policy.py +18 -2
  9. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +18 -2
  10. pulumi_gcp/accesscontextmanager/ingress_policy.py +18 -2
  11. pulumi_gcp/accesscontextmanager/outputs.py +643 -71
  12. pulumi_gcp/accesscontextmanager/service_perimeter.py +18 -2
  13. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +18 -2
  14. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +18 -2
  15. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +18 -2
  16. pulumi_gcp/accesscontextmanager/service_perimeters.py +18 -2
  17. pulumi_gcp/activedirectory/domain.py +22 -10
  18. pulumi_gcp/activedirectory/domain_trust.py +18 -2
  19. pulumi_gcp/activedirectory/peering.py +4 -8
  20. pulumi_gcp/alloydb/__init__.py +1 -0
  21. pulumi_gcp/alloydb/_inputs.py +93 -0
  22. pulumi_gcp/alloydb/backup.py +22 -10
  23. pulumi_gcp/alloydb/cluster.py +283 -11
  24. pulumi_gcp/alloydb/instance.py +241 -40
  25. pulumi_gcp/alloydb/outputs.py +130 -0
  26. pulumi_gcp/alloydb/user.py +609 -0
  27. pulumi_gcp/apigateway/api.py +22 -10
  28. pulumi_gcp/apigateway/api_config.py +22 -10
  29. pulumi_gcp/apigateway/gateway.py +22 -10
  30. pulumi_gcp/apigee/addons_config.py +18 -2
  31. pulumi_gcp/apigee/endpoint_attachment.py +18 -2
  32. pulumi_gcp/apigee/env_group.py +18 -2
  33. pulumi_gcp/apigee/env_group_attachment.py +18 -2
  34. pulumi_gcp/apigee/env_keystore.py +18 -2
  35. pulumi_gcp/apigee/env_references.py +18 -2
  36. pulumi_gcp/apigee/environment.py +96 -5
  37. pulumi_gcp/apigee/flowhook.py +18 -2
  38. pulumi_gcp/apigee/instance.py +18 -2
  39. pulumi_gcp/apigee/instance_attachment.py +18 -2
  40. pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +18 -2
  41. pulumi_gcp/apigee/keystores_aliases_pkcs12.py +18 -2
  42. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +18 -2
  43. pulumi_gcp/apigee/nat_address.py +18 -2
  44. pulumi_gcp/apigee/organization.py +18 -2
  45. pulumi_gcp/apigee/sharedflow.py +18 -2
  46. pulumi_gcp/apigee/sharedflow_deployment.py +18 -2
  47. pulumi_gcp/apigee/sync_authorization.py +18 -2
  48. pulumi_gcp/apigee/target_server.py +18 -2
  49. pulumi_gcp/appengine/application.py +20 -4
  50. pulumi_gcp/appengine/application_url_dispatch_rules.py +18 -2
  51. pulumi_gcp/appengine/domain_mapping.py +18 -2
  52. pulumi_gcp/appengine/engine_split_traffic.py +18 -2
  53. pulumi_gcp/appengine/firewall_rule.py +18 -2
  54. pulumi_gcp/appengine/flexible_app_version.py +18 -2
  55. pulumi_gcp/appengine/service_network_settings.py +18 -2
  56. pulumi_gcp/appengine/standard_app_version.py +18 -2
  57. pulumi_gcp/artifactregistry/_inputs.py +4 -4
  58. pulumi_gcp/artifactregistry/outputs.py +4 -4
  59. pulumi_gcp/artifactregistry/repository.py +24 -12
  60. pulumi_gcp/artifactregistry/vpcsc_config.py +18 -2
  61. pulumi_gcp/assuredworkloads/_inputs.py +178 -4
  62. pulumi_gcp/assuredworkloads/outputs.py +217 -5
  63. pulumi_gcp/assuredworkloads/workload.py +474 -63
  64. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  65. pulumi_gcp/backupdisasterrecovery/get_management_server.py +152 -0
  66. pulumi_gcp/backupdisasterrecovery/management_server.py +18 -2
  67. pulumi_gcp/backupdisasterrecovery/outputs.py +40 -0
  68. pulumi_gcp/beyondcorp/app_connection.py +22 -10
  69. pulumi_gcp/beyondcorp/app_connector.py +22 -10
  70. pulumi_gcp/beyondcorp/app_gateway.py +22 -10
  71. pulumi_gcp/biglake/catalog.py +18 -2
  72. pulumi_gcp/biglake/database.py +18 -2
  73. pulumi_gcp/biglake/table.py +18 -2
  74. pulumi_gcp/bigquery/__init__.py +1 -0
  75. pulumi_gcp/bigquery/_inputs.py +94 -8
  76. pulumi_gcp/bigquery/app_profile.py +18 -2
  77. pulumi_gcp/bigquery/bi_reservation.py +18 -2
  78. pulumi_gcp/bigquery/capacity_commitment.py +25 -9
  79. pulumi_gcp/bigquery/connection.py +56 -2
  80. pulumi_gcp/bigquery/data_transfer_config.py +18 -2
  81. pulumi_gcp/bigquery/dataset.py +22 -10
  82. pulumi_gcp/bigquery/dataset_iam_binding.py +10 -38
  83. pulumi_gcp/bigquery/dataset_iam_member.py +10 -38
  84. pulumi_gcp/bigquery/dataset_iam_policy.py +10 -38
  85. pulumi_gcp/bigquery/get_dataset.py +315 -0
  86. pulumi_gcp/bigquery/job.py +26 -10
  87. pulumi_gcp/bigquery/outputs.py +275 -9
  88. pulumi_gcp/bigquery/reservation.py +18 -2
  89. pulumi_gcp/bigquery/reservation_assignment.py +18 -2
  90. pulumi_gcp/bigquery/routine.py +18 -2
  91. pulumi_gcp/bigquery/table.py +171 -17
  92. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +18 -2
  93. pulumi_gcp/bigqueryanalyticshub/listing.py +18 -2
  94. pulumi_gcp/bigquerydatapolicy/data_policy.py +18 -2
  95. pulumi_gcp/bigtable/instance.py +30 -10
  96. pulumi_gcp/bigtable/instance_iam_binding.py +12 -20
  97. pulumi_gcp/bigtable/instance_iam_member.py +12 -20
  98. pulumi_gcp/bigtable/instance_iam_policy.py +12 -20
  99. pulumi_gcp/bigtable/table.py +18 -6
  100. pulumi_gcp/bigtable/table_iam_binding.py +12 -20
  101. pulumi_gcp/bigtable/table_iam_member.py +12 -20
  102. pulumi_gcp/bigtable/table_iam_policy.py +12 -20
  103. pulumi_gcp/billing/account_iam_binding.py +12 -20
  104. pulumi_gcp/billing/account_iam_member.py +12 -20
  105. pulumi_gcp/billing/account_iam_policy.py +12 -20
  106. pulumi_gcp/billing/budget.py +18 -2
  107. pulumi_gcp/billing/project_info.py +18 -2
  108. pulumi_gcp/billing/sub_account.py +18 -2
  109. pulumi_gcp/binaryauthorization/attestor.py +18 -2
  110. pulumi_gcp/binaryauthorization/policy.py +18 -2
  111. pulumi_gcp/certificateauthority/authority.py +22 -10
  112. pulumi_gcp/certificateauthority/ca_pool.py +22 -10
  113. pulumi_gcp/certificateauthority/certificate.py +22 -10
  114. pulumi_gcp/certificateauthority/certificate_template.py +22 -10
  115. pulumi_gcp/certificatemanager/certificate.py +223 -31
  116. pulumi_gcp/certificatemanager/certificate_issuance_config.py +22 -10
  117. pulumi_gcp/certificatemanager/certificate_map.py +22 -10
  118. pulumi_gcp/certificatemanager/certificate_map_entry.py +22 -10
  119. pulumi_gcp/certificatemanager/dns_authorization.py +22 -10
  120. pulumi_gcp/certificatemanager/trust_config.py +22 -10
  121. pulumi_gcp/cloudasset/folder_feed.py +18 -2
  122. pulumi_gcp/cloudasset/organization_feed.py +18 -2
  123. pulumi_gcp/cloudasset/project_feed.py +18 -2
  124. pulumi_gcp/cloudbuild/bitbucket_server_config.py +18 -2
  125. pulumi_gcp/cloudbuild/trigger.py +18 -2
  126. pulumi_gcp/cloudbuild/worker_pool.py +18 -2
  127. pulumi_gcp/cloudbuildv2/connection.py +18 -2
  128. pulumi_gcp/cloudbuildv2/repository.py +18 -2
  129. pulumi_gcp/clouddeploy/delivery_pipeline.py +22 -10
  130. pulumi_gcp/clouddeploy/target.py +22 -10
  131. pulumi_gcp/cloudfunctions/function.py +26 -14
  132. pulumi_gcp/cloudfunctions/get_function.py +3 -0
  133. pulumi_gcp/cloudfunctionsv2/function.py +22 -10
  134. pulumi_gcp/cloudidentity/__init__.py +1 -0
  135. pulumi_gcp/cloudidentity/_inputs.py +119 -0
  136. pulumi_gcp/cloudidentity/get_group_lookup.py +128 -0
  137. pulumi_gcp/cloudidentity/group.py +50 -2
  138. pulumi_gcp/cloudidentity/group_membership.py +18 -2
  139. pulumi_gcp/cloudidentity/outputs.py +156 -0
  140. pulumi_gcp/cloudids/endpoint.py +18 -2
  141. pulumi_gcp/cloudrun/_inputs.py +12 -0
  142. pulumi_gcp/cloudrun/domain_mapping.py +18 -2
  143. pulumi_gcp/cloudrun/outputs.py +12 -0
  144. pulumi_gcp/cloudrun/service.py +18 -2
  145. pulumi_gcp/cloudrunv2/__init__.py +2 -0
  146. pulumi_gcp/cloudrunv2/get_job.py +394 -0
  147. pulumi_gcp/cloudrunv2/get_service.py +454 -0
  148. pulumi_gcp/cloudrunv2/job.py +40 -27
  149. pulumi_gcp/cloudrunv2/outputs.py +1687 -0
  150. pulumi_gcp/cloudrunv2/service.py +40 -27
  151. pulumi_gcp/cloudscheduler/job.py +18 -2
  152. pulumi_gcp/cloudtasks/queue.py +18 -2
  153. pulumi_gcp/composer/_inputs.py +17 -0
  154. pulumi_gcp/composer/environment.py +68 -5
  155. pulumi_gcp/composer/get_environment.py +13 -3
  156. pulumi_gcp/composer/outputs.py +26 -0
  157. pulumi_gcp/compute/__init__.py +2 -0
  158. pulumi_gcp/compute/_inputs.py +158 -4
  159. pulumi_gcp/compute/address.py +38 -18
  160. pulumi_gcp/compute/attached_disk.py +18 -2
  161. pulumi_gcp/compute/autoscaler.py +18 -2
  162. pulumi_gcp/compute/backend_bucket.py +18 -2
  163. pulumi_gcp/compute/backend_service.py +32 -16
  164. pulumi_gcp/compute/disk.py +22 -10
  165. pulumi_gcp/compute/disk_resource_policy_attachment.py +18 -2
  166. pulumi_gcp/compute/external_vpn_gateway.py +22 -10
  167. pulumi_gcp/compute/firewall.py +18 -2
  168. pulumi_gcp/compute/firewall_policy_association.py +18 -2
  169. pulumi_gcp/compute/firewall_policy_rule.py +18 -2
  170. pulumi_gcp/compute/forwarding_rule.py +377 -276
  171. pulumi_gcp/compute/get_disk.py +3 -0
  172. pulumi_gcp/compute/get_forwarding_rule.py +11 -1
  173. pulumi_gcp/compute/get_image.py +3 -0
  174. pulumi_gcp/compute/get_network.py +14 -1
  175. pulumi_gcp/compute/get_networks.py +130 -0
  176. pulumi_gcp/compute/get_subnetwork.py +14 -1
  177. pulumi_gcp/compute/global_address.py +18 -2
  178. pulumi_gcp/compute/global_forwarding_rule.py +127 -108
  179. pulumi_gcp/compute/global_network_endpoint.py +18 -2
  180. pulumi_gcp/compute/global_network_endpoint_group.py +18 -2
  181. pulumi_gcp/compute/ha_vpn_gateway.py +18 -2
  182. pulumi_gcp/compute/health_check.py +18 -2
  183. pulumi_gcp/compute/http_health_check.py +18 -2
  184. pulumi_gcp/compute/https_health_check.py +18 -2
  185. pulumi_gcp/compute/image.py +22 -10
  186. pulumi_gcp/compute/instance.py +44 -36
  187. pulumi_gcp/compute/instance_group.py +24 -8
  188. pulumi_gcp/compute/instance_group_manager.py +26 -10
  189. pulumi_gcp/compute/instance_group_named_port.py +18 -2
  190. pulumi_gcp/compute/instance_settings.py +387 -0
  191. pulumi_gcp/compute/instance_template.py +29 -21
  192. pulumi_gcp/compute/interconnect_attachment.py +18 -2
  193. pulumi_gcp/compute/machine_image.py +18 -2
  194. pulumi_gcp/compute/managed_ssl_certificate.py +18 -2
  195. pulumi_gcp/compute/manged_ssl_certificate.py +18 -2
  196. pulumi_gcp/compute/network.py +18 -2
  197. pulumi_gcp/compute/network_attachment.py +156 -2
  198. pulumi_gcp/compute/network_edge_security_service.py +18 -2
  199. pulumi_gcp/compute/network_endpoint.py +18 -2
  200. pulumi_gcp/compute/network_endpoint_group.py +32 -16
  201. pulumi_gcp/compute/network_endpoint_list.py +18 -2
  202. pulumi_gcp/compute/network_firewall_policy.py +18 -2
  203. pulumi_gcp/compute/network_firewall_policy_association.py +18 -2
  204. pulumi_gcp/compute/network_firewall_policy_rule.py +18 -2
  205. pulumi_gcp/compute/network_peering.py +20 -4
  206. pulumi_gcp/compute/network_peering_routes_config.py +18 -2
  207. pulumi_gcp/compute/node_group.py +129 -2
  208. pulumi_gcp/compute/node_template.py +18 -2
  209. pulumi_gcp/compute/organization_security_policy.py +18 -2
  210. pulumi_gcp/compute/organization_security_policy_association.py +18 -2
  211. pulumi_gcp/compute/organization_security_policy_rule.py +18 -2
  212. pulumi_gcp/compute/outputs.py +230 -7
  213. pulumi_gcp/compute/packet_mirroring.py +18 -2
  214. pulumi_gcp/compute/per_instance_config.py +18 -2
  215. pulumi_gcp/compute/project_default_network_tier.py +20 -4
  216. pulumi_gcp/compute/project_metadata.py +20 -4
  217. pulumi_gcp/compute/project_metadata_item.py +20 -4
  218. pulumi_gcp/compute/public_advertised_prefix.py +18 -2
  219. pulumi_gcp/compute/public_delegated_prefix.py +18 -2
  220. pulumi_gcp/compute/region_autoscaler.py +18 -2
  221. pulumi_gcp/compute/region_backend_service.py +18 -2
  222. pulumi_gcp/compute/region_commitment.py +18 -2
  223. pulumi_gcp/compute/region_disk.py +22 -10
  224. pulumi_gcp/compute/region_disk_resource_policy_attachment.py +18 -2
  225. pulumi_gcp/compute/region_health_check.py +18 -2
  226. pulumi_gcp/compute/region_instance_group_manager.py +20 -4
  227. pulumi_gcp/compute/region_instance_template.py +29 -21
  228. pulumi_gcp/compute/region_network_endpoint_group.py +18 -2
  229. pulumi_gcp/compute/region_network_firewall_policy.py +18 -2
  230. pulumi_gcp/compute/region_network_firewall_policy_association.py +18 -2
  231. pulumi_gcp/compute/region_network_firewall_policy_rule.py +18 -2
  232. pulumi_gcp/compute/region_per_instance_config.py +18 -2
  233. pulumi_gcp/compute/region_security_policy.py +18 -2
  234. pulumi_gcp/compute/region_security_policy_rule.py +18 -2
  235. pulumi_gcp/compute/region_ssl_certificate.py +18 -2
  236. pulumi_gcp/compute/region_ssl_policy.py +18 -2
  237. pulumi_gcp/compute/region_target_http_proxy.py +18 -2
  238. pulumi_gcp/compute/region_target_https_proxy.py +18 -2
  239. pulumi_gcp/compute/region_target_tcp_proxy.py +18 -2
  240. pulumi_gcp/compute/region_url_map.py +18 -2
  241. pulumi_gcp/compute/reservation.py +18 -2
  242. pulumi_gcp/compute/resource_policy.py +18 -2
  243. pulumi_gcp/compute/route.py +18 -2
  244. pulumi_gcp/compute/router.py +18 -2
  245. pulumi_gcp/compute/router_interface.py +22 -6
  246. pulumi_gcp/compute/router_nat.py +18 -2
  247. pulumi_gcp/compute/router_peer.py +18 -2
  248. pulumi_gcp/compute/security_policy.py +52 -4
  249. pulumi_gcp/compute/security_scan_config.py +18 -2
  250. pulumi_gcp/compute/service_attachment.py +18 -2
  251. pulumi_gcp/compute/shared_vpc_host_project.py +20 -4
  252. pulumi_gcp/compute/shared_vpc_service_project.py +20 -4
  253. pulumi_gcp/compute/snapshot.py +22 -10
  254. pulumi_gcp/compute/ssl_certificate.py +18 -2
  255. pulumi_gcp/compute/ssl_policy.py +18 -2
  256. pulumi_gcp/compute/subnetwork.py +109 -2
  257. pulumi_gcp/compute/target_grpc_proxy.py +18 -2
  258. pulumi_gcp/compute/target_http_proxy.py +18 -2
  259. pulumi_gcp/compute/target_https_proxy.py +181 -16
  260. pulumi_gcp/compute/target_instance.py +18 -2
  261. pulumi_gcp/compute/target_pool.py +18 -2
  262. pulumi_gcp/compute/target_ssl_proxy.py +18 -2
  263. pulumi_gcp/compute/target_tcp_proxy.py +18 -2
  264. pulumi_gcp/compute/url_map.py +18 -2
  265. pulumi_gcp/compute/vpn_gateway.py +18 -2
  266. pulumi_gcp/compute/vpn_tunnel.py +18 -2
  267. pulumi_gcp/config/vars.py +12 -0
  268. pulumi_gcp/container/_inputs.py +299 -54
  269. pulumi_gcp/container/attached_cluster.py +18 -2
  270. pulumi_gcp/container/aws_cluster.py +24 -2
  271. pulumi_gcp/container/aws_node_pool.py +18 -2
  272. pulumi_gcp/container/azure_client.py +18 -2
  273. pulumi_gcp/container/azure_cluster.py +24 -2
  274. pulumi_gcp/container/azure_node_pool.py +18 -2
  275. pulumi_gcp/container/cluster.py +92 -29
  276. pulumi_gcp/container/get_cluster.py +11 -1
  277. pulumi_gcp/container/node_pool.py +22 -6
  278. pulumi_gcp/container/outputs.py +384 -52
  279. pulumi_gcp/containeranalysis/note.py +18 -2
  280. pulumi_gcp/containeranalysis/occurence.py +18 -2
  281. pulumi_gcp/databasemigrationservice/__init__.py +1 -0
  282. pulumi_gcp/databasemigrationservice/_inputs.py +465 -0
  283. pulumi_gcp/databasemigrationservice/connection_profile.py +122 -12
  284. pulumi_gcp/databasemigrationservice/outputs.py +466 -0
  285. pulumi_gcp/databasemigrationservice/private_connection.py +672 -0
  286. pulumi_gcp/datacatalog/entry.py +18 -2
  287. pulumi_gcp/datacatalog/entry_group.py +18 -2
  288. pulumi_gcp/datacatalog/policy_tag.py +18 -2
  289. pulumi_gcp/datacatalog/tag.py +18 -2
  290. pulumi_gcp/datacatalog/tag_template.py +18 -2
  291. pulumi_gcp/datacatalog/taxonomy.py +18 -2
  292. pulumi_gcp/dataflow/job.py +24 -12
  293. pulumi_gcp/dataflow/pipeline.py +18 -2
  294. pulumi_gcp/dataform/_inputs.py +78 -21
  295. pulumi_gcp/dataform/outputs.py +86 -20
  296. pulumi_gcp/dataform/repository.py +140 -9
  297. pulumi_gcp/dataform/repository_release_config.py +18 -2
  298. pulumi_gcp/dataform/repository_workflow_config.py +20 -4
  299. pulumi_gcp/datafusion/instance.py +22 -10
  300. pulumi_gcp/dataloss/prevention_deidentify_template.py +18 -2
  301. pulumi_gcp/dataloss/prevention_inspect_template.py +18 -2
  302. pulumi_gcp/dataloss/prevention_job_trigger.py +18 -2
  303. pulumi_gcp/dataloss/prevention_stored_info_type.py +18 -2
  304. pulumi_gcp/dataplex/asset.py +22 -10
  305. pulumi_gcp/dataplex/datascan.py +22 -10
  306. pulumi_gcp/dataplex/lake.py +22 -10
  307. pulumi_gcp/dataplex/task.py +22 -10
  308. pulumi_gcp/dataplex/zone.py +22 -10
  309. pulumi_gcp/dataproc/_inputs.py +148 -0
  310. pulumi_gcp/dataproc/autoscaling_policy.py +18 -2
  311. pulumi_gcp/dataproc/cluster.py +2 -2
  312. pulumi_gcp/dataproc/cluster_iam_binding.py +12 -20
  313. pulumi_gcp/dataproc/cluster_iam_member.py +12 -20
  314. pulumi_gcp/dataproc/cluster_iam_policy.py +12 -20
  315. pulumi_gcp/dataproc/job.py +20 -8
  316. pulumi_gcp/dataproc/job_iam_binding.py +12 -20
  317. pulumi_gcp/dataproc/job_iam_member.py +12 -20
  318. pulumi_gcp/dataproc/job_iam_policy.py +12 -20
  319. pulumi_gcp/dataproc/metastore_federation.py +22 -10
  320. pulumi_gcp/dataproc/metastore_service.py +22 -10
  321. pulumi_gcp/dataproc/outputs.py +175 -0
  322. pulumi_gcp/dataproc/workflow_template.py +18 -2
  323. pulumi_gcp/datastore/data_store_index.py +18 -2
  324. pulumi_gcp/datastream/connection_profile.py +22 -10
  325. pulumi_gcp/datastream/private_connection.py +22 -10
  326. pulumi_gcp/datastream/stream.py +22 -10
  327. pulumi_gcp/deploymentmanager/deployment.py +18 -2
  328. pulumi_gcp/diagflow/_inputs.py +626 -4
  329. pulumi_gcp/diagflow/agent.py +18 -2
  330. pulumi_gcp/diagflow/cx_agent.py +288 -21
  331. pulumi_gcp/diagflow/cx_entity_type.py +18 -2
  332. pulumi_gcp/diagflow/cx_environment.py +18 -2
  333. pulumi_gcp/diagflow/cx_flow.py +309 -4
  334. pulumi_gcp/diagflow/cx_intent.py +165 -10
  335. pulumi_gcp/diagflow/cx_page.py +109 -4
  336. pulumi_gcp/diagflow/cx_security_settings.py +18 -2
  337. pulumi_gcp/diagflow/cx_test_case.py +18 -2
  338. pulumi_gcp/diagflow/cx_version.py +18 -2
  339. pulumi_gcp/diagflow/cx_webhook.py +18 -2
  340. pulumi_gcp/diagflow/entity_type.py +18 -2
  341. pulumi_gcp/diagflow/fulfillment.py +18 -2
  342. pulumi_gcp/diagflow/intent.py +18 -2
  343. pulumi_gcp/diagflow/outputs.py +722 -5
  344. pulumi_gcp/dns/get_keys.py +16 -2
  345. pulumi_gcp/dns/managed_zone.py +22 -10
  346. pulumi_gcp/dns/policy.py +18 -2
  347. pulumi_gcp/dns/record_set.py +24 -8
  348. pulumi_gcp/dns/response_policy.py +18 -2
  349. pulumi_gcp/dns/response_policy_rule.py +18 -2
  350. pulumi_gcp/edgecontainer/__init__.py +12 -0
  351. pulumi_gcp/edgecontainer/_inputs.py +1171 -0
  352. pulumi_gcp/edgecontainer/cluster.py +1539 -0
  353. pulumi_gcp/edgecontainer/node_pool.py +1062 -0
  354. pulumi_gcp/edgecontainer/outputs.py +1204 -0
  355. pulumi_gcp/edgecontainer/vpn_connection.py +918 -0
  356. pulumi_gcp/edgenetwork/network.py +18 -2
  357. pulumi_gcp/edgenetwork/subnet.py +18 -2
  358. pulumi_gcp/essentialcontacts/contact.py +18 -2
  359. pulumi_gcp/essentialcontacts/document_ai_processor.py +18 -2
  360. pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +18 -2
  361. pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -2
  362. pulumi_gcp/eventarc/channel.py +18 -2
  363. pulumi_gcp/eventarc/google_channel_config.py +18 -2
  364. pulumi_gcp/eventarc/trigger.py +22 -10
  365. pulumi_gcp/filestore/backup.py +22 -10
  366. pulumi_gcp/filestore/instance.py +22 -10
  367. pulumi_gcp/filestore/snapshot.py +22 -10
  368. pulumi_gcp/firebase/__init__.py +1 -0
  369. pulumi_gcp/firebase/_inputs.py +878 -0
  370. pulumi_gcp/firebase/android_app.py +18 -2
  371. pulumi_gcp/firebase/apple_app.py +18 -2
  372. pulumi_gcp/firebase/database_instance.py +18 -2
  373. pulumi_gcp/firebase/extensions_instance.py +18 -2
  374. pulumi_gcp/firebase/hosting_channel.py +22 -10
  375. pulumi_gcp/firebase/hosting_custom_domain.py +1274 -0
  376. pulumi_gcp/firebase/hosting_release.py +18 -2
  377. pulumi_gcp/firebase/hosting_site.py +18 -2
  378. pulumi_gcp/firebase/hosting_version.py +18 -2
  379. pulumi_gcp/firebase/outputs.py +905 -0
  380. pulumi_gcp/firebase/project.py +18 -2
  381. pulumi_gcp/firebase/storage_bucket.py +18 -2
  382. pulumi_gcp/firebase/web_app.py +18 -2
  383. pulumi_gcp/firebaserules/release.py +18 -2
  384. pulumi_gcp/firebaserules/ruleset.py +18 -2
  385. pulumi_gcp/firestore/__init__.py +1 -0
  386. pulumi_gcp/firestore/_inputs.py +35 -2
  387. pulumi_gcp/firestore/backup_schedule.py +547 -0
  388. pulumi_gcp/firestore/database.py +24 -4
  389. pulumi_gcp/firestore/document.py +22 -2
  390. pulumi_gcp/firestore/field.py +27 -13
  391. pulumi_gcp/firestore/index.py +140 -21
  392. pulumi_gcp/firestore/outputs.py +31 -2
  393. pulumi_gcp/folder/access_approval_settings.py +18 -2
  394. pulumi_gcp/folder/iam_audit_config.py +10 -58
  395. pulumi_gcp/folder/iam_member.py +10 -58
  396. pulumi_gcp/folder/iam_policy.py +10 -58
  397. pulumi_gcp/folder/organization_policy.py +22 -6
  398. pulumi_gcp/gkebackup/backup_plan.py +22 -10
  399. pulumi_gcp/gkebackup/restore_plan.py +22 -10
  400. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +18 -2
  401. pulumi_gcp/gkebackup/restore_plan_iam_member.py +18 -2
  402. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +18 -2
  403. pulumi_gcp/gkehub/__init__.py +1 -0
  404. pulumi_gcp/gkehub/_inputs.py +431 -0
  405. pulumi_gcp/gkehub/feature.py +76 -10
  406. pulumi_gcp/gkehub/feature_membership.py +22 -2
  407. pulumi_gcp/gkehub/fleet.py +432 -0
  408. pulumi_gcp/gkehub/get_membership_iam_policy.py +24 -3
  409. pulumi_gcp/gkehub/membership.py +120 -16
  410. pulumi_gcp/gkehub/membership_binding.py +22 -10
  411. pulumi_gcp/gkehub/membership_iam_binding.py +67 -0
  412. pulumi_gcp/gkehub/membership_iam_member.py +67 -0
  413. pulumi_gcp/gkehub/membership_iam_policy.py +67 -0
  414. pulumi_gcp/gkehub/membership_rbac_role_binding.py +18 -2
  415. pulumi_gcp/gkehub/namespace.py +22 -10
  416. pulumi_gcp/gkehub/outputs.py +432 -1
  417. pulumi_gcp/gkehub/scope.py +22 -10
  418. pulumi_gcp/gkehub/scope_rbac_role_binding.py +22 -10
  419. pulumi_gcp/gkeonprem/_inputs.py +17 -31
  420. pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +148 -132
  421. pulumi_gcp/gkeonprem/bare_metal_cluster.py +260 -246
  422. pulumi_gcp/gkeonprem/bare_metal_node_pool.py +30 -18
  423. pulumi_gcp/gkeonprem/outputs.py +17 -31
  424. pulumi_gcp/gkeonprem/v_mware_cluster.py +287 -230
  425. pulumi_gcp/gkeonprem/v_mware_node_pool.py +30 -18
  426. pulumi_gcp/healthcare/consent_store.py +22 -10
  427. pulumi_gcp/healthcare/dataset.py +18 -2
  428. pulumi_gcp/healthcare/dataset_iam_binding.py +10 -38
  429. pulumi_gcp/healthcare/dataset_iam_member.py +10 -38
  430. pulumi_gcp/healthcare/dataset_iam_policy.py +10 -38
  431. pulumi_gcp/healthcare/dicom_store.py +22 -10
  432. pulumi_gcp/healthcare/dicom_store_iam_binding.py +10 -30
  433. pulumi_gcp/healthcare/dicom_store_iam_member.py +10 -30
  434. pulumi_gcp/healthcare/dicom_store_iam_policy.py +10 -30
  435. pulumi_gcp/healthcare/fhir_store.py +22 -10
  436. pulumi_gcp/healthcare/fhir_store_iam_binding.py +10 -30
  437. pulumi_gcp/healthcare/fhir_store_iam_member.py +10 -30
  438. pulumi_gcp/healthcare/fhir_store_iam_policy.py +10 -30
  439. pulumi_gcp/healthcare/hl7_store.py +22 -10
  440. pulumi_gcp/healthcare/hl7_store_iam_binding.py +10 -30
  441. pulumi_gcp/healthcare/hl7_store_iam_member.py +10 -30
  442. pulumi_gcp/healthcare/hl7_store_iam_policy.py +10 -30
  443. pulumi_gcp/iam/_inputs.py +20 -0
  444. pulumi_gcp/iam/access_boundary_policy.py +18 -2
  445. pulumi_gcp/iam/deny_policy.py +18 -2
  446. pulumi_gcp/iam/outputs.py +20 -0
  447. pulumi_gcp/iam/workforce_pool.py +18 -2
  448. pulumi_gcp/iam/workforce_pool_provider.py +18 -2
  449. pulumi_gcp/iam/workload_identity_pool.py +18 -2
  450. pulumi_gcp/iam/workload_identity_pool_provider.py +18 -2
  451. pulumi_gcp/iap/brand.py +18 -2
  452. pulumi_gcp/iap/client.py +18 -2
  453. pulumi_gcp/identityplatform/_inputs.py +92 -0
  454. pulumi_gcp/identityplatform/config.py +91 -5
  455. pulumi_gcp/identityplatform/default_supported_idp_config.py +18 -2
  456. pulumi_gcp/identityplatform/inbound_saml_config.py +18 -2
  457. pulumi_gcp/identityplatform/oauth_idp_config.py +18 -2
  458. pulumi_gcp/identityplatform/outputs.py +129 -0
  459. pulumi_gcp/identityplatform/project_default_config.py +18 -2
  460. pulumi_gcp/identityplatform/tenant.py +18 -2
  461. pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +18 -2
  462. pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +18 -2
  463. pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +18 -2
  464. pulumi_gcp/integrationconnectors/__init__.py +10 -0
  465. pulumi_gcp/integrationconnectors/_inputs.py +2518 -0
  466. pulumi_gcp/integrationconnectors/connection.py +1921 -0
  467. pulumi_gcp/integrationconnectors/outputs.py +2780 -0
  468. pulumi_gcp/kms/crypto_key.py +22 -10
  469. pulumi_gcp/kms/crypto_key_iam_binding.py +10 -30
  470. pulumi_gcp/kms/crypto_key_iam_member.py +10 -30
  471. pulumi_gcp/kms/crypto_key_iam_policy.py +10 -30
  472. pulumi_gcp/kms/crypto_key_version.py +18 -2
  473. pulumi_gcp/kms/key_ring.py +18 -2
  474. pulumi_gcp/kms/key_ring_iam_binding.py +10 -30
  475. pulumi_gcp/kms/key_ring_iam_member.py +10 -30
  476. pulumi_gcp/kms/key_ring_iam_policy.py +10 -30
  477. pulumi_gcp/kms/key_ring_import_job.py +18 -2
  478. pulumi_gcp/logging/_inputs.py +160 -0
  479. pulumi_gcp/logging/billing_account_bucket_config.py +61 -26
  480. pulumi_gcp/logging/billing_account_exclusion.py +20 -4
  481. pulumi_gcp/logging/billing_account_sink.py +20 -4
  482. pulumi_gcp/logging/folder_bucket_config.py +75 -4
  483. pulumi_gcp/logging/folder_exclusion.py +20 -4
  484. pulumi_gcp/logging/folder_sink.py +20 -4
  485. pulumi_gcp/logging/linked_dataset.py +18 -2
  486. pulumi_gcp/logging/log_view.py +18 -2
  487. pulumi_gcp/logging/metric.py +18 -2
  488. pulumi_gcp/logging/organization_bucket_config.py +75 -4
  489. pulumi_gcp/logging/organization_exclusion.py +20 -4
  490. pulumi_gcp/logging/organization_sink.py +20 -4
  491. pulumi_gcp/logging/outputs.py +196 -0
  492. pulumi_gcp/logging/project_bucket_config.py +59 -134
  493. pulumi_gcp/logging/project_exclusion.py +20 -4
  494. pulumi_gcp/logging/project_sink.py +95 -18
  495. pulumi_gcp/looker/instance.py +18 -2
  496. pulumi_gcp/memcache/instance.py +22 -10
  497. pulumi_gcp/ml/engine_model.py +22 -10
  498. pulumi_gcp/monitoring/_inputs.py +127 -13
  499. pulumi_gcp/monitoring/alert_policy.py +64 -2
  500. pulumi_gcp/monitoring/custom_service.py +18 -2
  501. pulumi_gcp/monitoring/dashboard.py +18 -2
  502. pulumi_gcp/monitoring/generic_service.py +18 -2
  503. pulumi_gcp/monitoring/group.py +18 -2
  504. pulumi_gcp/monitoring/metric_descriptor.py +18 -2
  505. pulumi_gcp/monitoring/monitored_project.py +18 -2
  506. pulumi_gcp/monitoring/notification_channel.py +18 -2
  507. pulumi_gcp/monitoring/outputs.py +158 -13
  508. pulumi_gcp/monitoring/slo.py +18 -2
  509. pulumi_gcp/monitoring/uptime_check_config.py +92 -9
  510. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  511. pulumi_gcp/networkconnectivity/_inputs.py +185 -0
  512. pulumi_gcp/networkconnectivity/hub.py +22 -10
  513. pulumi_gcp/networkconnectivity/outputs.py +189 -0
  514. pulumi_gcp/networkconnectivity/policy_based_route.py +1003 -0
  515. pulumi_gcp/networkconnectivity/service_connection_policy.py +22 -10
  516. pulumi_gcp/networkconnectivity/spoke.py +22 -10
  517. pulumi_gcp/networkmanagement/connectivity_test.py +22 -10
  518. pulumi_gcp/networksecurity/address_group.py +22 -10
  519. pulumi_gcp/networksecurity/authorization_policy.py +22 -10
  520. pulumi_gcp/networksecurity/client_tls_policy.py +22 -10
  521. pulumi_gcp/networksecurity/gateway_security_policy.py +18 -2
  522. pulumi_gcp/networksecurity/gateway_security_policy_rule.py +18 -2
  523. pulumi_gcp/networksecurity/server_tls_policy.py +92 -10
  524. pulumi_gcp/networksecurity/tls_inspection_policy.py +18 -2
  525. pulumi_gcp/networksecurity/url_list.py +18 -2
  526. pulumi_gcp/networkservices/edge_cache_keyset.py +22 -10
  527. pulumi_gcp/networkservices/edge_cache_origin.py +22 -10
  528. pulumi_gcp/networkservices/edge_cache_service.py +22 -10
  529. pulumi_gcp/networkservices/endpoint_policy.py +22 -10
  530. pulumi_gcp/networkservices/gateway.py +22 -10
  531. pulumi_gcp/networkservices/grpc_route.py +22 -10
  532. pulumi_gcp/networkservices/http_route.py +22 -10
  533. pulumi_gcp/networkservices/mesh.py +22 -10
  534. pulumi_gcp/networkservices/service_binding.py +22 -10
  535. pulumi_gcp/networkservices/tcp_route.py +22 -10
  536. pulumi_gcp/networkservices/tls_route.py +18 -2
  537. pulumi_gcp/notebooks/environment.py +18 -2
  538. pulumi_gcp/notebooks/instance.py +22 -10
  539. pulumi_gcp/notebooks/location.py +18 -2
  540. pulumi_gcp/notebooks/runtime.py +18 -2
  541. pulumi_gcp/organizations/access_approval_settings.py +18 -2
  542. pulumi_gcp/organizations/folder.py +22 -6
  543. pulumi_gcp/organizations/iam_member.py +10 -58
  544. pulumi_gcp/organizations/iam_policy.py +10 -58
  545. pulumi_gcp/organizations/policy.py +22 -4
  546. pulumi_gcp/organizations/project.py +24 -12
  547. pulumi_gcp/orgpolicy/custom_constraint.py +50 -22
  548. pulumi_gcp/orgpolicy/policy.py +18 -2
  549. pulumi_gcp/osconfig/guest_policies.py +18 -2
  550. pulumi_gcp/osconfig/os_policy_assignment.py +18 -2
  551. pulumi_gcp/osconfig/patch_deployment.py +18 -2
  552. pulumi_gcp/oslogin/ssh_public_key.py +18 -2
  553. pulumi_gcp/projects/access_approval_settings.py +18 -2
  554. pulumi_gcp/projects/api_key.py +18 -2
  555. pulumi_gcp/projects/iam_audit_config.py +10 -58
  556. pulumi_gcp/projects/iam_binding.py +10 -58
  557. pulumi_gcp/projects/iam_custom_role.py +18 -2
  558. pulumi_gcp/projects/iam_member.py +10 -58
  559. pulumi_gcp/projects/iam_policy.py +10 -58
  560. pulumi_gcp/projects/organization_policy.py +24 -8
  561. pulumi_gcp/projects/service.py +22 -4
  562. pulumi_gcp/projects/usage_export_bucket.py +20 -4
  563. pulumi_gcp/provider.py +60 -0
  564. pulumi_gcp/pubsub/__init__.py +4 -0
  565. pulumi_gcp/pubsub/_inputs.py +80 -0
  566. pulumi_gcp/pubsub/get_schema_iam_policy.py +147 -0
  567. pulumi_gcp/pubsub/lite_reservation.py +18 -2
  568. pulumi_gcp/pubsub/lite_subscription.py +18 -2
  569. pulumi_gcp/pubsub/lite_topic.py +18 -2
  570. pulumi_gcp/pubsub/outputs.py +56 -0
  571. pulumi_gcp/pubsub/schema.py +18 -2
  572. pulumi_gcp/pubsub/schema_iam_binding.py +601 -0
  573. pulumi_gcp/pubsub/schema_iam_member.py +601 -0
  574. pulumi_gcp/pubsub/schema_iam_policy.py +523 -0
  575. pulumi_gcp/pubsub/subscription.py +22 -10
  576. pulumi_gcp/pubsub/subscription_iam_binding.py +12 -20
  577. pulumi_gcp/pubsub/subscription_iam_member.py +12 -20
  578. pulumi_gcp/pubsub/subscription_iam_policy.py +12 -20
  579. pulumi_gcp/pubsub/topic.py +36 -17
  580. pulumi_gcp/recaptcha/enterprise_key.py +22 -10
  581. pulumi_gcp/redis/cluster.py +42 -18
  582. pulumi_gcp/redis/instance.py +22 -58
  583. pulumi_gcp/resourcemanager/lien.py +18 -2
  584. pulumi_gcp/runtimeconfig/config.py +26 -6
  585. pulumi_gcp/runtimeconfig/variable.py +26 -6
  586. pulumi_gcp/secretmanager/__init__.py +1 -0
  587. pulumi_gcp/secretmanager/get_secrets.py +133 -0
  588. pulumi_gcp/secretmanager/outputs.py +354 -0
  589. pulumi_gcp/secretmanager/secret.py +36 -10
  590. pulumi_gcp/secretmanager/secret_version.py +18 -2
  591. pulumi_gcp/securitycenter/folder_custom_module.py +18 -2
  592. pulumi_gcp/securitycenter/instance_iam_binding.py +18 -2
  593. pulumi_gcp/securitycenter/instance_iam_member.py +18 -2
  594. pulumi_gcp/securitycenter/instance_iam_policy.py +18 -2
  595. pulumi_gcp/securitycenter/mute_config.py +18 -2
  596. pulumi_gcp/securitycenter/notification_config.py +18 -2
  597. pulumi_gcp/securitycenter/organization_custom_module.py +18 -2
  598. pulumi_gcp/securitycenter/project_custom_module.py +18 -2
  599. pulumi_gcp/securitycenter/source.py +18 -2
  600. pulumi_gcp/securitycenter/source_iam_binding.py +18 -2
  601. pulumi_gcp/securitycenter/source_iam_member.py +18 -2
  602. pulumi_gcp/securitycenter/source_iam_policy.py +18 -2
  603. pulumi_gcp/serviceaccount/account.py +20 -4
  604. pulumi_gcp/serviceaccount/iam_binding.py +2 -30
  605. pulumi_gcp/serviceaccount/iam_member.py +2 -30
  606. pulumi_gcp/serviceaccount/iam_policy.py +2 -30
  607. pulumi_gcp/servicedirectory/endpoint.py +18 -2
  608. pulumi_gcp/servicedirectory/namespace.py +22 -10
  609. pulumi_gcp/servicedirectory/service.py +18 -2
  610. pulumi_gcp/servicenetworking/connection.py +22 -6
  611. pulumi_gcp/servicenetworking/peered_dns_domain.py +18 -6
  612. pulumi_gcp/serviceusage/consumer_quota_override.py +18 -2
  613. pulumi_gcp/sourcerepo/repository.py +18 -2
  614. pulumi_gcp/spanner/_inputs.py +142 -0
  615. pulumi_gcp/spanner/database.py +18 -2
  616. pulumi_gcp/spanner/database_iam_binding.py +10 -26
  617. pulumi_gcp/spanner/database_iam_member.py +10 -26
  618. pulumi_gcp/spanner/database_iam_policy.py +10 -26
  619. pulumi_gcp/spanner/get_instance.py +12 -1
  620. pulumi_gcp/spanner/instance.py +99 -10
  621. pulumi_gcp/spanner/instance_iam_binding.py +10 -26
  622. pulumi_gcp/spanner/instance_iam_member.py +10 -26
  623. pulumi_gcp/spanner/instance_iam_policy.py +10 -26
  624. pulumi_gcp/spanner/outputs.py +236 -0
  625. pulumi_gcp/sql/_inputs.py +27 -7
  626. pulumi_gcp/sql/database.py +18 -2
  627. pulumi_gcp/sql/database_instance.py +24 -8
  628. pulumi_gcp/sql/outputs.py +41 -9
  629. pulumi_gcp/sql/source_representation_instance.py +25 -9
  630. pulumi_gcp/sql/user.py +38 -8
  631. pulumi_gcp/storage/_inputs.py +59 -1
  632. pulumi_gcp/storage/bucket.py +69 -6
  633. pulumi_gcp/storage/bucket_access_control.py +18 -2
  634. pulumi_gcp/storage/bucket_object.py +47 -0
  635. pulumi_gcp/storage/default_object_access_control.py +18 -2
  636. pulumi_gcp/storage/get_bucket.py +11 -1
  637. pulumi_gcp/storage/get_bucket_object.py +11 -1
  638. pulumi_gcp/storage/get_bucket_object_content.py +11 -1
  639. pulumi_gcp/storage/hmac_key.py +18 -2
  640. pulumi_gcp/storage/insights_report_config.py +18 -2
  641. pulumi_gcp/storage/notification.py +20 -4
  642. pulumi_gcp/storage/object_access_control.py +18 -2
  643. pulumi_gcp/storage/outputs.py +129 -2
  644. pulumi_gcp/storage/transfer_agent_pool.py +18 -2
  645. pulumi_gcp/storage/transfer_job.py +20 -4
  646. pulumi_gcp/tags/location_tag_binding.py +35 -19
  647. pulumi_gcp/tags/tag_binding.py +18 -2
  648. pulumi_gcp/tags/tag_key.py +18 -2
  649. pulumi_gcp/tags/tag_value.py +18 -2
  650. pulumi_gcp/tpu/_inputs.py +450 -0
  651. pulumi_gcp/tpu/node.py +22 -10
  652. pulumi_gcp/tpu/outputs.py +477 -0
  653. pulumi_gcp/tpu/v2_vm.py +906 -38
  654. pulumi_gcp/vertex/_inputs.py +39 -0
  655. pulumi_gcp/vertex/ai_dataset.py +4 -8
  656. pulumi_gcp/vertex/ai_endpoint.py +22 -10
  657. pulumi_gcp/vertex/ai_feature_store.py +22 -10
  658. pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -10
  659. pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +22 -10
  660. pulumi_gcp/vertex/ai_index.py +22 -10
  661. pulumi_gcp/vertex/ai_index_endpoint.py +116 -10
  662. pulumi_gcp/vertex/ai_metadata_store.py +18 -2
  663. pulumi_gcp/vertex/ai_tensorboard.py +22 -10
  664. pulumi_gcp/vertex/outputs.py +50 -0
  665. pulumi_gcp/vmwareengine/cluster.py +18 -2
  666. pulumi_gcp/vmwareengine/network.py +18 -2
  667. pulumi_gcp/vmwareengine/private_cloud.py +18 -2
  668. pulumi_gcp/vpcaccess/connector.py +18 -2
  669. pulumi_gcp/workflows/workflow.py +159 -11
  670. pulumi_gcp/workstations/_inputs.py +23 -0
  671. pulumi_gcp/workstations/outputs.py +19 -0
  672. pulumi_gcp/workstations/workstation.py +22 -10
  673. pulumi_gcp/workstations/workstation_cluster.py +142 -10
  674. pulumi_gcp/workstations/workstation_config.py +24 -12
  675. {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
  676. {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
  677. {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
  678. {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,7 @@ class InstanceArgs:
21
21
  instance_type: pulumi.Input[str],
22
22
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
23
23
  availability_type: Optional[pulumi.Input[str]] = None,
24
+ client_connection_config: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']] = None,
24
25
  database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
25
26
  display_name: Optional[pulumi.Input[str]] = None,
26
27
  gce_zone: Optional[pulumi.Input[str]] = None,
@@ -36,8 +37,15 @@ class InstanceArgs:
36
37
 
37
38
 
38
39
  - - -
39
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
40
- Possible values are: `PRIMARY`, `READ_POOL`.
40
+ :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
41
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
42
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
43
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
44
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
45
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
46
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
47
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
48
+ "SECONDARY"]
41
49
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
42
50
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
43
51
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -48,6 +56,8 @@ class InstanceArgs:
48
56
  Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
49
57
  can have regional availability (nodes are present in 2 or more zones in a region).'
50
58
  Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
59
+ :param pulumi.Input['InstanceClientConnectionConfigArgs'] client_connection_config: Client connection specific configurations.
60
+ Structure is documented below.
51
61
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
52
62
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
53
63
  :param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
@@ -68,6 +78,8 @@ class InstanceArgs:
68
78
  pulumi.set(__self__, "annotations", annotations)
69
79
  if availability_type is not None:
70
80
  pulumi.set(__self__, "availability_type", availability_type)
81
+ if client_connection_config is not None:
82
+ pulumi.set(__self__, "client_connection_config", client_connection_config)
71
83
  if database_flags is not None:
72
84
  pulumi.set(__self__, "database_flags", database_flags)
73
85
  if display_name is not None:
@@ -115,8 +127,15 @@ class InstanceArgs:
115
127
  @pulumi.getter(name="instanceType")
116
128
  def instance_type(self) -> pulumi.Input[str]:
117
129
  """
118
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
119
- Possible values are: `PRIMARY`, `READ_POOL`.
130
+ The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
131
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
132
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
133
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
134
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
135
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
136
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
137
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
138
+ "SECONDARY"]
120
139
  """
121
140
  return pulumi.get(self, "instance_type")
122
141
 
@@ -156,6 +175,19 @@ class InstanceArgs:
156
175
  def availability_type(self, value: Optional[pulumi.Input[str]]):
157
176
  pulumi.set(self, "availability_type", value)
158
177
 
178
+ @property
179
+ @pulumi.getter(name="clientConnectionConfig")
180
+ def client_connection_config(self) -> Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]:
181
+ """
182
+ Client connection specific configurations.
183
+ Structure is documented below.
184
+ """
185
+ return pulumi.get(self, "client_connection_config")
186
+
187
+ @client_connection_config.setter
188
+ def client_connection_config(self, value: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]):
189
+ pulumi.set(self, "client_connection_config", value)
190
+
159
191
  @property
160
192
  @pulumi.getter(name="databaseFlags")
161
193
  def database_flags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -251,6 +283,7 @@ class _InstanceState:
251
283
  def __init__(__self__, *,
252
284
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
253
285
  availability_type: Optional[pulumi.Input[str]] = None,
286
+ client_connection_config: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']] = None,
254
287
  cluster: Optional[pulumi.Input[str]] = None,
255
288
  create_time: Optional[pulumi.Input[str]] = None,
256
289
  database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -283,6 +316,8 @@ class _InstanceState:
283
316
  Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
284
317
  can have regional availability (nodes are present in 2 or more zones in a region).'
285
318
  Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
319
+ :param pulumi.Input['InstanceClientConnectionConfigArgs'] client_connection_config: Client connection specific configurations.
320
+ Structure is documented below.
286
321
  :param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
287
322
  'projects/{project}/locations/{location}/clusters/{cluster_id}'
288
323
  :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
@@ -290,15 +325,21 @@ class _InstanceState:
290
325
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
291
326
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
292
327
  Terraform, other clients and services.
293
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
294
- clients and services.
328
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
295
329
  :param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
296
330
  :param pulumi.Input[str] instance_id: The ID of the alloydb instance.
297
331
 
298
332
 
299
333
  - - -
300
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
301
- Possible values are: `PRIMARY`, `READ_POOL`.
334
+ :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
335
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
336
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
337
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
338
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
339
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
340
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
341
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
342
+ "SECONDARY"]
302
343
  :param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
303
344
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
304
345
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -321,6 +362,8 @@ class _InstanceState:
321
362
  pulumi.set(__self__, "annotations", annotations)
322
363
  if availability_type is not None:
323
364
  pulumi.set(__self__, "availability_type", availability_type)
365
+ if client_connection_config is not None:
366
+ pulumi.set(__self__, "client_connection_config", client_connection_config)
324
367
  if cluster is not None:
325
368
  pulumi.set(__self__, "cluster", cluster)
326
369
  if create_time is not None:
@@ -394,6 +437,19 @@ class _InstanceState:
394
437
  def availability_type(self, value: Optional[pulumi.Input[str]]):
395
438
  pulumi.set(self, "availability_type", value)
396
439
 
440
+ @property
441
+ @pulumi.getter(name="clientConnectionConfig")
442
+ def client_connection_config(self) -> Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]:
443
+ """
444
+ Client connection specific configurations.
445
+ Structure is documented below.
446
+ """
447
+ return pulumi.get(self, "client_connection_config")
448
+
449
+ @client_connection_config.setter
450
+ def client_connection_config(self, value: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]):
451
+ pulumi.set(self, "client_connection_config", value)
452
+
397
453
  @property
398
454
  @pulumi.getter
399
455
  def cluster(self) -> Optional[pulumi.Input[str]]:
@@ -460,8 +516,7 @@ class _InstanceState:
460
516
  @pulumi.getter(name="effectiveLabels")
461
517
  def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
462
518
  """
463
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
464
- clients and services.
519
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
465
520
  """
466
521
  return pulumi.get(self, "effective_labels")
467
522
 
@@ -500,8 +555,15 @@ class _InstanceState:
500
555
  @pulumi.getter(name="instanceType")
501
556
  def instance_type(self) -> Optional[pulumi.Input[str]]:
502
557
  """
503
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
504
- Possible values are: `PRIMARY`, `READ_POOL`.
558
+ The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
559
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
560
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
561
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
562
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
563
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
564
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
565
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
566
+ "SECONDARY"]
505
567
  """
506
568
  return pulumi.get(self, "instance_type")
507
569
 
@@ -655,6 +717,7 @@ class Instance(pulumi.CustomResource):
655
717
  opts: Optional[pulumi.ResourceOptions] = None,
656
718
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
657
719
  availability_type: Optional[pulumi.Input[str]] = None,
720
+ client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
658
721
  cluster: Optional[pulumi.Input[str]] = None,
659
722
  database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
660
723
  display_name: Optional[pulumi.Input[str]] = None,
@@ -667,14 +730,6 @@ class Instance(pulumi.CustomResource):
667
730
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
668
731
  __props__=None):
669
732
  """
670
- A managed alloydb cluster instance.
671
-
672
- To get more information about Instance, see:
673
-
674
- * [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances/create)
675
- * How-to Guides
676
- * [AlloyDB](https://cloud.google.com/alloydb/docs/)
677
-
678
733
  ## Example Usage
679
734
  ### Alloydb Instance Basic
680
735
 
@@ -709,10 +764,69 @@ class Instance(pulumi.CustomResource):
709
764
  opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
710
765
  project = gcp.organizations.get_project()
711
766
  ```
767
+ ### Alloydb Secondary Instance Basic
768
+
769
+ ```python
770
+ import pulumi
771
+ import pulumi_gcp as gcp
772
+
773
+ default = gcp.compute.Network("default")
774
+ primary_cluster = gcp.alloydb.Cluster("primaryCluster",
775
+ cluster_id="alloydb-primary-cluster",
776
+ location="us-central1",
777
+ network=default.id)
778
+ private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
779
+ address_type="INTERNAL",
780
+ purpose="VPC_PEERING",
781
+ prefix_length=16,
782
+ network=default.id)
783
+ vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
784
+ network=default.id,
785
+ service="servicenetworking.googleapis.com",
786
+ reserved_peering_ranges=[private_ip_alloc.name])
787
+ primary_instance = gcp.alloydb.Instance("primaryInstance",
788
+ cluster=primary_cluster.name,
789
+ instance_id="alloydb-primary-instance",
790
+ instance_type="PRIMARY",
791
+ machine_config=gcp.alloydb.InstanceMachineConfigArgs(
792
+ cpu_count=2,
793
+ ),
794
+ opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
795
+ secondary_cluster = gcp.alloydb.Cluster("secondaryCluster",
796
+ cluster_id="alloydb-secondary-cluster",
797
+ location="us-east1",
798
+ network=default.id,
799
+ cluster_type="SECONDARY",
800
+ continuous_backup_config=gcp.alloydb.ClusterContinuousBackupConfigArgs(
801
+ enabled=False,
802
+ ),
803
+ secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
804
+ primary_cluster_name=primary_cluster.name,
805
+ ),
806
+ deletion_policy="FORCE",
807
+ opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
808
+ secondary_instance = gcp.alloydb.Instance("secondaryInstance",
809
+ cluster=secondary_cluster.name,
810
+ instance_id="alloydb-secondary-instance",
811
+ instance_type=secondary_cluster.cluster_type,
812
+ machine_config=gcp.alloydb.InstanceMachineConfigArgs(
813
+ cpu_count=2,
814
+ ),
815
+ opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
816
+ project = gcp.organizations.get_project()
817
+ ```
712
818
 
713
819
  ## Import
714
820
 
715
- Instance can be imported using any of these accepted formats
821
+ Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{cluster}}/{{instance_id}}` * `{{location}}/{{cluster}}/{{instance_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
822
+
823
+ id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}"
824
+
825
+ to = google_alloydb_instance.default }
826
+
827
+ ```sh
828
+ $ pulumi import gcp:alloydb/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
829
+ ```
716
830
 
717
831
  ```sh
718
832
  $ pulumi import gcp:alloydb/instance:Instance default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}
@@ -738,6 +852,8 @@ class Instance(pulumi.CustomResource):
738
852
  Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
739
853
  can have regional availability (nodes are present in 2 or more zones in a region).'
740
854
  Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
855
+ :param pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']] client_connection_config: Client connection specific configurations.
856
+ Structure is documented below.
741
857
  :param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
742
858
  'projects/{project}/locations/{location}/clusters/{cluster_id}'
743
859
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
@@ -747,8 +863,15 @@ class Instance(pulumi.CustomResource):
747
863
 
748
864
 
749
865
  - - -
750
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
751
- Possible values are: `PRIMARY`, `READ_POOL`.
866
+ :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
867
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
868
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
869
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
870
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
871
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
872
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
873
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
874
+ "SECONDARY"]
752
875
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
753
876
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
754
877
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -766,14 +889,6 @@ class Instance(pulumi.CustomResource):
766
889
  args: InstanceArgs,
767
890
  opts: Optional[pulumi.ResourceOptions] = None):
768
891
  """
769
- A managed alloydb cluster instance.
770
-
771
- To get more information about Instance, see:
772
-
773
- * [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances/create)
774
- * How-to Guides
775
- * [AlloyDB](https://cloud.google.com/alloydb/docs/)
776
-
777
892
  ## Example Usage
778
893
  ### Alloydb Instance Basic
779
894
 
@@ -808,10 +923,69 @@ class Instance(pulumi.CustomResource):
808
923
  opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
809
924
  project = gcp.organizations.get_project()
810
925
  ```
926
+ ### Alloydb Secondary Instance Basic
927
+
928
+ ```python
929
+ import pulumi
930
+ import pulumi_gcp as gcp
931
+
932
+ default = gcp.compute.Network("default")
933
+ primary_cluster = gcp.alloydb.Cluster("primaryCluster",
934
+ cluster_id="alloydb-primary-cluster",
935
+ location="us-central1",
936
+ network=default.id)
937
+ private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
938
+ address_type="INTERNAL",
939
+ purpose="VPC_PEERING",
940
+ prefix_length=16,
941
+ network=default.id)
942
+ vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
943
+ network=default.id,
944
+ service="servicenetworking.googleapis.com",
945
+ reserved_peering_ranges=[private_ip_alloc.name])
946
+ primary_instance = gcp.alloydb.Instance("primaryInstance",
947
+ cluster=primary_cluster.name,
948
+ instance_id="alloydb-primary-instance",
949
+ instance_type="PRIMARY",
950
+ machine_config=gcp.alloydb.InstanceMachineConfigArgs(
951
+ cpu_count=2,
952
+ ),
953
+ opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
954
+ secondary_cluster = gcp.alloydb.Cluster("secondaryCluster",
955
+ cluster_id="alloydb-secondary-cluster",
956
+ location="us-east1",
957
+ network=default.id,
958
+ cluster_type="SECONDARY",
959
+ continuous_backup_config=gcp.alloydb.ClusterContinuousBackupConfigArgs(
960
+ enabled=False,
961
+ ),
962
+ secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
963
+ primary_cluster_name=primary_cluster.name,
964
+ ),
965
+ deletion_policy="FORCE",
966
+ opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
967
+ secondary_instance = gcp.alloydb.Instance("secondaryInstance",
968
+ cluster=secondary_cluster.name,
969
+ instance_id="alloydb-secondary-instance",
970
+ instance_type=secondary_cluster.cluster_type,
971
+ machine_config=gcp.alloydb.InstanceMachineConfigArgs(
972
+ cpu_count=2,
973
+ ),
974
+ opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
975
+ project = gcp.organizations.get_project()
976
+ ```
811
977
 
812
978
  ## Import
813
979
 
814
- Instance can be imported using any of these accepted formats
980
+ Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{cluster}}/{{instance_id}}` * `{{location}}/{{cluster}}/{{instance_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
981
+
982
+ id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}"
983
+
984
+ to = google_alloydb_instance.default }
985
+
986
+ ```sh
987
+ $ pulumi import gcp:alloydb/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
988
+ ```
815
989
 
816
990
  ```sh
817
991
  $ pulumi import gcp:alloydb/instance:Instance default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}
@@ -842,6 +1016,7 @@ class Instance(pulumi.CustomResource):
842
1016
  opts: Optional[pulumi.ResourceOptions] = None,
843
1017
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
844
1018
  availability_type: Optional[pulumi.Input[str]] = None,
1019
+ client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
845
1020
  cluster: Optional[pulumi.Input[str]] = None,
846
1021
  database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
847
1022
  display_name: Optional[pulumi.Input[str]] = None,
@@ -863,6 +1038,7 @@ class Instance(pulumi.CustomResource):
863
1038
 
864
1039
  __props__.__dict__["annotations"] = annotations
865
1040
  __props__.__dict__["availability_type"] = availability_type
1041
+ __props__.__dict__["client_connection_config"] = client_connection_config
866
1042
  if cluster is None and not opts.urn:
867
1043
  raise TypeError("Missing required property 'cluster'")
868
1044
  __props__.__dict__["cluster"] = cluster
@@ -903,6 +1079,7 @@ class Instance(pulumi.CustomResource):
903
1079
  opts: Optional[pulumi.ResourceOptions] = None,
904
1080
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
905
1081
  availability_type: Optional[pulumi.Input[str]] = None,
1082
+ client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
906
1083
  cluster: Optional[pulumi.Input[str]] = None,
907
1084
  create_time: Optional[pulumi.Input[str]] = None,
908
1085
  database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -940,6 +1117,8 @@ class Instance(pulumi.CustomResource):
940
1117
  Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
941
1118
  can have regional availability (nodes are present in 2 or more zones in a region).'
942
1119
  Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
1120
+ :param pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']] client_connection_config: Client connection specific configurations.
1121
+ Structure is documented below.
943
1122
  :param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
944
1123
  'projects/{project}/locations/{location}/clusters/{cluster_id}'
945
1124
  :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
@@ -947,15 +1126,21 @@ class Instance(pulumi.CustomResource):
947
1126
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
948
1127
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
949
1128
  Terraform, other clients and services.
950
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
951
- clients and services.
1129
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
952
1130
  :param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
953
1131
  :param pulumi.Input[str] instance_id: The ID of the alloydb instance.
954
1132
 
955
1133
 
956
1134
  - - -
957
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
958
- Possible values are: `PRIMARY`, `READ_POOL`.
1135
+ :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
1136
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
1137
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
1138
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
1139
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
1140
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
1141
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
1142
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
1143
+ "SECONDARY"]
959
1144
  :param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
960
1145
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
961
1146
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -980,6 +1165,7 @@ class Instance(pulumi.CustomResource):
980
1165
 
981
1166
  __props__.__dict__["annotations"] = annotations
982
1167
  __props__.__dict__["availability_type"] = availability_type
1168
+ __props__.__dict__["client_connection_config"] = client_connection_config
983
1169
  __props__.__dict__["cluster"] = cluster
984
1170
  __props__.__dict__["create_time"] = create_time
985
1171
  __props__.__dict__["database_flags"] = database_flags
@@ -1026,6 +1212,15 @@ class Instance(pulumi.CustomResource):
1026
1212
  """
1027
1213
  return pulumi.get(self, "availability_type")
1028
1214
 
1215
+ @property
1216
+ @pulumi.getter(name="clientConnectionConfig")
1217
+ def client_connection_config(self) -> pulumi.Output['outputs.InstanceClientConnectionConfig']:
1218
+ """
1219
+ Client connection specific configurations.
1220
+ Structure is documented below.
1221
+ """
1222
+ return pulumi.get(self, "client_connection_config")
1223
+
1029
1224
  @property
1030
1225
  @pulumi.getter
1031
1226
  def cluster(self) -> pulumi.Output[str]:
@@ -1072,8 +1267,7 @@ class Instance(pulumi.CustomResource):
1072
1267
  @pulumi.getter(name="effectiveLabels")
1073
1268
  def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
1074
1269
  """
1075
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
1076
- clients and services.
1270
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
1077
1271
  """
1078
1272
  return pulumi.get(self, "effective_labels")
1079
1273
 
@@ -1100,8 +1294,15 @@ class Instance(pulumi.CustomResource):
1100
1294
  @pulumi.getter(name="instanceType")
1101
1295
  def instance_type(self) -> pulumi.Output[str]:
1102
1296
  """
1103
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `depends_on` meta-data attribute.
1104
- Possible values are: `PRIMARY`, `READ_POOL`.
1297
+ The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
1298
+ 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
1299
+ secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
1300
+ google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
1301
+ type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
1302
+ instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
1303
+ the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
1304
+ importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
1305
+ "SECONDARY"]
1105
1306
  """
1106
1307
  return pulumi.get(self, "instance_type")
1107
1308
 
@@ -32,6 +32,9 @@ __all__ = [
32
32
  'ClusterNetworkConfig',
33
33
  'ClusterRestoreBackupSource',
34
34
  'ClusterRestoreContinuousBackupSource',
35
+ 'ClusterSecondaryConfig',
36
+ 'InstanceClientConnectionConfig',
37
+ 'InstanceClientConnectionConfigSslConfig',
35
38
  'InstanceMachineConfig',
36
39
  'InstanceQueryInsightsConfig',
37
40
  'InstanceReadPoolConfig',
@@ -1123,6 +1126,133 @@ class ClusterRestoreContinuousBackupSource(dict):
1123
1126
  return pulumi.get(self, "point_in_time")
1124
1127
 
1125
1128
 
1129
+ @pulumi.output_type
1130
+ class ClusterSecondaryConfig(dict):
1131
+ @staticmethod
1132
+ def __key_warning(key: str):
1133
+ suggest = None
1134
+ if key == "primaryClusterName":
1135
+ suggest = "primary_cluster_name"
1136
+
1137
+ if suggest:
1138
+ pulumi.log.warn(f"Key '{key}' not found in ClusterSecondaryConfig. Access the value via the '{suggest}' property getter instead.")
1139
+
1140
+ def __getitem__(self, key: str) -> Any:
1141
+ ClusterSecondaryConfig.__key_warning(key)
1142
+ return super().__getitem__(key)
1143
+
1144
+ def get(self, key: str, default = None) -> Any:
1145
+ ClusterSecondaryConfig.__key_warning(key)
1146
+ return super().get(key, default)
1147
+
1148
+ def __init__(__self__, *,
1149
+ primary_cluster_name: str):
1150
+ """
1151
+ :param str primary_cluster_name: Name of the primary cluster must be in the format
1152
+ 'projects/{project}/locations/{location}/clusters/{cluster_id}'
1153
+ """
1154
+ pulumi.set(__self__, "primary_cluster_name", primary_cluster_name)
1155
+
1156
+ @property
1157
+ @pulumi.getter(name="primaryClusterName")
1158
+ def primary_cluster_name(self) -> str:
1159
+ """
1160
+ Name of the primary cluster must be in the format
1161
+ 'projects/{project}/locations/{location}/clusters/{cluster_id}'
1162
+ """
1163
+ return pulumi.get(self, "primary_cluster_name")
1164
+
1165
+
1166
+ @pulumi.output_type
1167
+ class InstanceClientConnectionConfig(dict):
1168
+ @staticmethod
1169
+ def __key_warning(key: str):
1170
+ suggest = None
1171
+ if key == "requireConnectors":
1172
+ suggest = "require_connectors"
1173
+ elif key == "sslConfig":
1174
+ suggest = "ssl_config"
1175
+
1176
+ if suggest:
1177
+ pulumi.log.warn(f"Key '{key}' not found in InstanceClientConnectionConfig. Access the value via the '{suggest}' property getter instead.")
1178
+
1179
+ def __getitem__(self, key: str) -> Any:
1180
+ InstanceClientConnectionConfig.__key_warning(key)
1181
+ return super().__getitem__(key)
1182
+
1183
+ def get(self, key: str, default = None) -> Any:
1184
+ InstanceClientConnectionConfig.__key_warning(key)
1185
+ return super().get(key, default)
1186
+
1187
+ def __init__(__self__, *,
1188
+ require_connectors: Optional[bool] = None,
1189
+ ssl_config: Optional['outputs.InstanceClientConnectionConfigSslConfig'] = None):
1190
+ """
1191
+ :param bool require_connectors: Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
1192
+ :param 'InstanceClientConnectionConfigSslConfigArgs' ssl_config: SSL config option for this instance.
1193
+ Structure is documented below.
1194
+ """
1195
+ if require_connectors is not None:
1196
+ pulumi.set(__self__, "require_connectors", require_connectors)
1197
+ if ssl_config is not None:
1198
+ pulumi.set(__self__, "ssl_config", ssl_config)
1199
+
1200
+ @property
1201
+ @pulumi.getter(name="requireConnectors")
1202
+ def require_connectors(self) -> Optional[bool]:
1203
+ """
1204
+ Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
1205
+ """
1206
+ return pulumi.get(self, "require_connectors")
1207
+
1208
+ @property
1209
+ @pulumi.getter(name="sslConfig")
1210
+ def ssl_config(self) -> Optional['outputs.InstanceClientConnectionConfigSslConfig']:
1211
+ """
1212
+ SSL config option for this instance.
1213
+ Structure is documented below.
1214
+ """
1215
+ return pulumi.get(self, "ssl_config")
1216
+
1217
+
1218
+ @pulumi.output_type
1219
+ class InstanceClientConnectionConfigSslConfig(dict):
1220
+ @staticmethod
1221
+ def __key_warning(key: str):
1222
+ suggest = None
1223
+ if key == "sslMode":
1224
+ suggest = "ssl_mode"
1225
+
1226
+ if suggest:
1227
+ pulumi.log.warn(f"Key '{key}' not found in InstanceClientConnectionConfigSslConfig. Access the value via the '{suggest}' property getter instead.")
1228
+
1229
+ def __getitem__(self, key: str) -> Any:
1230
+ InstanceClientConnectionConfigSslConfig.__key_warning(key)
1231
+ return super().__getitem__(key)
1232
+
1233
+ def get(self, key: str, default = None) -> Any:
1234
+ InstanceClientConnectionConfigSslConfig.__key_warning(key)
1235
+ return super().get(key, default)
1236
+
1237
+ def __init__(__self__, *,
1238
+ ssl_mode: Optional[str] = None):
1239
+ """
1240
+ :param str ssl_mode: SSL mode. Specifies client-server SSL/TLS connection behavior.
1241
+ Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
1242
+ """
1243
+ if ssl_mode is not None:
1244
+ pulumi.set(__self__, "ssl_mode", ssl_mode)
1245
+
1246
+ @property
1247
+ @pulumi.getter(name="sslMode")
1248
+ def ssl_mode(self) -> Optional[str]:
1249
+ """
1250
+ SSL mode. Specifies client-server SSL/TLS connection behavior.
1251
+ Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
1252
+ """
1253
+ return pulumi.get(self, "ssl_mode")
1254
+
1255
+
1126
1256
  @pulumi.output_type
1127
1257
  class InstanceMachineConfig(dict):
1128
1258
  @staticmethod