pulumi-gcp 8.10.0a1731950704__py3-none-any.whl → 8.10.1__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 (388) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/accessapproval/get_folder_service_account.py +2 -2
  3. pulumi_gcp/accessapproval/get_organization_service_account.py +2 -2
  4. pulumi_gcp/accessapproval/get_project_service_account.py +2 -2
  5. pulumi_gcp/accesscontextmanager/__init__.py +1 -0
  6. pulumi_gcp/accesscontextmanager/_inputs.py +90 -54
  7. pulumi_gcp/accesscontextmanager/get_access_policy.py +158 -0
  8. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  9. pulumi_gcp/accesscontextmanager/outputs.py +60 -36
  10. pulumi_gcp/alloydb/get_locations.py +2 -2
  11. pulumi_gcp/alloydb/get_supported_database_flags.py +2 -2
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +2 -2
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +2 -2
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +2 -2
  15. pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
  16. pulumi_gcp/appengine/get_default_service_account.py +2 -2
  17. pulumi_gcp/apphub/get_application.py +2 -2
  18. pulumi_gcp/apphub/get_discovered_service.py +2 -2
  19. pulumi_gcp/apphub/get_discovered_workload.py +2 -2
  20. pulumi_gcp/artifactregistry/_inputs.py +56 -0
  21. pulumi_gcp/artifactregistry/get_docker_image.py +2 -2
  22. pulumi_gcp/artifactregistry/get_locations.py +2 -2
  23. pulumi_gcp/artifactregistry/get_repository.py +2 -2
  24. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
  25. pulumi_gcp/artifactregistry/outputs.py +65 -0
  26. pulumi_gcp/artifactregistry/repository.py +48 -0
  27. pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
  28. pulumi_gcp/backupdisasterrecovery/backup_vault.py +63 -0
  29. pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +2 -2
  30. pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +2 -2
  31. pulumi_gcp/backupdisasterrecovery/get_data_source.py +263 -0
  32. pulumi_gcp/backupdisasterrecovery/get_management_server.py +2 -2
  33. pulumi_gcp/backupdisasterrecovery/outputs.py +402 -0
  34. pulumi_gcp/beyondcorp/get_app_connection.py +2 -2
  35. pulumi_gcp/beyondcorp/get_app_connector.py +2 -2
  36. pulumi_gcp/beyondcorp/get_app_gateway.py +2 -2
  37. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
  38. pulumi_gcp/bigquery/get_dataset.py +2 -2
  39. pulumi_gcp/bigquery/get_dataset_iam_policy.py +2 -2
  40. pulumi_gcp/bigquery/get_default_service_account.py +2 -2
  41. pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
  42. pulumi_gcp/bigquery/get_tables.py +2 -2
  43. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  44. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  45. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
  46. pulumi_gcp/bigtable/get_instance_iam_policy.py +2 -2
  47. pulumi_gcp/bigtable/get_table_iam_policy.py +2 -2
  48. pulumi_gcp/billing/get_account_iam_policy.py +2 -2
  49. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
  50. pulumi_gcp/certificateauthority/authority.py +28 -138
  51. pulumi_gcp/certificateauthority/get_authority.py +2 -2
  52. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  53. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  54. pulumi_gcp/certificatemanager/get_certificate_map.py +2 -2
  55. pulumi_gcp/certificatemanager/get_certificates.py +2 -2
  56. pulumi_gcp/cloudasset/get_resources_search_all.py +2 -2
  57. pulumi_gcp/cloudasset/get_search_all_resources.py +2 -2
  58. pulumi_gcp/cloudbuild/get_trigger.py +2 -2
  59. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
  60. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
  61. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
  62. pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
  63. pulumi_gcp/cloudfunctions/get_function.py +2 -2
  64. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
  65. pulumi_gcp/cloudfunctionsv2/get_function.py +2 -2
  66. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
  67. pulumi_gcp/cloudidentity/get_group_lookup.py +2 -2
  68. pulumi_gcp/cloudidentity/get_group_memberships.py +2 -2
  69. pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +2 -2
  70. pulumi_gcp/cloudidentity/get_groups.py +2 -2
  71. pulumi_gcp/cloudquota/get_s_quota_info.py +2 -2
  72. pulumi_gcp/cloudquota/get_s_quota_infos.py +2 -2
  73. pulumi_gcp/cloudrun/get_locations.py +2 -2
  74. pulumi_gcp/cloudrun/get_service.py +2 -2
  75. pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
  76. pulumi_gcp/cloudrun/service.py +0 -10
  77. pulumi_gcp/cloudrunv2/get_job.py +2 -2
  78. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
  79. pulumi_gcp/cloudrunv2/get_service.py +17 -6
  80. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
  81. pulumi_gcp/cloudrunv2/service.py +30 -2
  82. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
  83. pulumi_gcp/composer/get_environment.py +2 -2
  84. pulumi_gcp/composer/get_image_versions.py +2 -2
  85. pulumi_gcp/composer/get_user_workloads_config_map.py +2 -2
  86. pulumi_gcp/composer/get_user_workloads_secret.py +2 -2
  87. pulumi_gcp/compute/_inputs.py +12 -12
  88. pulumi_gcp/compute/get_address.py +2 -2
  89. pulumi_gcp/compute/get_addresses.py +2 -2
  90. pulumi_gcp/compute/get_backend_bucket.py +2 -2
  91. pulumi_gcp/compute/get_backend_bucket_iam_policy.py +2 -2
  92. pulumi_gcp/compute/get_backend_service.py +2 -2
  93. pulumi_gcp/compute/get_backend_service_iam_policy.py +2 -2
  94. pulumi_gcp/compute/get_certificate.py +2 -2
  95. pulumi_gcp/compute/get_default_service_account.py +2 -2
  96. pulumi_gcp/compute/get_disk.py +2 -2
  97. pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
  98. pulumi_gcp/compute/get_forwarding_rule.py +2 -2
  99. pulumi_gcp/compute/get_forwarding_rules.py +2 -2
  100. pulumi_gcp/compute/get_global_address.py +2 -2
  101. pulumi_gcp/compute/get_global_forwarding_rule.py +2 -2
  102. pulumi_gcp/compute/get_hc_vpn_gateway.py +2 -2
  103. pulumi_gcp/compute/get_health_check.py +2 -2
  104. pulumi_gcp/compute/get_image.py +2 -2
  105. pulumi_gcp/compute/get_image_iam_policy.py +2 -2
  106. pulumi_gcp/compute/get_instance.py +2 -2
  107. pulumi_gcp/compute/get_instance_group.py +2 -2
  108. pulumi_gcp/compute/get_instance_group_manager.py +2 -2
  109. pulumi_gcp/compute/get_instance_guest_attributes.py +2 -2
  110. pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
  111. pulumi_gcp/compute/get_instance_serial_port.py +2 -2
  112. pulumi_gcp/compute/get_instance_template.py +2 -2
  113. pulumi_gcp/compute/get_lbip_ranges.py +2 -2
  114. pulumi_gcp/compute/get_machine_image_iam_policy.py +2 -2
  115. pulumi_gcp/compute/get_machine_types.py +2 -2
  116. pulumi_gcp/compute/get_netblock_ip_ranges.py +2 -2
  117. pulumi_gcp/compute/get_network.py +2 -2
  118. pulumi_gcp/compute/get_network_endpoint_group.py +2 -2
  119. pulumi_gcp/compute/get_network_peering.py +2 -2
  120. pulumi_gcp/compute/get_networks.py +2 -2
  121. pulumi_gcp/compute/get_node_types.py +2 -2
  122. pulumi_gcp/compute/get_region_backend_service_iam_policy.py +2 -2
  123. pulumi_gcp/compute/get_region_disk.py +2 -2
  124. pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
  125. pulumi_gcp/compute/get_region_instance_group.py +2 -2
  126. pulumi_gcp/compute/get_region_instance_group_manager.py +2 -2
  127. pulumi_gcp/compute/get_region_instance_template.py +2 -2
  128. pulumi_gcp/compute/get_region_network_endpoint_group.py +2 -2
  129. pulumi_gcp/compute/get_region_ssl_certificate.py +2 -2
  130. pulumi_gcp/compute/get_regions.py +2 -2
  131. pulumi_gcp/compute/get_reservation.py +2 -2
  132. pulumi_gcp/compute/get_resource_policy.py +2 -2
  133. pulumi_gcp/compute/get_router.py +2 -2
  134. pulumi_gcp/compute/get_router_nat.py +2 -2
  135. pulumi_gcp/compute/get_router_status.py +2 -2
  136. pulumi_gcp/compute/get_security_policy.py +2 -2
  137. pulumi_gcp/compute/get_snapshot.py +2 -2
  138. pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
  139. pulumi_gcp/compute/get_ssl_policy.py +2 -2
  140. pulumi_gcp/compute/get_subnetwork.py +2 -2
  141. pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
  142. pulumi_gcp/compute/get_subnetworks.py +2 -2
  143. pulumi_gcp/compute/get_vpn_gateway.py +2 -2
  144. pulumi_gcp/compute/get_zones.py +2 -2
  145. pulumi_gcp/compute/outputs.py +10 -10
  146. pulumi_gcp/compute/router_status.py +2 -2
  147. pulumi_gcp/container/get_attached_install_manifest.py +2 -2
  148. pulumi_gcp/container/get_attached_versions.py +2 -2
  149. pulumi_gcp/container/get_aws_versions.py +2 -2
  150. pulumi_gcp/container/get_azure_versions.py +2 -2
  151. pulumi_gcp/container/get_cluster.py +2 -2
  152. pulumi_gcp/container/get_engine_versions.py +2 -2
  153. pulumi_gcp/container/get_registry_image.py +2 -2
  154. pulumi_gcp/container/get_registry_repository.py +2 -2
  155. pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
  156. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  157. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  158. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  159. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  160. pulumi_gcp/dataform/get_repository_iam_policy.py +2 -2
  161. pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
  162. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
  163. pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
  164. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
  165. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
  166. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
  167. pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
  168. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
  169. pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
  170. pulumi_gcp/dataproc/__init__.py +1 -0
  171. pulumi_gcp/dataproc/_inputs.py +490 -0
  172. pulumi_gcp/dataproc/gdc_spark_application.py +1658 -0
  173. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
  174. pulumi_gcp/dataproc/get_cluster_iam_policy.py +2 -2
  175. pulumi_gcp/dataproc/get_job_iam_policy.py +2 -2
  176. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
  177. pulumi_gcp/dataproc/get_metastore_service.py +2 -2
  178. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
  179. pulumi_gcp/dataproc/outputs.py +385 -0
  180. pulumi_gcp/datastream/get_static_ips.py +2 -2
  181. pulumi_gcp/dns/get_keys.py +2 -2
  182. pulumi_gcp/dns/get_managed_zone.py +2 -2
  183. pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
  184. pulumi_gcp/dns/get_managed_zones.py +2 -2
  185. pulumi_gcp/dns/get_record_set.py +2 -2
  186. pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +2 -2
  187. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  188. pulumi_gcp/filestore/_inputs.py +152 -0
  189. pulumi_gcp/filestore/get_instance.py +14 -3
  190. pulumi_gcp/filestore/instance.py +47 -0
  191. pulumi_gcp/filestore/outputs.py +229 -0
  192. pulumi_gcp/firebase/get_android_app.py +2 -2
  193. pulumi_gcp/firebase/get_android_app_config.py +2 -2
  194. pulumi_gcp/firebase/get_apple_app.py +2 -2
  195. pulumi_gcp/firebase/get_apple_app_config.py +2 -2
  196. pulumi_gcp/firebase/get_hosting_channel.py +2 -2
  197. pulumi_gcp/firebase/get_web_app.py +2 -2
  198. pulumi_gcp/firebase/get_web_app_config.py +2 -2
  199. pulumi_gcp/folder/get_iam_policy.py +2 -2
  200. pulumi_gcp/folder/get_organization_policy.py +2 -2
  201. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
  202. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
  203. pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
  204. pulumi_gcp/gkehub/get_membership_binding.py +2 -2
  205. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
  206. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
  207. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
  208. pulumi_gcp/healthcare/get_dataset_iam_policy.py +2 -2
  209. pulumi_gcp/healthcare/get_dicom_store_iam_policy.py +2 -2
  210. pulumi_gcp/healthcare/get_fhir_store_iam_policy.py +2 -2
  211. pulumi_gcp/healthcare/get_hl7_v2_store_iam_policy.py +2 -2
  212. pulumi_gcp/iam/__init__.py +2 -0
  213. pulumi_gcp/iam/_inputs.py +274 -0
  214. pulumi_gcp/iam/folders_policy_binding.py +917 -0
  215. pulumi_gcp/iam/get_rule.py +2 -2
  216. pulumi_gcp/iam/get_testable_permissions.py +2 -2
  217. pulumi_gcp/iam/get_workload_identity_pool.py +2 -2
  218. pulumi_gcp/iam/get_workload_identity_pool_provider.py +2 -2
  219. pulumi_gcp/iam/organizations_policy_binding.py +901 -0
  220. pulumi_gcp/iam/outputs.py +198 -0
  221. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
  222. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
  223. pulumi_gcp/iap/get_client.py +2 -2
  224. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
  225. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  226. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
  227. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
  228. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  229. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
  230. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  231. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  232. pulumi_gcp/kms/get_crypto_key_iam_policy.py +2 -2
  233. pulumi_gcp/kms/get_crypto_key_latest_version.py +2 -2
  234. pulumi_gcp/kms/get_crypto_key_versions.py +2 -2
  235. pulumi_gcp/kms/get_crypto_keys.py +2 -2
  236. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
  237. pulumi_gcp/kms/get_key_ring_iam_policy.py +2 -2
  238. pulumi_gcp/kms/get_key_rings.py +2 -2
  239. pulumi_gcp/kms/get_kms_crypto_key.py +2 -2
  240. pulumi_gcp/kms/get_kms_crypto_key_version.py +2 -2
  241. pulumi_gcp/kms/get_kms_key_ring.py +2 -2
  242. pulumi_gcp/kms/get_kms_secret.py +2 -2
  243. pulumi_gcp/kms/get_kms_secret_asymmetric.py +2 -2
  244. pulumi_gcp/kms/get_kms_secret_ciphertext.py +2 -2
  245. pulumi_gcp/logging/get_folder_settings.py +2 -2
  246. pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
  247. pulumi_gcp/logging/get_organization_settings.py +2 -2
  248. pulumi_gcp/logging/get_project_cmek_settings.py +2 -2
  249. pulumi_gcp/logging/get_project_settings.py +2 -2
  250. pulumi_gcp/logging/get_sink.py +2 -2
  251. pulumi_gcp/managedkafka/cluster.py +4 -0
  252. pulumi_gcp/managedkafka/topic.py +4 -0
  253. pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
  254. pulumi_gcp/monitoring/get_cluster_istio_service.py +2 -2
  255. pulumi_gcp/monitoring/get_istio_canonical_service.py +2 -2
  256. pulumi_gcp/monitoring/get_mesh_istio_service.py +2 -2
  257. pulumi_gcp/monitoring/get_notification_channel.py +2 -2
  258. pulumi_gcp/monitoring/get_secret_version.py +2 -2
  259. pulumi_gcp/monitoring/get_uptime_check_i_ps.py +2 -2
  260. pulumi_gcp/networksecurity/get_address_group_iam_policy.py +2 -2
  261. pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
  262. pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
  263. pulumi_gcp/oracledatabase/get_autonomous_database.py +2 -2
  264. pulumi_gcp/oracledatabase/get_autonomous_databases.py +2 -2
  265. pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +2 -2
  266. pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +2 -2
  267. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +2 -2
  268. pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +2 -2
  269. pulumi_gcp/oracledatabase/get_db_nodes.py +2 -2
  270. pulumi_gcp/oracledatabase/get_db_servers.py +2 -2
  271. pulumi_gcp/organizations/get_active_folder.py +2 -2
  272. pulumi_gcp/organizations/get_billing_account.py +2 -2
  273. pulumi_gcp/organizations/get_client_config.py +2 -2
  274. pulumi_gcp/organizations/get_client_open_id_user_info.py +2 -2
  275. pulumi_gcp/organizations/get_folder.py +2 -2
  276. pulumi_gcp/organizations/get_folders.py +2 -2
  277. pulumi_gcp/organizations/get_iam_policy.py +2 -2
  278. pulumi_gcp/organizations/get_organization.py +2 -2
  279. pulumi_gcp/organizations/get_project.py +2 -2
  280. pulumi_gcp/privilegedaccessmanager/get_entitlement.py +2 -2
  281. pulumi_gcp/projects/get_iam_policy.py +2 -2
  282. pulumi_gcp/projects/get_organization_policy.py +2 -2
  283. pulumi_gcp/projects/get_project.py +2 -2
  284. pulumi_gcp/projects/get_project_service.py +2 -2
  285. pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
  286. pulumi_gcp/pubsub/get_subscription.py +2 -2
  287. pulumi_gcp/pubsub/get_subscription_iam_policy.py +2 -2
  288. pulumi_gcp/pubsub/get_topic.py +2 -2
  289. pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
  290. pulumi_gcp/pubsub/subscription.py +8 -8
  291. pulumi_gcp/pulumi-plugin.json +1 -1
  292. pulumi_gcp/redis/_inputs.py +213 -0
  293. pulumi_gcp/redis/cluster.py +289 -0
  294. pulumi_gcp/redis/get_instance.py +2 -2
  295. pulumi_gcp/redis/outputs.py +185 -0
  296. pulumi_gcp/runtimeconfig/get_config.py +2 -2
  297. pulumi_gcp/runtimeconfig/get_config_iam_policy.py +2 -2
  298. pulumi_gcp/runtimeconfig/get_variable.py +2 -2
  299. pulumi_gcp/secretmanager/get_regional_secret.py +2 -2
  300. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
  301. pulumi_gcp/secretmanager/get_regional_secret_version.py +2 -2
  302. pulumi_gcp/secretmanager/get_regional_secret_version_access.py +2 -2
  303. pulumi_gcp/secretmanager/get_regional_secrets.py +2 -2
  304. pulumi_gcp/secretmanager/get_secret.py +2 -2
  305. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
  306. pulumi_gcp/secretmanager/get_secret_version.py +2 -2
  307. pulumi_gcp/secretmanager/get_secret_version_access.py +2 -2
  308. pulumi_gcp/secretmanager/get_secrets.py +2 -2
  309. pulumi_gcp/securesourcemanager/_inputs.py +33 -0
  310. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
  311. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
  312. pulumi_gcp/securesourcemanager/instance.py +90 -3
  313. pulumi_gcp/securesourcemanager/outputs.py +19 -0
  314. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  315. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
  316. pulumi_gcp/serviceaccount/get_account.py +2 -2
  317. pulumi_gcp/serviceaccount/get_account_access_token.py +2 -2
  318. pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
  319. pulumi_gcp/serviceaccount/get_account_jwt.py +2 -2
  320. pulumi_gcp/serviceaccount/get_account_key.py +2 -2
  321. pulumi_gcp/serviceaccount/get_iam_policy.py +2 -2
  322. pulumi_gcp/serviceaccount/get_s.py +2 -2
  323. pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +2 -2
  324. pulumi_gcp/servicedirectory/get_service_iam_policy.py +2 -2
  325. pulumi_gcp/servicenetworking/get_peered_dns_domain.py +2 -2
  326. pulumi_gcp/siteverification/get_token.py +2 -2
  327. pulumi_gcp/sourcerepo/get_repository.py +2 -2
  328. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
  329. pulumi_gcp/spanner/database.py +14 -14
  330. pulumi_gcp/spanner/get_database.py +2 -2
  331. pulumi_gcp/spanner/get_database_iam_policy.py +2 -2
  332. pulumi_gcp/spanner/get_instance.py +2 -2
  333. pulumi_gcp/spanner/get_instance_iam_policy.py +2 -2
  334. pulumi_gcp/sql/_inputs.py +73 -0
  335. pulumi_gcp/sql/database_instance.py +60 -0
  336. pulumi_gcp/sql/get_backup_run.py +2 -2
  337. pulumi_gcp/sql/get_ca_certs.py +2 -2
  338. pulumi_gcp/sql/get_database.py +2 -2
  339. pulumi_gcp/sql/get_database_instance.py +2 -2
  340. pulumi_gcp/sql/get_database_instance_latest_recovery_time.py +2 -2
  341. pulumi_gcp/sql/get_database_instances.py +2 -2
  342. pulumi_gcp/sql/get_databases.py +2 -2
  343. pulumi_gcp/sql/get_tiers.py +2 -2
  344. pulumi_gcp/sql/outputs.py +146 -0
  345. pulumi_gcp/sql/user.py +2 -2
  346. pulumi_gcp/storage/get_bucket.py +2 -2
  347. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  348. pulumi_gcp/storage/get_bucket_object.py +2 -2
  349. pulumi_gcp/storage/get_bucket_object_content.py +2 -2
  350. pulumi_gcp/storage/get_bucket_objects.py +2 -2
  351. pulumi_gcp/storage/get_buckets.py +2 -2
  352. pulumi_gcp/storage/get_managed_folder_iam_policy.py +2 -2
  353. pulumi_gcp/storage/get_object_signed_url.py +2 -2
  354. pulumi_gcp/storage/get_project_service_account.py +2 -2
  355. pulumi_gcp/storage/get_transfer_project_service_account.py +2 -2
  356. pulumi_gcp/storage/get_transfer_project_servie_account.py +2 -2
  357. pulumi_gcp/tags/get_tag_key.py +2 -2
  358. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  359. pulumi_gcp/tags/get_tag_keys.py +2 -2
  360. pulumi_gcp/tags/get_tag_value.py +2 -2
  361. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  362. pulumi_gcp/tags/get_tag_values.py +2 -2
  363. pulumi_gcp/tags/location_tag_binding.py +8 -8
  364. pulumi_gcp/tpu/get_tensorflow_versions.py +2 -2
  365. pulumi_gcp/tpu/get_v2_accelerator_types.py +2 -2
  366. pulumi_gcp/tpu/get_v2_runtime_versions.py +2 -2
  367. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +2 -2
  368. pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +2 -2
  369. pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +2 -2
  370. pulumi_gcp/vertex/get_ai_index.py +2 -2
  371. pulumi_gcp/vmwareengine/get_cluster.py +2 -2
  372. pulumi_gcp/vmwareengine/get_external_access_rule.py +2 -2
  373. pulumi_gcp/vmwareengine/get_external_address.py +2 -2
  374. pulumi_gcp/vmwareengine/get_network.py +2 -2
  375. pulumi_gcp/vmwareengine/get_network_peering.py +2 -2
  376. pulumi_gcp/vmwareengine/get_network_policy.py +2 -2
  377. pulumi_gcp/vmwareengine/get_nsx_credentials.py +2 -2
  378. pulumi_gcp/vmwareengine/get_private_cloud.py +2 -2
  379. pulumi_gcp/vmwareengine/get_subnet.py +2 -2
  380. pulumi_gcp/vmwareengine/get_vcenter_credentials.py +2 -2
  381. pulumi_gcp/vpcaccess/get_connector.py +2 -2
  382. pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
  383. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +2 -2
  384. pulumi_gcp/workstations/get_workstation_iam_policy.py +2 -2
  385. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.1.dist-info}/METADATA +5 -5
  386. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.1.dist-info}/RECORD +388 -383
  387. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.1.dist-info}/WHEEL +1 -1
  388. {pulumi_gcp-8.10.0a1731950704.dist-info → pulumi_gcp-8.10.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1658 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['GdcSparkApplicationArgs', 'GdcSparkApplication']
20
+
21
+ @pulumi.input_type
22
+ class GdcSparkApplicationArgs:
23
+ def __init__(__self__, *,
24
+ location: pulumi.Input[str],
25
+ serviceinstance: pulumi.Input[str],
26
+ spark_application_id: pulumi.Input[str],
27
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
+ application_environment: Optional[pulumi.Input[str]] = None,
29
+ dependency_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
30
+ display_name: Optional[pulumi.Input[str]] = None,
31
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
32
+ namespace: Optional[pulumi.Input[str]] = None,
33
+ project: Optional[pulumi.Input[str]] = None,
34
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
35
+ pyspark_application_config: Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']] = None,
36
+ spark_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']] = None,
37
+ spark_r_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']] = None,
38
+ spark_sql_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']] = None,
39
+ version: Optional[pulumi.Input[str]] = None):
40
+ """
41
+ The set of arguments for constructing a GdcSparkApplication resource.
42
+ :param pulumi.Input[str] location: The location of the spark application.
43
+ :param pulumi.Input[str] serviceinstance: The id of the service instance to which this spark application belongs.
44
+ :param pulumi.Input[str] spark_application_id: The id of the application
45
+
46
+
47
+ - - -
48
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
49
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
50
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
51
+ :param pulumi.Input[str] application_environment: An ApplicationEnvironment from which to inherit configuration properties.
52
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] dependency_images: List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
53
+ :param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
54
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application. Labels may be used for filtering and billing tracking.
55
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
56
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
57
+ :param pulumi.Input[str] namespace: The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
58
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
59
+ If it is not provided, the provider project is used.
60
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: application-specific properties.
61
+ :param pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs'] pyspark_application_config: Represents the PySparkApplicationConfig.
62
+ Structure is documented below.
63
+ :param pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs'] spark_application_config: Represents the SparkApplicationConfig.
64
+ Structure is documented below.
65
+ :param pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs'] spark_r_application_config: Represents the SparkRApplicationConfig.
66
+ Structure is documented below.
67
+ :param pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs'] spark_sql_application_config: Represents the SparkRApplicationConfig.
68
+ Structure is documented below.
69
+ :param pulumi.Input[str] version: The Dataproc version of this application.
70
+ """
71
+ pulumi.set(__self__, "location", location)
72
+ pulumi.set(__self__, "serviceinstance", serviceinstance)
73
+ pulumi.set(__self__, "spark_application_id", spark_application_id)
74
+ if annotations is not None:
75
+ pulumi.set(__self__, "annotations", annotations)
76
+ if application_environment is not None:
77
+ pulumi.set(__self__, "application_environment", application_environment)
78
+ if dependency_images is not None:
79
+ pulumi.set(__self__, "dependency_images", dependency_images)
80
+ if display_name is not None:
81
+ pulumi.set(__self__, "display_name", display_name)
82
+ if labels is not None:
83
+ pulumi.set(__self__, "labels", labels)
84
+ if namespace is not None:
85
+ pulumi.set(__self__, "namespace", namespace)
86
+ if project is not None:
87
+ pulumi.set(__self__, "project", project)
88
+ if properties is not None:
89
+ pulumi.set(__self__, "properties", properties)
90
+ if pyspark_application_config is not None:
91
+ pulumi.set(__self__, "pyspark_application_config", pyspark_application_config)
92
+ if spark_application_config is not None:
93
+ pulumi.set(__self__, "spark_application_config", spark_application_config)
94
+ if spark_r_application_config is not None:
95
+ pulumi.set(__self__, "spark_r_application_config", spark_r_application_config)
96
+ if spark_sql_application_config is not None:
97
+ pulumi.set(__self__, "spark_sql_application_config", spark_sql_application_config)
98
+ if version is not None:
99
+ pulumi.set(__self__, "version", version)
100
+
101
+ @property
102
+ @pulumi.getter
103
+ def location(self) -> pulumi.Input[str]:
104
+ """
105
+ The location of the spark application.
106
+ """
107
+ return pulumi.get(self, "location")
108
+
109
+ @location.setter
110
+ def location(self, value: pulumi.Input[str]):
111
+ pulumi.set(self, "location", value)
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def serviceinstance(self) -> pulumi.Input[str]:
116
+ """
117
+ The id of the service instance to which this spark application belongs.
118
+ """
119
+ return pulumi.get(self, "serviceinstance")
120
+
121
+ @serviceinstance.setter
122
+ def serviceinstance(self, value: pulumi.Input[str]):
123
+ pulumi.set(self, "serviceinstance", value)
124
+
125
+ @property
126
+ @pulumi.getter(name="sparkApplicationId")
127
+ def spark_application_id(self) -> pulumi.Input[str]:
128
+ """
129
+ The id of the application
130
+
131
+
132
+ - - -
133
+ """
134
+ return pulumi.get(self, "spark_application_id")
135
+
136
+ @spark_application_id.setter
137
+ def spark_application_id(self, value: pulumi.Input[str]):
138
+ pulumi.set(self, "spark_application_id", value)
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
143
+ """
144
+ The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
145
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
146
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
147
+ """
148
+ return pulumi.get(self, "annotations")
149
+
150
+ @annotations.setter
151
+ def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
152
+ pulumi.set(self, "annotations", value)
153
+
154
+ @property
155
+ @pulumi.getter(name="applicationEnvironment")
156
+ def application_environment(self) -> Optional[pulumi.Input[str]]:
157
+ """
158
+ An ApplicationEnvironment from which to inherit configuration properties.
159
+ """
160
+ return pulumi.get(self, "application_environment")
161
+
162
+ @application_environment.setter
163
+ def application_environment(self, value: Optional[pulumi.Input[str]]):
164
+ pulumi.set(self, "application_environment", value)
165
+
166
+ @property
167
+ @pulumi.getter(name="dependencyImages")
168
+ def dependency_images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
169
+ """
170
+ List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
171
+ """
172
+ return pulumi.get(self, "dependency_images")
173
+
174
+ @dependency_images.setter
175
+ def dependency_images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
176
+ pulumi.set(self, "dependency_images", value)
177
+
178
+ @property
179
+ @pulumi.getter(name="displayName")
180
+ def display_name(self) -> Optional[pulumi.Input[str]]:
181
+ """
182
+ User-provided human-readable name to be used in user interfaces.
183
+ """
184
+ return pulumi.get(self, "display_name")
185
+
186
+ @display_name.setter
187
+ def display_name(self, value: Optional[pulumi.Input[str]]):
188
+ pulumi.set(self, "display_name", value)
189
+
190
+ @property
191
+ @pulumi.getter
192
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
193
+ """
194
+ The labels to associate with this application. Labels may be used for filtering and billing tracking.
195
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
196
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
197
+ """
198
+ return pulumi.get(self, "labels")
199
+
200
+ @labels.setter
201
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
202
+ pulumi.set(self, "labels", value)
203
+
204
+ @property
205
+ @pulumi.getter
206
+ def namespace(self) -> Optional[pulumi.Input[str]]:
207
+ """
208
+ The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
209
+ """
210
+ return pulumi.get(self, "namespace")
211
+
212
+ @namespace.setter
213
+ def namespace(self, value: Optional[pulumi.Input[str]]):
214
+ pulumi.set(self, "namespace", value)
215
+
216
+ @property
217
+ @pulumi.getter
218
+ def project(self) -> Optional[pulumi.Input[str]]:
219
+ """
220
+ The ID of the project in which the resource belongs.
221
+ If it is not provided, the provider project is used.
222
+ """
223
+ return pulumi.get(self, "project")
224
+
225
+ @project.setter
226
+ def project(self, value: Optional[pulumi.Input[str]]):
227
+ pulumi.set(self, "project", value)
228
+
229
+ @property
230
+ @pulumi.getter
231
+ def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
232
+ """
233
+ application-specific properties.
234
+ """
235
+ return pulumi.get(self, "properties")
236
+
237
+ @properties.setter
238
+ def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
239
+ pulumi.set(self, "properties", value)
240
+
241
+ @property
242
+ @pulumi.getter(name="pysparkApplicationConfig")
243
+ def pyspark_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']]:
244
+ """
245
+ Represents the PySparkApplicationConfig.
246
+ Structure is documented below.
247
+ """
248
+ return pulumi.get(self, "pyspark_application_config")
249
+
250
+ @pyspark_application_config.setter
251
+ def pyspark_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']]):
252
+ pulumi.set(self, "pyspark_application_config", value)
253
+
254
+ @property
255
+ @pulumi.getter(name="sparkApplicationConfig")
256
+ def spark_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']]:
257
+ """
258
+ Represents the SparkApplicationConfig.
259
+ Structure is documented below.
260
+ """
261
+ return pulumi.get(self, "spark_application_config")
262
+
263
+ @spark_application_config.setter
264
+ def spark_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']]):
265
+ pulumi.set(self, "spark_application_config", value)
266
+
267
+ @property
268
+ @pulumi.getter(name="sparkRApplicationConfig")
269
+ def spark_r_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']]:
270
+ """
271
+ Represents the SparkRApplicationConfig.
272
+ Structure is documented below.
273
+ """
274
+ return pulumi.get(self, "spark_r_application_config")
275
+
276
+ @spark_r_application_config.setter
277
+ def spark_r_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']]):
278
+ pulumi.set(self, "spark_r_application_config", value)
279
+
280
+ @property
281
+ @pulumi.getter(name="sparkSqlApplicationConfig")
282
+ def spark_sql_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']]:
283
+ """
284
+ Represents the SparkRApplicationConfig.
285
+ Structure is documented below.
286
+ """
287
+ return pulumi.get(self, "spark_sql_application_config")
288
+
289
+ @spark_sql_application_config.setter
290
+ def spark_sql_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']]):
291
+ pulumi.set(self, "spark_sql_application_config", value)
292
+
293
+ @property
294
+ @pulumi.getter
295
+ def version(self) -> Optional[pulumi.Input[str]]:
296
+ """
297
+ The Dataproc version of this application.
298
+ """
299
+ return pulumi.get(self, "version")
300
+
301
+ @version.setter
302
+ def version(self, value: Optional[pulumi.Input[str]]):
303
+ pulumi.set(self, "version", value)
304
+
305
+
306
+ @pulumi.input_type
307
+ class _GdcSparkApplicationState:
308
+ def __init__(__self__, *,
309
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
310
+ application_environment: Optional[pulumi.Input[str]] = None,
311
+ create_time: Optional[pulumi.Input[str]] = None,
312
+ dependency_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
313
+ display_name: Optional[pulumi.Input[str]] = None,
314
+ effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
315
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
316
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
317
+ location: Optional[pulumi.Input[str]] = None,
318
+ monitoring_endpoint: Optional[pulumi.Input[str]] = None,
319
+ name: Optional[pulumi.Input[str]] = None,
320
+ namespace: Optional[pulumi.Input[str]] = None,
321
+ output_uri: Optional[pulumi.Input[str]] = None,
322
+ project: Optional[pulumi.Input[str]] = None,
323
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
324
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
325
+ pyspark_application_config: Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']] = None,
326
+ reconciling: Optional[pulumi.Input[bool]] = None,
327
+ serviceinstance: Optional[pulumi.Input[str]] = None,
328
+ spark_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']] = None,
329
+ spark_application_id: Optional[pulumi.Input[str]] = None,
330
+ spark_r_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']] = None,
331
+ spark_sql_application_config: Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']] = None,
332
+ state: Optional[pulumi.Input[str]] = None,
333
+ state_message: Optional[pulumi.Input[str]] = None,
334
+ uid: Optional[pulumi.Input[str]] = None,
335
+ update_time: Optional[pulumi.Input[str]] = None,
336
+ version: Optional[pulumi.Input[str]] = None):
337
+ """
338
+ Input properties used for looking up and filtering GdcSparkApplication resources.
339
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
340
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
341
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
342
+ :param pulumi.Input[str] application_environment: An ApplicationEnvironment from which to inherit configuration properties.
343
+ :param pulumi.Input[str] create_time: The timestamp when the resource was created.
344
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] dependency_images: List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
345
+ :param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
346
+ :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.
347
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application. Labels may be used for filtering and billing tracking.
348
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
349
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
350
+ :param pulumi.Input[str] location: The location of the spark application.
351
+ :param pulumi.Input[str] monitoring_endpoint: URL for a monitoring UI for this application (for eventual Spark PHS/UI support) Out of scope for private GA
352
+ :param pulumi.Input[str] name: Identifier. The name of the application. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/sparkApplications/{application}
353
+ :param pulumi.Input[str] namespace: The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
354
+ :param pulumi.Input[str] output_uri: An HCFS URI pointing to the location of stdout and stdout of the application Mainly useful for Pantheon and gcloud Not in scope for private GA
355
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
356
+ If it is not provided, the provider project is used.
357
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: application-specific properties.
358
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
359
+ and default labels configured on the provider.
360
+ :param pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs'] pyspark_application_config: Represents the PySparkApplicationConfig.
361
+ Structure is documented below.
362
+ :param pulumi.Input[bool] reconciling: Whether the application is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
363
+ :param pulumi.Input[str] serviceinstance: The id of the service instance to which this spark application belongs.
364
+ :param pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs'] spark_application_config: Represents the SparkApplicationConfig.
365
+ Structure is documented below.
366
+ :param pulumi.Input[str] spark_application_id: The id of the application
367
+
368
+
369
+ - - -
370
+ :param pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs'] spark_r_application_config: Represents the SparkRApplicationConfig.
371
+ Structure is documented below.
372
+ :param pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs'] spark_sql_application_config: Represents the SparkRApplicationConfig.
373
+ Structure is documented below.
374
+ :param pulumi.Input[str] state: The current state.
375
+ Possible values:
376
+ * `STATE_UNSPECIFIED`
377
+ * `PENDING`
378
+ * `RUNNING`
379
+ * `CANCELLING`
380
+ * `CANCELLED`
381
+ * `SUCCEEDED`
382
+ * `FAILED`
383
+ :param pulumi.Input[str] state_message: A message explaining the current state.
384
+ :param pulumi.Input[str] uid: System generated unique identifier for this application, formatted as UUID4.
385
+ :param pulumi.Input[str] update_time: The timestamp when the resource was most recently updated.
386
+ :param pulumi.Input[str] version: The Dataproc version of this application.
387
+ """
388
+ if annotations is not None:
389
+ pulumi.set(__self__, "annotations", annotations)
390
+ if application_environment is not None:
391
+ pulumi.set(__self__, "application_environment", application_environment)
392
+ if create_time is not None:
393
+ pulumi.set(__self__, "create_time", create_time)
394
+ if dependency_images is not None:
395
+ pulumi.set(__self__, "dependency_images", dependency_images)
396
+ if display_name is not None:
397
+ pulumi.set(__self__, "display_name", display_name)
398
+ if effective_annotations is not None:
399
+ pulumi.set(__self__, "effective_annotations", effective_annotations)
400
+ if effective_labels is not None:
401
+ pulumi.set(__self__, "effective_labels", effective_labels)
402
+ if labels is not None:
403
+ pulumi.set(__self__, "labels", labels)
404
+ if location is not None:
405
+ pulumi.set(__self__, "location", location)
406
+ if monitoring_endpoint is not None:
407
+ pulumi.set(__self__, "monitoring_endpoint", monitoring_endpoint)
408
+ if name is not None:
409
+ pulumi.set(__self__, "name", name)
410
+ if namespace is not None:
411
+ pulumi.set(__self__, "namespace", namespace)
412
+ if output_uri is not None:
413
+ pulumi.set(__self__, "output_uri", output_uri)
414
+ if project is not None:
415
+ pulumi.set(__self__, "project", project)
416
+ if properties is not None:
417
+ pulumi.set(__self__, "properties", properties)
418
+ if pulumi_labels is not None:
419
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
420
+ if pyspark_application_config is not None:
421
+ pulumi.set(__self__, "pyspark_application_config", pyspark_application_config)
422
+ if reconciling is not None:
423
+ pulumi.set(__self__, "reconciling", reconciling)
424
+ if serviceinstance is not None:
425
+ pulumi.set(__self__, "serviceinstance", serviceinstance)
426
+ if spark_application_config is not None:
427
+ pulumi.set(__self__, "spark_application_config", spark_application_config)
428
+ if spark_application_id is not None:
429
+ pulumi.set(__self__, "spark_application_id", spark_application_id)
430
+ if spark_r_application_config is not None:
431
+ pulumi.set(__self__, "spark_r_application_config", spark_r_application_config)
432
+ if spark_sql_application_config is not None:
433
+ pulumi.set(__self__, "spark_sql_application_config", spark_sql_application_config)
434
+ if state is not None:
435
+ pulumi.set(__self__, "state", state)
436
+ if state_message is not None:
437
+ pulumi.set(__self__, "state_message", state_message)
438
+ if uid is not None:
439
+ pulumi.set(__self__, "uid", uid)
440
+ if update_time is not None:
441
+ pulumi.set(__self__, "update_time", update_time)
442
+ if version is not None:
443
+ pulumi.set(__self__, "version", version)
444
+
445
+ @property
446
+ @pulumi.getter
447
+ def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
448
+ """
449
+ The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
450
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
451
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
452
+ """
453
+ return pulumi.get(self, "annotations")
454
+
455
+ @annotations.setter
456
+ def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
457
+ pulumi.set(self, "annotations", value)
458
+
459
+ @property
460
+ @pulumi.getter(name="applicationEnvironment")
461
+ def application_environment(self) -> Optional[pulumi.Input[str]]:
462
+ """
463
+ An ApplicationEnvironment from which to inherit configuration properties.
464
+ """
465
+ return pulumi.get(self, "application_environment")
466
+
467
+ @application_environment.setter
468
+ def application_environment(self, value: Optional[pulumi.Input[str]]):
469
+ pulumi.set(self, "application_environment", value)
470
+
471
+ @property
472
+ @pulumi.getter(name="createTime")
473
+ def create_time(self) -> Optional[pulumi.Input[str]]:
474
+ """
475
+ The timestamp when the resource was created.
476
+ """
477
+ return pulumi.get(self, "create_time")
478
+
479
+ @create_time.setter
480
+ def create_time(self, value: Optional[pulumi.Input[str]]):
481
+ pulumi.set(self, "create_time", value)
482
+
483
+ @property
484
+ @pulumi.getter(name="dependencyImages")
485
+ def dependency_images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
486
+ """
487
+ List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
488
+ """
489
+ return pulumi.get(self, "dependency_images")
490
+
491
+ @dependency_images.setter
492
+ def dependency_images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
493
+ pulumi.set(self, "dependency_images", value)
494
+
495
+ @property
496
+ @pulumi.getter(name="displayName")
497
+ def display_name(self) -> Optional[pulumi.Input[str]]:
498
+ """
499
+ User-provided human-readable name to be used in user interfaces.
500
+ """
501
+ return pulumi.get(self, "display_name")
502
+
503
+ @display_name.setter
504
+ def display_name(self, value: Optional[pulumi.Input[str]]):
505
+ pulumi.set(self, "display_name", value)
506
+
507
+ @property
508
+ @pulumi.getter(name="effectiveAnnotations")
509
+ def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
510
+ return pulumi.get(self, "effective_annotations")
511
+
512
+ @effective_annotations.setter
513
+ def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
514
+ pulumi.set(self, "effective_annotations", value)
515
+
516
+ @property
517
+ @pulumi.getter(name="effectiveLabels")
518
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
519
+ """
520
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
521
+ """
522
+ return pulumi.get(self, "effective_labels")
523
+
524
+ @effective_labels.setter
525
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
526
+ pulumi.set(self, "effective_labels", value)
527
+
528
+ @property
529
+ @pulumi.getter
530
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
531
+ """
532
+ The labels to associate with this application. Labels may be used for filtering and billing tracking.
533
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
534
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
535
+ """
536
+ return pulumi.get(self, "labels")
537
+
538
+ @labels.setter
539
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
540
+ pulumi.set(self, "labels", value)
541
+
542
+ @property
543
+ @pulumi.getter
544
+ def location(self) -> Optional[pulumi.Input[str]]:
545
+ """
546
+ The location of the spark application.
547
+ """
548
+ return pulumi.get(self, "location")
549
+
550
+ @location.setter
551
+ def location(self, value: Optional[pulumi.Input[str]]):
552
+ pulumi.set(self, "location", value)
553
+
554
+ @property
555
+ @pulumi.getter(name="monitoringEndpoint")
556
+ def monitoring_endpoint(self) -> Optional[pulumi.Input[str]]:
557
+ """
558
+ URL for a monitoring UI for this application (for eventual Spark PHS/UI support) Out of scope for private GA
559
+ """
560
+ return pulumi.get(self, "monitoring_endpoint")
561
+
562
+ @monitoring_endpoint.setter
563
+ def monitoring_endpoint(self, value: Optional[pulumi.Input[str]]):
564
+ pulumi.set(self, "monitoring_endpoint", value)
565
+
566
+ @property
567
+ @pulumi.getter
568
+ def name(self) -> Optional[pulumi.Input[str]]:
569
+ """
570
+ Identifier. The name of the application. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/sparkApplications/{application}
571
+ """
572
+ return pulumi.get(self, "name")
573
+
574
+ @name.setter
575
+ def name(self, value: Optional[pulumi.Input[str]]):
576
+ pulumi.set(self, "name", value)
577
+
578
+ @property
579
+ @pulumi.getter
580
+ def namespace(self) -> Optional[pulumi.Input[str]]:
581
+ """
582
+ The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
583
+ """
584
+ return pulumi.get(self, "namespace")
585
+
586
+ @namespace.setter
587
+ def namespace(self, value: Optional[pulumi.Input[str]]):
588
+ pulumi.set(self, "namespace", value)
589
+
590
+ @property
591
+ @pulumi.getter(name="outputUri")
592
+ def output_uri(self) -> Optional[pulumi.Input[str]]:
593
+ """
594
+ An HCFS URI pointing to the location of stdout and stdout of the application Mainly useful for Pantheon and gcloud Not in scope for private GA
595
+ """
596
+ return pulumi.get(self, "output_uri")
597
+
598
+ @output_uri.setter
599
+ def output_uri(self, value: Optional[pulumi.Input[str]]):
600
+ pulumi.set(self, "output_uri", value)
601
+
602
+ @property
603
+ @pulumi.getter
604
+ def project(self) -> Optional[pulumi.Input[str]]:
605
+ """
606
+ The ID of the project in which the resource belongs.
607
+ If it is not provided, the provider project is used.
608
+ """
609
+ return pulumi.get(self, "project")
610
+
611
+ @project.setter
612
+ def project(self, value: Optional[pulumi.Input[str]]):
613
+ pulumi.set(self, "project", value)
614
+
615
+ @property
616
+ @pulumi.getter
617
+ def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
618
+ """
619
+ application-specific properties.
620
+ """
621
+ return pulumi.get(self, "properties")
622
+
623
+ @properties.setter
624
+ def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
625
+ pulumi.set(self, "properties", value)
626
+
627
+ @property
628
+ @pulumi.getter(name="pulumiLabels")
629
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
630
+ """
631
+ The combination of labels configured directly on the resource
632
+ and default labels configured on the provider.
633
+ """
634
+ return pulumi.get(self, "pulumi_labels")
635
+
636
+ @pulumi_labels.setter
637
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
638
+ pulumi.set(self, "pulumi_labels", value)
639
+
640
+ @property
641
+ @pulumi.getter(name="pysparkApplicationConfig")
642
+ def pyspark_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']]:
643
+ """
644
+ Represents the PySparkApplicationConfig.
645
+ Structure is documented below.
646
+ """
647
+ return pulumi.get(self, "pyspark_application_config")
648
+
649
+ @pyspark_application_config.setter
650
+ def pyspark_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationPysparkApplicationConfigArgs']]):
651
+ pulumi.set(self, "pyspark_application_config", value)
652
+
653
+ @property
654
+ @pulumi.getter
655
+ def reconciling(self) -> Optional[pulumi.Input[bool]]:
656
+ """
657
+ Whether the application is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
658
+ """
659
+ return pulumi.get(self, "reconciling")
660
+
661
+ @reconciling.setter
662
+ def reconciling(self, value: Optional[pulumi.Input[bool]]):
663
+ pulumi.set(self, "reconciling", value)
664
+
665
+ @property
666
+ @pulumi.getter
667
+ def serviceinstance(self) -> Optional[pulumi.Input[str]]:
668
+ """
669
+ The id of the service instance to which this spark application belongs.
670
+ """
671
+ return pulumi.get(self, "serviceinstance")
672
+
673
+ @serviceinstance.setter
674
+ def serviceinstance(self, value: Optional[pulumi.Input[str]]):
675
+ pulumi.set(self, "serviceinstance", value)
676
+
677
+ @property
678
+ @pulumi.getter(name="sparkApplicationConfig")
679
+ def spark_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']]:
680
+ """
681
+ Represents the SparkApplicationConfig.
682
+ Structure is documented below.
683
+ """
684
+ return pulumi.get(self, "spark_application_config")
685
+
686
+ @spark_application_config.setter
687
+ def spark_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkApplicationConfigArgs']]):
688
+ pulumi.set(self, "spark_application_config", value)
689
+
690
+ @property
691
+ @pulumi.getter(name="sparkApplicationId")
692
+ def spark_application_id(self) -> Optional[pulumi.Input[str]]:
693
+ """
694
+ The id of the application
695
+
696
+
697
+ - - -
698
+ """
699
+ return pulumi.get(self, "spark_application_id")
700
+
701
+ @spark_application_id.setter
702
+ def spark_application_id(self, value: Optional[pulumi.Input[str]]):
703
+ pulumi.set(self, "spark_application_id", value)
704
+
705
+ @property
706
+ @pulumi.getter(name="sparkRApplicationConfig")
707
+ def spark_r_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']]:
708
+ """
709
+ Represents the SparkRApplicationConfig.
710
+ Structure is documented below.
711
+ """
712
+ return pulumi.get(self, "spark_r_application_config")
713
+
714
+ @spark_r_application_config.setter
715
+ def spark_r_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkRApplicationConfigArgs']]):
716
+ pulumi.set(self, "spark_r_application_config", value)
717
+
718
+ @property
719
+ @pulumi.getter(name="sparkSqlApplicationConfig")
720
+ def spark_sql_application_config(self) -> Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']]:
721
+ """
722
+ Represents the SparkRApplicationConfig.
723
+ Structure is documented below.
724
+ """
725
+ return pulumi.get(self, "spark_sql_application_config")
726
+
727
+ @spark_sql_application_config.setter
728
+ def spark_sql_application_config(self, value: Optional[pulumi.Input['GdcSparkApplicationSparkSqlApplicationConfigArgs']]):
729
+ pulumi.set(self, "spark_sql_application_config", value)
730
+
731
+ @property
732
+ @pulumi.getter
733
+ def state(self) -> Optional[pulumi.Input[str]]:
734
+ """
735
+ The current state.
736
+ Possible values:
737
+ * `STATE_UNSPECIFIED`
738
+ * `PENDING`
739
+ * `RUNNING`
740
+ * `CANCELLING`
741
+ * `CANCELLED`
742
+ * `SUCCEEDED`
743
+ * `FAILED`
744
+ """
745
+ return pulumi.get(self, "state")
746
+
747
+ @state.setter
748
+ def state(self, value: Optional[pulumi.Input[str]]):
749
+ pulumi.set(self, "state", value)
750
+
751
+ @property
752
+ @pulumi.getter(name="stateMessage")
753
+ def state_message(self) -> Optional[pulumi.Input[str]]:
754
+ """
755
+ A message explaining the current state.
756
+ """
757
+ return pulumi.get(self, "state_message")
758
+
759
+ @state_message.setter
760
+ def state_message(self, value: Optional[pulumi.Input[str]]):
761
+ pulumi.set(self, "state_message", value)
762
+
763
+ @property
764
+ @pulumi.getter
765
+ def uid(self) -> Optional[pulumi.Input[str]]:
766
+ """
767
+ System generated unique identifier for this application, formatted as UUID4.
768
+ """
769
+ return pulumi.get(self, "uid")
770
+
771
+ @uid.setter
772
+ def uid(self, value: Optional[pulumi.Input[str]]):
773
+ pulumi.set(self, "uid", value)
774
+
775
+ @property
776
+ @pulumi.getter(name="updateTime")
777
+ def update_time(self) -> Optional[pulumi.Input[str]]:
778
+ """
779
+ The timestamp when the resource was most recently updated.
780
+ """
781
+ return pulumi.get(self, "update_time")
782
+
783
+ @update_time.setter
784
+ def update_time(self, value: Optional[pulumi.Input[str]]):
785
+ pulumi.set(self, "update_time", value)
786
+
787
+ @property
788
+ @pulumi.getter
789
+ def version(self) -> Optional[pulumi.Input[str]]:
790
+ """
791
+ The Dataproc version of this application.
792
+ """
793
+ return pulumi.get(self, "version")
794
+
795
+ @version.setter
796
+ def version(self, value: Optional[pulumi.Input[str]]):
797
+ pulumi.set(self, "version", value)
798
+
799
+
800
+ class GdcSparkApplication(pulumi.CustomResource):
801
+ @overload
802
+ def __init__(__self__,
803
+ resource_name: str,
804
+ opts: Optional[pulumi.ResourceOptions] = None,
805
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
806
+ application_environment: Optional[pulumi.Input[str]] = None,
807
+ dependency_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
808
+ display_name: Optional[pulumi.Input[str]] = None,
809
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
810
+ location: Optional[pulumi.Input[str]] = None,
811
+ namespace: Optional[pulumi.Input[str]] = None,
812
+ project: Optional[pulumi.Input[str]] = None,
813
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
814
+ pyspark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationPysparkApplicationConfigArgs', 'GdcSparkApplicationPysparkApplicationConfigArgsDict']]] = None,
815
+ serviceinstance: Optional[pulumi.Input[str]] = None,
816
+ spark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkApplicationConfigArgs', 'GdcSparkApplicationSparkApplicationConfigArgsDict']]] = None,
817
+ spark_application_id: Optional[pulumi.Input[str]] = None,
818
+ spark_r_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkRApplicationConfigArgs', 'GdcSparkApplicationSparkRApplicationConfigArgsDict']]] = None,
819
+ spark_sql_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkSqlApplicationConfigArgs', 'GdcSparkApplicationSparkSqlApplicationConfigArgsDict']]] = None,
820
+ version: Optional[pulumi.Input[str]] = None,
821
+ __props__=None):
822
+ """
823
+ A Spark application is a single Spark workload run on a GDC cluster.
824
+
825
+ To get more information about SparkApplication, see:
826
+
827
+ * [API documentation](https://cloud.google.com/dataproc-gdc/docs/reference/rest/v1/projects.locations.serviceInstances.sparkApplications)
828
+ * How-to Guides
829
+ * [Dataproc Intro](https://cloud.google.com/dataproc/)
830
+
831
+ ## Example Usage
832
+
833
+ ### Dataprocgdc Sparkapplication Basic
834
+
835
+ ```python
836
+ import pulumi
837
+ import pulumi_gcp as gcp
838
+
839
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
840
+ spark_application_id="tf-e2e-spark-app-basic",
841
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
842
+ project="my-project",
843
+ location="us-west2",
844
+ namespace="default",
845
+ spark_application_config={
846
+ "main_class": "org.apache.spark.examples.SparkPi",
847
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
848
+ "args": ["10000"],
849
+ })
850
+ ```
851
+ ### Dataprocgdc Sparkapplication
852
+
853
+ ```python
854
+ import pulumi
855
+ import pulumi_gcp as gcp
856
+
857
+ app_env = gcp.dataproc.GdcApplicationEnvironment("app_env",
858
+ application_environment_id="tf-e2e-spark-app-env",
859
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
860
+ project="my-project",
861
+ location="us-west2",
862
+ namespace="default")
863
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
864
+ spark_application_id="tf-e2e-spark-app",
865
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
866
+ project="my-project",
867
+ location="us-west2",
868
+ namespace="default",
869
+ labels={
870
+ "test-label": "label-value",
871
+ },
872
+ annotations={
873
+ "an_annotation": "annotation_value",
874
+ },
875
+ properties={
876
+ "spark.executor.instances": "2",
877
+ },
878
+ application_environment=app_env.name,
879
+ version="1.2",
880
+ spark_application_config={
881
+ "main_jar_file_uri": "file:///usr/lib/spark/examples/jars/spark-examples.jar",
882
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
883
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
884
+ "file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
885
+ })
886
+ ```
887
+ ### Dataprocgdc Sparkapplication Pyspark
888
+
889
+ ```python
890
+ import pulumi
891
+ import pulumi_gcp as gcp
892
+
893
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
894
+ spark_application_id="tf-e2e-pyspark-app",
895
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
896
+ project="my-project",
897
+ location="us-west2",
898
+ namespace="default",
899
+ display_name="A Pyspark application for a Terraform create test",
900
+ dependency_images=["gcr.io/some/image"],
901
+ pyspark_application_config={
902
+ "main_python_file_uri": "gs://goog-dataproc-initialization-actions-us-west2/conda/test_conda.py",
903
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
904
+ "python_file_uris": ["gs://goog-dataproc-initialization-actions-us-west2/conda/get-sys-exec.py"],
905
+ "file_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
906
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
907
+ "args": ["10"],
908
+ })
909
+ ```
910
+ ### Dataprocgdc Sparkapplication Sparkr
911
+
912
+ ```python
913
+ import pulumi
914
+ import pulumi_gcp as gcp
915
+
916
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
917
+ spark_application_id="tf-e2e-sparkr-app",
918
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
919
+ project="my-project",
920
+ location="us-west2",
921
+ namespace="default",
922
+ display_name="A SparkR application for a Terraform create test",
923
+ spark_r_application_config={
924
+ "main_r_file_uri": "gs://some-bucket/something.R",
925
+ "file_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
926
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
927
+ "args": ["10"],
928
+ })
929
+ ```
930
+ ### Dataprocgdc Sparkapplication Sparksql
931
+
932
+ ```python
933
+ import pulumi
934
+ import pulumi_gcp as gcp
935
+
936
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
937
+ spark_application_id="tf-e2e-sparksql-app",
938
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
939
+ project="my-project",
940
+ location="us-west2",
941
+ namespace="default",
942
+ display_name="A SparkSql application for a Terraform create test",
943
+ spark_sql_application_config={
944
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
945
+ "query_list": {
946
+ "queries": ["show tables;"],
947
+ },
948
+ "script_variables": {
949
+ "MY_VAR": "1",
950
+ },
951
+ })
952
+ ```
953
+ ### Dataprocgdc Sparkapplication Sparksql Query File
954
+
955
+ ```python
956
+ import pulumi
957
+ import pulumi_gcp as gcp
958
+
959
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
960
+ spark_application_id="tf-e2e-sparksql-app",
961
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
962
+ project="my-project",
963
+ location="us-west2",
964
+ namespace="default",
965
+ display_name="A SparkSql application for a Terraform create test",
966
+ spark_sql_application_config={
967
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
968
+ "query_file_uri": "gs://some-bucket/something.sql",
969
+ "script_variables": {
970
+ "MY_VAR": "1",
971
+ },
972
+ })
973
+ ```
974
+
975
+ ## Import
976
+
977
+ SparkApplication can be imported using any of these accepted formats:
978
+
979
+ * `projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/sparkApplications/{{spark_application_id}}`
980
+
981
+ * `{{project}}/{{location}}/{{serviceinstance}}/{{spark_application_id}}`
982
+
983
+ * `{{location}}/{{serviceinstance}}/{{spark_application_id}}`
984
+
985
+ When using the `pulumi import` command, SparkApplication can be imported using one of the formats above. For example:
986
+
987
+ ```sh
988
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/sparkApplications/{{spark_application_id}}
989
+ ```
990
+
991
+ ```sh
992
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default {{project}}/{{location}}/{{serviceinstance}}/{{spark_application_id}}
993
+ ```
994
+
995
+ ```sh
996
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default {{location}}/{{serviceinstance}}/{{spark_application_id}}
997
+ ```
998
+
999
+ :param str resource_name: The name of the resource.
1000
+ :param pulumi.ResourceOptions opts: Options for the resource.
1001
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
1002
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1003
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1004
+ :param pulumi.Input[str] application_environment: An ApplicationEnvironment from which to inherit configuration properties.
1005
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] dependency_images: List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
1006
+ :param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
1007
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application. Labels may be used for filtering and billing tracking.
1008
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1009
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
1010
+ :param pulumi.Input[str] location: The location of the spark application.
1011
+ :param pulumi.Input[str] namespace: The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
1012
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
1013
+ If it is not provided, the provider project is used.
1014
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: application-specific properties.
1015
+ :param pulumi.Input[Union['GdcSparkApplicationPysparkApplicationConfigArgs', 'GdcSparkApplicationPysparkApplicationConfigArgsDict']] pyspark_application_config: Represents the PySparkApplicationConfig.
1016
+ Structure is documented below.
1017
+ :param pulumi.Input[str] serviceinstance: The id of the service instance to which this spark application belongs.
1018
+ :param pulumi.Input[Union['GdcSparkApplicationSparkApplicationConfigArgs', 'GdcSparkApplicationSparkApplicationConfigArgsDict']] spark_application_config: Represents the SparkApplicationConfig.
1019
+ Structure is documented below.
1020
+ :param pulumi.Input[str] spark_application_id: The id of the application
1021
+
1022
+
1023
+ - - -
1024
+ :param pulumi.Input[Union['GdcSparkApplicationSparkRApplicationConfigArgs', 'GdcSparkApplicationSparkRApplicationConfigArgsDict']] spark_r_application_config: Represents the SparkRApplicationConfig.
1025
+ Structure is documented below.
1026
+ :param pulumi.Input[Union['GdcSparkApplicationSparkSqlApplicationConfigArgs', 'GdcSparkApplicationSparkSqlApplicationConfigArgsDict']] spark_sql_application_config: Represents the SparkRApplicationConfig.
1027
+ Structure is documented below.
1028
+ :param pulumi.Input[str] version: The Dataproc version of this application.
1029
+ """
1030
+ ...
1031
+ @overload
1032
+ def __init__(__self__,
1033
+ resource_name: str,
1034
+ args: GdcSparkApplicationArgs,
1035
+ opts: Optional[pulumi.ResourceOptions] = None):
1036
+ """
1037
+ A Spark application is a single Spark workload run on a GDC cluster.
1038
+
1039
+ To get more information about SparkApplication, see:
1040
+
1041
+ * [API documentation](https://cloud.google.com/dataproc-gdc/docs/reference/rest/v1/projects.locations.serviceInstances.sparkApplications)
1042
+ * How-to Guides
1043
+ * [Dataproc Intro](https://cloud.google.com/dataproc/)
1044
+
1045
+ ## Example Usage
1046
+
1047
+ ### Dataprocgdc Sparkapplication Basic
1048
+
1049
+ ```python
1050
+ import pulumi
1051
+ import pulumi_gcp as gcp
1052
+
1053
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1054
+ spark_application_id="tf-e2e-spark-app-basic",
1055
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1056
+ project="my-project",
1057
+ location="us-west2",
1058
+ namespace="default",
1059
+ spark_application_config={
1060
+ "main_class": "org.apache.spark.examples.SparkPi",
1061
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1062
+ "args": ["10000"],
1063
+ })
1064
+ ```
1065
+ ### Dataprocgdc Sparkapplication
1066
+
1067
+ ```python
1068
+ import pulumi
1069
+ import pulumi_gcp as gcp
1070
+
1071
+ app_env = gcp.dataproc.GdcApplicationEnvironment("app_env",
1072
+ application_environment_id="tf-e2e-spark-app-env",
1073
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1074
+ project="my-project",
1075
+ location="us-west2",
1076
+ namespace="default")
1077
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1078
+ spark_application_id="tf-e2e-spark-app",
1079
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1080
+ project="my-project",
1081
+ location="us-west2",
1082
+ namespace="default",
1083
+ labels={
1084
+ "test-label": "label-value",
1085
+ },
1086
+ annotations={
1087
+ "an_annotation": "annotation_value",
1088
+ },
1089
+ properties={
1090
+ "spark.executor.instances": "2",
1091
+ },
1092
+ application_environment=app_env.name,
1093
+ version="1.2",
1094
+ spark_application_config={
1095
+ "main_jar_file_uri": "file:///usr/lib/spark/examples/jars/spark-examples.jar",
1096
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1097
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
1098
+ "file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1099
+ })
1100
+ ```
1101
+ ### Dataprocgdc Sparkapplication Pyspark
1102
+
1103
+ ```python
1104
+ import pulumi
1105
+ import pulumi_gcp as gcp
1106
+
1107
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1108
+ spark_application_id="tf-e2e-pyspark-app",
1109
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1110
+ project="my-project",
1111
+ location="us-west2",
1112
+ namespace="default",
1113
+ display_name="A Pyspark application for a Terraform create test",
1114
+ dependency_images=["gcr.io/some/image"],
1115
+ pyspark_application_config={
1116
+ "main_python_file_uri": "gs://goog-dataproc-initialization-actions-us-west2/conda/test_conda.py",
1117
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1118
+ "python_file_uris": ["gs://goog-dataproc-initialization-actions-us-west2/conda/get-sys-exec.py"],
1119
+ "file_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
1120
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
1121
+ "args": ["10"],
1122
+ })
1123
+ ```
1124
+ ### Dataprocgdc Sparkapplication Sparkr
1125
+
1126
+ ```python
1127
+ import pulumi
1128
+ import pulumi_gcp as gcp
1129
+
1130
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1131
+ spark_application_id="tf-e2e-sparkr-app",
1132
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1133
+ project="my-project",
1134
+ location="us-west2",
1135
+ namespace="default",
1136
+ display_name="A SparkR application for a Terraform create test",
1137
+ spark_r_application_config={
1138
+ "main_r_file_uri": "gs://some-bucket/something.R",
1139
+ "file_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
1140
+ "archive_uris": ["file://usr/lib/spark/examples/spark-examples.jar"],
1141
+ "args": ["10"],
1142
+ })
1143
+ ```
1144
+ ### Dataprocgdc Sparkapplication Sparksql
1145
+
1146
+ ```python
1147
+ import pulumi
1148
+ import pulumi_gcp as gcp
1149
+
1150
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1151
+ spark_application_id="tf-e2e-sparksql-app",
1152
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1153
+ project="my-project",
1154
+ location="us-west2",
1155
+ namespace="default",
1156
+ display_name="A SparkSql application for a Terraform create test",
1157
+ spark_sql_application_config={
1158
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1159
+ "query_list": {
1160
+ "queries": ["show tables;"],
1161
+ },
1162
+ "script_variables": {
1163
+ "MY_VAR": "1",
1164
+ },
1165
+ })
1166
+ ```
1167
+ ### Dataprocgdc Sparkapplication Sparksql Query File
1168
+
1169
+ ```python
1170
+ import pulumi
1171
+ import pulumi_gcp as gcp
1172
+
1173
+ spark_application = gcp.dataproc.GdcSparkApplication("spark-application",
1174
+ spark_application_id="tf-e2e-sparksql-app",
1175
+ serviceinstance="do-not-delete-dataproc-gdc-instance",
1176
+ project="my-project",
1177
+ location="us-west2",
1178
+ namespace="default",
1179
+ display_name="A SparkSql application for a Terraform create test",
1180
+ spark_sql_application_config={
1181
+ "jar_file_uris": ["file:///usr/lib/spark/examples/jars/spark-examples.jar"],
1182
+ "query_file_uri": "gs://some-bucket/something.sql",
1183
+ "script_variables": {
1184
+ "MY_VAR": "1",
1185
+ },
1186
+ })
1187
+ ```
1188
+
1189
+ ## Import
1190
+
1191
+ SparkApplication can be imported using any of these accepted formats:
1192
+
1193
+ * `projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/sparkApplications/{{spark_application_id}}`
1194
+
1195
+ * `{{project}}/{{location}}/{{serviceinstance}}/{{spark_application_id}}`
1196
+
1197
+ * `{{location}}/{{serviceinstance}}/{{spark_application_id}}`
1198
+
1199
+ When using the `pulumi import` command, SparkApplication can be imported using one of the formats above. For example:
1200
+
1201
+ ```sh
1202
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default projects/{{project}}/locations/{{location}}/serviceInstances/{{serviceinstance}}/sparkApplications/{{spark_application_id}}
1203
+ ```
1204
+
1205
+ ```sh
1206
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default {{project}}/{{location}}/{{serviceinstance}}/{{spark_application_id}}
1207
+ ```
1208
+
1209
+ ```sh
1210
+ $ pulumi import gcp:dataproc/gdcSparkApplication:GdcSparkApplication default {{location}}/{{serviceinstance}}/{{spark_application_id}}
1211
+ ```
1212
+
1213
+ :param str resource_name: The name of the resource.
1214
+ :param GdcSparkApplicationArgs args: The arguments to use to populate this resource's properties.
1215
+ :param pulumi.ResourceOptions opts: Options for the resource.
1216
+ """
1217
+ ...
1218
+ def __init__(__self__, resource_name: str, *args, **kwargs):
1219
+ resource_args, opts = _utilities.get_resource_args_opts(GdcSparkApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
1220
+ if resource_args is not None:
1221
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
1222
+ else:
1223
+ __self__._internal_init(resource_name, *args, **kwargs)
1224
+
1225
+ def _internal_init(__self__,
1226
+ resource_name: str,
1227
+ opts: Optional[pulumi.ResourceOptions] = None,
1228
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1229
+ application_environment: Optional[pulumi.Input[str]] = None,
1230
+ dependency_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1231
+ display_name: Optional[pulumi.Input[str]] = None,
1232
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1233
+ location: Optional[pulumi.Input[str]] = None,
1234
+ namespace: Optional[pulumi.Input[str]] = None,
1235
+ project: Optional[pulumi.Input[str]] = None,
1236
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1237
+ pyspark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationPysparkApplicationConfigArgs', 'GdcSparkApplicationPysparkApplicationConfigArgsDict']]] = None,
1238
+ serviceinstance: Optional[pulumi.Input[str]] = None,
1239
+ spark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkApplicationConfigArgs', 'GdcSparkApplicationSparkApplicationConfigArgsDict']]] = None,
1240
+ spark_application_id: Optional[pulumi.Input[str]] = None,
1241
+ spark_r_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkRApplicationConfigArgs', 'GdcSparkApplicationSparkRApplicationConfigArgsDict']]] = None,
1242
+ spark_sql_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkSqlApplicationConfigArgs', 'GdcSparkApplicationSparkSqlApplicationConfigArgsDict']]] = None,
1243
+ version: Optional[pulumi.Input[str]] = None,
1244
+ __props__=None):
1245
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
1246
+ if not isinstance(opts, pulumi.ResourceOptions):
1247
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
1248
+ if opts.id is None:
1249
+ if __props__ is not None:
1250
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1251
+ __props__ = GdcSparkApplicationArgs.__new__(GdcSparkApplicationArgs)
1252
+
1253
+ __props__.__dict__["annotations"] = annotations
1254
+ __props__.__dict__["application_environment"] = application_environment
1255
+ __props__.__dict__["dependency_images"] = dependency_images
1256
+ __props__.__dict__["display_name"] = display_name
1257
+ __props__.__dict__["labels"] = labels
1258
+ if location is None and not opts.urn:
1259
+ raise TypeError("Missing required property 'location'")
1260
+ __props__.__dict__["location"] = location
1261
+ __props__.__dict__["namespace"] = namespace
1262
+ __props__.__dict__["project"] = project
1263
+ __props__.__dict__["properties"] = properties
1264
+ __props__.__dict__["pyspark_application_config"] = pyspark_application_config
1265
+ if serviceinstance is None and not opts.urn:
1266
+ raise TypeError("Missing required property 'serviceinstance'")
1267
+ __props__.__dict__["serviceinstance"] = serviceinstance
1268
+ __props__.__dict__["spark_application_config"] = spark_application_config
1269
+ if spark_application_id is None and not opts.urn:
1270
+ raise TypeError("Missing required property 'spark_application_id'")
1271
+ __props__.__dict__["spark_application_id"] = spark_application_id
1272
+ __props__.__dict__["spark_r_application_config"] = spark_r_application_config
1273
+ __props__.__dict__["spark_sql_application_config"] = spark_sql_application_config
1274
+ __props__.__dict__["version"] = version
1275
+ __props__.__dict__["create_time"] = None
1276
+ __props__.__dict__["effective_annotations"] = None
1277
+ __props__.__dict__["effective_labels"] = None
1278
+ __props__.__dict__["monitoring_endpoint"] = None
1279
+ __props__.__dict__["name"] = None
1280
+ __props__.__dict__["output_uri"] = None
1281
+ __props__.__dict__["pulumi_labels"] = None
1282
+ __props__.__dict__["reconciling"] = None
1283
+ __props__.__dict__["state"] = None
1284
+ __props__.__dict__["state_message"] = None
1285
+ __props__.__dict__["uid"] = None
1286
+ __props__.__dict__["update_time"] = None
1287
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
1288
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
1289
+ super(GdcSparkApplication, __self__).__init__(
1290
+ 'gcp:dataproc/gdcSparkApplication:GdcSparkApplication',
1291
+ resource_name,
1292
+ __props__,
1293
+ opts)
1294
+
1295
+ @staticmethod
1296
+ def get(resource_name: str,
1297
+ id: pulumi.Input[str],
1298
+ opts: Optional[pulumi.ResourceOptions] = None,
1299
+ annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1300
+ application_environment: Optional[pulumi.Input[str]] = None,
1301
+ create_time: Optional[pulumi.Input[str]] = None,
1302
+ dependency_images: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1303
+ display_name: Optional[pulumi.Input[str]] = None,
1304
+ effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1305
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1306
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1307
+ location: Optional[pulumi.Input[str]] = None,
1308
+ monitoring_endpoint: Optional[pulumi.Input[str]] = None,
1309
+ name: Optional[pulumi.Input[str]] = None,
1310
+ namespace: Optional[pulumi.Input[str]] = None,
1311
+ output_uri: Optional[pulumi.Input[str]] = None,
1312
+ project: Optional[pulumi.Input[str]] = None,
1313
+ properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1314
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1315
+ pyspark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationPysparkApplicationConfigArgs', 'GdcSparkApplicationPysparkApplicationConfigArgsDict']]] = None,
1316
+ reconciling: Optional[pulumi.Input[bool]] = None,
1317
+ serviceinstance: Optional[pulumi.Input[str]] = None,
1318
+ spark_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkApplicationConfigArgs', 'GdcSparkApplicationSparkApplicationConfigArgsDict']]] = None,
1319
+ spark_application_id: Optional[pulumi.Input[str]] = None,
1320
+ spark_r_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkRApplicationConfigArgs', 'GdcSparkApplicationSparkRApplicationConfigArgsDict']]] = None,
1321
+ spark_sql_application_config: Optional[pulumi.Input[Union['GdcSparkApplicationSparkSqlApplicationConfigArgs', 'GdcSparkApplicationSparkSqlApplicationConfigArgsDict']]] = None,
1322
+ state: Optional[pulumi.Input[str]] = None,
1323
+ state_message: Optional[pulumi.Input[str]] = None,
1324
+ uid: Optional[pulumi.Input[str]] = None,
1325
+ update_time: Optional[pulumi.Input[str]] = None,
1326
+ version: Optional[pulumi.Input[str]] = None) -> 'GdcSparkApplication':
1327
+ """
1328
+ Get an existing GdcSparkApplication resource's state with the given name, id, and optional extra
1329
+ properties used to qualify the lookup.
1330
+
1331
+ :param str resource_name: The unique name of the resulting resource.
1332
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1333
+ :param pulumi.ResourceOptions opts: Options for the resource.
1334
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
1335
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1336
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1337
+ :param pulumi.Input[str] application_environment: An ApplicationEnvironment from which to inherit configuration properties.
1338
+ :param pulumi.Input[str] create_time: The timestamp when the resource was created.
1339
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] dependency_images: List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
1340
+ :param pulumi.Input[str] display_name: User-provided human-readable name to be used in user interfaces.
1341
+ :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.
1342
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels to associate with this application. Labels may be used for filtering and billing tracking.
1343
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1344
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
1345
+ :param pulumi.Input[str] location: The location of the spark application.
1346
+ :param pulumi.Input[str] monitoring_endpoint: URL for a monitoring UI for this application (for eventual Spark PHS/UI support) Out of scope for private GA
1347
+ :param pulumi.Input[str] name: Identifier. The name of the application. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/sparkApplications/{application}
1348
+ :param pulumi.Input[str] namespace: The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
1349
+ :param pulumi.Input[str] output_uri: An HCFS URI pointing to the location of stdout and stdout of the application Mainly useful for Pantheon and gcloud Not in scope for private GA
1350
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
1351
+ If it is not provided, the provider project is used.
1352
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] properties: application-specific properties.
1353
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
1354
+ and default labels configured on the provider.
1355
+ :param pulumi.Input[Union['GdcSparkApplicationPysparkApplicationConfigArgs', 'GdcSparkApplicationPysparkApplicationConfigArgsDict']] pyspark_application_config: Represents the PySparkApplicationConfig.
1356
+ Structure is documented below.
1357
+ :param pulumi.Input[bool] reconciling: Whether the application is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
1358
+ :param pulumi.Input[str] serviceinstance: The id of the service instance to which this spark application belongs.
1359
+ :param pulumi.Input[Union['GdcSparkApplicationSparkApplicationConfigArgs', 'GdcSparkApplicationSparkApplicationConfigArgsDict']] spark_application_config: Represents the SparkApplicationConfig.
1360
+ Structure is documented below.
1361
+ :param pulumi.Input[str] spark_application_id: The id of the application
1362
+
1363
+
1364
+ - - -
1365
+ :param pulumi.Input[Union['GdcSparkApplicationSparkRApplicationConfigArgs', 'GdcSparkApplicationSparkRApplicationConfigArgsDict']] spark_r_application_config: Represents the SparkRApplicationConfig.
1366
+ Structure is documented below.
1367
+ :param pulumi.Input[Union['GdcSparkApplicationSparkSqlApplicationConfigArgs', 'GdcSparkApplicationSparkSqlApplicationConfigArgsDict']] spark_sql_application_config: Represents the SparkRApplicationConfig.
1368
+ Structure is documented below.
1369
+ :param pulumi.Input[str] state: The current state.
1370
+ Possible values:
1371
+ * `STATE_UNSPECIFIED`
1372
+ * `PENDING`
1373
+ * `RUNNING`
1374
+ * `CANCELLING`
1375
+ * `CANCELLED`
1376
+ * `SUCCEEDED`
1377
+ * `FAILED`
1378
+ :param pulumi.Input[str] state_message: A message explaining the current state.
1379
+ :param pulumi.Input[str] uid: System generated unique identifier for this application, formatted as UUID4.
1380
+ :param pulumi.Input[str] update_time: The timestamp when the resource was most recently updated.
1381
+ :param pulumi.Input[str] version: The Dataproc version of this application.
1382
+ """
1383
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
1384
+
1385
+ __props__ = _GdcSparkApplicationState.__new__(_GdcSparkApplicationState)
1386
+
1387
+ __props__.__dict__["annotations"] = annotations
1388
+ __props__.__dict__["application_environment"] = application_environment
1389
+ __props__.__dict__["create_time"] = create_time
1390
+ __props__.__dict__["dependency_images"] = dependency_images
1391
+ __props__.__dict__["display_name"] = display_name
1392
+ __props__.__dict__["effective_annotations"] = effective_annotations
1393
+ __props__.__dict__["effective_labels"] = effective_labels
1394
+ __props__.__dict__["labels"] = labels
1395
+ __props__.__dict__["location"] = location
1396
+ __props__.__dict__["monitoring_endpoint"] = monitoring_endpoint
1397
+ __props__.__dict__["name"] = name
1398
+ __props__.__dict__["namespace"] = namespace
1399
+ __props__.__dict__["output_uri"] = output_uri
1400
+ __props__.__dict__["project"] = project
1401
+ __props__.__dict__["properties"] = properties
1402
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
1403
+ __props__.__dict__["pyspark_application_config"] = pyspark_application_config
1404
+ __props__.__dict__["reconciling"] = reconciling
1405
+ __props__.__dict__["serviceinstance"] = serviceinstance
1406
+ __props__.__dict__["spark_application_config"] = spark_application_config
1407
+ __props__.__dict__["spark_application_id"] = spark_application_id
1408
+ __props__.__dict__["spark_r_application_config"] = spark_r_application_config
1409
+ __props__.__dict__["spark_sql_application_config"] = spark_sql_application_config
1410
+ __props__.__dict__["state"] = state
1411
+ __props__.__dict__["state_message"] = state_message
1412
+ __props__.__dict__["uid"] = uid
1413
+ __props__.__dict__["update_time"] = update_time
1414
+ __props__.__dict__["version"] = version
1415
+ return GdcSparkApplication(resource_name, opts=opts, __props__=__props__)
1416
+
1417
+ @property
1418
+ @pulumi.getter
1419
+ def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1420
+ """
1421
+ The annotations to associate with this application. Annotations may be used to store client information, but are not used by the server.
1422
+ **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1423
+ Please refer to the field `effective_annotations` for all of the annotations present on the resource.
1424
+ """
1425
+ return pulumi.get(self, "annotations")
1426
+
1427
+ @property
1428
+ @pulumi.getter(name="applicationEnvironment")
1429
+ def application_environment(self) -> pulumi.Output[Optional[str]]:
1430
+ """
1431
+ An ApplicationEnvironment from which to inherit configuration properties.
1432
+ """
1433
+ return pulumi.get(self, "application_environment")
1434
+
1435
+ @property
1436
+ @pulumi.getter(name="createTime")
1437
+ def create_time(self) -> pulumi.Output[str]:
1438
+ """
1439
+ The timestamp when the resource was created.
1440
+ """
1441
+ return pulumi.get(self, "create_time")
1442
+
1443
+ @property
1444
+ @pulumi.getter(name="dependencyImages")
1445
+ def dependency_images(self) -> pulumi.Output[Optional[Sequence[str]]]:
1446
+ """
1447
+ List of container image uris for additional file dependencies. Dependent files are sequentially copied from each image. If a file with the same name exists in 2 images then the file from later image is used.
1448
+ """
1449
+ return pulumi.get(self, "dependency_images")
1450
+
1451
+ @property
1452
+ @pulumi.getter(name="displayName")
1453
+ def display_name(self) -> pulumi.Output[Optional[str]]:
1454
+ """
1455
+ User-provided human-readable name to be used in user interfaces.
1456
+ """
1457
+ return pulumi.get(self, "display_name")
1458
+
1459
+ @property
1460
+ @pulumi.getter(name="effectiveAnnotations")
1461
+ def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
1462
+ return pulumi.get(self, "effective_annotations")
1463
+
1464
+ @property
1465
+ @pulumi.getter(name="effectiveLabels")
1466
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
1467
+ """
1468
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
1469
+ """
1470
+ return pulumi.get(self, "effective_labels")
1471
+
1472
+ @property
1473
+ @pulumi.getter
1474
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1475
+ """
1476
+ The labels to associate with this application. Labels may be used for filtering and billing tracking.
1477
+ **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1478
+ Please refer to the field `effective_labels` for all of the labels present on the resource.
1479
+ """
1480
+ return pulumi.get(self, "labels")
1481
+
1482
+ @property
1483
+ @pulumi.getter
1484
+ def location(self) -> pulumi.Output[str]:
1485
+ """
1486
+ The location of the spark application.
1487
+ """
1488
+ return pulumi.get(self, "location")
1489
+
1490
+ @property
1491
+ @pulumi.getter(name="monitoringEndpoint")
1492
+ def monitoring_endpoint(self) -> pulumi.Output[str]:
1493
+ """
1494
+ URL for a monitoring UI for this application (for eventual Spark PHS/UI support) Out of scope for private GA
1495
+ """
1496
+ return pulumi.get(self, "monitoring_endpoint")
1497
+
1498
+ @property
1499
+ @pulumi.getter
1500
+ def name(self) -> pulumi.Output[str]:
1501
+ """
1502
+ Identifier. The name of the application. Format: projects/{project}/locations/{location}/serviceInstances/{service_instance}/sparkApplications/{application}
1503
+ """
1504
+ return pulumi.get(self, "name")
1505
+
1506
+ @property
1507
+ @pulumi.getter
1508
+ def namespace(self) -> pulumi.Output[Optional[str]]:
1509
+ """
1510
+ The Kubernetes namespace in which to create the application. This namespace must already exist on the cluster.
1511
+ """
1512
+ return pulumi.get(self, "namespace")
1513
+
1514
+ @property
1515
+ @pulumi.getter(name="outputUri")
1516
+ def output_uri(self) -> pulumi.Output[str]:
1517
+ """
1518
+ An HCFS URI pointing to the location of stdout and stdout of the application Mainly useful for Pantheon and gcloud Not in scope for private GA
1519
+ """
1520
+ return pulumi.get(self, "output_uri")
1521
+
1522
+ @property
1523
+ @pulumi.getter
1524
+ def project(self) -> pulumi.Output[str]:
1525
+ """
1526
+ The ID of the project in which the resource belongs.
1527
+ If it is not provided, the provider project is used.
1528
+ """
1529
+ return pulumi.get(self, "project")
1530
+
1531
+ @property
1532
+ @pulumi.getter
1533
+ def properties(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1534
+ """
1535
+ application-specific properties.
1536
+ """
1537
+ return pulumi.get(self, "properties")
1538
+
1539
+ @property
1540
+ @pulumi.getter(name="pulumiLabels")
1541
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
1542
+ """
1543
+ The combination of labels configured directly on the resource
1544
+ and default labels configured on the provider.
1545
+ """
1546
+ return pulumi.get(self, "pulumi_labels")
1547
+
1548
+ @property
1549
+ @pulumi.getter(name="pysparkApplicationConfig")
1550
+ def pyspark_application_config(self) -> pulumi.Output[Optional['outputs.GdcSparkApplicationPysparkApplicationConfig']]:
1551
+ """
1552
+ Represents the PySparkApplicationConfig.
1553
+ Structure is documented below.
1554
+ """
1555
+ return pulumi.get(self, "pyspark_application_config")
1556
+
1557
+ @property
1558
+ @pulumi.getter
1559
+ def reconciling(self) -> pulumi.Output[bool]:
1560
+ """
1561
+ Whether the application is currently reconciling. True if the current state of the resource does not match the intended state, and the system is working to reconcile them, whether or not the change was user initiated.
1562
+ """
1563
+ return pulumi.get(self, "reconciling")
1564
+
1565
+ @property
1566
+ @pulumi.getter
1567
+ def serviceinstance(self) -> pulumi.Output[str]:
1568
+ """
1569
+ The id of the service instance to which this spark application belongs.
1570
+ """
1571
+ return pulumi.get(self, "serviceinstance")
1572
+
1573
+ @property
1574
+ @pulumi.getter(name="sparkApplicationConfig")
1575
+ def spark_application_config(self) -> pulumi.Output[Optional['outputs.GdcSparkApplicationSparkApplicationConfig']]:
1576
+ """
1577
+ Represents the SparkApplicationConfig.
1578
+ Structure is documented below.
1579
+ """
1580
+ return pulumi.get(self, "spark_application_config")
1581
+
1582
+ @property
1583
+ @pulumi.getter(name="sparkApplicationId")
1584
+ def spark_application_id(self) -> pulumi.Output[str]:
1585
+ """
1586
+ The id of the application
1587
+
1588
+
1589
+ - - -
1590
+ """
1591
+ return pulumi.get(self, "spark_application_id")
1592
+
1593
+ @property
1594
+ @pulumi.getter(name="sparkRApplicationConfig")
1595
+ def spark_r_application_config(self) -> pulumi.Output[Optional['outputs.GdcSparkApplicationSparkRApplicationConfig']]:
1596
+ """
1597
+ Represents the SparkRApplicationConfig.
1598
+ Structure is documented below.
1599
+ """
1600
+ return pulumi.get(self, "spark_r_application_config")
1601
+
1602
+ @property
1603
+ @pulumi.getter(name="sparkSqlApplicationConfig")
1604
+ def spark_sql_application_config(self) -> pulumi.Output[Optional['outputs.GdcSparkApplicationSparkSqlApplicationConfig']]:
1605
+ """
1606
+ Represents the SparkRApplicationConfig.
1607
+ Structure is documented below.
1608
+ """
1609
+ return pulumi.get(self, "spark_sql_application_config")
1610
+
1611
+ @property
1612
+ @pulumi.getter
1613
+ def state(self) -> pulumi.Output[str]:
1614
+ """
1615
+ The current state.
1616
+ Possible values:
1617
+ * `STATE_UNSPECIFIED`
1618
+ * `PENDING`
1619
+ * `RUNNING`
1620
+ * `CANCELLING`
1621
+ * `CANCELLED`
1622
+ * `SUCCEEDED`
1623
+ * `FAILED`
1624
+ """
1625
+ return pulumi.get(self, "state")
1626
+
1627
+ @property
1628
+ @pulumi.getter(name="stateMessage")
1629
+ def state_message(self) -> pulumi.Output[str]:
1630
+ """
1631
+ A message explaining the current state.
1632
+ """
1633
+ return pulumi.get(self, "state_message")
1634
+
1635
+ @property
1636
+ @pulumi.getter
1637
+ def uid(self) -> pulumi.Output[str]:
1638
+ """
1639
+ System generated unique identifier for this application, formatted as UUID4.
1640
+ """
1641
+ return pulumi.get(self, "uid")
1642
+
1643
+ @property
1644
+ @pulumi.getter(name="updateTime")
1645
+ def update_time(self) -> pulumi.Output[str]:
1646
+ """
1647
+ The timestamp when the resource was most recently updated.
1648
+ """
1649
+ return pulumi.get(self, "update_time")
1650
+
1651
+ @property
1652
+ @pulumi.getter
1653
+ def version(self) -> pulumi.Output[Optional[str]]:
1654
+ """
1655
+ The Dataproc version of this application.
1656
+ """
1657
+ return pulumi.get(self, "version")
1658
+