pulumi-gcp 7.0.0rc0__py3-none-any.whl → 7.1.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +118 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +546 -71
- pulumi_gcp/accesscontextmanager/access_level.py +18 -2
- pulumi_gcp/accesscontextmanager/access_level_condition.py +57 -3
- pulumi_gcp/accesscontextmanager/access_levels.py +18 -2
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +18 -2
- pulumi_gcp/accesscontextmanager/egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +18 -2
- pulumi_gcp/accesscontextmanager/ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/outputs.py +643 -71
- pulumi_gcp/accesscontextmanager/service_perimeter.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeters.py +18 -2
- pulumi_gcp/activedirectory/domain.py +22 -10
- pulumi_gcp/activedirectory/domain_trust.py +18 -2
- pulumi_gcp/activedirectory/peering.py +4 -8
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/_inputs.py +93 -0
- pulumi_gcp/alloydb/backup.py +22 -10
- pulumi_gcp/alloydb/cluster.py +283 -11
- pulumi_gcp/alloydb/instance.py +241 -40
- pulumi_gcp/alloydb/outputs.py +130 -0
- pulumi_gcp/alloydb/user.py +609 -0
- pulumi_gcp/apigateway/api.py +22 -10
- pulumi_gcp/apigateway/api_config.py +22 -10
- pulumi_gcp/apigateway/gateway.py +22 -10
- pulumi_gcp/apigee/addons_config.py +18 -2
- pulumi_gcp/apigee/endpoint_attachment.py +18 -2
- pulumi_gcp/apigee/env_group.py +18 -2
- pulumi_gcp/apigee/env_group_attachment.py +18 -2
- pulumi_gcp/apigee/env_keystore.py +18 -2
- pulumi_gcp/apigee/env_references.py +18 -2
- pulumi_gcp/apigee/environment.py +96 -5
- pulumi_gcp/apigee/flowhook.py +18 -2
- pulumi_gcp/apigee/instance.py +18 -2
- pulumi_gcp/apigee/instance_attachment.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +18 -2
- pulumi_gcp/apigee/nat_address.py +18 -2
- pulumi_gcp/apigee/organization.py +18 -2
- pulumi_gcp/apigee/sharedflow.py +18 -2
- pulumi_gcp/apigee/sharedflow_deployment.py +18 -2
- pulumi_gcp/apigee/sync_authorization.py +18 -2
- pulumi_gcp/apigee/target_server.py +18 -2
- pulumi_gcp/appengine/application.py +20 -4
- pulumi_gcp/appengine/application_url_dispatch_rules.py +18 -2
- pulumi_gcp/appengine/domain_mapping.py +18 -2
- pulumi_gcp/appengine/engine_split_traffic.py +18 -2
- pulumi_gcp/appengine/firewall_rule.py +18 -2
- pulumi_gcp/appengine/flexible_app_version.py +18 -2
- pulumi_gcp/appengine/service_network_settings.py +18 -2
- pulumi_gcp/appengine/standard_app_version.py +18 -2
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/outputs.py +4 -4
- pulumi_gcp/artifactregistry/repository.py +24 -12
- pulumi_gcp/artifactregistry/vpcsc_config.py +18 -2
- pulumi_gcp/assuredworkloads/_inputs.py +178 -4
- pulumi_gcp/assuredworkloads/outputs.py +217 -5
- pulumi_gcp/assuredworkloads/workload.py +474 -63
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +152 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +18 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +40 -0
- pulumi_gcp/beyondcorp/app_connection.py +22 -10
- pulumi_gcp/beyondcorp/app_connector.py +22 -10
- pulumi_gcp/beyondcorp/app_gateway.py +22 -10
- pulumi_gcp/biglake/catalog.py +18 -2
- pulumi_gcp/biglake/database.py +18 -2
- pulumi_gcp/biglake/table.py +18 -2
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +94 -8
- pulumi_gcp/bigquery/app_profile.py +18 -2
- pulumi_gcp/bigquery/bi_reservation.py +18 -2
- pulumi_gcp/bigquery/capacity_commitment.py +25 -9
- pulumi_gcp/bigquery/connection.py +56 -2
- pulumi_gcp/bigquery/data_transfer_config.py +18 -2
- pulumi_gcp/bigquery/dataset.py +22 -10
- pulumi_gcp/bigquery/dataset_iam_binding.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_member.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_policy.py +10 -38
- pulumi_gcp/bigquery/get_dataset.py +315 -0
- pulumi_gcp/bigquery/job.py +26 -10
- pulumi_gcp/bigquery/outputs.py +275 -9
- pulumi_gcp/bigquery/reservation.py +18 -2
- pulumi_gcp/bigquery/reservation_assignment.py +18 -2
- pulumi_gcp/bigquery/routine.py +18 -2
- pulumi_gcp/bigquery/table.py +171 -17
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +18 -2
- pulumi_gcp/bigqueryanalyticshub/listing.py +18 -2
- pulumi_gcp/bigquerydatapolicy/data_policy.py +18 -2
- pulumi_gcp/bigtable/instance.py +30 -10
- pulumi_gcp/bigtable/instance_iam_binding.py +12 -20
- pulumi_gcp/bigtable/instance_iam_member.py +12 -20
- pulumi_gcp/bigtable/instance_iam_policy.py +12 -20
- pulumi_gcp/bigtable/table.py +18 -6
- pulumi_gcp/bigtable/table_iam_binding.py +12 -20
- pulumi_gcp/bigtable/table_iam_member.py +12 -20
- pulumi_gcp/bigtable/table_iam_policy.py +12 -20
- pulumi_gcp/billing/account_iam_binding.py +12 -20
- pulumi_gcp/billing/account_iam_member.py +12 -20
- pulumi_gcp/billing/account_iam_policy.py +12 -20
- pulumi_gcp/billing/budget.py +18 -2
- pulumi_gcp/billing/project_info.py +18 -2
- pulumi_gcp/billing/sub_account.py +18 -2
- pulumi_gcp/binaryauthorization/attestor.py +18 -2
- pulumi_gcp/binaryauthorization/policy.py +18 -2
- pulumi_gcp/certificateauthority/authority.py +22 -10
- pulumi_gcp/certificateauthority/ca_pool.py +22 -10
- pulumi_gcp/certificateauthority/certificate.py +22 -10
- pulumi_gcp/certificateauthority/certificate_template.py +22 -10
- pulumi_gcp/certificatemanager/certificate.py +223 -31
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map_entry.py +22 -10
- pulumi_gcp/certificatemanager/dns_authorization.py +22 -10
- pulumi_gcp/certificatemanager/trust_config.py +22 -10
- pulumi_gcp/cloudasset/folder_feed.py +18 -2
- pulumi_gcp/cloudasset/organization_feed.py +18 -2
- pulumi_gcp/cloudasset/project_feed.py +18 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +18 -2
- pulumi_gcp/cloudbuild/trigger.py +18 -2
- pulumi_gcp/cloudbuild/worker_pool.py +18 -2
- pulumi_gcp/cloudbuildv2/connection.py +18 -2
- pulumi_gcp/cloudbuildv2/repository.py +18 -2
- pulumi_gcp/clouddeploy/delivery_pipeline.py +22 -10
- pulumi_gcp/clouddeploy/target.py +22 -10
- pulumi_gcp/cloudfunctions/function.py +26 -14
- pulumi_gcp/cloudfunctions/get_function.py +3 -0
- pulumi_gcp/cloudfunctionsv2/function.py +22 -10
- pulumi_gcp/cloudidentity/__init__.py +1 -0
- pulumi_gcp/cloudidentity/_inputs.py +119 -0
- pulumi_gcp/cloudidentity/get_group_lookup.py +128 -0
- pulumi_gcp/cloudidentity/group.py +50 -2
- pulumi_gcp/cloudidentity/group_membership.py +18 -2
- pulumi_gcp/cloudidentity/outputs.py +156 -0
- pulumi_gcp/cloudids/endpoint.py +18 -2
- pulumi_gcp/cloudrun/_inputs.py +12 -0
- pulumi_gcp/cloudrun/domain_mapping.py +18 -2
- pulumi_gcp/cloudrun/outputs.py +12 -0
- pulumi_gcp/cloudrun/service.py +18 -2
- pulumi_gcp/cloudrunv2/__init__.py +2 -0
- pulumi_gcp/cloudrunv2/get_job.py +394 -0
- pulumi_gcp/cloudrunv2/get_service.py +454 -0
- pulumi_gcp/cloudrunv2/job.py +40 -27
- pulumi_gcp/cloudrunv2/outputs.py +1687 -0
- pulumi_gcp/cloudrunv2/service.py +40 -27
- pulumi_gcp/cloudscheduler/job.py +18 -2
- pulumi_gcp/cloudtasks/queue.py +18 -2
- pulumi_gcp/composer/_inputs.py +17 -0
- pulumi_gcp/composer/environment.py +68 -5
- pulumi_gcp/composer/get_environment.py +13 -3
- pulumi_gcp/composer/outputs.py +26 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +158 -4
- pulumi_gcp/compute/address.py +38 -18
- pulumi_gcp/compute/attached_disk.py +18 -2
- pulumi_gcp/compute/autoscaler.py +18 -2
- pulumi_gcp/compute/backend_bucket.py +18 -2
- pulumi_gcp/compute/backend_service.py +32 -16
- pulumi_gcp/compute/disk.py +22 -10
- pulumi_gcp/compute/disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/external_vpn_gateway.py +22 -10
- pulumi_gcp/compute/firewall.py +18 -2
- pulumi_gcp/compute/firewall_policy_association.py +18 -2
- pulumi_gcp/compute/firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/forwarding_rule.py +377 -276
- pulumi_gcp/compute/get_disk.py +3 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/get_image.py +3 -0
- pulumi_gcp/compute/get_network.py +14 -1
- pulumi_gcp/compute/get_networks.py +130 -0
- pulumi_gcp/compute/get_subnetwork.py +14 -1
- pulumi_gcp/compute/global_address.py +18 -2
- pulumi_gcp/compute/global_forwarding_rule.py +127 -108
- pulumi_gcp/compute/global_network_endpoint.py +18 -2
- pulumi_gcp/compute/global_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +18 -2
- pulumi_gcp/compute/health_check.py +18 -2
- pulumi_gcp/compute/http_health_check.py +18 -2
- pulumi_gcp/compute/https_health_check.py +18 -2
- pulumi_gcp/compute/image.py +22 -10
- pulumi_gcp/compute/instance.py +44 -36
- pulumi_gcp/compute/instance_group.py +24 -8
- pulumi_gcp/compute/instance_group_manager.py +26 -10
- pulumi_gcp/compute/instance_group_named_port.py +18 -2
- pulumi_gcp/compute/instance_settings.py +387 -0
- pulumi_gcp/compute/instance_template.py +29 -21
- pulumi_gcp/compute/interconnect_attachment.py +18 -2
- pulumi_gcp/compute/machine_image.py +18 -2
- pulumi_gcp/compute/managed_ssl_certificate.py +18 -2
- pulumi_gcp/compute/manged_ssl_certificate.py +18 -2
- pulumi_gcp/compute/network.py +18 -2
- pulumi_gcp/compute/network_attachment.py +156 -2
- pulumi_gcp/compute/network_edge_security_service.py +18 -2
- pulumi_gcp/compute/network_endpoint.py +18 -2
- pulumi_gcp/compute/network_endpoint_group.py +32 -16
- pulumi_gcp/compute/network_endpoint_list.py +18 -2
- pulumi_gcp/compute/network_firewall_policy.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/network_peering.py +20 -4
- pulumi_gcp/compute/network_peering_routes_config.py +18 -2
- pulumi_gcp/compute/node_group.py +129 -2
- pulumi_gcp/compute/node_template.py +18 -2
- pulumi_gcp/compute/organization_security_policy.py +18 -2
- pulumi_gcp/compute/organization_security_policy_association.py +18 -2
- pulumi_gcp/compute/organization_security_policy_rule.py +18 -2
- pulumi_gcp/compute/outputs.py +230 -7
- pulumi_gcp/compute/packet_mirroring.py +18 -2
- pulumi_gcp/compute/per_instance_config.py +18 -2
- pulumi_gcp/compute/project_default_network_tier.py +20 -4
- pulumi_gcp/compute/project_metadata.py +20 -4
- pulumi_gcp/compute/project_metadata_item.py +20 -4
- pulumi_gcp/compute/public_advertised_prefix.py +18 -2
- pulumi_gcp/compute/public_delegated_prefix.py +18 -2
- pulumi_gcp/compute/region_autoscaler.py +18 -2
- pulumi_gcp/compute/region_backend_service.py +18 -2
- pulumi_gcp/compute/region_commitment.py +18 -2
- pulumi_gcp/compute/region_disk.py +22 -10
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/region_health_check.py +18 -2
- pulumi_gcp/compute/region_instance_group_manager.py +20 -4
- pulumi_gcp/compute/region_instance_template.py +29 -21
- pulumi_gcp/compute/region_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/region_per_instance_config.py +18 -2
- pulumi_gcp/compute/region_security_policy.py +18 -2
- pulumi_gcp/compute/region_security_policy_rule.py +18 -2
- pulumi_gcp/compute/region_ssl_certificate.py +18 -2
- pulumi_gcp/compute/region_ssl_policy.py +18 -2
- pulumi_gcp/compute/region_target_http_proxy.py +18 -2
- pulumi_gcp/compute/region_target_https_proxy.py +18 -2
- pulumi_gcp/compute/region_target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/region_url_map.py +18 -2
- pulumi_gcp/compute/reservation.py +18 -2
- pulumi_gcp/compute/resource_policy.py +18 -2
- pulumi_gcp/compute/route.py +18 -2
- pulumi_gcp/compute/router.py +18 -2
- pulumi_gcp/compute/router_interface.py +22 -6
- pulumi_gcp/compute/router_nat.py +18 -2
- pulumi_gcp/compute/router_peer.py +18 -2
- pulumi_gcp/compute/security_policy.py +52 -4
- pulumi_gcp/compute/security_scan_config.py +18 -2
- pulumi_gcp/compute/service_attachment.py +18 -2
- pulumi_gcp/compute/shared_vpc_host_project.py +20 -4
- pulumi_gcp/compute/shared_vpc_service_project.py +20 -4
- pulumi_gcp/compute/snapshot.py +22 -10
- pulumi_gcp/compute/ssl_certificate.py +18 -2
- pulumi_gcp/compute/ssl_policy.py +18 -2
- pulumi_gcp/compute/subnetwork.py +109 -2
- pulumi_gcp/compute/target_grpc_proxy.py +18 -2
- pulumi_gcp/compute/target_http_proxy.py +18 -2
- pulumi_gcp/compute/target_https_proxy.py +181 -16
- pulumi_gcp/compute/target_instance.py +18 -2
- pulumi_gcp/compute/target_pool.py +18 -2
- pulumi_gcp/compute/target_ssl_proxy.py +18 -2
- pulumi_gcp/compute/target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/url_map.py +18 -2
- pulumi_gcp/compute/vpn_gateway.py +18 -2
- pulumi_gcp/compute/vpn_tunnel.py +18 -2
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +299 -54
- pulumi_gcp/container/attached_cluster.py +18 -2
- pulumi_gcp/container/aws_cluster.py +24 -2
- pulumi_gcp/container/aws_node_pool.py +18 -2
- pulumi_gcp/container/azure_client.py +18 -2
- pulumi_gcp/container/azure_cluster.py +24 -2
- pulumi_gcp/container/azure_node_pool.py +18 -2
- pulumi_gcp/container/cluster.py +92 -29
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/node_pool.py +22 -6
- pulumi_gcp/container/outputs.py +384 -52
- pulumi_gcp/containeranalysis/note.py +18 -2
- pulumi_gcp/containeranalysis/occurence.py +18 -2
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +465 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +122 -12
- pulumi_gcp/databasemigrationservice/outputs.py +466 -0
- pulumi_gcp/databasemigrationservice/private_connection.py +672 -0
- pulumi_gcp/datacatalog/entry.py +18 -2
- pulumi_gcp/datacatalog/entry_group.py +18 -2
- pulumi_gcp/datacatalog/policy_tag.py +18 -2
- pulumi_gcp/datacatalog/tag.py +18 -2
- pulumi_gcp/datacatalog/tag_template.py +18 -2
- pulumi_gcp/datacatalog/taxonomy.py +18 -2
- pulumi_gcp/dataflow/job.py +24 -12
- pulumi_gcp/dataflow/pipeline.py +18 -2
- pulumi_gcp/dataform/_inputs.py +78 -21
- pulumi_gcp/dataform/outputs.py +86 -20
- pulumi_gcp/dataform/repository.py +140 -9
- pulumi_gcp/dataform/repository_release_config.py +18 -2
- pulumi_gcp/dataform/repository_workflow_config.py +20 -4
- pulumi_gcp/datafusion/instance.py +22 -10
- pulumi_gcp/dataloss/prevention_deidentify_template.py +18 -2
- pulumi_gcp/dataloss/prevention_inspect_template.py +18 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +18 -2
- pulumi_gcp/dataloss/prevention_stored_info_type.py +18 -2
- pulumi_gcp/dataplex/asset.py +22 -10
- pulumi_gcp/dataplex/datascan.py +22 -10
- pulumi_gcp/dataplex/lake.py +22 -10
- pulumi_gcp/dataplex/task.py +22 -10
- pulumi_gcp/dataplex/zone.py +22 -10
- pulumi_gcp/dataproc/_inputs.py +148 -0
- pulumi_gcp/dataproc/autoscaling_policy.py +18 -2
- pulumi_gcp/dataproc/cluster.py +2 -2
- pulumi_gcp/dataproc/cluster_iam_binding.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_member.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_policy.py +12 -20
- pulumi_gcp/dataproc/job.py +20 -8
- pulumi_gcp/dataproc/job_iam_binding.py +12 -20
- pulumi_gcp/dataproc/job_iam_member.py +12 -20
- pulumi_gcp/dataproc/job_iam_policy.py +12 -20
- pulumi_gcp/dataproc/metastore_federation.py +22 -10
- pulumi_gcp/dataproc/metastore_service.py +22 -10
- pulumi_gcp/dataproc/outputs.py +175 -0
- pulumi_gcp/dataproc/workflow_template.py +18 -2
- pulumi_gcp/datastore/data_store_index.py +18 -2
- pulumi_gcp/datastream/connection_profile.py +22 -10
- pulumi_gcp/datastream/private_connection.py +22 -10
- pulumi_gcp/datastream/stream.py +22 -10
- pulumi_gcp/deploymentmanager/deployment.py +18 -2
- pulumi_gcp/diagflow/_inputs.py +626 -4
- pulumi_gcp/diagflow/agent.py +18 -2
- pulumi_gcp/diagflow/cx_agent.py +288 -21
- pulumi_gcp/diagflow/cx_entity_type.py +18 -2
- pulumi_gcp/diagflow/cx_environment.py +18 -2
- pulumi_gcp/diagflow/cx_flow.py +309 -4
- pulumi_gcp/diagflow/cx_intent.py +165 -10
- pulumi_gcp/diagflow/cx_page.py +109 -4
- pulumi_gcp/diagflow/cx_security_settings.py +18 -2
- pulumi_gcp/diagflow/cx_test_case.py +18 -2
- pulumi_gcp/diagflow/cx_version.py +18 -2
- pulumi_gcp/diagflow/cx_webhook.py +18 -2
- pulumi_gcp/diagflow/entity_type.py +18 -2
- pulumi_gcp/diagflow/fulfillment.py +18 -2
- pulumi_gcp/diagflow/intent.py +18 -2
- pulumi_gcp/diagflow/outputs.py +722 -5
- pulumi_gcp/dns/get_keys.py +16 -2
- pulumi_gcp/dns/managed_zone.py +22 -10
- pulumi_gcp/dns/policy.py +18 -2
- pulumi_gcp/dns/record_set.py +24 -8
- pulumi_gcp/dns/response_policy.py +18 -2
- pulumi_gcp/dns/response_policy_rule.py +18 -2
- pulumi_gcp/edgecontainer/__init__.py +12 -0
- pulumi_gcp/edgecontainer/_inputs.py +1171 -0
- pulumi_gcp/edgecontainer/cluster.py +1539 -0
- pulumi_gcp/edgecontainer/node_pool.py +1062 -0
- pulumi_gcp/edgecontainer/outputs.py +1204 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +918 -0
- pulumi_gcp/edgenetwork/network.py +18 -2
- pulumi_gcp/edgenetwork/subnet.py +18 -2
- pulumi_gcp/essentialcontacts/contact.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -2
- pulumi_gcp/eventarc/channel.py +18 -2
- pulumi_gcp/eventarc/google_channel_config.py +18 -2
- pulumi_gcp/eventarc/trigger.py +22 -10
- pulumi_gcp/filestore/backup.py +22 -10
- pulumi_gcp/filestore/instance.py +22 -10
- pulumi_gcp/filestore/snapshot.py +22 -10
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +878 -0
- pulumi_gcp/firebase/android_app.py +18 -2
- pulumi_gcp/firebase/apple_app.py +18 -2
- pulumi_gcp/firebase/database_instance.py +18 -2
- pulumi_gcp/firebase/extensions_instance.py +18 -2
- pulumi_gcp/firebase/hosting_channel.py +22 -10
- pulumi_gcp/firebase/hosting_custom_domain.py +1274 -0
- pulumi_gcp/firebase/hosting_release.py +18 -2
- pulumi_gcp/firebase/hosting_site.py +18 -2
- pulumi_gcp/firebase/hosting_version.py +18 -2
- pulumi_gcp/firebase/outputs.py +905 -0
- pulumi_gcp/firebase/project.py +18 -2
- pulumi_gcp/firebase/storage_bucket.py +18 -2
- pulumi_gcp/firebase/web_app.py +18 -2
- pulumi_gcp/firebaserules/release.py +18 -2
- pulumi_gcp/firebaserules/ruleset.py +18 -2
- pulumi_gcp/firestore/__init__.py +1 -0
- pulumi_gcp/firestore/_inputs.py +35 -2
- pulumi_gcp/firestore/backup_schedule.py +547 -0
- pulumi_gcp/firestore/database.py +24 -4
- pulumi_gcp/firestore/document.py +22 -2
- pulumi_gcp/firestore/field.py +27 -13
- pulumi_gcp/firestore/index.py +140 -21
- pulumi_gcp/firestore/outputs.py +31 -2
- pulumi_gcp/folder/access_approval_settings.py +18 -2
- pulumi_gcp/folder/iam_audit_config.py +10 -58
- pulumi_gcp/folder/iam_member.py +10 -58
- pulumi_gcp/folder/iam_policy.py +10 -58
- pulumi_gcp/folder/organization_policy.py +22 -6
- pulumi_gcp/gkebackup/backup_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +18 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/_inputs.py +431 -0
- pulumi_gcp/gkehub/feature.py +76 -10
- pulumi_gcp/gkehub/feature_membership.py +22 -2
- pulumi_gcp/gkehub/fleet.py +432 -0
- pulumi_gcp/gkehub/get_membership_iam_policy.py +24 -3
- pulumi_gcp/gkehub/membership.py +120 -16
- pulumi_gcp/gkehub/membership_binding.py +22 -10
- pulumi_gcp/gkehub/membership_iam_binding.py +67 -0
- pulumi_gcp/gkehub/membership_iam_member.py +67 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +67 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +18 -2
- pulumi_gcp/gkehub/namespace.py +22 -10
- pulumi_gcp/gkehub/outputs.py +432 -1
- pulumi_gcp/gkehub/scope.py +22 -10
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +22 -10
- pulumi_gcp/gkeonprem/_inputs.py +17 -31
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +148 -132
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +260 -246
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +30 -18
- pulumi_gcp/gkeonprem/outputs.py +17 -31
- pulumi_gcp/gkeonprem/v_mware_cluster.py +287 -230
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +30 -18
- pulumi_gcp/healthcare/consent_store.py +22 -10
- pulumi_gcp/healthcare/dataset.py +18 -2
- pulumi_gcp/healthcare/dataset_iam_binding.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_member.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_policy.py +10 -38
- pulumi_gcp/healthcare/dicom_store.py +22 -10
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/fhir_store.py +22 -10
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/hl7_store.py +22 -10
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +10 -30
- pulumi_gcp/iam/_inputs.py +20 -0
- pulumi_gcp/iam/access_boundary_policy.py +18 -2
- pulumi_gcp/iam/deny_policy.py +18 -2
- pulumi_gcp/iam/outputs.py +20 -0
- pulumi_gcp/iam/workforce_pool.py +18 -2
- pulumi_gcp/iam/workforce_pool_provider.py +18 -2
- pulumi_gcp/iam/workload_identity_pool.py +18 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +18 -2
- pulumi_gcp/iap/brand.py +18 -2
- pulumi_gcp/iap/client.py +18 -2
- pulumi_gcp/identityplatform/_inputs.py +92 -0
- pulumi_gcp/identityplatform/config.py +91 -5
- pulumi_gcp/identityplatform/default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/oauth_idp_config.py +18 -2
- pulumi_gcp/identityplatform/outputs.py +129 -0
- pulumi_gcp/identityplatform/project_default_config.py +18 -2
- pulumi_gcp/identityplatform/tenant.py +18 -2
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +18 -2
- pulumi_gcp/integrationconnectors/__init__.py +10 -0
- pulumi_gcp/integrationconnectors/_inputs.py +2518 -0
- pulumi_gcp/integrationconnectors/connection.py +1921 -0
- pulumi_gcp/integrationconnectors/outputs.py +2780 -0
- pulumi_gcp/kms/crypto_key.py +22 -10
- pulumi_gcp/kms/crypto_key_iam_binding.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_member.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_policy.py +10 -30
- pulumi_gcp/kms/crypto_key_version.py +18 -2
- pulumi_gcp/kms/key_ring.py +18 -2
- pulumi_gcp/kms/key_ring_iam_binding.py +10 -30
- pulumi_gcp/kms/key_ring_iam_member.py +10 -30
- pulumi_gcp/kms/key_ring_iam_policy.py +10 -30
- pulumi_gcp/kms/key_ring_import_job.py +18 -2
- pulumi_gcp/logging/_inputs.py +160 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +61 -26
- pulumi_gcp/logging/billing_account_exclusion.py +20 -4
- pulumi_gcp/logging/billing_account_sink.py +20 -4
- pulumi_gcp/logging/folder_bucket_config.py +75 -4
- pulumi_gcp/logging/folder_exclusion.py +20 -4
- pulumi_gcp/logging/folder_sink.py +20 -4
- pulumi_gcp/logging/linked_dataset.py +18 -2
- pulumi_gcp/logging/log_view.py +18 -2
- pulumi_gcp/logging/metric.py +18 -2
- pulumi_gcp/logging/organization_bucket_config.py +75 -4
- pulumi_gcp/logging/organization_exclusion.py +20 -4
- pulumi_gcp/logging/organization_sink.py +20 -4
- pulumi_gcp/logging/outputs.py +196 -0
- pulumi_gcp/logging/project_bucket_config.py +59 -134
- pulumi_gcp/logging/project_exclusion.py +20 -4
- pulumi_gcp/logging/project_sink.py +95 -18
- pulumi_gcp/looker/instance.py +18 -2
- pulumi_gcp/memcache/instance.py +22 -10
- pulumi_gcp/ml/engine_model.py +22 -10
- pulumi_gcp/monitoring/_inputs.py +127 -13
- pulumi_gcp/monitoring/alert_policy.py +64 -2
- pulumi_gcp/monitoring/custom_service.py +18 -2
- pulumi_gcp/monitoring/dashboard.py +18 -2
- pulumi_gcp/monitoring/generic_service.py +18 -2
- pulumi_gcp/monitoring/group.py +18 -2
- pulumi_gcp/monitoring/metric_descriptor.py +18 -2
- pulumi_gcp/monitoring/monitored_project.py +18 -2
- pulumi_gcp/monitoring/notification_channel.py +18 -2
- pulumi_gcp/monitoring/outputs.py +158 -13
- pulumi_gcp/monitoring/slo.py +18 -2
- pulumi_gcp/monitoring/uptime_check_config.py +92 -9
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +185 -0
- pulumi_gcp/networkconnectivity/hub.py +22 -10
- pulumi_gcp/networkconnectivity/outputs.py +189 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +1003 -0
- pulumi_gcp/networkconnectivity/service_connection_policy.py +22 -10
- pulumi_gcp/networkconnectivity/spoke.py +22 -10
- pulumi_gcp/networkmanagement/connectivity_test.py +22 -10
- pulumi_gcp/networksecurity/address_group.py +22 -10
- pulumi_gcp/networksecurity/authorization_policy.py +22 -10
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -10
- pulumi_gcp/networksecurity/gateway_security_policy.py +18 -2
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +18 -2
- pulumi_gcp/networksecurity/server_tls_policy.py +92 -10
- pulumi_gcp/networksecurity/tls_inspection_policy.py +18 -2
- pulumi_gcp/networksecurity/url_list.py +18 -2
- pulumi_gcp/networkservices/edge_cache_keyset.py +22 -10
- pulumi_gcp/networkservices/edge_cache_origin.py +22 -10
- pulumi_gcp/networkservices/edge_cache_service.py +22 -10
- pulumi_gcp/networkservices/endpoint_policy.py +22 -10
- pulumi_gcp/networkservices/gateway.py +22 -10
- pulumi_gcp/networkservices/grpc_route.py +22 -10
- pulumi_gcp/networkservices/http_route.py +22 -10
- pulumi_gcp/networkservices/mesh.py +22 -10
- pulumi_gcp/networkservices/service_binding.py +22 -10
- pulumi_gcp/networkservices/tcp_route.py +22 -10
- pulumi_gcp/networkservices/tls_route.py +18 -2
- pulumi_gcp/notebooks/environment.py +18 -2
- pulumi_gcp/notebooks/instance.py +22 -10
- pulumi_gcp/notebooks/location.py +18 -2
- pulumi_gcp/notebooks/runtime.py +18 -2
- pulumi_gcp/organizations/access_approval_settings.py +18 -2
- pulumi_gcp/organizations/folder.py +22 -6
- pulumi_gcp/organizations/iam_member.py +10 -58
- pulumi_gcp/organizations/iam_policy.py +10 -58
- pulumi_gcp/organizations/policy.py +22 -4
- pulumi_gcp/organizations/project.py +24 -12
- pulumi_gcp/orgpolicy/custom_constraint.py +50 -22
- pulumi_gcp/orgpolicy/policy.py +18 -2
- pulumi_gcp/osconfig/guest_policies.py +18 -2
- pulumi_gcp/osconfig/os_policy_assignment.py +18 -2
- pulumi_gcp/osconfig/patch_deployment.py +18 -2
- pulumi_gcp/oslogin/ssh_public_key.py +18 -2
- pulumi_gcp/projects/access_approval_settings.py +18 -2
- pulumi_gcp/projects/api_key.py +18 -2
- pulumi_gcp/projects/iam_audit_config.py +10 -58
- pulumi_gcp/projects/iam_binding.py +10 -58
- pulumi_gcp/projects/iam_custom_role.py +18 -2
- pulumi_gcp/projects/iam_member.py +10 -58
- pulumi_gcp/projects/iam_policy.py +10 -58
- pulumi_gcp/projects/organization_policy.py +24 -8
- pulumi_gcp/projects/service.py +22 -4
- pulumi_gcp/projects/usage_export_bucket.py +20 -4
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/__init__.py +4 -0
- pulumi_gcp/pubsub/_inputs.py +80 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +147 -0
- pulumi_gcp/pubsub/lite_reservation.py +18 -2
- pulumi_gcp/pubsub/lite_subscription.py +18 -2
- pulumi_gcp/pubsub/lite_topic.py +18 -2
- pulumi_gcp/pubsub/outputs.py +56 -0
- pulumi_gcp/pubsub/schema.py +18 -2
- pulumi_gcp/pubsub/schema_iam_binding.py +601 -0
- pulumi_gcp/pubsub/schema_iam_member.py +601 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +523 -0
- pulumi_gcp/pubsub/subscription.py +22 -10
- pulumi_gcp/pubsub/subscription_iam_binding.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_member.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_policy.py +12 -20
- pulumi_gcp/pubsub/topic.py +36 -17
- pulumi_gcp/recaptcha/enterprise_key.py +22 -10
- pulumi_gcp/redis/cluster.py +42 -18
- pulumi_gcp/redis/instance.py +22 -58
- pulumi_gcp/resourcemanager/lien.py +18 -2
- pulumi_gcp/runtimeconfig/config.py +26 -6
- pulumi_gcp/runtimeconfig/variable.py +26 -6
- pulumi_gcp/secretmanager/__init__.py +1 -0
- pulumi_gcp/secretmanager/get_secrets.py +133 -0
- pulumi_gcp/secretmanager/outputs.py +354 -0
- pulumi_gcp/secretmanager/secret.py +36 -10
- pulumi_gcp/secretmanager/secret_version.py +18 -2
- pulumi_gcp/securitycenter/folder_custom_module.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +18 -2
- pulumi_gcp/securitycenter/mute_config.py +18 -2
- pulumi_gcp/securitycenter/notification_config.py +18 -2
- pulumi_gcp/securitycenter/organization_custom_module.py +18 -2
- pulumi_gcp/securitycenter/project_custom_module.py +18 -2
- pulumi_gcp/securitycenter/source.py +18 -2
- pulumi_gcp/securitycenter/source_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/source_iam_member.py +18 -2
- pulumi_gcp/securitycenter/source_iam_policy.py +18 -2
- pulumi_gcp/serviceaccount/account.py +20 -4
- pulumi_gcp/serviceaccount/iam_binding.py +2 -30
- pulumi_gcp/serviceaccount/iam_member.py +2 -30
- pulumi_gcp/serviceaccount/iam_policy.py +2 -30
- pulumi_gcp/servicedirectory/endpoint.py +18 -2
- pulumi_gcp/servicedirectory/namespace.py +22 -10
- pulumi_gcp/servicedirectory/service.py +18 -2
- pulumi_gcp/servicenetworking/connection.py +22 -6
- pulumi_gcp/servicenetworking/peered_dns_domain.py +18 -6
- pulumi_gcp/serviceusage/consumer_quota_override.py +18 -2
- pulumi_gcp/sourcerepo/repository.py +18 -2
- pulumi_gcp/spanner/_inputs.py +142 -0
- pulumi_gcp/spanner/database.py +18 -2
- pulumi_gcp/spanner/database_iam_binding.py +10 -26
- pulumi_gcp/spanner/database_iam_member.py +10 -26
- pulumi_gcp/spanner/database_iam_policy.py +10 -26
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +99 -10
- pulumi_gcp/spanner/instance_iam_binding.py +10 -26
- pulumi_gcp/spanner/instance_iam_member.py +10 -26
- pulumi_gcp/spanner/instance_iam_policy.py +10 -26
- pulumi_gcp/spanner/outputs.py +236 -0
- pulumi_gcp/sql/_inputs.py +27 -7
- pulumi_gcp/sql/database.py +18 -2
- pulumi_gcp/sql/database_instance.py +24 -8
- pulumi_gcp/sql/outputs.py +41 -9
- pulumi_gcp/sql/source_representation_instance.py +25 -9
- pulumi_gcp/sql/user.py +38 -8
- pulumi_gcp/storage/_inputs.py +59 -1
- pulumi_gcp/storage/bucket.py +69 -6
- pulumi_gcp/storage/bucket_access_control.py +18 -2
- pulumi_gcp/storage/bucket_object.py +47 -0
- pulumi_gcp/storage/default_object_access_control.py +18 -2
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/get_bucket_object.py +11 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/hmac_key.py +18 -2
- pulumi_gcp/storage/insights_report_config.py +18 -2
- pulumi_gcp/storage/notification.py +20 -4
- pulumi_gcp/storage/object_access_control.py +18 -2
- pulumi_gcp/storage/outputs.py +129 -2
- pulumi_gcp/storage/transfer_agent_pool.py +18 -2
- pulumi_gcp/storage/transfer_job.py +20 -4
- pulumi_gcp/tags/location_tag_binding.py +35 -19
- pulumi_gcp/tags/tag_binding.py +18 -2
- pulumi_gcp/tags/tag_key.py +18 -2
- pulumi_gcp/tags/tag_value.py +18 -2
- pulumi_gcp/tpu/_inputs.py +450 -0
- pulumi_gcp/tpu/node.py +22 -10
- pulumi_gcp/tpu/outputs.py +477 -0
- pulumi_gcp/tpu/v2_vm.py +906 -38
- pulumi_gcp/vertex/_inputs.py +39 -0
- pulumi_gcp/vertex/ai_dataset.py +4 -8
- pulumi_gcp/vertex/ai_endpoint.py +22 -10
- pulumi_gcp/vertex/ai_feature_store.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +22 -10
- pulumi_gcp/vertex/ai_index.py +22 -10
- pulumi_gcp/vertex/ai_index_endpoint.py +116 -10
- pulumi_gcp/vertex/ai_metadata_store.py +18 -2
- pulumi_gcp/vertex/ai_tensorboard.py +22 -10
- pulumi_gcp/vertex/outputs.py +50 -0
- pulumi_gcp/vmwareengine/cluster.py +18 -2
- pulumi_gcp/vmwareengine/network.py +18 -2
- pulumi_gcp/vmwareengine/private_cloud.py +18 -2
- pulumi_gcp/vpcaccess/connector.py +18 -2
- pulumi_gcp/workflows/workflow.py +159 -11
- pulumi_gcp/workstations/_inputs.py +23 -0
- pulumi_gcp/workstations/outputs.py +19 -0
- pulumi_gcp/workstations/workstation.py +22 -10
- pulumi_gcp/workstations/workstation_cluster.py +142 -10
- pulumi_gcp/workstations/workstation_config.py +24 -12
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -231,10 +231,18 @@ class OrganizationExclusion(pulumi.CustomResource):
|
|
231
231
|
|
232
232
|
## Import
|
233
233
|
|
234
|
-
Organization-level logging exclusions can be imported using their URI, e.g.
|
234
|
+
Organization-level logging exclusions can be imported using their URI, e.g. * `organizations/{{organization}}/exclusions/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import organization-level logging exclusions using one of the formats above. For exampletf import {
|
235
|
+
|
236
|
+
id = "organizations/{{organization}}/exclusions/{{name}}"
|
237
|
+
|
238
|
+
to = google_logging_organization_exclusion.default }
|
239
|
+
|
240
|
+
```sh
|
241
|
+
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), organization-level logging exclusions can be imported using one of the formats above. For example
|
242
|
+
```
|
235
243
|
|
236
244
|
```sh
|
237
|
-
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion
|
245
|
+
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion default organizations/{{organization}}/exclusions/{{name}}
|
238
246
|
```
|
239
247
|
|
240
248
|
:param str resource_name: The name of the resource.
|
@@ -277,10 +285,18 @@ class OrganizationExclusion(pulumi.CustomResource):
|
|
277
285
|
|
278
286
|
## Import
|
279
287
|
|
280
|
-
Organization-level logging exclusions can be imported using their URI, e.g.
|
288
|
+
Organization-level logging exclusions can be imported using their URI, e.g. * `organizations/{{organization}}/exclusions/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import organization-level logging exclusions using one of the formats above. For exampletf import {
|
289
|
+
|
290
|
+
id = "organizations/{{organization}}/exclusions/{{name}}"
|
291
|
+
|
292
|
+
to = google_logging_organization_exclusion.default }
|
293
|
+
|
294
|
+
```sh
|
295
|
+
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), organization-level logging exclusions can be imported using one of the formats above. For example
|
296
|
+
```
|
281
297
|
|
282
298
|
```sh
|
283
|
-
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion
|
299
|
+
$ pulumi import gcp:logging/organizationExclusion:OrganizationExclusion default organizations/{{organization}}/exclusions/{{name}}
|
284
300
|
```
|
285
301
|
|
286
302
|
:param str resource_name: The name of the resource.
|
@@ -418,10 +418,18 @@ class OrganizationSink(pulumi.CustomResource):
|
|
418
418
|
|
419
419
|
## Import
|
420
420
|
|
421
|
-
Organization-level logging sinks can be imported using this format
|
421
|
+
Organization-level logging sinks can be imported using this format* `organizations/{{organization_id}}/sinks/{{sink_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import organization-level logging sinks using one of the formats above. For exampletf import {
|
422
|
+
|
423
|
+
id = "organizations/{{organization_id}}/sinks/{{sink_id}}"
|
424
|
+
|
425
|
+
to = google_logging_organization_sink.default }
|
426
|
+
|
427
|
+
```sh
|
428
|
+
$ pulumi import gcp:logging/organizationSink:OrganizationSink When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), organization-level logging sinks can be imported using one of the formats above. For example
|
429
|
+
```
|
422
430
|
|
423
431
|
```sh
|
424
|
-
$ pulumi import gcp:logging/organizationSink:OrganizationSink
|
432
|
+
$ pulumi import gcp:logging/organizationSink:OrganizationSink default organizations/{{organization_id}}/sinks/{{sink_id}}
|
425
433
|
```
|
426
434
|
|
427
435
|
:param str resource_name: The name of the resource.
|
@@ -479,10 +487,18 @@ class OrganizationSink(pulumi.CustomResource):
|
|
479
487
|
|
480
488
|
## Import
|
481
489
|
|
482
|
-
Organization-level logging sinks can be imported using this format
|
490
|
+
Organization-level logging sinks can be imported using this format* `organizations/{{organization_id}}/sinks/{{sink_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import organization-level logging sinks using one of the formats above. For exampletf import {
|
491
|
+
|
492
|
+
id = "organizations/{{organization_id}}/sinks/{{sink_id}}"
|
493
|
+
|
494
|
+
to = google_logging_organization_sink.default }
|
495
|
+
|
496
|
+
```sh
|
497
|
+
$ pulumi import gcp:logging/organizationSink:OrganizationSink When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), organization-level logging sinks can be imported using one of the formats above. For example
|
498
|
+
```
|
483
499
|
|
484
500
|
```sh
|
485
|
-
$ pulumi import gcp:logging/organizationSink:OrganizationSink
|
501
|
+
$ pulumi import gcp:logging/organizationSink:OrganizationSink default organizations/{{organization_id}}/sinks/{{sink_id}}
|
486
502
|
```
|
487
503
|
|
488
504
|
:param str resource_name: The name of the resource.
|
pulumi_gcp/logging/outputs.py
CHANGED
@@ -12,9 +12,11 @@ from . import outputs
|
|
12
12
|
|
13
13
|
__all__ = [
|
14
14
|
'BillingAccountBucketConfigCmekSettings',
|
15
|
+
'BillingAccountBucketConfigIndexConfig',
|
15
16
|
'BillingAccountSinkBigqueryOptions',
|
16
17
|
'BillingAccountSinkExclusion',
|
17
18
|
'FolderBucketConfigCmekSettings',
|
19
|
+
'FolderBucketConfigIndexConfig',
|
18
20
|
'FolderSinkBigqueryOptions',
|
19
21
|
'FolderSinkExclusion',
|
20
22
|
'LinkedDatasetBigqueryDataset',
|
@@ -25,9 +27,11 @@ __all__ = [
|
|
25
27
|
'MetricMetricDescriptor',
|
26
28
|
'MetricMetricDescriptorLabel',
|
27
29
|
'OrganizationBucketConfigCmekSettings',
|
30
|
+
'OrganizationBucketConfigIndexConfig',
|
28
31
|
'OrganizationSinkBigqueryOptions',
|
29
32
|
'OrganizationSinkExclusion',
|
30
33
|
'ProjectBucketConfigCmekSettings',
|
34
|
+
'ProjectBucketConfigIndexConfig',
|
31
35
|
'ProjectSinkBigqueryOptions',
|
32
36
|
'ProjectSinkExclusion',
|
33
37
|
'GetSinkBigqueryOptionResult',
|
@@ -97,6 +101,54 @@ class BillingAccountBucketConfigCmekSettings(dict):
|
|
97
101
|
return pulumi.get(self, "service_account_id")
|
98
102
|
|
99
103
|
|
104
|
+
@pulumi.output_type
|
105
|
+
class BillingAccountBucketConfigIndexConfig(dict):
|
106
|
+
@staticmethod
|
107
|
+
def __key_warning(key: str):
|
108
|
+
suggest = None
|
109
|
+
if key == "fieldPath":
|
110
|
+
suggest = "field_path"
|
111
|
+
|
112
|
+
if suggest:
|
113
|
+
pulumi.log.warn(f"Key '{key}' not found in BillingAccountBucketConfigIndexConfig. Access the value via the '{suggest}' property getter instead.")
|
114
|
+
|
115
|
+
def __getitem__(self, key: str) -> Any:
|
116
|
+
BillingAccountBucketConfigIndexConfig.__key_warning(key)
|
117
|
+
return super().__getitem__(key)
|
118
|
+
|
119
|
+
def get(self, key: str, default = None) -> Any:
|
120
|
+
BillingAccountBucketConfigIndexConfig.__key_warning(key)
|
121
|
+
return super().get(key, default)
|
122
|
+
|
123
|
+
def __init__(__self__, *,
|
124
|
+
field_path: str,
|
125
|
+
type: str):
|
126
|
+
"""
|
127
|
+
:param str field_path: The LogEntry field path to index.
|
128
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
129
|
+
:param str type: The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
130
|
+
"""
|
131
|
+
pulumi.set(__self__, "field_path", field_path)
|
132
|
+
pulumi.set(__self__, "type", type)
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="fieldPath")
|
136
|
+
def field_path(self) -> str:
|
137
|
+
"""
|
138
|
+
The LogEntry field path to index.
|
139
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "field_path")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def type(self) -> str:
|
146
|
+
"""
|
147
|
+
The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "type")
|
150
|
+
|
151
|
+
|
100
152
|
@pulumi.output_type
|
101
153
|
class BillingAccountSinkBigqueryOptions(dict):
|
102
154
|
@staticmethod
|
@@ -256,6 +308,54 @@ class FolderBucketConfigCmekSettings(dict):
|
|
256
308
|
return pulumi.get(self, "service_account_id")
|
257
309
|
|
258
310
|
|
311
|
+
@pulumi.output_type
|
312
|
+
class FolderBucketConfigIndexConfig(dict):
|
313
|
+
@staticmethod
|
314
|
+
def __key_warning(key: str):
|
315
|
+
suggest = None
|
316
|
+
if key == "fieldPath":
|
317
|
+
suggest = "field_path"
|
318
|
+
|
319
|
+
if suggest:
|
320
|
+
pulumi.log.warn(f"Key '{key}' not found in FolderBucketConfigIndexConfig. Access the value via the '{suggest}' property getter instead.")
|
321
|
+
|
322
|
+
def __getitem__(self, key: str) -> Any:
|
323
|
+
FolderBucketConfigIndexConfig.__key_warning(key)
|
324
|
+
return super().__getitem__(key)
|
325
|
+
|
326
|
+
def get(self, key: str, default = None) -> Any:
|
327
|
+
FolderBucketConfigIndexConfig.__key_warning(key)
|
328
|
+
return super().get(key, default)
|
329
|
+
|
330
|
+
def __init__(__self__, *,
|
331
|
+
field_path: str,
|
332
|
+
type: str):
|
333
|
+
"""
|
334
|
+
:param str field_path: The LogEntry field path to index.
|
335
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
336
|
+
:param str type: The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
337
|
+
"""
|
338
|
+
pulumi.set(__self__, "field_path", field_path)
|
339
|
+
pulumi.set(__self__, "type", type)
|
340
|
+
|
341
|
+
@property
|
342
|
+
@pulumi.getter(name="fieldPath")
|
343
|
+
def field_path(self) -> str:
|
344
|
+
"""
|
345
|
+
The LogEntry field path to index.
|
346
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
347
|
+
"""
|
348
|
+
return pulumi.get(self, "field_path")
|
349
|
+
|
350
|
+
@property
|
351
|
+
@pulumi.getter
|
352
|
+
def type(self) -> str:
|
353
|
+
"""
|
354
|
+
The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "type")
|
357
|
+
|
358
|
+
|
259
359
|
@pulumi.output_type
|
260
360
|
class FolderSinkBigqueryOptions(dict):
|
261
361
|
@staticmethod
|
@@ -844,6 +944,54 @@ class OrganizationBucketConfigCmekSettings(dict):
|
|
844
944
|
return pulumi.get(self, "service_account_id")
|
845
945
|
|
846
946
|
|
947
|
+
@pulumi.output_type
|
948
|
+
class OrganizationBucketConfigIndexConfig(dict):
|
949
|
+
@staticmethod
|
950
|
+
def __key_warning(key: str):
|
951
|
+
suggest = None
|
952
|
+
if key == "fieldPath":
|
953
|
+
suggest = "field_path"
|
954
|
+
|
955
|
+
if suggest:
|
956
|
+
pulumi.log.warn(f"Key '{key}' not found in OrganizationBucketConfigIndexConfig. Access the value via the '{suggest}' property getter instead.")
|
957
|
+
|
958
|
+
def __getitem__(self, key: str) -> Any:
|
959
|
+
OrganizationBucketConfigIndexConfig.__key_warning(key)
|
960
|
+
return super().__getitem__(key)
|
961
|
+
|
962
|
+
def get(self, key: str, default = None) -> Any:
|
963
|
+
OrganizationBucketConfigIndexConfig.__key_warning(key)
|
964
|
+
return super().get(key, default)
|
965
|
+
|
966
|
+
def __init__(__self__, *,
|
967
|
+
field_path: str,
|
968
|
+
type: str):
|
969
|
+
"""
|
970
|
+
:param str field_path: The LogEntry field path to index.
|
971
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
972
|
+
:param str type: The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
973
|
+
"""
|
974
|
+
pulumi.set(__self__, "field_path", field_path)
|
975
|
+
pulumi.set(__self__, "type", type)
|
976
|
+
|
977
|
+
@property
|
978
|
+
@pulumi.getter(name="fieldPath")
|
979
|
+
def field_path(self) -> str:
|
980
|
+
"""
|
981
|
+
The LogEntry field path to index.
|
982
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
983
|
+
"""
|
984
|
+
return pulumi.get(self, "field_path")
|
985
|
+
|
986
|
+
@property
|
987
|
+
@pulumi.getter
|
988
|
+
def type(self) -> str:
|
989
|
+
"""
|
990
|
+
The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
991
|
+
"""
|
992
|
+
return pulumi.get(self, "type")
|
993
|
+
|
994
|
+
|
847
995
|
@pulumi.output_type
|
848
996
|
class OrganizationSinkBigqueryOptions(dict):
|
849
997
|
@staticmethod
|
@@ -1039,6 +1187,54 @@ class ProjectBucketConfigCmekSettings(dict):
|
|
1039
1187
|
return pulumi.get(self, "service_account_id")
|
1040
1188
|
|
1041
1189
|
|
1190
|
+
@pulumi.output_type
|
1191
|
+
class ProjectBucketConfigIndexConfig(dict):
|
1192
|
+
@staticmethod
|
1193
|
+
def __key_warning(key: str):
|
1194
|
+
suggest = None
|
1195
|
+
if key == "fieldPath":
|
1196
|
+
suggest = "field_path"
|
1197
|
+
|
1198
|
+
if suggest:
|
1199
|
+
pulumi.log.warn(f"Key '{key}' not found in ProjectBucketConfigIndexConfig. Access the value via the '{suggest}' property getter instead.")
|
1200
|
+
|
1201
|
+
def __getitem__(self, key: str) -> Any:
|
1202
|
+
ProjectBucketConfigIndexConfig.__key_warning(key)
|
1203
|
+
return super().__getitem__(key)
|
1204
|
+
|
1205
|
+
def get(self, key: str, default = None) -> Any:
|
1206
|
+
ProjectBucketConfigIndexConfig.__key_warning(key)
|
1207
|
+
return super().get(key, default)
|
1208
|
+
|
1209
|
+
def __init__(__self__, *,
|
1210
|
+
field_path: str,
|
1211
|
+
type: str):
|
1212
|
+
"""
|
1213
|
+
:param str field_path: The LogEntry field path to index.
|
1214
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
1215
|
+
:param str type: The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
1216
|
+
"""
|
1217
|
+
pulumi.set(__self__, "field_path", field_path)
|
1218
|
+
pulumi.set(__self__, "type", type)
|
1219
|
+
|
1220
|
+
@property
|
1221
|
+
@pulumi.getter(name="fieldPath")
|
1222
|
+
def field_path(self) -> str:
|
1223
|
+
"""
|
1224
|
+
The LogEntry field path to index.
|
1225
|
+
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
|
1226
|
+
"""
|
1227
|
+
return pulumi.get(self, "field_path")
|
1228
|
+
|
1229
|
+
@property
|
1230
|
+
@pulumi.getter
|
1231
|
+
def type(self) -> str:
|
1232
|
+
"""
|
1233
|
+
The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
|
1234
|
+
"""
|
1235
|
+
return pulumi.get(self, "type")
|
1236
|
+
|
1237
|
+
|
1042
1238
|
@pulumi.output_type
|
1043
1239
|
class ProjectSinkBigqueryOptions(dict):
|
1044
1240
|
@staticmethod
|
@@ -22,6 +22,7 @@ class ProjectBucketConfigArgs:
|
|
22
22
|
cmek_settings: Optional[pulumi.Input['ProjectBucketConfigCmekSettingsArgs']] = None,
|
23
23
|
description: Optional[pulumi.Input[str]] = None,
|
24
24
|
enable_analytics: Optional[pulumi.Input[bool]] = None,
|
25
|
+
index_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]] = None,
|
25
26
|
locked: Optional[pulumi.Input[bool]] = None,
|
26
27
|
retention_days: Optional[pulumi.Input[int]] = None):
|
27
28
|
"""
|
@@ -32,6 +33,7 @@ class ProjectBucketConfigArgs:
|
|
32
33
|
:param pulumi.Input['ProjectBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. Structure is documented below.
|
33
34
|
:param pulumi.Input[str] description: Describes this bucket.
|
34
35
|
:param pulumi.Input[bool] enable_analytics: Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
|
36
|
+
:param pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
35
37
|
:param pulumi.Input[bool] locked: Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
|
36
38
|
:param pulumi.Input[int] retention_days: Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
|
37
39
|
"""
|
@@ -44,6 +46,8 @@ class ProjectBucketConfigArgs:
|
|
44
46
|
pulumi.set(__self__, "description", description)
|
45
47
|
if enable_analytics is not None:
|
46
48
|
pulumi.set(__self__, "enable_analytics", enable_analytics)
|
49
|
+
if index_configs is not None:
|
50
|
+
pulumi.set(__self__, "index_configs", index_configs)
|
47
51
|
if locked is not None:
|
48
52
|
pulumi.set(__self__, "locked", locked)
|
49
53
|
if retention_days is not None:
|
@@ -121,6 +125,18 @@ class ProjectBucketConfigArgs:
|
|
121
125
|
def enable_analytics(self, value: Optional[pulumi.Input[bool]]):
|
122
126
|
pulumi.set(self, "enable_analytics", value)
|
123
127
|
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="indexConfigs")
|
130
|
+
def index_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]]:
|
131
|
+
"""
|
132
|
+
A list of indexed fields and related configuration data. Structure is documented below.
|
133
|
+
"""
|
134
|
+
return pulumi.get(self, "index_configs")
|
135
|
+
|
136
|
+
@index_configs.setter
|
137
|
+
def index_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]]):
|
138
|
+
pulumi.set(self, "index_configs", value)
|
139
|
+
|
124
140
|
@property
|
125
141
|
@pulumi.getter
|
126
142
|
def locked(self) -> Optional[pulumi.Input[bool]]:
|
@@ -153,6 +169,7 @@ class _ProjectBucketConfigState:
|
|
153
169
|
cmek_settings: Optional[pulumi.Input['ProjectBucketConfigCmekSettingsArgs']] = None,
|
154
170
|
description: Optional[pulumi.Input[str]] = None,
|
155
171
|
enable_analytics: Optional[pulumi.Input[bool]] = None,
|
172
|
+
index_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]] = None,
|
156
173
|
lifecycle_state: Optional[pulumi.Input[str]] = None,
|
157
174
|
location: Optional[pulumi.Input[str]] = None,
|
158
175
|
locked: Optional[pulumi.Input[bool]] = None,
|
@@ -165,6 +182,7 @@ class _ProjectBucketConfigState:
|
|
165
182
|
:param pulumi.Input['ProjectBucketConfigCmekSettingsArgs'] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. Structure is documented below.
|
166
183
|
:param pulumi.Input[str] description: Describes this bucket.
|
167
184
|
:param pulumi.Input[bool] enable_analytics: Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
|
185
|
+
:param pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
168
186
|
:param pulumi.Input[str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
169
187
|
:param pulumi.Input[str] location: The location of the bucket.
|
170
188
|
:param pulumi.Input[bool] locked: Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
|
@@ -180,6 +198,8 @@ class _ProjectBucketConfigState:
|
|
180
198
|
pulumi.set(__self__, "description", description)
|
181
199
|
if enable_analytics is not None:
|
182
200
|
pulumi.set(__self__, "enable_analytics", enable_analytics)
|
201
|
+
if index_configs is not None:
|
202
|
+
pulumi.set(__self__, "index_configs", index_configs)
|
183
203
|
if lifecycle_state is not None:
|
184
204
|
pulumi.set(__self__, "lifecycle_state", lifecycle_state)
|
185
205
|
if location is not None:
|
@@ -241,6 +261,18 @@ class _ProjectBucketConfigState:
|
|
241
261
|
def enable_analytics(self, value: Optional[pulumi.Input[bool]]):
|
242
262
|
pulumi.set(self, "enable_analytics", value)
|
243
263
|
|
264
|
+
@property
|
265
|
+
@pulumi.getter(name="indexConfigs")
|
266
|
+
def index_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]]:
|
267
|
+
"""
|
268
|
+
A list of indexed fields and related configuration data. Structure is documented below.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "index_configs")
|
271
|
+
|
272
|
+
@index_configs.setter
|
273
|
+
def index_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectBucketConfigIndexConfigArgs']]]]):
|
274
|
+
pulumi.set(self, "index_configs", value)
|
275
|
+
|
244
276
|
@property
|
245
277
|
@pulumi.getter(name="lifecycleState")
|
246
278
|
def lifecycle_state(self) -> Optional[pulumi.Input[str]]:
|
@@ -323,6 +355,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
323
355
|
cmek_settings: Optional[pulumi.Input[pulumi.InputType['ProjectBucketConfigCmekSettingsArgs']]] = None,
|
324
356
|
description: Optional[pulumi.Input[str]] = None,
|
325
357
|
enable_analytics: Optional[pulumi.Input[bool]] = None,
|
358
|
+
index_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectBucketConfigIndexConfigArgs']]]]] = None,
|
326
359
|
location: Optional[pulumi.Input[str]] = None,
|
327
360
|
locked: Optional[pulumi.Input[bool]] = None,
|
328
361
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -335,79 +368,18 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
335
368
|
|
336
369
|
> **Note:** Logging buckets are automatically created for a given folder, project, organization, billingAccount and cannot be deleted. Creating a resource of this type will acquire and update the resource that already exists at the desired location. These buckets cannot be removed so deleting this resource will remove the bucket config from your state but will leave the logging bucket unchanged. The buckets that are currently automatically created are "_Default" and "_Required".
|
337
370
|
|
338
|
-
##
|
339
|
-
|
340
|
-
```python
|
341
|
-
import pulumi
|
342
|
-
import pulumi_gcp as gcp
|
343
|
-
|
344
|
-
default = gcp.organizations.Project("default",
|
345
|
-
project_id="your-project-id",
|
346
|
-
org_id="123456789")
|
347
|
-
basic = gcp.logging.ProjectBucketConfig("basic",
|
348
|
-
project=default.project_id,
|
349
|
-
location="global",
|
350
|
-
retention_days=30,
|
351
|
-
bucket_id="_Default")
|
352
|
-
```
|
353
|
-
|
354
|
-
Create logging bucket with customId
|
355
|
-
|
356
|
-
```python
|
357
|
-
import pulumi
|
358
|
-
import pulumi_gcp as gcp
|
371
|
+
## Import
|
359
372
|
|
360
|
-
|
361
|
-
bucket_id="custom-bucket",
|
362
|
-
location="global",
|
363
|
-
project="project_id",
|
364
|
-
retention_days=30)
|
365
|
-
```
|
373
|
+
This resource can be imported using the following format* `projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import this resource using one of the formats above. For exampletf import {
|
366
374
|
|
367
|
-
|
375
|
+
id = "projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}"
|
368
376
|
|
369
|
-
|
370
|
-
import pulumi
|
371
|
-
import pulumi_gcp as gcp
|
377
|
+
to = google_logging_project_bucket_config.default }
|
372
378
|
|
373
|
-
|
374
|
-
|
375
|
-
enable_analytics=True,
|
376
|
-
location="global",
|
377
|
-
project="project_id",
|
378
|
-
retention_days=30)
|
379
|
-
```
|
380
|
-
|
381
|
-
Create logging bucket with customId and cmekSettings
|
382
|
-
|
383
|
-
```python
|
384
|
-
import pulumi
|
385
|
-
import pulumi_gcp as gcp
|
386
|
-
|
387
|
-
cmek_settings = gcp.logging.get_project_cmek_settings(project="project_id")
|
388
|
-
keyring = gcp.kms.KeyRing("keyring", location="us-central1")
|
389
|
-
key = gcp.kms.CryptoKey("key",
|
390
|
-
key_ring=keyring.id,
|
391
|
-
rotation_period="100000s")
|
392
|
-
crypto_key_binding = gcp.kms.CryptoKeyIAMBinding("cryptoKeyBinding",
|
393
|
-
crypto_key_id=key.id,
|
394
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
395
|
-
members=[f"serviceAccount:{cmek_settings.service_account_id}"])
|
396
|
-
example_project_bucket_cmek_settings = gcp.logging.ProjectBucketConfig("example-project-bucket-cmek-settings",
|
397
|
-
project="project_id",
|
398
|
-
location="us-central1",
|
399
|
-
retention_days=30,
|
400
|
-
bucket_id="custom-bucket",
|
401
|
-
cmek_settings=gcp.logging.ProjectBucketConfigCmekSettingsArgs(
|
402
|
-
kms_key_name=key.id,
|
403
|
-
),
|
404
|
-
opts=pulumi.ResourceOptions(depends_on=[crypto_key_binding]))
|
379
|
+
```sh
|
380
|
+
$ pulumi import gcp:logging/projectBucketConfig:ProjectBucketConfig When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), this resource can be imported using one of the formats above. For example
|
405
381
|
```
|
406
382
|
|
407
|
-
## Import
|
408
|
-
|
409
|
-
This resource can be imported using the following format:
|
410
|
-
|
411
383
|
```sh
|
412
384
|
$ pulumi import gcp:logging/projectBucketConfig:ProjectBucketConfig default projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}
|
413
385
|
```
|
@@ -418,6 +390,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
418
390
|
:param pulumi.Input[pulumi.InputType['ProjectBucketConfigCmekSettingsArgs']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. Structure is documented below.
|
419
391
|
:param pulumi.Input[str] description: Describes this bucket.
|
420
392
|
:param pulumi.Input[bool] enable_analytics: Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
|
393
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectBucketConfigIndexConfigArgs']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
421
394
|
:param pulumi.Input[str] location: The location of the bucket.
|
422
395
|
:param pulumi.Input[bool] locked: Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
|
423
396
|
:param pulumi.Input[str] project: The parent resource that contains the logging bucket.
|
@@ -436,79 +409,18 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
436
409
|
|
437
410
|
> **Note:** Logging buckets are automatically created for a given folder, project, organization, billingAccount and cannot be deleted. Creating a resource of this type will acquire and update the resource that already exists at the desired location. These buckets cannot be removed so deleting this resource will remove the bucket config from your state but will leave the logging bucket unchanged. The buckets that are currently automatically created are "_Default" and "_Required".
|
438
411
|
|
439
|
-
##
|
440
|
-
|
441
|
-
```python
|
442
|
-
import pulumi
|
443
|
-
import pulumi_gcp as gcp
|
444
|
-
|
445
|
-
default = gcp.organizations.Project("default",
|
446
|
-
project_id="your-project-id",
|
447
|
-
org_id="123456789")
|
448
|
-
basic = gcp.logging.ProjectBucketConfig("basic",
|
449
|
-
project=default.project_id,
|
450
|
-
location="global",
|
451
|
-
retention_days=30,
|
452
|
-
bucket_id="_Default")
|
453
|
-
```
|
454
|
-
|
455
|
-
Create logging bucket with customId
|
456
|
-
|
457
|
-
```python
|
458
|
-
import pulumi
|
459
|
-
import pulumi_gcp as gcp
|
460
|
-
|
461
|
-
basic = gcp.logging.ProjectBucketConfig("basic",
|
462
|
-
bucket_id="custom-bucket",
|
463
|
-
location="global",
|
464
|
-
project="project_id",
|
465
|
-
retention_days=30)
|
466
|
-
```
|
412
|
+
## Import
|
467
413
|
|
468
|
-
|
414
|
+
This resource can be imported using the following format* `projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import this resource using one of the formats above. For exampletf import {
|
469
415
|
|
470
|
-
|
471
|
-
import pulumi
|
472
|
-
import pulumi_gcp as gcp
|
416
|
+
id = "projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}"
|
473
417
|
|
474
|
-
|
475
|
-
bucket_id="custom-bucket",
|
476
|
-
enable_analytics=True,
|
477
|
-
location="global",
|
478
|
-
project="project_id",
|
479
|
-
retention_days=30)
|
480
|
-
```
|
418
|
+
to = google_logging_project_bucket_config.default }
|
481
419
|
|
482
|
-
|
483
|
-
|
484
|
-
```python
|
485
|
-
import pulumi
|
486
|
-
import pulumi_gcp as gcp
|
487
|
-
|
488
|
-
cmek_settings = gcp.logging.get_project_cmek_settings(project="project_id")
|
489
|
-
keyring = gcp.kms.KeyRing("keyring", location="us-central1")
|
490
|
-
key = gcp.kms.CryptoKey("key",
|
491
|
-
key_ring=keyring.id,
|
492
|
-
rotation_period="100000s")
|
493
|
-
crypto_key_binding = gcp.kms.CryptoKeyIAMBinding("cryptoKeyBinding",
|
494
|
-
crypto_key_id=key.id,
|
495
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
496
|
-
members=[f"serviceAccount:{cmek_settings.service_account_id}"])
|
497
|
-
example_project_bucket_cmek_settings = gcp.logging.ProjectBucketConfig("example-project-bucket-cmek-settings",
|
498
|
-
project="project_id",
|
499
|
-
location="us-central1",
|
500
|
-
retention_days=30,
|
501
|
-
bucket_id="custom-bucket",
|
502
|
-
cmek_settings=gcp.logging.ProjectBucketConfigCmekSettingsArgs(
|
503
|
-
kms_key_name=key.id,
|
504
|
-
),
|
505
|
-
opts=pulumi.ResourceOptions(depends_on=[crypto_key_binding]))
|
420
|
+
```sh
|
421
|
+
$ pulumi import gcp:logging/projectBucketConfig:ProjectBucketConfig When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), this resource can be imported using one of the formats above. For example
|
506
422
|
```
|
507
423
|
|
508
|
-
## Import
|
509
|
-
|
510
|
-
This resource can be imported using the following format:
|
511
|
-
|
512
424
|
```sh
|
513
425
|
$ pulumi import gcp:logging/projectBucketConfig:ProjectBucketConfig default projects/{{project}}/locations/{{location}}/buckets/{{bucket_id}}
|
514
426
|
```
|
@@ -532,6 +444,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
532
444
|
cmek_settings: Optional[pulumi.Input[pulumi.InputType['ProjectBucketConfigCmekSettingsArgs']]] = None,
|
533
445
|
description: Optional[pulumi.Input[str]] = None,
|
534
446
|
enable_analytics: Optional[pulumi.Input[bool]] = None,
|
447
|
+
index_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectBucketConfigIndexConfigArgs']]]]] = None,
|
535
448
|
location: Optional[pulumi.Input[str]] = None,
|
536
449
|
locked: Optional[pulumi.Input[bool]] = None,
|
537
450
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -551,6 +464,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
551
464
|
__props__.__dict__["cmek_settings"] = cmek_settings
|
552
465
|
__props__.__dict__["description"] = description
|
553
466
|
__props__.__dict__["enable_analytics"] = enable_analytics
|
467
|
+
__props__.__dict__["index_configs"] = index_configs
|
554
468
|
if location is None and not opts.urn:
|
555
469
|
raise TypeError("Missing required property 'location'")
|
556
470
|
__props__.__dict__["location"] = location
|
@@ -575,6 +489,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
575
489
|
cmek_settings: Optional[pulumi.Input[pulumi.InputType['ProjectBucketConfigCmekSettingsArgs']]] = None,
|
576
490
|
description: Optional[pulumi.Input[str]] = None,
|
577
491
|
enable_analytics: Optional[pulumi.Input[bool]] = None,
|
492
|
+
index_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectBucketConfigIndexConfigArgs']]]]] = None,
|
578
493
|
lifecycle_state: Optional[pulumi.Input[str]] = None,
|
579
494
|
location: Optional[pulumi.Input[str]] = None,
|
580
495
|
locked: Optional[pulumi.Input[bool]] = None,
|
@@ -592,6 +507,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
592
507
|
:param pulumi.Input[pulumi.InputType['ProjectBucketConfigCmekSettingsArgs']] cmek_settings: The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. Structure is documented below.
|
593
508
|
:param pulumi.Input[str] description: Describes this bucket.
|
594
509
|
:param pulumi.Input[bool] enable_analytics: Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
|
510
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectBucketConfigIndexConfigArgs']]]] index_configs: A list of indexed fields and related configuration data. Structure is documented below.
|
595
511
|
:param pulumi.Input[str] lifecycle_state: The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
|
596
512
|
:param pulumi.Input[str] location: The location of the bucket.
|
597
513
|
:param pulumi.Input[bool] locked: Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
|
@@ -607,6 +523,7 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
607
523
|
__props__.__dict__["cmek_settings"] = cmek_settings
|
608
524
|
__props__.__dict__["description"] = description
|
609
525
|
__props__.__dict__["enable_analytics"] = enable_analytics
|
526
|
+
__props__.__dict__["index_configs"] = index_configs
|
610
527
|
__props__.__dict__["lifecycle_state"] = lifecycle_state
|
611
528
|
__props__.__dict__["location"] = location
|
612
529
|
__props__.__dict__["locked"] = locked
|
@@ -647,6 +564,14 @@ class ProjectBucketConfig(pulumi.CustomResource):
|
|
647
564
|
"""
|
648
565
|
return pulumi.get(self, "enable_analytics")
|
649
566
|
|
567
|
+
@property
|
568
|
+
@pulumi.getter(name="indexConfigs")
|
569
|
+
def index_configs(self) -> pulumi.Output[Optional[Sequence['outputs.ProjectBucketConfigIndexConfig']]]:
|
570
|
+
"""
|
571
|
+
A list of indexed fields and related configuration data. Structure is documented below.
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "index_configs")
|
574
|
+
|
650
575
|
@property
|
651
576
|
@pulumi.getter(name="lifecycleState")
|
652
577
|
def lifecycle_state(self) -> pulumi.Output[str]:
|