pulumi-gcp 8.5.0a1728368389__py3-none-any.whl → 8.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/_utilities.py +1 -1
- pulumi_gcp/accessapproval/get_folder_service_account.py +9 -4
- pulumi_gcp/accessapproval/get_organization_service_account.py +9 -4
- pulumi_gcp/accessapproval/get_project_service_account.py +9 -4
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +9 -4
- pulumi_gcp/alloydb/get_locations.py +8 -4
- pulumi_gcp/alloydb/get_supported_database_flags.py +10 -4
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +13 -4
- pulumi_gcp/apigateway/get_api_iam_policy.py +11 -4
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +13 -4
- pulumi_gcp/apigee/get_environment_iam_policy.py +11 -4
- pulumi_gcp/appengine/get_default_service_account.py +12 -4
- pulumi_gcp/apphub/get_application.py +20 -4
- pulumi_gcp/apphub/get_discovered_service.py +14 -4
- pulumi_gcp/apphub/get_discovered_workload.py +14 -4
- pulumi_gcp/artifactregistry/get_docker_image.py +21 -4
- pulumi_gcp/artifactregistry/get_locations.py +8 -4
- pulumi_gcp/artifactregistry/get_repository.py +27 -4
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +13 -4
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +13 -4
- pulumi_gcp/beyondcorp/get_app_connection.py +19 -4
- pulumi_gcp/beyondcorp/get_app_connector.py +17 -4
- pulumi_gcp/beyondcorp/get_app_gateway.py +20 -4
- pulumi_gcp/bigquery/get_connection_iam_policy.py +13 -4
- pulumi_gcp/bigquery/get_dataset.py +30 -4
- pulumi_gcp/bigquery/get_dataset_iam_policy.py +11 -4
- pulumi_gcp/bigquery/get_default_service_account.py +9 -4
- pulumi_gcp/bigquery/get_table_iam_policy.py +13 -4
- pulumi_gcp/bigquery/get_tables.py +10 -4
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +13 -4
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +15 -4
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +13 -4
- pulumi_gcp/bigtable/_inputs.py +58 -0
- pulumi_gcp/bigtable/gc_policy.py +7 -0
- pulumi_gcp/bigtable/get_instance_iam_policy.py +11 -4
- pulumi_gcp/bigtable/get_table_iam_policy.py +13 -4
- pulumi_gcp/bigtable/instance_iam_binding.py +13 -34
- pulumi_gcp/bigtable/instance_iam_member.py +13 -34
- pulumi_gcp/bigtable/instance_iam_policy.py +0 -47
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/billing/get_account_iam_policy.py +9 -4
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +11 -4
- pulumi_gcp/certificateauthority/get_authority.py +34 -4
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +13 -4
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +13 -4
- pulumi_gcp/certificatemanager/get_certificate_map.py +16 -4
- pulumi_gcp/certificatemanager/get_certificates.py +10 -4
- pulumi_gcp/cloudasset/get_resources_search_all.py +12 -4
- pulumi_gcp/cloudasset/get_search_all_resources.py +12 -4
- pulumi_gcp/cloudbuild/get_trigger.py +33 -4
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +13 -4
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +13 -4
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +13 -4
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +13 -4
- pulumi_gcp/cloudfunctions/get_function.py +43 -4
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +13 -4
- pulumi_gcp/cloudfunctionsv2/get_function.py +23 -4
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +13 -4
- pulumi_gcp/cloudidentity/get_group_lookup.py +8 -4
- pulumi_gcp/cloudidentity/get_group_memberships.py +8 -4
- pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +8 -4
- pulumi_gcp/cloudidentity/get_groups.py +8 -4
- pulumi_gcp/cloudquota/get_s_quota_info.py +25 -4
- pulumi_gcp/cloudquota/get_s_quota_infos.py +10 -4
- pulumi_gcp/cloudrun/get_locations.py +8 -4
- pulumi_gcp/cloudrun/get_service.py +16 -4
- pulumi_gcp/cloudrun/get_service_iam_policy.py +13 -4
- pulumi_gcp/cloudrunv2/get_job.py +39 -4
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +13 -4
- pulumi_gcp/cloudrunv2/get_service.py +45 -4
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +13 -4
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +13 -4
- pulumi_gcp/composer/get_environment.py +16 -4
- pulumi_gcp/composer/get_image_versions.py +10 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +14 -4
- pulumi_gcp/composer/get_user_workloads_secret.py +14 -4
- pulumi_gcp/compute/_inputs.py +302 -18
- pulumi_gcp/compute/backend_service.py +111 -7
- pulumi_gcp/compute/get_address.py +21 -4
- pulumi_gcp/compute/get_addresses.py +12 -4
- pulumi_gcp/compute/get_backend_bucket.py +18 -4
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +11 -4
- pulumi_gcp/compute/get_backend_service.py +51 -5
- pulumi_gcp/compute/get_backend_service_iam_policy.py +11 -4
- pulumi_gcp/compute/get_certificate.py +17 -4
- pulumi_gcp/compute/get_default_service_account.py +12 -4
- pulumi_gcp/compute/get_disk.py +45 -4
- pulumi_gcp/compute/get_disk_iam_policy.py +13 -4
- pulumi_gcp/compute/get_forwarding_rule.py +43 -4
- pulumi_gcp/compute/get_forwarding_rules.py +10 -4
- pulumi_gcp/compute/get_global_address.py +19 -4
- pulumi_gcp/compute/get_global_forwarding_rule.py +31 -4
- pulumi_gcp/compute/get_hc_vpn_gateway.py +17 -4
- pulumi_gcp/compute/get_health_check.py +25 -4
- pulumi_gcp/compute/get_image.py +30 -4
- pulumi_gcp/compute/get_image_iam_policy.py +11 -4
- pulumi_gcp/compute/get_instance.py +49 -4
- pulumi_gcp/compute/get_instance_group.py +18 -4
- pulumi_gcp/compute/get_instance_group_manager.py +38 -4
- pulumi_gcp/compute/get_instance_iam_policy.py +13 -4
- pulumi_gcp/compute/get_instance_serial_port.py +14 -4
- pulumi_gcp/compute/get_instance_template.py +45 -4
- pulumi_gcp/compute/get_lbip_ranges.py +7 -4
- pulumi_gcp/compute/get_machine_image_iam_policy.py +11 -4
- pulumi_gcp/compute/get_machine_types.py +12 -4
- pulumi_gcp/compute/get_netblock_ip_ranges.py +10 -4
- pulumi_gcp/compute/get_network.py +14 -4
- pulumi_gcp/compute/get_network_endpoint_group.py +19 -4
- pulumi_gcp/compute/get_network_peering.py +17 -4
- pulumi_gcp/compute/get_networks.py +9 -4
- pulumi_gcp/compute/get_node_types.py +10 -4
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +13 -4
- pulumi_gcp/compute/get_region_disk.py +35 -4
- pulumi_gcp/compute/get_region_disk_iam_policy.py +13 -4
- pulumi_gcp/compute/get_region_instance_group.py +15 -4
- pulumi_gcp/compute/get_region_instance_group_manager.py +39 -4
- pulumi_gcp/compute/get_region_instance_template.py +44 -4
- pulumi_gcp/compute/get_region_network_endpoint_group.py +22 -4
- pulumi_gcp/compute/get_region_ssl_certificate.py +19 -4
- pulumi_gcp/compute/get_regions.py +10 -4
- pulumi_gcp/compute/get_reservation.py +19 -4
- pulumi_gcp/compute/get_resource_policy.py +17 -4
- pulumi_gcp/compute/get_router.py +18 -4
- pulumi_gcp/compute/get_router_nat.py +33 -4
- pulumi_gcp/compute/get_router_status.py +14 -4
- pulumi_gcp/compute/get_security_policy.py +18 -4
- pulumi_gcp/compute/get_snapshot.py +30 -4
- pulumi_gcp/compute/get_snapshot_iam_policy.py +11 -4
- pulumi_gcp/compute/get_ssl_policy.py +17 -4
- pulumi_gcp/compute/get_subnetwork.py +20 -4
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +13 -4
- pulumi_gcp/compute/get_subnetworks.py +12 -4
- pulumi_gcp/compute/get_vpn_gateway.py +14 -4
- pulumi_gcp/compute/get_zones.py +12 -4
- pulumi_gcp/compute/network.py +236 -0
- pulumi_gcp/compute/outputs.py +401 -16
- pulumi_gcp/compute/region_backend_service.py +115 -7
- pulumi_gcp/compute/route.py +92 -0
- pulumi_gcp/compute/router_status.py +14 -4
- pulumi_gcp/compute/subnetwork.py +2 -2
- pulumi_gcp/container/_inputs.py +106 -0
- pulumi_gcp/container/aws_node_pool.py +59 -0
- pulumi_gcp/container/get_attached_install_manifest.py +14 -4
- pulumi_gcp/container/get_attached_versions.py +10 -4
- pulumi_gcp/container/get_aws_versions.py +11 -4
- pulumi_gcp/container/get_azure_versions.py +11 -4
- pulumi_gcp/container/get_cluster.py +87 -4
- pulumi_gcp/container/get_engine_versions.py +18 -4
- pulumi_gcp/container/get_registry_image.py +16 -4
- pulumi_gcp/container/get_registry_repository.py +10 -4
- pulumi_gcp/container/outputs.py +87 -0
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +11 -4
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +13 -4
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +9 -4
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +13 -4
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +13 -4
- pulumi_gcp/dataform/get_repository_iam_policy.py +13 -4
- pulumi_gcp/datafusion/get_instance_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_asset_iam_policy.py +17 -4
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_lake_iam_policy.py +13 -4
- pulumi_gcp/dataplex/get_task_iam_policy.py +15 -4
- pulumi_gcp/dataplex/get_zone_iam_policy.py +15 -4
- pulumi_gcp/dataproc/__init__.py +1 -0
- pulumi_gcp/dataproc/_inputs.py +1394 -0
- pulumi_gcp/dataproc/batch.py +1514 -0
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +13 -4
- pulumi_gcp/dataproc/get_cluster_iam_policy.py +13 -4
- pulumi_gcp/dataproc/get_job_iam_policy.py +13 -4
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +13 -4
- pulumi_gcp/dataproc/get_metastore_service.py +34 -4
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +13 -4
- pulumi_gcp/dataproc/outputs.py +1127 -0
- pulumi_gcp/datastream/get_static_ips.py +10 -4
- pulumi_gcp/discoveryengine/_inputs.py +32 -5
- pulumi_gcp/discoveryengine/chat_engine.py +64 -0
- pulumi_gcp/discoveryengine/outputs.py +22 -3
- pulumi_gcp/dns/get_keys.py +11 -4
- pulumi_gcp/dns/get_managed_zone.py +14 -4
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +11 -4
- pulumi_gcp/dns/get_managed_zones.py +8 -4
- pulumi_gcp/dns/get_record_set.py +15 -4
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +11 -4
- pulumi_gcp/endpoints/get_service_iam_policy.py +9 -4
- pulumi_gcp/filestore/get_instance.py +25 -4
- pulumi_gcp/firebase/get_android_app.py +17 -4
- pulumi_gcp/firebase/get_android_app_config.py +11 -4
- pulumi_gcp/firebase/get_apple_app.py +16 -4
- pulumi_gcp/firebase/get_apple_app_config.py +11 -4
- pulumi_gcp/firebase/get_hosting_channel.py +16 -4
- pulumi_gcp/firebase/get_web_app.py +14 -4
- pulumi_gcp/firebase/get_web_app_config.py +16 -4
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/folder/get_iam_policy.py +9 -4
- pulumi_gcp/folder/get_organization_policy.py +15 -4
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +13 -4
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +13 -4
- pulumi_gcp/gkehub/get_feature_iam_policy.py +13 -4
- pulumi_gcp/gkehub/get_membership_binding.py +23 -4
- pulumi_gcp/gkehub/get_membership_iam_policy.py +13 -4
- pulumi_gcp/gkehub/get_scope_iam_policy.py +11 -4
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/healthcare/__init__.py +1 -0
- pulumi_gcp/healthcare/_inputs.py +538 -0
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +11 -4
- pulumi_gcp/healthcare/get_dataset_iam_policy.py +9 -4
- pulumi_gcp/healthcare/get_dicom_store_iam_policy.py +9 -4
- pulumi_gcp/healthcare/get_fhir_store_iam_policy.py +9 -4
- pulumi_gcp/healthcare/get_hl7_v2_store_iam_policy.py +9 -4
- pulumi_gcp/healthcare/outputs.py +467 -0
- pulumi_gcp/healthcare/pipeline_job.py +1233 -0
- pulumi_gcp/iam/get_rule.py +10 -4
- pulumi_gcp/iam/get_testable_permissions.py +12 -4
- pulumi_gcp/iam/get_workload_identity_pool.py +14 -4
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +22 -4
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +13 -4
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +15 -4
- pulumi_gcp/iap/get_client.py +11 -4
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +13 -4
- pulumi_gcp/iap/get_tunnel_iam_policy.py +9 -4
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +13 -4
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +11 -4
- pulumi_gcp/iap/get_web_iam_policy.py +9 -4
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +13 -4
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +11 -4
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +9 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/get_crypto_key_iam_policy.py +9 -4
- pulumi_gcp/kms/get_crypto_key_latest_version.py +15 -4
- pulumi_gcp/kms/get_crypto_key_versions.py +11 -4
- pulumi_gcp/kms/get_crypto_keys.py +10 -4
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +13 -4
- pulumi_gcp/kms/get_key_ring_iam_policy.py +9 -4
- pulumi_gcp/kms/get_key_rings.py +12 -4
- pulumi_gcp/kms/get_kms_crypto_key.py +21 -4
- pulumi_gcp/kms/get_kms_crypto_key_version.py +14 -4
- pulumi_gcp/kms/get_kms_key_ring.py +11 -4
- pulumi_gcp/kms/get_kms_secret.py +12 -4
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +12 -4
- pulumi_gcp/kms/get_kms_secret_ciphertext.py +10 -4
- pulumi_gcp/kms/key_handle.py +8 -8
- pulumi_gcp/logging/get_folder_settings.py +13 -4
- pulumi_gcp/logging/get_log_view_iam_policy.py +15 -4
- pulumi_gcp/logging/get_organization_settings.py +13 -4
- pulumi_gcp/logging/get_project_cmek_settings.py +12 -4
- pulumi_gcp/logging/get_project_settings.py +13 -4
- pulumi_gcp/logging/get_sink.py +14 -4
- pulumi_gcp/logging/log_scope.py +7 -7
- pulumi_gcp/monitoring/get_app_engine_service.py +14 -4
- pulumi_gcp/monitoring/get_cluster_istio_service.py +20 -4
- pulumi_gcp/monitoring/get_istio_canonical_service.py +18 -4
- pulumi_gcp/monitoring/get_mesh_istio_service.py +18 -4
- pulumi_gcp/monitoring/get_notification_channel.py +21 -4
- pulumi_gcp/monitoring/get_secret_version.py +16 -4
- pulumi_gcp/monitoring/get_uptime_check_i_ps.py +6 -4
- pulumi_gcp/netapp/backup_vault.py +2 -2
- pulumi_gcp/networkconnectivity/_inputs.py +70 -0
- pulumi_gcp/networkconnectivity/internal_range.py +117 -7
- pulumi_gcp/networkconnectivity/outputs.py +42 -0
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +13 -4
- pulumi_gcp/networkservices/gateway.py +54 -0
- pulumi_gcp/notebooks/get_instance_iam_policy.py +13 -4
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +13 -4
- pulumi_gcp/organizations/get_active_folder.py +12 -4
- pulumi_gcp/organizations/get_billing_account.py +15 -4
- pulumi_gcp/organizations/get_client_config.py +10 -4
- pulumi_gcp/organizations/get_client_open_id_user_info.py +6 -4
- pulumi_gcp/organizations/get_folder.py +17 -4
- pulumi_gcp/organizations/get_folders.py +8 -4
- pulumi_gcp/organizations/get_iam_policy.py +10 -4
- pulumi_gcp/organizations/get_organization.py +14 -4
- pulumi_gcp/organizations/get_project.py +18 -4
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +22 -4
- pulumi_gcp/projects/get_iam_policy.py +9 -4
- pulumi_gcp/projects/get_organization_policy.py +15 -4
- pulumi_gcp/projects/get_project.py +8 -4
- pulumi_gcp/projects/get_project_service.py +12 -4
- pulumi_gcp/pubsub/_inputs.py +333 -1
- pulumi_gcp/pubsub/get_schema_iam_policy.py +11 -4
- pulumi_gcp/pubsub/get_subscription.py +25 -4
- pulumi_gcp/pubsub/get_subscription_iam_policy.py +11 -4
- pulumi_gcp/pubsub/get_topic.py +17 -4
- pulumi_gcp/pubsub/get_topic_iam_policy.py +11 -4
- pulumi_gcp/pubsub/outputs.py +410 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pubsub/topic.py +44 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +44 -4
- pulumi_gcp/runtimeconfig/get_config.py +10 -4
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +11 -4
- pulumi_gcp/runtimeconfig/get_variable.py +14 -4
- pulumi_gcp/secretmanager/get_regional_secret.py +25 -4
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +13 -4
- pulumi_gcp/secretmanager/get_regional_secret_version.py +19 -4
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +15 -4
- pulumi_gcp/secretmanager/get_regional_secrets.py +12 -4
- pulumi_gcp/secretmanager/get_secret.py +23 -4
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +11 -4
- pulumi_gcp/secretmanager/get_secret_version.py +16 -4
- pulumi_gcp/secretmanager/get_secret_version_access.py +13 -4
- pulumi_gcp/secretmanager/get_secrets.py +10 -4
- pulumi_gcp/secretmanager/outputs.py +2 -10
- pulumi_gcp/securesourcemanager/__init__.py +1 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +975 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +13 -4
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +13 -4
- pulumi_gcp/securesourcemanager/repository.py +0 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +11 -4
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +11 -4
- pulumi_gcp/securityposture/posture.py +0 -2
- pulumi_gcp/securityposture/posture_deployment.py +0 -2
- pulumi_gcp/serviceaccount/get_account.py +14 -4
- pulumi_gcp/serviceaccount/get_account_access_token.py +14 -4
- pulumi_gcp/serviceaccount/get_account_id_token.py +14 -4
- pulumi_gcp/serviceaccount/get_account_jwt.py +14 -4
- pulumi_gcp/serviceaccount/get_account_key.py +13 -4
- pulumi_gcp/serviceaccount/get_iam_policy.py +9 -4
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +9 -4
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +9 -4
- pulumi_gcp/servicenetworking/get_peered_dns_domain.py +15 -4
- pulumi_gcp/serviceusage/consumer_quota_override.py +0 -2
- pulumi_gcp/siteverification/__init__.py +1 -0
- pulumi_gcp/siteverification/get_token.py +12 -4
- pulumi_gcp/siteverification/owner.py +398 -0
- pulumi_gcp/sourcerepo/get_repository.py +24 -5
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +11 -4
- pulumi_gcp/sourcerepo/repository.py +47 -0
- pulumi_gcp/spanner/backup_schedule.py +4 -2
- pulumi_gcp/spanner/get_database_iam_policy.py +13 -4
- pulumi_gcp/spanner/get_instance.py +22 -4
- pulumi_gcp/spanner/get_instance_iam_policy.py +11 -4
- pulumi_gcp/sql/get_backup_run.py +16 -4
- pulumi_gcp/sql/get_ca_certs.py +11 -4
- pulumi_gcp/sql/get_database.py +15 -4
- pulumi_gcp/sql/get_database_instance.py +32 -4
- pulumi_gcp/sql/get_database_instance_latest_recovery_time.py +10 -4
- pulumi_gcp/sql/get_database_instances.py +18 -4
- pulumi_gcp/sql/get_databases.py +10 -4
- pulumi_gcp/sql/get_tiers.py +8 -4
- pulumi_gcp/storage/get_bucket.py +34 -4
- pulumi_gcp/storage/get_bucket_iam_policy.py +9 -4
- pulumi_gcp/storage/get_bucket_object.py +30 -4
- pulumi_gcp/storage/get_bucket_object_content.py +31 -4
- pulumi_gcp/storage/get_bucket_objects.py +12 -4
- pulumi_gcp/storage/get_buckets.py +10 -4
- pulumi_gcp/storage/get_managed_folder_iam_policy.py +11 -4
- pulumi_gcp/storage/get_object_signed_url.py +22 -4
- pulumi_gcp/storage/get_project_service_account.py +11 -4
- pulumi_gcp/storage/get_transfer_project_service_account.py +10 -4
- pulumi_gcp/storage/get_transfer_project_servie_account.py +10 -4
- pulumi_gcp/tags/get_tag_key.py +14 -4
- pulumi_gcp/tags/get_tag_key_iam_policy.py +9 -4
- pulumi_gcp/tags/get_tag_keys.py +8 -4
- pulumi_gcp/tags/get_tag_value.py +14 -4
- pulumi_gcp/tags/get_tag_value_iam_policy.py +9 -4
- pulumi_gcp/tags/get_tag_values.py +8 -4
- pulumi_gcp/tags/tag_key.py +7 -7
- pulumi_gcp/tags/tag_value.py +7 -7
- pulumi_gcp/tpu/get_tensorflow_versions.py +10 -4
- pulumi_gcp/tpu/get_v2_accelerator_types.py +10 -4
- pulumi_gcp/tpu/get_v2_runtime_versions.py +10 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +13 -4
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +11 -4
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +13 -4
- pulumi_gcp/vertex/get_ai_index.py +24 -4
- pulumi_gcp/vmwareengine/get_cluster.py +13 -4
- pulumi_gcp/vmwareengine/get_external_access_rule.py +21 -4
- pulumi_gcp/vmwareengine/get_external_address.py +16 -4
- pulumi_gcp/vmwareengine/get_network.py +16 -4
- pulumi_gcp/vmwareengine/get_network_peering.py +23 -4
- pulumi_gcp/vmwareengine/get_network_policy.py +20 -4
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +9 -4
- pulumi_gcp/vmwareengine/get_private_cloud.py +22 -4
- pulumi_gcp/vmwareengine/get_subnet.py +20 -4
- pulumi_gcp/vmwareengine/get_vcenter_credentials.py +9 -4
- pulumi_gcp/vpcaccess/get_connector.py +22 -4
- pulumi_gcp/workbench/get_instance_iam_policy.py +13 -4
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +15 -4
- pulumi_gcp/workstations/get_workstation_iam_policy.py +17 -4
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.6.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.6.0.dist-info}/RECORD +395 -391
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.6.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.5.0a1728368389.dist-info → pulumi_gcp-8.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,398 @@
|
|
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
|
+
|
17
|
+
__all__ = ['OwnerArgs', 'Owner']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class OwnerArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
email: pulumi.Input[str],
|
23
|
+
web_resource_id: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a Owner resource.
|
26
|
+
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
27
|
+
|
28
|
+
- - -
|
29
|
+
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
30
|
+
such as `webResource/https://www.example.com/`
|
31
|
+
"""
|
32
|
+
pulumi.set(__self__, "email", email)
|
33
|
+
pulumi.set(__self__, "web_resource_id", web_resource_id)
|
34
|
+
|
35
|
+
@property
|
36
|
+
@pulumi.getter
|
37
|
+
def email(self) -> pulumi.Input[str]:
|
38
|
+
"""
|
39
|
+
The email of the user to be added as an owner.
|
40
|
+
|
41
|
+
- - -
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "email")
|
44
|
+
|
45
|
+
@email.setter
|
46
|
+
def email(self, value: pulumi.Input[str]):
|
47
|
+
pulumi.set(self, "email", value)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="webResourceId")
|
51
|
+
def web_resource_id(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
54
|
+
such as `webResource/https://www.example.com/`
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "web_resource_id")
|
57
|
+
|
58
|
+
@web_resource_id.setter
|
59
|
+
def web_resource_id(self, value: pulumi.Input[str]):
|
60
|
+
pulumi.set(self, "web_resource_id", value)
|
61
|
+
|
62
|
+
|
63
|
+
@pulumi.input_type
|
64
|
+
class _OwnerState:
|
65
|
+
def __init__(__self__, *,
|
66
|
+
email: Optional[pulumi.Input[str]] = None,
|
67
|
+
web_resource_id: Optional[pulumi.Input[str]] = None):
|
68
|
+
"""
|
69
|
+
Input properties used for looking up and filtering Owner resources.
|
70
|
+
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
71
|
+
|
72
|
+
- - -
|
73
|
+
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
74
|
+
such as `webResource/https://www.example.com/`
|
75
|
+
"""
|
76
|
+
if email is not None:
|
77
|
+
pulumi.set(__self__, "email", email)
|
78
|
+
if web_resource_id is not None:
|
79
|
+
pulumi.set(__self__, "web_resource_id", web_resource_id)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def email(self) -> Optional[pulumi.Input[str]]:
|
84
|
+
"""
|
85
|
+
The email of the user to be added as an owner.
|
86
|
+
|
87
|
+
- - -
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "email")
|
90
|
+
|
91
|
+
@email.setter
|
92
|
+
def email(self, value: Optional[pulumi.Input[str]]):
|
93
|
+
pulumi.set(self, "email", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="webResourceId")
|
97
|
+
def web_resource_id(self) -> Optional[pulumi.Input[str]]:
|
98
|
+
"""
|
99
|
+
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
100
|
+
such as `webResource/https://www.example.com/`
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "web_resource_id")
|
103
|
+
|
104
|
+
@web_resource_id.setter
|
105
|
+
def web_resource_id(self, value: Optional[pulumi.Input[str]]):
|
106
|
+
pulumi.set(self, "web_resource_id", value)
|
107
|
+
|
108
|
+
|
109
|
+
class Owner(pulumi.CustomResource):
|
110
|
+
@overload
|
111
|
+
def __init__(__self__,
|
112
|
+
resource_name: str,
|
113
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
114
|
+
email: Optional[pulumi.Input[str]] = None,
|
115
|
+
web_resource_id: Optional[pulumi.Input[str]] = None,
|
116
|
+
__props__=None):
|
117
|
+
"""
|
118
|
+
## subcategory: "Site Verification"
|
119
|
+
|
120
|
+
description: |-
|
121
|
+
Manages additional owners on verified web resources.
|
122
|
+
---
|
123
|
+
|
124
|
+
# siteverification.Owner
|
125
|
+
|
126
|
+
An owner is an additional user that may manage a verified web site in the
|
127
|
+
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
128
|
+
are two types of web resource owners:
|
129
|
+
|
130
|
+
* Verified owners, which are added to a web resource automatically when it
|
131
|
+
is created (i.e., when the resource is verified). A verified owner is
|
132
|
+
determined by the identity of the user requesting verification.
|
133
|
+
* Additional owners, which can be added to the resource by verified owners.
|
134
|
+
|
135
|
+
`siteverification.Owner` creates additional owners. If your web site
|
136
|
+
was verified using the
|
137
|
+
`siteverification.WebResource`
|
138
|
+
resource then you (or the identity was used to create the resource, such as a
|
139
|
+
service account) are already an owner.
|
140
|
+
|
141
|
+
> **Note:** The email address of the owner must belong to a Google account,
|
142
|
+
such as a Gmail account, a Google Workspace account, or a GCP service account.
|
143
|
+
|
144
|
+
Working with site verification requires the `https://www.googleapis.com/auth/siteverification`
|
145
|
+
authentication scope. See the
|
146
|
+
Google Provider authentication documentation
|
147
|
+
to learn how to configure additional scopes.
|
148
|
+
|
149
|
+
To get more information about site owners, see:
|
150
|
+
|
151
|
+
* [API documentation](https://developers.google.com/site-verification/v1)
|
152
|
+
* How-to Guides
|
153
|
+
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
154
|
+
|
155
|
+
## Example Usage
|
156
|
+
|
157
|
+
### Site Verification Storage Bucket
|
158
|
+
|
159
|
+
This example uses the `FILE` verification method to verify ownership of web site hosted
|
160
|
+
in a Google Cloud Storage bucket. Ownership is proved by creating a file with a Google-provided
|
161
|
+
value in a known location. The user applying this configuration will automatically be
|
162
|
+
added as a verified owner, and the `siteverification.Owner` resource will add
|
163
|
+
`user@example.com` as an additional owner.
|
164
|
+
|
165
|
+
```python
|
166
|
+
import pulumi
|
167
|
+
import pulumi_gcp as gcp
|
168
|
+
|
169
|
+
bucket = gcp.storage.Bucket("bucket",
|
170
|
+
name="example-storage-bucket",
|
171
|
+
location="US")
|
172
|
+
token = gcp.siteverification.get_token_output(type="SITE",
|
173
|
+
identifier=bucket.name.apply(lambda name: f"https://{name}.storage.googleapis.com/"),
|
174
|
+
verification_method="FILE")
|
175
|
+
object = gcp.storage.BucketObject("object",
|
176
|
+
name=token.token,
|
177
|
+
content=token.apply(lambda token: f"google-site-verification: {token.token}"),
|
178
|
+
bucket=bucket.name)
|
179
|
+
public_rule = gcp.storage.ObjectAccessControl("public_rule",
|
180
|
+
bucket=bucket.name,
|
181
|
+
object=object.name,
|
182
|
+
role="READER",
|
183
|
+
entity="allUsers")
|
184
|
+
example = gcp.siteverification.WebResource("example",
|
185
|
+
site={
|
186
|
+
"type": token.type,
|
187
|
+
"identifier": token.identifier,
|
188
|
+
},
|
189
|
+
verification_method=token.verification_method)
|
190
|
+
example_owner = gcp.siteverification.Owner("example",
|
191
|
+
web_resource_id=example.id,
|
192
|
+
email="user@example.com")
|
193
|
+
```
|
194
|
+
|
195
|
+
## Import
|
196
|
+
|
197
|
+
Owner can be imported using this format:
|
198
|
+
|
199
|
+
* `webResource/{{web_resource_id}}/{{email}}`
|
200
|
+
|
201
|
+
When using the `pulumi import` command, Site owners can be imported using the format above. For example:
|
202
|
+
|
203
|
+
```sh
|
204
|
+
$ pulumi import gcp:siteverification/owner:Owner default webResource/{{web_resource_id}}/{{email}}
|
205
|
+
```
|
206
|
+
|
207
|
+
verified owners is to delete the web resource itself.
|
208
|
+
|
209
|
+
:param str resource_name: The name of the resource.
|
210
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
211
|
+
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
212
|
+
|
213
|
+
- - -
|
214
|
+
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
215
|
+
such as `webResource/https://www.example.com/`
|
216
|
+
"""
|
217
|
+
...
|
218
|
+
@overload
|
219
|
+
def __init__(__self__,
|
220
|
+
resource_name: str,
|
221
|
+
args: OwnerArgs,
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
223
|
+
"""
|
224
|
+
## subcategory: "Site Verification"
|
225
|
+
|
226
|
+
description: |-
|
227
|
+
Manages additional owners on verified web resources.
|
228
|
+
---
|
229
|
+
|
230
|
+
# siteverification.Owner
|
231
|
+
|
232
|
+
An owner is an additional user that may manage a verified web site in the
|
233
|
+
[Google Search Console](https://www.google.com/webmasters/tools/). There
|
234
|
+
are two types of web resource owners:
|
235
|
+
|
236
|
+
* Verified owners, which are added to a web resource automatically when it
|
237
|
+
is created (i.e., when the resource is verified). A verified owner is
|
238
|
+
determined by the identity of the user requesting verification.
|
239
|
+
* Additional owners, which can be added to the resource by verified owners.
|
240
|
+
|
241
|
+
`siteverification.Owner` creates additional owners. If your web site
|
242
|
+
was verified using the
|
243
|
+
`siteverification.WebResource`
|
244
|
+
resource then you (or the identity was used to create the resource, such as a
|
245
|
+
service account) are already an owner.
|
246
|
+
|
247
|
+
> **Note:** The email address of the owner must belong to a Google account,
|
248
|
+
such as a Gmail account, a Google Workspace account, or a GCP service account.
|
249
|
+
|
250
|
+
Working with site verification requires the `https://www.googleapis.com/auth/siteverification`
|
251
|
+
authentication scope. See the
|
252
|
+
Google Provider authentication documentation
|
253
|
+
to learn how to configure additional scopes.
|
254
|
+
|
255
|
+
To get more information about site owners, see:
|
256
|
+
|
257
|
+
* [API documentation](https://developers.google.com/site-verification/v1)
|
258
|
+
* How-to Guides
|
259
|
+
* [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
|
260
|
+
|
261
|
+
## Example Usage
|
262
|
+
|
263
|
+
### Site Verification Storage Bucket
|
264
|
+
|
265
|
+
This example uses the `FILE` verification method to verify ownership of web site hosted
|
266
|
+
in a Google Cloud Storage bucket. Ownership is proved by creating a file with a Google-provided
|
267
|
+
value in a known location. The user applying this configuration will automatically be
|
268
|
+
added as a verified owner, and the `siteverification.Owner` resource will add
|
269
|
+
`user@example.com` as an additional owner.
|
270
|
+
|
271
|
+
```python
|
272
|
+
import pulumi
|
273
|
+
import pulumi_gcp as gcp
|
274
|
+
|
275
|
+
bucket = gcp.storage.Bucket("bucket",
|
276
|
+
name="example-storage-bucket",
|
277
|
+
location="US")
|
278
|
+
token = gcp.siteverification.get_token_output(type="SITE",
|
279
|
+
identifier=bucket.name.apply(lambda name: f"https://{name}.storage.googleapis.com/"),
|
280
|
+
verification_method="FILE")
|
281
|
+
object = gcp.storage.BucketObject("object",
|
282
|
+
name=token.token,
|
283
|
+
content=token.apply(lambda token: f"google-site-verification: {token.token}"),
|
284
|
+
bucket=bucket.name)
|
285
|
+
public_rule = gcp.storage.ObjectAccessControl("public_rule",
|
286
|
+
bucket=bucket.name,
|
287
|
+
object=object.name,
|
288
|
+
role="READER",
|
289
|
+
entity="allUsers")
|
290
|
+
example = gcp.siteverification.WebResource("example",
|
291
|
+
site={
|
292
|
+
"type": token.type,
|
293
|
+
"identifier": token.identifier,
|
294
|
+
},
|
295
|
+
verification_method=token.verification_method)
|
296
|
+
example_owner = gcp.siteverification.Owner("example",
|
297
|
+
web_resource_id=example.id,
|
298
|
+
email="user@example.com")
|
299
|
+
```
|
300
|
+
|
301
|
+
## Import
|
302
|
+
|
303
|
+
Owner can be imported using this format:
|
304
|
+
|
305
|
+
* `webResource/{{web_resource_id}}/{{email}}`
|
306
|
+
|
307
|
+
When using the `pulumi import` command, Site owners can be imported using the format above. For example:
|
308
|
+
|
309
|
+
```sh
|
310
|
+
$ pulumi import gcp:siteverification/owner:Owner default webResource/{{web_resource_id}}/{{email}}
|
311
|
+
```
|
312
|
+
|
313
|
+
verified owners is to delete the web resource itself.
|
314
|
+
|
315
|
+
:param str resource_name: The name of the resource.
|
316
|
+
:param OwnerArgs args: The arguments to use to populate this resource's properties.
|
317
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
318
|
+
"""
|
319
|
+
...
|
320
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
321
|
+
resource_args, opts = _utilities.get_resource_args_opts(OwnerArgs, pulumi.ResourceOptions, *args, **kwargs)
|
322
|
+
if resource_args is not None:
|
323
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
324
|
+
else:
|
325
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
326
|
+
|
327
|
+
def _internal_init(__self__,
|
328
|
+
resource_name: str,
|
329
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
330
|
+
email: Optional[pulumi.Input[str]] = None,
|
331
|
+
web_resource_id: Optional[pulumi.Input[str]] = None,
|
332
|
+
__props__=None):
|
333
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
334
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
335
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
336
|
+
if opts.id is None:
|
337
|
+
if __props__ is not None:
|
338
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
339
|
+
__props__ = OwnerArgs.__new__(OwnerArgs)
|
340
|
+
|
341
|
+
if email is None and not opts.urn:
|
342
|
+
raise TypeError("Missing required property 'email'")
|
343
|
+
__props__.__dict__["email"] = email
|
344
|
+
if web_resource_id is None and not opts.urn:
|
345
|
+
raise TypeError("Missing required property 'web_resource_id'")
|
346
|
+
__props__.__dict__["web_resource_id"] = web_resource_id
|
347
|
+
super(Owner, __self__).__init__(
|
348
|
+
'gcp:siteverification/owner:Owner',
|
349
|
+
resource_name,
|
350
|
+
__props__,
|
351
|
+
opts)
|
352
|
+
|
353
|
+
@staticmethod
|
354
|
+
def get(resource_name: str,
|
355
|
+
id: pulumi.Input[str],
|
356
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
357
|
+
email: Optional[pulumi.Input[str]] = None,
|
358
|
+
web_resource_id: Optional[pulumi.Input[str]] = None) -> 'Owner':
|
359
|
+
"""
|
360
|
+
Get an existing Owner resource's state with the given name, id, and optional extra
|
361
|
+
properties used to qualify the lookup.
|
362
|
+
|
363
|
+
:param str resource_name: The unique name of the resulting resource.
|
364
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
365
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
366
|
+
:param pulumi.Input[str] email: The email of the user to be added as an owner.
|
367
|
+
|
368
|
+
- - -
|
369
|
+
:param pulumi.Input[str] web_resource_id: The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
370
|
+
such as `webResource/https://www.example.com/`
|
371
|
+
"""
|
372
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
373
|
+
|
374
|
+
__props__ = _OwnerState.__new__(_OwnerState)
|
375
|
+
|
376
|
+
__props__.__dict__["email"] = email
|
377
|
+
__props__.__dict__["web_resource_id"] = web_resource_id
|
378
|
+
return Owner(resource_name, opts=opts, __props__=__props__)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter
|
382
|
+
def email(self) -> pulumi.Output[str]:
|
383
|
+
"""
|
384
|
+
The email of the user to be added as an owner.
|
385
|
+
|
386
|
+
- - -
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "email")
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="webResourceId")
|
392
|
+
def web_resource_id(self) -> pulumi.Output[str]:
|
393
|
+
"""
|
394
|
+
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`,
|
395
|
+
such as `webResource/https://www.example.com/`
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "web_resource_id")
|
398
|
+
|
@@ -27,7 +27,10 @@ class GetRepositoryResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getRepository.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, id=None, name=None, project=None, pubsub_configs=None, size=None, url=None):
|
30
|
+
def __init__(__self__, create_ignore_already_exists=None, id=None, name=None, project=None, pubsub_configs=None, size=None, url=None):
|
31
|
+
if create_ignore_already_exists and not isinstance(create_ignore_already_exists, bool):
|
32
|
+
raise TypeError("Expected argument 'create_ignore_already_exists' to be a bool")
|
33
|
+
pulumi.set(__self__, "create_ignore_already_exists", create_ignore_already_exists)
|
31
34
|
if id and not isinstance(id, str):
|
32
35
|
raise TypeError("Expected argument 'id' to be a str")
|
33
36
|
pulumi.set(__self__, "id", id)
|
@@ -47,6 +50,11 @@ class GetRepositoryResult:
|
|
47
50
|
raise TypeError("Expected argument 'url' to be a str")
|
48
51
|
pulumi.set(__self__, "url", url)
|
49
52
|
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="createIgnoreAlreadyExists")
|
55
|
+
def create_ignore_already_exists(self) -> bool:
|
56
|
+
return pulumi.get(self, "create_ignore_already_exists")
|
57
|
+
|
50
58
|
@property
|
51
59
|
@pulumi.getter
|
52
60
|
def id(self) -> str:
|
@@ -87,6 +95,7 @@ class AwaitableGetRepositoryResult(GetRepositoryResult):
|
|
87
95
|
if False:
|
88
96
|
yield self
|
89
97
|
return GetRepositoryResult(
|
98
|
+
create_ignore_already_exists=self.create_ignore_already_exists,
|
90
99
|
id=self.id,
|
91
100
|
name=self.name,
|
92
101
|
project=self.project,
|
@@ -124,15 +133,13 @@ def get_repository(name: Optional[str] = None,
|
|
124
133
|
__ret__ = pulumi.runtime.invoke('gcp:sourcerepo/getRepository:getRepository', __args__, opts=opts, typ=GetRepositoryResult).value
|
125
134
|
|
126
135
|
return AwaitableGetRepositoryResult(
|
136
|
+
create_ignore_already_exists=pulumi.get(__ret__, 'create_ignore_already_exists'),
|
127
137
|
id=pulumi.get(__ret__, 'id'),
|
128
138
|
name=pulumi.get(__ret__, 'name'),
|
129
139
|
project=pulumi.get(__ret__, 'project'),
|
130
140
|
pubsub_configs=pulumi.get(__ret__, 'pubsub_configs'),
|
131
141
|
size=pulumi.get(__ret__, 'size'),
|
132
142
|
url=pulumi.get(__ret__, 'url'))
|
133
|
-
|
134
|
-
|
135
|
-
@_utilities.lift_output_func(get_repository)
|
136
143
|
def get_repository_output(name: Optional[pulumi.Input[str]] = None,
|
137
144
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
138
145
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryResult]:
|
@@ -155,4 +162,16 @@ def get_repository_output(name: Optional[pulumi.Input[str]] = None,
|
|
155
162
|
:param str name: Resource name of the repository. The repo name may contain slashes. eg, `name/with/slash`
|
156
163
|
:param str project: The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
157
164
|
"""
|
158
|
-
|
165
|
+
__args__ = dict()
|
166
|
+
__args__['name'] = name
|
167
|
+
__args__['project'] = project
|
168
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
169
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:sourcerepo/getRepository:getRepository', __args__, opts=opts, typ=GetRepositoryResult)
|
170
|
+
return __ret__.apply(lambda __response__: GetRepositoryResult(
|
171
|
+
create_ignore_already_exists=pulumi.get(__response__, 'create_ignore_already_exists'),
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
173
|
+
name=pulumi.get(__response__, 'name'),
|
174
|
+
project=pulumi.get(__response__, 'project'),
|
175
|
+
pubsub_configs=pulumi.get(__response__, 'pubsub_configs'),
|
176
|
+
size=pulumi.get(__response__, 'size'),
|
177
|
+
url=pulumi.get(__response__, 'url')))
|
@@ -125,9 +125,6 @@ def get_repository_iam_policy(project: Optional[str] = None,
|
|
125
125
|
policy_data=pulumi.get(__ret__, 'policy_data'),
|
126
126
|
project=pulumi.get(__ret__, 'project'),
|
127
127
|
repository=pulumi.get(__ret__, 'repository'))
|
128
|
-
|
129
|
-
|
130
|
-
@_utilities.lift_output_func(get_repository_iam_policy)
|
131
128
|
def get_repository_iam_policy_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
132
129
|
repository: Optional[pulumi.Input[str]] = None,
|
133
130
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryIamPolicyResult]:
|
@@ -149,4 +146,14 @@ def get_repository_iam_policy_output(project: Optional[pulumi.Input[Optional[str
|
|
149
146
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
150
147
|
:param str repository: Used to find the parent resource to bind the IAM policy to
|
151
148
|
"""
|
152
|
-
|
149
|
+
__args__ = dict()
|
150
|
+
__args__['project'] = project
|
151
|
+
__args__['repository'] = repository
|
152
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
153
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:sourcerepo/getRepositoryIamPolicy:getRepositoryIamPolicy', __args__, opts=opts, typ=GetRepositoryIamPolicyResult)
|
154
|
+
return __ret__.apply(lambda __response__: GetRepositoryIamPolicyResult(
|
155
|
+
etag=pulumi.get(__response__, 'etag'),
|
156
|
+
id=pulumi.get(__response__, 'id'),
|
157
|
+
policy_data=pulumi.get(__response__, 'policy_data'),
|
158
|
+
project=pulumi.get(__response__, 'project'),
|
159
|
+
repository=pulumi.get(__response__, 'repository')))
|
@@ -21,11 +21,13 @@ __all__ = ['RepositoryArgs', 'Repository']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class RepositoryArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
+
create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
|
24
25
|
name: Optional[pulumi.Input[str]] = None,
|
25
26
|
project: Optional[pulumi.Input[str]] = None,
|
26
27
|
pubsub_configs: Optional[pulumi.Input[Sequence[pulumi.Input['RepositoryPubsubConfigArgs']]]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a Repository resource.
|
30
|
+
:param pulumi.Input[bool] create_ignore_already_exists: If set to true, skip repository creation if a repository with the same name already exists.
|
29
31
|
:param pulumi.Input[str] name: Resource name of the repository, of the form `{{repo}}`.
|
30
32
|
The repo name may contain slashes. eg, `name/with/slash`
|
31
33
|
|
@@ -37,6 +39,8 @@ class RepositoryArgs:
|
|
37
39
|
Keyed by the topic names.
|
38
40
|
Structure is documented below.
|
39
41
|
"""
|
42
|
+
if create_ignore_already_exists is not None:
|
43
|
+
pulumi.set(__self__, "create_ignore_already_exists", create_ignore_already_exists)
|
40
44
|
if name is not None:
|
41
45
|
pulumi.set(__self__, "name", name)
|
42
46
|
if project is not None:
|
@@ -44,6 +48,18 @@ class RepositoryArgs:
|
|
44
48
|
if pubsub_configs is not None:
|
45
49
|
pulumi.set(__self__, "pubsub_configs", pubsub_configs)
|
46
50
|
|
51
|
+
@property
|
52
|
+
@pulumi.getter(name="createIgnoreAlreadyExists")
|
53
|
+
def create_ignore_already_exists(self) -> Optional[pulumi.Input[bool]]:
|
54
|
+
"""
|
55
|
+
If set to true, skip repository creation if a repository with the same name already exists.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "create_ignore_already_exists")
|
58
|
+
|
59
|
+
@create_ignore_already_exists.setter
|
60
|
+
def create_ignore_already_exists(self, value: Optional[pulumi.Input[bool]]):
|
61
|
+
pulumi.set(self, "create_ignore_already_exists", value)
|
62
|
+
|
47
63
|
@property
|
48
64
|
@pulumi.getter
|
49
65
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -91,6 +107,7 @@ class RepositoryArgs:
|
|
91
107
|
@pulumi.input_type
|
92
108
|
class _RepositoryState:
|
93
109
|
def __init__(__self__, *,
|
110
|
+
create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
|
94
111
|
name: Optional[pulumi.Input[str]] = None,
|
95
112
|
project: Optional[pulumi.Input[str]] = None,
|
96
113
|
pubsub_configs: Optional[pulumi.Input[Sequence[pulumi.Input['RepositoryPubsubConfigArgs']]]] = None,
|
@@ -98,6 +115,7 @@ class _RepositoryState:
|
|
98
115
|
url: Optional[pulumi.Input[str]] = None):
|
99
116
|
"""
|
100
117
|
Input properties used for looking up and filtering Repository resources.
|
118
|
+
:param pulumi.Input[bool] create_ignore_already_exists: If set to true, skip repository creation if a repository with the same name already exists.
|
101
119
|
:param pulumi.Input[str] name: Resource name of the repository, of the form `{{repo}}`.
|
102
120
|
The repo name may contain slashes. eg, `name/with/slash`
|
103
121
|
|
@@ -111,6 +129,8 @@ class _RepositoryState:
|
|
111
129
|
:param pulumi.Input[int] size: The disk usage of the repo, in bytes.
|
112
130
|
:param pulumi.Input[str] url: URL to clone the repository from Google Cloud Source Repositories.
|
113
131
|
"""
|
132
|
+
if create_ignore_already_exists is not None:
|
133
|
+
pulumi.set(__self__, "create_ignore_already_exists", create_ignore_already_exists)
|
114
134
|
if name is not None:
|
115
135
|
pulumi.set(__self__, "name", name)
|
116
136
|
if project is not None:
|
@@ -122,6 +142,18 @@ class _RepositoryState:
|
|
122
142
|
if url is not None:
|
123
143
|
pulumi.set(__self__, "url", url)
|
124
144
|
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="createIgnoreAlreadyExists")
|
147
|
+
def create_ignore_already_exists(self) -> Optional[pulumi.Input[bool]]:
|
148
|
+
"""
|
149
|
+
If set to true, skip repository creation if a repository with the same name already exists.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "create_ignore_already_exists")
|
152
|
+
|
153
|
+
@create_ignore_already_exists.setter
|
154
|
+
def create_ignore_already_exists(self, value: Optional[pulumi.Input[bool]]):
|
155
|
+
pulumi.set(self, "create_ignore_already_exists", value)
|
156
|
+
|
125
157
|
@property
|
126
158
|
@pulumi.getter
|
127
159
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -195,6 +227,7 @@ class Repository(pulumi.CustomResource):
|
|
195
227
|
def __init__(__self__,
|
196
228
|
resource_name: str,
|
197
229
|
opts: Optional[pulumi.ResourceOptions] = None,
|
230
|
+
create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
|
198
231
|
name: Optional[pulumi.Input[str]] = None,
|
199
232
|
project: Optional[pulumi.Input[str]] = None,
|
200
233
|
pubsub_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RepositoryPubsubConfigArgs', 'RepositoryPubsubConfigArgsDict']]]]] = None,
|
@@ -257,6 +290,7 @@ class Repository(pulumi.CustomResource):
|
|
257
290
|
|
258
291
|
:param str resource_name: The name of the resource.
|
259
292
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
293
|
+
:param pulumi.Input[bool] create_ignore_already_exists: If set to true, skip repository creation if a repository with the same name already exists.
|
260
294
|
:param pulumi.Input[str] name: Resource name of the repository, of the form `{{repo}}`.
|
261
295
|
The repo name may contain slashes. eg, `name/with/slash`
|
262
296
|
|
@@ -345,6 +379,7 @@ class Repository(pulumi.CustomResource):
|
|
345
379
|
def _internal_init(__self__,
|
346
380
|
resource_name: str,
|
347
381
|
opts: Optional[pulumi.ResourceOptions] = None,
|
382
|
+
create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
|
348
383
|
name: Optional[pulumi.Input[str]] = None,
|
349
384
|
project: Optional[pulumi.Input[str]] = None,
|
350
385
|
pubsub_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RepositoryPubsubConfigArgs', 'RepositoryPubsubConfigArgsDict']]]]] = None,
|
@@ -357,6 +392,7 @@ class Repository(pulumi.CustomResource):
|
|
357
392
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
358
393
|
__props__ = RepositoryArgs.__new__(RepositoryArgs)
|
359
394
|
|
395
|
+
__props__.__dict__["create_ignore_already_exists"] = create_ignore_already_exists
|
360
396
|
__props__.__dict__["name"] = name
|
361
397
|
__props__.__dict__["project"] = project
|
362
398
|
__props__.__dict__["pubsub_configs"] = pubsub_configs
|
@@ -372,6 +408,7 @@ class Repository(pulumi.CustomResource):
|
|
372
408
|
def get(resource_name: str,
|
373
409
|
id: pulumi.Input[str],
|
374
410
|
opts: Optional[pulumi.ResourceOptions] = None,
|
411
|
+
create_ignore_already_exists: Optional[pulumi.Input[bool]] = None,
|
375
412
|
name: Optional[pulumi.Input[str]] = None,
|
376
413
|
project: Optional[pulumi.Input[str]] = None,
|
377
414
|
pubsub_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RepositoryPubsubConfigArgs', 'RepositoryPubsubConfigArgsDict']]]]] = None,
|
@@ -384,6 +421,7 @@ class Repository(pulumi.CustomResource):
|
|
384
421
|
:param str resource_name: The unique name of the resulting resource.
|
385
422
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
386
423
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
424
|
+
:param pulumi.Input[bool] create_ignore_already_exists: If set to true, skip repository creation if a repository with the same name already exists.
|
387
425
|
:param pulumi.Input[str] name: Resource name of the repository, of the form `{{repo}}`.
|
388
426
|
The repo name may contain slashes. eg, `name/with/slash`
|
389
427
|
|
@@ -401,6 +439,7 @@ class Repository(pulumi.CustomResource):
|
|
401
439
|
|
402
440
|
__props__ = _RepositoryState.__new__(_RepositoryState)
|
403
441
|
|
442
|
+
__props__.__dict__["create_ignore_already_exists"] = create_ignore_already_exists
|
404
443
|
__props__.__dict__["name"] = name
|
405
444
|
__props__.__dict__["project"] = project
|
406
445
|
__props__.__dict__["pubsub_configs"] = pubsub_configs
|
@@ -408,6 +447,14 @@ class Repository(pulumi.CustomResource):
|
|
408
447
|
__props__.__dict__["url"] = url
|
409
448
|
return Repository(resource_name, opts=opts, __props__=__props__)
|
410
449
|
|
450
|
+
@property
|
451
|
+
@pulumi.getter(name="createIgnoreAlreadyExists")
|
452
|
+
def create_ignore_already_exists(self) -> pulumi.Output[Optional[bool]]:
|
453
|
+
"""
|
454
|
+
If set to true, skip repository creation if a repository with the same name already exists.
|
455
|
+
"""
|
456
|
+
return pulumi.get(self, "create_ignore_already_exists")
|
457
|
+
|
411
458
|
@property
|
412
459
|
@pulumi.getter
|
413
460
|
def name(self) -> pulumi.Output[str]:
|
@@ -393,7 +393,8 @@ class BackupSchedule(pulumi.CustomResource):
|
|
393
393
|
name="instance-id",
|
394
394
|
config="regional-europe-west1",
|
395
395
|
display_name="main-instance",
|
396
|
-
num_nodes=1
|
396
|
+
num_nodes=1,
|
397
|
+
edition="ENTERPRISE")
|
397
398
|
database = gcp.spanner.Database("database",
|
398
399
|
instance=main.name,
|
399
400
|
name="database-id",
|
@@ -525,7 +526,8 @@ class BackupSchedule(pulumi.CustomResource):
|
|
525
526
|
name="instance-id",
|
526
527
|
config="regional-europe-west1",
|
527
528
|
display_name="main-instance",
|
528
|
-
num_nodes=1
|
529
|
+
num_nodes=1,
|
530
|
+
edition="ENTERPRISE")
|
529
531
|
database = gcp.spanner.Database("database",
|
530
532
|
instance=main.name,
|
531
533
|
name="database-id",
|