pulumi-gcp 8.32.0a1747377897__py3-none-any.whl → 8.32.0a1747834582__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 (256) hide show
  1. pulumi_gcp/__init__.py +88 -0
  2. pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -2
  3. pulumi_gcp/apigateway/api_config_iam_binding.py +13 -0
  4. pulumi_gcp/apigateway/api_config_iam_member.py +13 -0
  5. pulumi_gcp/apigateway/api_config_iam_policy.py +13 -0
  6. pulumi_gcp/apigateway/api_iam_binding.py +13 -0
  7. pulumi_gcp/apigateway/api_iam_member.py +13 -0
  8. pulumi_gcp/apigateway/api_iam_policy.py +13 -0
  9. pulumi_gcp/apigateway/gateway_iam_binding.py +13 -0
  10. pulumi_gcp/apigateway/gateway_iam_member.py +13 -0
  11. pulumi_gcp/apigateway/gateway_iam_policy.py +13 -0
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +2 -0
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +2 -0
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +2 -0
  15. pulumi_gcp/apigee/environment_iam_binding.py +27 -0
  16. pulumi_gcp/apigee/environment_iam_member.py +27 -0
  17. pulumi_gcp/apigee/environment_iam_policy.py +27 -0
  18. pulumi_gcp/apigee/get_environment_iam_policy.py +6 -0
  19. pulumi_gcp/beyondcorp/__init__.py +1 -0
  20. pulumi_gcp/beyondcorp/application.py +8 -4
  21. pulumi_gcp/beyondcorp/application_iam_binding.py +26 -0
  22. pulumi_gcp/beyondcorp/application_iam_member.py +26 -0
  23. pulumi_gcp/beyondcorp/application_iam_policy.py +26 -0
  24. pulumi_gcp/beyondcorp/get_application_iam_policy.py +4 -0
  25. pulumi_gcp/beyondcorp/get_security_gateway.py +222 -0
  26. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -0
  27. pulumi_gcp/beyondcorp/outputs.py +45 -0
  28. pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +13 -0
  29. pulumi_gcp/beyondcorp/security_gateway_iam_member.py +13 -0
  30. pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +13 -0
  31. pulumi_gcp/bigquery/__init__.py +1 -0
  32. pulumi_gcp/bigquery/connection_iam_binding.py +4 -11
  33. pulumi_gcp/bigquery/connection_iam_member.py +4 -11
  34. pulumi_gcp/bigquery/connection_iam_policy.py +4 -11
  35. pulumi_gcp/bigquery/data_transfer_config.py +2 -2
  36. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -4
  37. pulumi_gcp/bigquery/get_table_iam_policy.py +4 -0
  38. pulumi_gcp/bigquery/iam_binding.py +26 -0
  39. pulumi_gcp/bigquery/iam_member.py +26 -0
  40. pulumi_gcp/bigquery/iam_policy.py +26 -0
  41. pulumi_gcp/bigquery/row_access_policy.py +787 -0
  42. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -7
  43. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -7
  44. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -7
  45. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  46. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  47. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -7
  48. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -7
  49. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -7
  50. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +6 -6
  51. pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +13 -0
  52. pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +13 -0
  53. pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +13 -0
  54. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -0
  55. pulumi_gcp/bigtable/logical_view.py +49 -0
  56. pulumi_gcp/cloudbuild/trigger.py +2 -2
  57. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +6 -0
  58. pulumi_gcp/clouddeploy/get_target_iam_policy.py +6 -0
  59. pulumi_gcp/colab/schedule.py +2 -2
  60. pulumi_gcp/compute/_inputs.py +126 -0
  61. pulumi_gcp/compute/backend_service.py +259 -51
  62. pulumi_gcp/compute/get_backend_service.py +23 -1
  63. pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
  64. pulumi_gcp/compute/get_instance_template.py +12 -1
  65. pulumi_gcp/compute/get_network_endpoint_group.py +12 -1
  66. pulumi_gcp/compute/global_forwarding_rule.py +199 -0
  67. pulumi_gcp/compute/instance_template.py +28 -0
  68. pulumi_gcp/compute/network_endpoint_group.py +28 -0
  69. pulumi_gcp/compute/outputs.py +110 -0
  70. pulumi_gcp/compute/region_backend_service.py +58 -51
  71. pulumi_gcp/container/cluster.py +47 -0
  72. pulumi_gcp/container/get_cluster.py +12 -1
  73. pulumi_gcp/datacatalog/entry_group_iam_binding.py +34 -0
  74. pulumi_gcp/datacatalog/entry_group_iam_member.py +34 -0
  75. pulumi_gcp/datacatalog/entry_group_iam_policy.py +34 -0
  76. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +8 -0
  77. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +8 -0
  78. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +8 -0
  79. pulumi_gcp/datacatalog/tag_template_iam_binding.py +34 -0
  80. pulumi_gcp/datacatalog/tag_template_iam_member.py +34 -0
  81. pulumi_gcp/datacatalog/tag_template_iam_policy.py +34 -0
  82. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +34 -0
  83. pulumi_gcp/datacatalog/taxonomy_iam_member.py +34 -0
  84. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +34 -0
  85. pulumi_gcp/dataplex/__init__.py +5 -0
  86. pulumi_gcp/dataplex/_inputs.py +98 -0
  87. pulumi_gcp/dataplex/aspect_type_iam_binding.py +13 -0
  88. pulumi_gcp/dataplex/aspect_type_iam_member.py +13 -0
  89. pulumi_gcp/dataplex/aspect_type_iam_policy.py +13 -0
  90. pulumi_gcp/dataplex/asset_iam_binding.py +53 -0
  91. pulumi_gcp/dataplex/asset_iam_member.py +53 -0
  92. pulumi_gcp/dataplex/asset_iam_policy.py +53 -0
  93. pulumi_gcp/dataplex/datascan_iam_binding.py +13 -0
  94. pulumi_gcp/dataplex/datascan_iam_member.py +13 -0
  95. pulumi_gcp/dataplex/datascan_iam_policy.py +13 -0
  96. pulumi_gcp/dataplex/entry_group_iam_binding.py +13 -0
  97. pulumi_gcp/dataplex/entry_group_iam_member.py +13 -0
  98. pulumi_gcp/dataplex/entry_group_iam_policy.py +13 -0
  99. pulumi_gcp/dataplex/entry_type_iam_binding.py +13 -0
  100. pulumi_gcp/dataplex/entry_type_iam_member.py +13 -0
  101. pulumi_gcp/dataplex/entry_type_iam_policy.py +13 -0
  102. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -0
  103. pulumi_gcp/dataplex/get_asset_iam_policy.py +10 -0
  104. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -0
  105. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -0
  106. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -0
  107. pulumi_gcp/dataplex/get_glossary_iam_policy.py +185 -0
  108. pulumi_gcp/dataplex/get_lake_iam_policy.py +6 -0
  109. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -0
  110. pulumi_gcp/dataplex/get_zone_iam_policy.py +8 -0
  111. pulumi_gcp/dataplex/glossary.py +772 -0
  112. pulumi_gcp/dataplex/glossary_iam_binding.py +837 -0
  113. pulumi_gcp/dataplex/glossary_iam_member.py +837 -0
  114. pulumi_gcp/dataplex/glossary_iam_policy.py +676 -0
  115. pulumi_gcp/dataplex/lake_iam_binding.py +27 -0
  116. pulumi_gcp/dataplex/lake_iam_member.py +27 -0
  117. pulumi_gcp/dataplex/lake_iam_policy.py +27 -0
  118. pulumi_gcp/dataplex/outputs.py +56 -0
  119. pulumi_gcp/dataplex/task_iam_binding.py +13 -0
  120. pulumi_gcp/dataplex/task_iam_member.py +13 -0
  121. pulumi_gcp/dataplex/task_iam_policy.py +13 -0
  122. pulumi_gcp/dataplex/zone_iam_binding.py +40 -0
  123. pulumi_gcp/dataplex/zone_iam_member.py +40 -0
  124. pulumi_gcp/dataplex/zone_iam_policy.py +40 -0
  125. pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +4 -25
  126. pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +4 -25
  127. pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +4 -25
  128. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -8
  129. pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +8 -0
  130. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -0
  131. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -0
  132. pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +10 -0
  133. pulumi_gcp/dataproc/metastore_database_iam_binding.py +40 -0
  134. pulumi_gcp/dataproc/metastore_database_iam_member.py +40 -0
  135. pulumi_gcp/dataproc/metastore_database_iam_policy.py +40 -0
  136. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +13 -0
  137. pulumi_gcp/dataproc/metastore_federation_iam_member.py +13 -0
  138. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +13 -0
  139. pulumi_gcp/dataproc/metastore_service_iam_binding.py +13 -0
  140. pulumi_gcp/dataproc/metastore_service_iam_member.py +13 -0
  141. pulumi_gcp/dataproc/metastore_service_iam_policy.py +13 -0
  142. pulumi_gcp/dataproc/metastore_table_iam_binding.py +53 -0
  143. pulumi_gcp/dataproc/metastore_table_iam_member.py +53 -0
  144. pulumi_gcp/dataproc/metastore_table_iam_policy.py +53 -0
  145. pulumi_gcp/diagflow/_inputs.py +56 -0
  146. pulumi_gcp/diagflow/cx_agent.py +60 -0
  147. pulumi_gcp/diagflow/cx_flow.py +2 -0
  148. pulumi_gcp/diagflow/entity_type.py +2 -2
  149. pulumi_gcp/diagflow/outputs.py +35 -0
  150. pulumi_gcp/edgecontainer/node_pool.py +2 -2
  151. pulumi_gcp/endpoints/consumers_iam_binding.py +26 -0
  152. pulumi_gcp/endpoints/consumers_iam_member.py +26 -0
  153. pulumi_gcp/endpoints/consumers_iam_policy.py +26 -0
  154. pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +8 -0
  155. pulumi_gcp/endpoints/get_service_iam_policy.py +6 -0
  156. pulumi_gcp/endpoints/service_iam_binding.py +13 -0
  157. pulumi_gcp/endpoints/service_iam_member.py +13 -0
  158. pulumi_gcp/endpoints/service_iam_policy.py +13 -0
  159. pulumi_gcp/firebase/__init__.py +3 -0
  160. pulumi_gcp/firebase/_inputs.py +1527 -0
  161. pulumi_gcp/firebase/app_hosting_backend.py +104 -0
  162. pulumi_gcp/firebase/app_hosting_default_domain.py +721 -0
  163. pulumi_gcp/firebase/app_hosting_domain.py +796 -0
  164. pulumi_gcp/firebase/app_hosting_traffic.py +914 -0
  165. pulumi_gcp/firebase/extensions_instance.py +4 -4
  166. pulumi_gcp/firebase/outputs.py +1075 -0
  167. pulumi_gcp/firestore/database.py +9 -0
  168. pulumi_gcp/gemini/get_repository_group_iam_policy.py +4 -0
  169. pulumi_gcp/gemini/repository_group_iam_binding.py +26 -0
  170. pulumi_gcp/gemini/repository_group_iam_member.py +26 -0
  171. pulumi_gcp/gemini/repository_group_iam_policy.py +26 -0
  172. pulumi_gcp/gkebackup/backup_channel.py +9 -9
  173. pulumi_gcp/gkebackup/restore_channel.py +9 -9
  174. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -0
  175. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -0
  176. pulumi_gcp/gkehub/membership_iam_binding.py +13 -0
  177. pulumi_gcp/gkehub/membership_iam_member.py +13 -0
  178. pulumi_gcp/gkehub/membership_iam_policy.py +13 -0
  179. pulumi_gcp/gkehub/scope_iam_binding.py +13 -0
  180. pulumi_gcp/gkehub/scope_iam_member.py +13 -0
  181. pulumi_gcp/gkehub/scope_iam_policy.py +13 -0
  182. pulumi_gcp/iam/__init__.py +4 -0
  183. pulumi_gcp/iam/_inputs.py +432 -0
  184. pulumi_gcp/iam/get_workload_identity_pool.py +35 -1
  185. pulumi_gcp/iam/get_workload_identity_pool_iam_policy.py +156 -0
  186. pulumi_gcp/iam/oauth_client_credential.py +6 -0
  187. pulumi_gcp/iam/outputs.py +510 -0
  188. pulumi_gcp/iam/workload_identity_pool.py +446 -24
  189. pulumi_gcp/iam/workload_identity_pool_iam_binding.py +539 -0
  190. pulumi_gcp/iam/workload_identity_pool_iam_member.py +539 -0
  191. pulumi_gcp/iam/workload_identity_pool_iam_policy.py +358 -0
  192. pulumi_gcp/iap/app_engine_service_iam_binding.py +14 -14
  193. pulumi_gcp/iap/app_engine_service_iam_member.py +14 -14
  194. pulumi_gcp/iap/app_engine_service_iam_policy.py +14 -14
  195. pulumi_gcp/iap/app_engine_version_iam_binding.py +14 -14
  196. pulumi_gcp/iap/app_engine_version_iam_member.py +14 -14
  197. pulumi_gcp/iap/app_engine_version_iam_policy.py +14 -14
  198. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +4 -4
  199. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +4 -4
  200. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -0
  201. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +6 -0
  202. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +6 -0
  203. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  204. pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +13 -0
  205. pulumi_gcp/iap/tunnel_dest_group_iam_member.py +13 -0
  206. pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +13 -0
  207. pulumi_gcp/iap/tunnel_instance_iam_binding.py +27 -0
  208. pulumi_gcp/iap/tunnel_instance_iam_member.py +27 -0
  209. pulumi_gcp/iap/tunnel_instance_iam_policy.py +27 -0
  210. pulumi_gcp/iap/web_region_backend_service_iam_binding.py +27 -0
  211. pulumi_gcp/iap/web_region_backend_service_iam_member.py +27 -0
  212. pulumi_gcp/iap/web_region_backend_service_iam_policy.py +27 -0
  213. pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -7
  214. pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -7
  215. pulumi_gcp/iap/web_type_app_enging_iam_policy.py +7 -7
  216. pulumi_gcp/lustre/__init__.py +1 -0
  217. pulumi_gcp/lustre/get_instance.py +280 -0
  218. pulumi_gcp/lustre/instance.py +12 -0
  219. pulumi_gcp/netapp/backup.py +2 -2
  220. pulumi_gcp/networksecurity/intercept_deployment.py +10 -0
  221. pulumi_gcp/networksecurity/intercept_deployment_group.py +8 -0
  222. pulumi_gcp/networksecurity/intercept_endpoint_group.py +12 -0
  223. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +16 -0
  224. pulumi_gcp/pulumi-plugin.json +1 -1
  225. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -0
  226. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -0
  227. pulumi_gcp/secretmanager/regional_secret_iam_binding.py +13 -0
  228. pulumi_gcp/secretmanager/regional_secret_iam_member.py +13 -0
  229. pulumi_gcp/secretmanager/regional_secret_iam_policy.py +13 -0
  230. pulumi_gcp/secretmanager/secret_iam_binding.py +13 -0
  231. pulumi_gcp/secretmanager/secret_iam_member.py +13 -0
  232. pulumi_gcp/secretmanager/secret_iam_policy.py +13 -0
  233. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -4
  234. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -4
  235. pulumi_gcp/securesourcemanager/repository_iam_binding.py +4 -11
  236. pulumi_gcp/securesourcemanager/repository_iam_member.py +4 -11
  237. pulumi_gcp/securesourcemanager/repository_iam_policy.py +4 -11
  238. pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +2 -2
  239. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -2
  240. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +13 -0
  241. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +13 -0
  242. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +13 -0
  243. pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +2 -0
  244. pulumi_gcp/vmwareengine/external_address.py +4 -4
  245. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -0
  246. pulumi_gcp/workstations/get_workstation_iam_policy.py +10 -0
  247. pulumi_gcp/workstations/workstation_config_iam_binding.py +33 -0
  248. pulumi_gcp/workstations/workstation_config_iam_member.py +33 -0
  249. pulumi_gcp/workstations/workstation_config_iam_policy.py +33 -0
  250. pulumi_gcp/workstations/workstation_iam_binding.py +53 -0
  251. pulumi_gcp/workstations/workstation_iam_member.py +53 -0
  252. pulumi_gcp/workstations/workstation_iam_policy.py +53 -0
  253. {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/METADATA +1 -1
  254. {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/RECORD +256 -241
  255. {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/WHEEL +1 -1
  256. {pulumi_gcp-8.32.0a1747377897.dist-info → pulumi_gcp-8.32.0a1747834582.dist-info}/top_level.txt +0 -0
@@ -35,6 +35,8 @@ class BackendServiceArgs:
35
35
  description: Optional[pulumi.Input[builtins.str]] = None,
36
36
  edge_security_policy: Optional[pulumi.Input[builtins.str]] = None,
37
37
  enable_cdn: Optional[pulumi.Input[builtins.bool]] = None,
38
+ external_managed_migration_state: Optional[pulumi.Input[builtins.str]] = None,
39
+ external_managed_migration_testing_percentage: Optional[pulumi.Input[builtins.float]] = None,
38
40
  health_checks: Optional[pulumi.Input[builtins.str]] = None,
39
41
  iap: Optional[pulumi.Input['BackendServiceIapArgs']] = None,
40
42
  ip_address_selection_policy: Optional[pulumi.Input[builtins.str]] = None,
@@ -91,6 +93,24 @@ class BackendServiceArgs:
91
93
  :param pulumi.Input[builtins.str] description: An optional description of this resource.
92
94
  :param pulumi.Input[builtins.str] edge_security_policy: The resource URL for the edge security policy associated with this backend service.
93
95
  :param pulumi.Input[builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendService.
96
+ :param pulumi.Input[builtins.str] external_managed_migration_state: Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
97
+ TEST_ALL_TRAFFIC.
98
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
99
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
100
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
101
+ traffic by percentage using externalManagedMigrationTestingPercentage.
102
+ Rolling back a migration requires the states to be set in reverse order. So changing the
103
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
104
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
105
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
106
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
107
+ :param pulumi.Input[builtins.float] external_managed_migration_testing_percentage: Determines the fraction of requests that should be processed by the Global external
108
+ Application Load Balancer.
109
+ The value of this field must be in the range [0, 100].
110
+ Session affinity options will slightly affect this routing behavior, for more details,
111
+ see: Session Affinity.
112
+ This value can only be set if the loadBalancingScheme in the backend service is set to
113
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
94
114
  :param pulumi.Input[builtins.str] health_checks: The set of URLs to the HttpHealthCheck or HttpsHealthCheck resource
95
115
  for health checking this BackendService. Currently at most one health
96
116
  check can be specified.
@@ -155,7 +175,7 @@ class BackendServiceArgs:
155
175
  to use for computing the weights are specified via the
156
176
  backends[].customMetrics fields.
157
177
  locality_lb_policy is applicable to either:
158
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
178
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
159
179
  and loadBalancingScheme set to INTERNAL_MANAGED.
160
180
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
161
181
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -197,14 +217,14 @@ class BackendServiceArgs:
197
217
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
198
218
  If it is not provided, the provider project is used.
199
219
  :param pulumi.Input[builtins.str] protocol: The protocol this BackendService uses to communicate with backends.
200
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
201
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
202
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
203
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
204
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
220
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
221
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
222
+ for more information. Must be set to GRPC when the backend service is referenced
223
+ by a URL map that is bound to target gRPC proxy.
224
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
205
225
  :param pulumi.Input[builtins.str] security_policy: The security policy associated with this backend service.
206
226
  :param pulumi.Input['BackendServiceSecuritySettingsArgs'] security_settings: The security settings that apply to this backend service. This field is applicable to either
207
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
227
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
208
228
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
209
229
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
210
230
  Structure is documented below.
@@ -248,6 +268,10 @@ class BackendServiceArgs:
248
268
  pulumi.set(__self__, "edge_security_policy", edge_security_policy)
249
269
  if enable_cdn is not None:
250
270
  pulumi.set(__self__, "enable_cdn", enable_cdn)
271
+ if external_managed_migration_state is not None:
272
+ pulumi.set(__self__, "external_managed_migration_state", external_managed_migration_state)
273
+ if external_managed_migration_testing_percentage is not None:
274
+ pulumi.set(__self__, "external_managed_migration_testing_percentage", external_managed_migration_testing_percentage)
251
275
  if health_checks is not None:
252
276
  pulumi.set(__self__, "health_checks", health_checks)
253
277
  if iap is not None:
@@ -466,6 +490,46 @@ class BackendServiceArgs:
466
490
  def enable_cdn(self, value: Optional[pulumi.Input[builtins.bool]]):
467
491
  pulumi.set(self, "enable_cdn", value)
468
492
 
493
+ @property
494
+ @pulumi.getter(name="externalManagedMigrationState")
495
+ def external_managed_migration_state(self) -> Optional[pulumi.Input[builtins.str]]:
496
+ """
497
+ Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
498
+ TEST_ALL_TRAFFIC.
499
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
500
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
501
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
502
+ traffic by percentage using externalManagedMigrationTestingPercentage.
503
+ Rolling back a migration requires the states to be set in reverse order. So changing the
504
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
505
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
506
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
507
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
508
+ """
509
+ return pulumi.get(self, "external_managed_migration_state")
510
+
511
+ @external_managed_migration_state.setter
512
+ def external_managed_migration_state(self, value: Optional[pulumi.Input[builtins.str]]):
513
+ pulumi.set(self, "external_managed_migration_state", value)
514
+
515
+ @property
516
+ @pulumi.getter(name="externalManagedMigrationTestingPercentage")
517
+ def external_managed_migration_testing_percentage(self) -> Optional[pulumi.Input[builtins.float]]:
518
+ """
519
+ Determines the fraction of requests that should be processed by the Global external
520
+ Application Load Balancer.
521
+ The value of this field must be in the range [0, 100].
522
+ Session affinity options will slightly affect this routing behavior, for more details,
523
+ see: Session Affinity.
524
+ This value can only be set if the loadBalancingScheme in the backend service is set to
525
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
526
+ """
527
+ return pulumi.get(self, "external_managed_migration_testing_percentage")
528
+
529
+ @external_managed_migration_testing_percentage.setter
530
+ def external_managed_migration_testing_percentage(self, value: Optional[pulumi.Input[builtins.float]]):
531
+ pulumi.set(self, "external_managed_migration_testing_percentage", value)
532
+
469
533
  @property
470
534
  @pulumi.getter(name="healthChecks")
471
535
  def health_checks(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -589,7 +653,7 @@ class BackendServiceArgs:
589
653
  to use for computing the weights are specified via the
590
654
  backends[].customMetrics fields.
591
655
  locality_lb_policy is applicable to either:
592
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
656
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
593
657
  and loadBalancingScheme set to INTERNAL_MANAGED.
594
658
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
595
659
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -708,11 +772,11 @@ class BackendServiceArgs:
708
772
  def protocol(self) -> Optional[pulumi.Input[builtins.str]]:
709
773
  """
710
774
  The protocol this BackendService uses to communicate with backends.
711
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
712
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
713
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
714
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
715
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
775
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
776
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
777
+ for more information. Must be set to GRPC when the backend service is referenced
778
+ by a URL map that is bound to target gRPC proxy.
779
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
716
780
  """
717
781
  return pulumi.get(self, "protocol")
718
782
 
@@ -737,7 +801,7 @@ class BackendServiceArgs:
737
801
  def security_settings(self) -> Optional[pulumi.Input['BackendServiceSecuritySettingsArgs']]:
738
802
  """
739
803
  The security settings that apply to this backend service. This field is applicable to either
740
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
804
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
741
805
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
742
806
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
743
807
  Structure is documented below.
@@ -834,6 +898,8 @@ class _BackendServiceState:
834
898
  description: Optional[pulumi.Input[builtins.str]] = None,
835
899
  edge_security_policy: Optional[pulumi.Input[builtins.str]] = None,
836
900
  enable_cdn: Optional[pulumi.Input[builtins.bool]] = None,
901
+ external_managed_migration_state: Optional[pulumi.Input[builtins.str]] = None,
902
+ external_managed_migration_testing_percentage: Optional[pulumi.Input[builtins.float]] = None,
837
903
  fingerprint: Optional[pulumi.Input[builtins.str]] = None,
838
904
  generated_id: Optional[pulumi.Input[builtins.int]] = None,
839
905
  health_checks: Optional[pulumi.Input[builtins.str]] = None,
@@ -894,6 +960,24 @@ class _BackendServiceState:
894
960
  :param pulumi.Input[builtins.str] description: An optional description of this resource.
895
961
  :param pulumi.Input[builtins.str] edge_security_policy: The resource URL for the edge security policy associated with this backend service.
896
962
  :param pulumi.Input[builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendService.
963
+ :param pulumi.Input[builtins.str] external_managed_migration_state: Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
964
+ TEST_ALL_TRAFFIC.
965
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
966
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
967
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
968
+ traffic by percentage using externalManagedMigrationTestingPercentage.
969
+ Rolling back a migration requires the states to be set in reverse order. So changing the
970
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
971
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
972
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
973
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
974
+ :param pulumi.Input[builtins.float] external_managed_migration_testing_percentage: Determines the fraction of requests that should be processed by the Global external
975
+ Application Load Balancer.
976
+ The value of this field must be in the range [0, 100].
977
+ Session affinity options will slightly affect this routing behavior, for more details,
978
+ see: Session Affinity.
979
+ This value can only be set if the loadBalancingScheme in the backend service is set to
980
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
897
981
  :param pulumi.Input[builtins.str] fingerprint: Fingerprint of this resource. A hash of the contents stored in this
898
982
  object. This field is used in optimistic locking.
899
983
  :param pulumi.Input[builtins.int] generated_id: The unique identifier for the resource. This identifier is defined by the server.
@@ -961,7 +1045,7 @@ class _BackendServiceState:
961
1045
  to use for computing the weights are specified via the
962
1046
  backends[].customMetrics fields.
963
1047
  locality_lb_policy is applicable to either:
964
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1048
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
965
1049
  and loadBalancingScheme set to INTERNAL_MANAGED.
966
1050
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
967
1051
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -1003,14 +1087,14 @@ class _BackendServiceState:
1003
1087
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
1004
1088
  If it is not provided, the provider project is used.
1005
1089
  :param pulumi.Input[builtins.str] protocol: The protocol this BackendService uses to communicate with backends.
1006
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
1007
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
1008
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
1009
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
1010
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
1090
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
1091
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
1092
+ for more information. Must be set to GRPC when the backend service is referenced
1093
+ by a URL map that is bound to target gRPC proxy.
1094
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
1011
1095
  :param pulumi.Input[builtins.str] security_policy: The security policy associated with this backend service.
1012
1096
  :param pulumi.Input['BackendServiceSecuritySettingsArgs'] security_settings: The security settings that apply to this backend service. This field is applicable to either
1013
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
1097
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
1014
1098
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
1015
1099
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1016
1100
  Structure is documented below.
@@ -1057,6 +1141,10 @@ class _BackendServiceState:
1057
1141
  pulumi.set(__self__, "edge_security_policy", edge_security_policy)
1058
1142
  if enable_cdn is not None:
1059
1143
  pulumi.set(__self__, "enable_cdn", enable_cdn)
1144
+ if external_managed_migration_state is not None:
1145
+ pulumi.set(__self__, "external_managed_migration_state", external_managed_migration_state)
1146
+ if external_managed_migration_testing_percentage is not None:
1147
+ pulumi.set(__self__, "external_managed_migration_testing_percentage", external_managed_migration_testing_percentage)
1060
1148
  if fingerprint is not None:
1061
1149
  pulumi.set(__self__, "fingerprint", fingerprint)
1062
1150
  if generated_id is not None:
@@ -1293,6 +1381,46 @@ class _BackendServiceState:
1293
1381
  def enable_cdn(self, value: Optional[pulumi.Input[builtins.bool]]):
1294
1382
  pulumi.set(self, "enable_cdn", value)
1295
1383
 
1384
+ @property
1385
+ @pulumi.getter(name="externalManagedMigrationState")
1386
+ def external_managed_migration_state(self) -> Optional[pulumi.Input[builtins.str]]:
1387
+ """
1388
+ Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
1389
+ TEST_ALL_TRAFFIC.
1390
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
1391
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
1392
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
1393
+ traffic by percentage using externalManagedMigrationTestingPercentage.
1394
+ Rolling back a migration requires the states to be set in reverse order. So changing the
1395
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
1396
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
1397
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
1398
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
1399
+ """
1400
+ return pulumi.get(self, "external_managed_migration_state")
1401
+
1402
+ @external_managed_migration_state.setter
1403
+ def external_managed_migration_state(self, value: Optional[pulumi.Input[builtins.str]]):
1404
+ pulumi.set(self, "external_managed_migration_state", value)
1405
+
1406
+ @property
1407
+ @pulumi.getter(name="externalManagedMigrationTestingPercentage")
1408
+ def external_managed_migration_testing_percentage(self) -> Optional[pulumi.Input[builtins.float]]:
1409
+ """
1410
+ Determines the fraction of requests that should be processed by the Global external
1411
+ Application Load Balancer.
1412
+ The value of this field must be in the range [0, 100].
1413
+ Session affinity options will slightly affect this routing behavior, for more details,
1414
+ see: Session Affinity.
1415
+ This value can only be set if the loadBalancingScheme in the backend service is set to
1416
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
1417
+ """
1418
+ return pulumi.get(self, "external_managed_migration_testing_percentage")
1419
+
1420
+ @external_managed_migration_testing_percentage.setter
1421
+ def external_managed_migration_testing_percentage(self, value: Optional[pulumi.Input[builtins.float]]):
1422
+ pulumi.set(self, "external_managed_migration_testing_percentage", value)
1423
+
1296
1424
  @property
1297
1425
  @pulumi.getter
1298
1426
  def fingerprint(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1441,7 +1569,7 @@ class _BackendServiceState:
1441
1569
  to use for computing the weights are specified via the
1442
1570
  backends[].customMetrics fields.
1443
1571
  locality_lb_policy is applicable to either:
1444
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
1572
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
1445
1573
  and loadBalancingScheme set to INTERNAL_MANAGED.
1446
1574
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1447
1575
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -1560,11 +1688,11 @@ class _BackendServiceState:
1560
1688
  def protocol(self) -> Optional[pulumi.Input[builtins.str]]:
1561
1689
  """
1562
1690
  The protocol this BackendService uses to communicate with backends.
1563
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
1564
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
1565
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
1566
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
1567
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
1691
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
1692
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
1693
+ for more information. Must be set to GRPC when the backend service is referenced
1694
+ by a URL map that is bound to target gRPC proxy.
1695
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
1568
1696
  """
1569
1697
  return pulumi.get(self, "protocol")
1570
1698
 
@@ -1589,7 +1717,7 @@ class _BackendServiceState:
1589
1717
  def security_settings(self) -> Optional[pulumi.Input['BackendServiceSecuritySettingsArgs']]:
1590
1718
  """
1591
1719
  The security settings that apply to this backend service. This field is applicable to either
1592
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
1720
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
1593
1721
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
1594
1722
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
1595
1723
  Structure is documented below.
@@ -1700,6 +1828,8 @@ class BackendService(pulumi.CustomResource):
1700
1828
  description: Optional[pulumi.Input[builtins.str]] = None,
1701
1829
  edge_security_policy: Optional[pulumi.Input[builtins.str]] = None,
1702
1830
  enable_cdn: Optional[pulumi.Input[builtins.bool]] = None,
1831
+ external_managed_migration_state: Optional[pulumi.Input[builtins.str]] = None,
1832
+ external_managed_migration_testing_percentage: Optional[pulumi.Input[builtins.float]] = None,
1703
1833
  health_checks: Optional[pulumi.Input[builtins.str]] = None,
1704
1834
  iap: Optional[pulumi.Input[Union['BackendServiceIapArgs', 'BackendServiceIapArgsDict']]] = None,
1705
1835
  ip_address_selection_policy: Optional[pulumi.Input[builtins.str]] = None,
@@ -2015,7 +2145,8 @@ class BackendService(pulumi.CustomResource):
2015
2145
  default = gcp.compute.BackendService("default",
2016
2146
  name="backend-service",
2017
2147
  health_checks=default_health_check.id,
2018
- load_balancing_scheme="EXTERNAL_MANAGED")
2148
+ load_balancing_scheme="EXTERNAL_MANAGED",
2149
+ protocol="H2C")
2019
2150
  ```
2020
2151
  ### Backend Service Ip Address Selection Policy
2021
2152
 
@@ -2166,6 +2297,24 @@ class BackendService(pulumi.CustomResource):
2166
2297
  :param pulumi.Input[builtins.str] description: An optional description of this resource.
2167
2298
  :param pulumi.Input[builtins.str] edge_security_policy: The resource URL for the edge security policy associated with this backend service.
2168
2299
  :param pulumi.Input[builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendService.
2300
+ :param pulumi.Input[builtins.str] external_managed_migration_state: Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
2301
+ TEST_ALL_TRAFFIC.
2302
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
2303
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
2304
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
2305
+ traffic by percentage using externalManagedMigrationTestingPercentage.
2306
+ Rolling back a migration requires the states to be set in reverse order. So changing the
2307
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
2308
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
2309
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
2310
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
2311
+ :param pulumi.Input[builtins.float] external_managed_migration_testing_percentage: Determines the fraction of requests that should be processed by the Global external
2312
+ Application Load Balancer.
2313
+ The value of this field must be in the range [0, 100].
2314
+ Session affinity options will slightly affect this routing behavior, for more details,
2315
+ see: Session Affinity.
2316
+ This value can only be set if the loadBalancingScheme in the backend service is set to
2317
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
2169
2318
  :param pulumi.Input[builtins.str] health_checks: The set of URLs to the HttpHealthCheck or HttpsHealthCheck resource
2170
2319
  for health checking this BackendService. Currently at most one health
2171
2320
  check can be specified.
@@ -2230,7 +2379,7 @@ class BackendService(pulumi.CustomResource):
2230
2379
  to use for computing the weights are specified via the
2231
2380
  backends[].customMetrics fields.
2232
2381
  locality_lb_policy is applicable to either:
2233
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
2382
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
2234
2383
  and loadBalancingScheme set to INTERNAL_MANAGED.
2235
2384
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2236
2385
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -2272,14 +2421,14 @@ class BackendService(pulumi.CustomResource):
2272
2421
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
2273
2422
  If it is not provided, the provider project is used.
2274
2423
  :param pulumi.Input[builtins.str] protocol: The protocol this BackendService uses to communicate with backends.
2275
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
2276
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
2277
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
2278
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
2279
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
2424
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
2425
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
2426
+ for more information. Must be set to GRPC when the backend service is referenced
2427
+ by a URL map that is bound to target gRPC proxy.
2428
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
2280
2429
  :param pulumi.Input[builtins.str] security_policy: The security policy associated with this backend service.
2281
2430
  :param pulumi.Input[Union['BackendServiceSecuritySettingsArgs', 'BackendServiceSecuritySettingsArgsDict']] security_settings: The security settings that apply to this backend service. This field is applicable to either
2282
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
2431
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
2283
2432
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
2284
2433
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2285
2434
  Structure is documented below.
@@ -2597,7 +2746,8 @@ class BackendService(pulumi.CustomResource):
2597
2746
  default = gcp.compute.BackendService("default",
2598
2747
  name="backend-service",
2599
2748
  health_checks=default_health_check.id,
2600
- load_balancing_scheme="EXTERNAL_MANAGED")
2749
+ load_balancing_scheme="EXTERNAL_MANAGED",
2750
+ protocol="H2C")
2601
2751
  ```
2602
2752
  ### Backend Service Ip Address Selection Policy
2603
2753
 
@@ -2740,6 +2890,8 @@ class BackendService(pulumi.CustomResource):
2740
2890
  description: Optional[pulumi.Input[builtins.str]] = None,
2741
2891
  edge_security_policy: Optional[pulumi.Input[builtins.str]] = None,
2742
2892
  enable_cdn: Optional[pulumi.Input[builtins.bool]] = None,
2893
+ external_managed_migration_state: Optional[pulumi.Input[builtins.str]] = None,
2894
+ external_managed_migration_testing_percentage: Optional[pulumi.Input[builtins.float]] = None,
2743
2895
  health_checks: Optional[pulumi.Input[builtins.str]] = None,
2744
2896
  iap: Optional[pulumi.Input[Union['BackendServiceIapArgs', 'BackendServiceIapArgsDict']]] = None,
2745
2897
  ip_address_selection_policy: Optional[pulumi.Input[builtins.str]] = None,
@@ -2782,6 +2934,8 @@ class BackendService(pulumi.CustomResource):
2782
2934
  __props__.__dict__["description"] = description
2783
2935
  __props__.__dict__["edge_security_policy"] = edge_security_policy
2784
2936
  __props__.__dict__["enable_cdn"] = enable_cdn
2937
+ __props__.__dict__["external_managed_migration_state"] = external_managed_migration_state
2938
+ __props__.__dict__["external_managed_migration_testing_percentage"] = external_managed_migration_testing_percentage
2785
2939
  __props__.__dict__["health_checks"] = health_checks
2786
2940
  __props__.__dict__["iap"] = iap
2787
2941
  __props__.__dict__["ip_address_selection_policy"] = ip_address_selection_policy
@@ -2830,6 +2984,8 @@ class BackendService(pulumi.CustomResource):
2830
2984
  description: Optional[pulumi.Input[builtins.str]] = None,
2831
2985
  edge_security_policy: Optional[pulumi.Input[builtins.str]] = None,
2832
2986
  enable_cdn: Optional[pulumi.Input[builtins.bool]] = None,
2987
+ external_managed_migration_state: Optional[pulumi.Input[builtins.str]] = None,
2988
+ external_managed_migration_testing_percentage: Optional[pulumi.Input[builtins.float]] = None,
2833
2989
  fingerprint: Optional[pulumi.Input[builtins.str]] = None,
2834
2990
  generated_id: Optional[pulumi.Input[builtins.int]] = None,
2835
2991
  health_checks: Optional[pulumi.Input[builtins.str]] = None,
@@ -2895,6 +3051,24 @@ class BackendService(pulumi.CustomResource):
2895
3051
  :param pulumi.Input[builtins.str] description: An optional description of this resource.
2896
3052
  :param pulumi.Input[builtins.str] edge_security_policy: The resource URL for the edge security policy associated with this backend service.
2897
3053
  :param pulumi.Input[builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendService.
3054
+ :param pulumi.Input[builtins.str] external_managed_migration_state: Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
3055
+ TEST_ALL_TRAFFIC.
3056
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
3057
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
3058
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
3059
+ traffic by percentage using externalManagedMigrationTestingPercentage.
3060
+ Rolling back a migration requires the states to be set in reverse order. So changing the
3061
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
3062
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
3063
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
3064
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
3065
+ :param pulumi.Input[builtins.float] external_managed_migration_testing_percentage: Determines the fraction of requests that should be processed by the Global external
3066
+ Application Load Balancer.
3067
+ The value of this field must be in the range [0, 100].
3068
+ Session affinity options will slightly affect this routing behavior, for more details,
3069
+ see: Session Affinity.
3070
+ This value can only be set if the loadBalancingScheme in the backend service is set to
3071
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
2898
3072
  :param pulumi.Input[builtins.str] fingerprint: Fingerprint of this resource. A hash of the contents stored in this
2899
3073
  object. This field is used in optimistic locking.
2900
3074
  :param pulumi.Input[builtins.int] generated_id: The unique identifier for the resource. This identifier is defined by the server.
@@ -2962,7 +3136,7 @@ class BackendService(pulumi.CustomResource):
2962
3136
  to use for computing the weights are specified via the
2963
3137
  backends[].customMetrics fields.
2964
3138
  locality_lb_policy is applicable to either:
2965
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
3139
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
2966
3140
  and loadBalancingScheme set to INTERNAL_MANAGED.
2967
3141
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
2968
3142
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -3004,14 +3178,14 @@ class BackendService(pulumi.CustomResource):
3004
3178
  :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
3005
3179
  If it is not provided, the provider project is used.
3006
3180
  :param pulumi.Input[builtins.str] protocol: The protocol this BackendService uses to communicate with backends.
3007
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
3008
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
3009
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
3010
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
3011
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
3181
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
3182
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
3183
+ for more information. Must be set to GRPC when the backend service is referenced
3184
+ by a URL map that is bound to target gRPC proxy.
3185
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
3012
3186
  :param pulumi.Input[builtins.str] security_policy: The security policy associated with this backend service.
3013
3187
  :param pulumi.Input[Union['BackendServiceSecuritySettingsArgs', 'BackendServiceSecuritySettingsArgsDict']] security_settings: The security settings that apply to this backend service. This field is applicable to either
3014
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
3188
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
3015
3189
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
3016
3190
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
3017
3191
  Structure is documented below.
@@ -3048,6 +3222,8 @@ class BackendService(pulumi.CustomResource):
3048
3222
  __props__.__dict__["description"] = description
3049
3223
  __props__.__dict__["edge_security_policy"] = edge_security_policy
3050
3224
  __props__.__dict__["enable_cdn"] = enable_cdn
3225
+ __props__.__dict__["external_managed_migration_state"] = external_managed_migration_state
3226
+ __props__.__dict__["external_managed_migration_testing_percentage"] = external_managed_migration_testing_percentage
3051
3227
  __props__.__dict__["fingerprint"] = fingerprint
3052
3228
  __props__.__dict__["generated_id"] = generated_id
3053
3229
  __props__.__dict__["health_checks"] = health_checks
@@ -3206,6 +3382,38 @@ class BackendService(pulumi.CustomResource):
3206
3382
  """
3207
3383
  return pulumi.get(self, "enable_cdn")
3208
3384
 
3385
+ @property
3386
+ @pulumi.getter(name="externalManagedMigrationState")
3387
+ def external_managed_migration_state(self) -> pulumi.Output[Optional[builtins.str]]:
3388
+ """
3389
+ Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
3390
+ TEST_ALL_TRAFFIC.
3391
+ To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to
3392
+ PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be
3393
+ changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate
3394
+ traffic by percentage using externalManagedMigrationTestingPercentage.
3395
+ Rolling back a migration requires the states to be set in reverse order. So changing the
3396
+ scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at
3397
+ the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic
3398
+ back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
3399
+ Possible values are: `PREPARE`, `TEST_BY_PERCENTAGE`, `TEST_ALL_TRAFFIC`.
3400
+ """
3401
+ return pulumi.get(self, "external_managed_migration_state")
3402
+
3403
+ @property
3404
+ @pulumi.getter(name="externalManagedMigrationTestingPercentage")
3405
+ def external_managed_migration_testing_percentage(self) -> pulumi.Output[Optional[builtins.float]]:
3406
+ """
3407
+ Determines the fraction of requests that should be processed by the Global external
3408
+ Application Load Balancer.
3409
+ The value of this field must be in the range [0, 100].
3410
+ Session affinity options will slightly affect this routing behavior, for more details,
3411
+ see: Session Affinity.
3412
+ This value can only be set if the loadBalancingScheme in the backend service is set to
3413
+ EXTERNAL (when using the Classic ALB) and the migration state is TEST_BY_PERCENTAGE.
3414
+ """
3415
+ return pulumi.get(self, "external_managed_migration_testing_percentage")
3416
+
3209
3417
  @property
3210
3418
  @pulumi.getter
3211
3419
  def fingerprint(self) -> pulumi.Output[builtins.str]:
@@ -3326,7 +3534,7 @@ class BackendService(pulumi.CustomResource):
3326
3534
  to use for computing the weights are specified via the
3327
3535
  backends[].customMetrics fields.
3328
3536
  locality_lb_policy is applicable to either:
3329
- * A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2,
3537
+ * A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C,
3330
3538
  and loadBalancingScheme set to INTERNAL_MANAGED.
3331
3539
  * A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.
3332
3540
  * A regional backend service with loadBalancingScheme set to EXTERNAL (External Network
@@ -3417,11 +3625,11 @@ class BackendService(pulumi.CustomResource):
3417
3625
  def protocol(self) -> pulumi.Output[builtins.str]:
3418
3626
  """
3419
3627
  The protocol this BackendService uses to communicate with backends.
3420
- The default is HTTP. **NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer
3421
- types and may result in errors if used with the GA API. **NOTE**: With protocol “UNSPECIFIED”,
3422
- the backend service can be used by Layer 4 Internal Load Balancing or Network Load Balancing
3423
- with TCP/UDP/L3_DEFAULT Forwarding Rule protocol.
3424
- Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `GRPC`, `UNSPECIFIED`.
3628
+ The default is HTTP. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP
3629
+ or GRPC. Refer to the documentation for the load balancers or for Traffic Director
3630
+ for more information. Must be set to GRPC when the backend service is referenced
3631
+ by a URL map that is bound to target gRPC proxy.
3632
+ Possible values are: `HTTP`, `HTTPS`, `HTTP2`, `TCP`, `SSL`, `UDP`, `GRPC`, `UNSPECIFIED`, `H2C`.
3425
3633
  """
3426
3634
  return pulumi.get(self, "protocol")
3427
3635
 
@@ -3438,7 +3646,7 @@ class BackendService(pulumi.CustomResource):
3438
3646
  def security_settings(self) -> pulumi.Output[Optional['outputs.BackendServiceSecuritySettings']]:
3439
3647
  """
3440
3648
  The security settings that apply to this backend service. This field is applicable to either
3441
- a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
3649
+ a regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and
3442
3650
  load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
3443
3651
  load_balancing_scheme set to INTERNAL_SELF_MANAGED.
3444
3652
  Structure is documented below.