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
@@ -280,28 +280,20 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
280
280
|
|
281
281
|
## Import
|
282
282
|
|
283
|
-
|
283
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Database resource in question. For example* `{{project}}/{{instance}}/{{database}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
284
284
|
|
285
|
-
|
286
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy database "project-name/instance-name/database-name roles/viewer user:foo@example.com"
|
287
|
-
```
|
285
|
+
id = {{project}}/{{instance}}/{{database}}
|
288
286
|
|
289
|
-
|
287
|
+
to = google_spanner_database_iam_policy.default }
|
290
288
|
|
291
289
|
```sh
|
292
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy
|
290
|
+
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
293
291
|
```
|
294
292
|
|
295
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
296
|
-
|
297
293
|
```sh
|
298
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy
|
294
|
+
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy default {{project}}/{{instance}}/{{database}}
|
299
295
|
```
|
300
296
|
|
301
|
-
-> **Custom Roles:** If you're importing a IAM resource with a custom role, make sure to use the
|
302
|
-
|
303
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
304
|
-
|
305
297
|
:param str resource_name: The name of the resource.
|
306
298
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
307
299
|
:param pulumi.Input[str] database: The name of the Spanner database.
|
@@ -384,28 +376,20 @@ class DatabaseIAMPolicy(pulumi.CustomResource):
|
|
384
376
|
|
385
377
|
## Import
|
386
378
|
|
387
|
-
|
379
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Database resource in question. For example* `{{project}}/{{instance}}/{{database}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
388
380
|
|
389
|
-
|
390
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy database "project-name/instance-name/database-name roles/viewer user:foo@example.com"
|
391
|
-
```
|
381
|
+
id = {{project}}/{{instance}}/{{database}}
|
392
382
|
|
393
|
-
|
383
|
+
to = google_spanner_database_iam_policy.default }
|
394
384
|
|
395
385
|
```sh
|
396
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy
|
386
|
+
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
397
387
|
```
|
398
388
|
|
399
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
400
|
-
|
401
389
|
```sh
|
402
|
-
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy
|
390
|
+
$ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy default {{project}}/{{instance}}/{{database}}
|
403
391
|
```
|
404
392
|
|
405
|
-
-> **Custom Roles:** If you're importing a IAM resource with a custom role, make sure to use the
|
406
|
-
|
407
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
408
|
-
|
409
393
|
:param str resource_name: The name of the resource.
|
410
394
|
:param DatabaseIAMPolicyArgs args: The arguments to use to populate this resource's properties.
|
411
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -8,6 +8,7 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
+
from . import outputs
|
11
12
|
|
12
13
|
__all__ = [
|
13
14
|
'GetInstanceResult',
|
@@ -21,7 +22,10 @@ class GetInstanceResult:
|
|
21
22
|
"""
|
22
23
|
A collection of values returned by getInstance.
|
23
24
|
"""
|
24
|
-
def __init__(__self__, config=None, display_name=None, effective_labels=None, force_destroy=None, id=None, labels=None, name=None, num_nodes=None, processing_units=None, project=None, pulumi_labels=None, state=None):
|
25
|
+
def __init__(__self__, autoscaling_configs=None, config=None, display_name=None, effective_labels=None, force_destroy=None, id=None, labels=None, name=None, num_nodes=None, processing_units=None, project=None, pulumi_labels=None, state=None):
|
26
|
+
if autoscaling_configs and not isinstance(autoscaling_configs, list):
|
27
|
+
raise TypeError("Expected argument 'autoscaling_configs' to be a list")
|
28
|
+
pulumi.set(__self__, "autoscaling_configs", autoscaling_configs)
|
25
29
|
if config and not isinstance(config, str):
|
26
30
|
raise TypeError("Expected argument 'config' to be a str")
|
27
31
|
pulumi.set(__self__, "config", config)
|
@@ -59,6 +63,11 @@ class GetInstanceResult:
|
|
59
63
|
raise TypeError("Expected argument 'state' to be a str")
|
60
64
|
pulumi.set(__self__, "state", state)
|
61
65
|
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="autoscalingConfigs")
|
68
|
+
def autoscaling_configs(self) -> Sequence['outputs.GetInstanceAutoscalingConfigResult']:
|
69
|
+
return pulumi.get(self, "autoscaling_configs")
|
70
|
+
|
62
71
|
@property
|
63
72
|
@pulumi.getter
|
64
73
|
def config(self) -> Optional[str]:
|
@@ -129,6 +138,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
129
138
|
if False:
|
130
139
|
yield self
|
131
140
|
return GetInstanceResult(
|
141
|
+
autoscaling_configs=self.autoscaling_configs,
|
132
142
|
config=self.config,
|
133
143
|
display_name=self.display_name,
|
134
144
|
effective_labels=self.effective_labels,
|
@@ -176,6 +186,7 @@ def get_instance(config: Optional[str] = None,
|
|
176
186
|
__ret__ = pulumi.runtime.invoke('gcp:spanner/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
|
177
187
|
|
178
188
|
return AwaitableGetInstanceResult(
|
189
|
+
autoscaling_configs=pulumi.get(__ret__, 'autoscaling_configs'),
|
179
190
|
config=pulumi.get(__ret__, 'config'),
|
180
191
|
display_name=pulumi.get(__ret__, 'display_name'),
|
181
192
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
pulumi_gcp/spanner/instance.py
CHANGED
@@ -8,6 +8,8 @@ import pulumi
|
|
8
8
|
import pulumi.runtime
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
10
|
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
11
13
|
|
12
14
|
__all__ = ['InstanceArgs', 'Instance']
|
13
15
|
|
@@ -16,6 +18,7 @@ class InstanceArgs:
|
|
16
18
|
def __init__(__self__, *,
|
17
19
|
config: pulumi.Input[str],
|
18
20
|
display_name: pulumi.Input[str],
|
21
|
+
autoscaling_config: Optional[pulumi.Input['InstanceAutoscalingConfigArgs']] = None,
|
19
22
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
20
23
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
24
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -35,6 +38,11 @@ class InstanceArgs:
|
|
35
38
|
|
36
39
|
|
37
40
|
- - -
|
41
|
+
:param pulumi.Input['InstanceAutoscalingConfigArgs'] autoscaling_config: The autoscaling configuration. Autoscaling is enabled if this field is set.
|
42
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
43
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
44
|
+
the instance.
|
45
|
+
Structure is documented below.
|
38
46
|
:param pulumi.Input[bool] force_destroy: When deleting a spanner instance, this boolean option will delete all backups of this instance.
|
39
47
|
This must be set to true if you created a backup manually in the console.
|
40
48
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: An object containing a list of "key": value pairs.
|
@@ -56,6 +64,8 @@ class InstanceArgs:
|
|
56
64
|
"""
|
57
65
|
pulumi.set(__self__, "config", config)
|
58
66
|
pulumi.set(__self__, "display_name", display_name)
|
67
|
+
if autoscaling_config is not None:
|
68
|
+
pulumi.set(__self__, "autoscaling_config", autoscaling_config)
|
59
69
|
if force_destroy is not None:
|
60
70
|
pulumi.set(__self__, "force_destroy", force_destroy)
|
61
71
|
if labels is not None:
|
@@ -102,6 +112,22 @@ class InstanceArgs:
|
|
102
112
|
def display_name(self, value: pulumi.Input[str]):
|
103
113
|
pulumi.set(self, "display_name", value)
|
104
114
|
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="autoscalingConfig")
|
117
|
+
def autoscaling_config(self) -> Optional[pulumi.Input['InstanceAutoscalingConfigArgs']]:
|
118
|
+
"""
|
119
|
+
The autoscaling configuration. Autoscaling is enabled if this field is set.
|
120
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
121
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
122
|
+
the instance.
|
123
|
+
Structure is documented below.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "autoscaling_config")
|
126
|
+
|
127
|
+
@autoscaling_config.setter
|
128
|
+
def autoscaling_config(self, value: Optional[pulumi.Input['InstanceAutoscalingConfigArgs']]):
|
129
|
+
pulumi.set(self, "autoscaling_config", value)
|
130
|
+
|
105
131
|
@property
|
106
132
|
@pulumi.getter(name="forceDestroy")
|
107
133
|
def force_destroy(self) -> Optional[pulumi.Input[bool]]:
|
@@ -190,6 +216,7 @@ class InstanceArgs:
|
|
190
216
|
@pulumi.input_type
|
191
217
|
class _InstanceState:
|
192
218
|
def __init__(__self__, *,
|
219
|
+
autoscaling_config: Optional[pulumi.Input['InstanceAutoscalingConfigArgs']] = None,
|
193
220
|
config: Optional[pulumi.Input[str]] = None,
|
194
221
|
display_name: Optional[pulumi.Input[str]] = None,
|
195
222
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -203,6 +230,11 @@ class _InstanceState:
|
|
203
230
|
state: Optional[pulumi.Input[str]] = None):
|
204
231
|
"""
|
205
232
|
Input properties used for looking up and filtering Instance resources.
|
233
|
+
:param pulumi.Input['InstanceAutoscalingConfigArgs'] autoscaling_config: The autoscaling configuration. Autoscaling is enabled if this field is set.
|
234
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
235
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
236
|
+
the instance.
|
237
|
+
Structure is documented below.
|
206
238
|
:param pulumi.Input[str] config: The name of the instance's configuration (similar but not
|
207
239
|
quite the same as a region) which defines the geographic placement and
|
208
240
|
replication of your databases in this instance. It determines where your data
|
@@ -214,8 +246,7 @@ class _InstanceState:
|
|
214
246
|
|
215
247
|
|
216
248
|
- - -
|
217
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
218
|
-
clients and services.
|
249
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
219
250
|
:param pulumi.Input[bool] force_destroy: When deleting a spanner instance, this boolean option will delete all backups of this instance.
|
220
251
|
This must be set to true if you created a backup manually in the console.
|
221
252
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: An object containing a list of "key": value pairs.
|
@@ -238,6 +269,8 @@ class _InstanceState:
|
|
238
269
|
and default labels configured on the provider.
|
239
270
|
:param pulumi.Input[str] state: Instance status: `CREATING` or `READY`.
|
240
271
|
"""
|
272
|
+
if autoscaling_config is not None:
|
273
|
+
pulumi.set(__self__, "autoscaling_config", autoscaling_config)
|
241
274
|
if config is not None:
|
242
275
|
pulumi.set(__self__, "config", config)
|
243
276
|
if display_name is not None:
|
@@ -261,6 +294,22 @@ class _InstanceState:
|
|
261
294
|
if state is not None:
|
262
295
|
pulumi.set(__self__, "state", state)
|
263
296
|
|
297
|
+
@property
|
298
|
+
@pulumi.getter(name="autoscalingConfig")
|
299
|
+
def autoscaling_config(self) -> Optional[pulumi.Input['InstanceAutoscalingConfigArgs']]:
|
300
|
+
"""
|
301
|
+
The autoscaling configuration. Autoscaling is enabled if this field is set.
|
302
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
303
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
304
|
+
the instance.
|
305
|
+
Structure is documented below.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "autoscaling_config")
|
308
|
+
|
309
|
+
@autoscaling_config.setter
|
310
|
+
def autoscaling_config(self, value: Optional[pulumi.Input['InstanceAutoscalingConfigArgs']]):
|
311
|
+
pulumi.set(self, "autoscaling_config", value)
|
312
|
+
|
264
313
|
@property
|
265
314
|
@pulumi.getter
|
266
315
|
def config(self) -> Optional[pulumi.Input[str]]:
|
@@ -298,8 +347,7 @@ class _InstanceState:
|
|
298
347
|
@pulumi.getter(name="effectiveLabels")
|
299
348
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
300
349
|
"""
|
301
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
302
|
-
clients and services.
|
350
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
303
351
|
"""
|
304
352
|
return pulumi.get(self, "effective_labels")
|
305
353
|
|
@@ -422,6 +470,7 @@ class Instance(pulumi.CustomResource):
|
|
422
470
|
def __init__(__self__,
|
423
471
|
resource_name: str,
|
424
472
|
opts: Optional[pulumi.ResourceOptions] = None,
|
473
|
+
autoscaling_config: Optional[pulumi.Input[pulumi.InputType['InstanceAutoscalingConfigArgs']]] = None,
|
425
474
|
config: Optional[pulumi.Input[str]] = None,
|
426
475
|
display_name: Optional[pulumi.Input[str]] = None,
|
427
476
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
@@ -487,7 +536,15 @@ class Instance(pulumi.CustomResource):
|
|
487
536
|
|
488
537
|
## Import
|
489
538
|
|
490
|
-
Instance can be imported using any of these accepted formats
|
539
|
+
Instance can be imported using any of these accepted formats* `projects/{{project}}/instances/{{name}}` * `{{project}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
|
540
|
+
|
541
|
+
id = "projects/{{project}}/instances/{{name}}"
|
542
|
+
|
543
|
+
to = google_spanner_instance.default }
|
544
|
+
|
545
|
+
```sh
|
546
|
+
$ pulumi import gcp:spanner/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
|
547
|
+
```
|
491
548
|
|
492
549
|
```sh
|
493
550
|
$ pulumi import gcp:spanner/instance:Instance default projects/{{project}}/instances/{{name}}
|
@@ -503,6 +560,11 @@ class Instance(pulumi.CustomResource):
|
|
503
560
|
|
504
561
|
:param str resource_name: The name of the resource.
|
505
562
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
563
|
+
:param pulumi.Input[pulumi.InputType['InstanceAutoscalingConfigArgs']] autoscaling_config: The autoscaling configuration. Autoscaling is enabled if this field is set.
|
564
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
565
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
566
|
+
the instance.
|
567
|
+
Structure is documented below.
|
506
568
|
:param pulumi.Input[str] config: The name of the instance's configuration (similar but not
|
507
569
|
quite the same as a region) which defines the geographic placement and
|
508
570
|
replication of your databases in this instance. It determines where your data
|
@@ -595,7 +657,15 @@ class Instance(pulumi.CustomResource):
|
|
595
657
|
|
596
658
|
## Import
|
597
659
|
|
598
|
-
Instance can be imported using any of these accepted formats
|
660
|
+
Instance can be imported using any of these accepted formats* `projects/{{project}}/instances/{{name}}` * `{{project}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Instance using one of the formats above. For exampletf import {
|
661
|
+
|
662
|
+
id = "projects/{{project}}/instances/{{name}}"
|
663
|
+
|
664
|
+
to = google_spanner_instance.default }
|
665
|
+
|
666
|
+
```sh
|
667
|
+
$ pulumi import gcp:spanner/instance:Instance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Instance can be imported using one of the formats above. For example
|
668
|
+
```
|
599
669
|
|
600
670
|
```sh
|
601
671
|
$ pulumi import gcp:spanner/instance:Instance default projects/{{project}}/instances/{{name}}
|
@@ -624,6 +694,7 @@ class Instance(pulumi.CustomResource):
|
|
624
694
|
def _internal_init(__self__,
|
625
695
|
resource_name: str,
|
626
696
|
opts: Optional[pulumi.ResourceOptions] = None,
|
697
|
+
autoscaling_config: Optional[pulumi.Input[pulumi.InputType['InstanceAutoscalingConfigArgs']]] = None,
|
627
698
|
config: Optional[pulumi.Input[str]] = None,
|
628
699
|
display_name: Optional[pulumi.Input[str]] = None,
|
629
700
|
force_destroy: Optional[pulumi.Input[bool]] = None,
|
@@ -641,6 +712,7 @@ class Instance(pulumi.CustomResource):
|
|
641
712
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
642
713
|
__props__ = InstanceArgs.__new__(InstanceArgs)
|
643
714
|
|
715
|
+
__props__.__dict__["autoscaling_config"] = autoscaling_config
|
644
716
|
if config is None and not opts.urn:
|
645
717
|
raise TypeError("Missing required property 'config'")
|
646
718
|
__props__.__dict__["config"] = config
|
@@ -668,6 +740,7 @@ class Instance(pulumi.CustomResource):
|
|
668
740
|
def get(resource_name: str,
|
669
741
|
id: pulumi.Input[str],
|
670
742
|
opts: Optional[pulumi.ResourceOptions] = None,
|
743
|
+
autoscaling_config: Optional[pulumi.Input[pulumi.InputType['InstanceAutoscalingConfigArgs']]] = None,
|
671
744
|
config: Optional[pulumi.Input[str]] = None,
|
672
745
|
display_name: Optional[pulumi.Input[str]] = None,
|
673
746
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -686,6 +759,11 @@ class Instance(pulumi.CustomResource):
|
|
686
759
|
:param str resource_name: The unique name of the resulting resource.
|
687
760
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
688
761
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
762
|
+
:param pulumi.Input[pulumi.InputType['InstanceAutoscalingConfigArgs']] autoscaling_config: The autoscaling configuration. Autoscaling is enabled if this field is set.
|
763
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
764
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
765
|
+
the instance.
|
766
|
+
Structure is documented below.
|
689
767
|
:param pulumi.Input[str] config: The name of the instance's configuration (similar but not
|
690
768
|
quite the same as a region) which defines the geographic placement and
|
691
769
|
replication of your databases in this instance. It determines where your data
|
@@ -697,8 +775,7 @@ class Instance(pulumi.CustomResource):
|
|
697
775
|
|
698
776
|
|
699
777
|
- - -
|
700
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
701
|
-
clients and services.
|
778
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
702
779
|
:param pulumi.Input[bool] force_destroy: When deleting a spanner instance, this boolean option will delete all backups of this instance.
|
703
780
|
This must be set to true if you created a backup manually in the console.
|
704
781
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: An object containing a list of "key": value pairs.
|
@@ -725,6 +802,7 @@ class Instance(pulumi.CustomResource):
|
|
725
802
|
|
726
803
|
__props__ = _InstanceState.__new__(_InstanceState)
|
727
804
|
|
805
|
+
__props__.__dict__["autoscaling_config"] = autoscaling_config
|
728
806
|
__props__.__dict__["config"] = config
|
729
807
|
__props__.__dict__["display_name"] = display_name
|
730
808
|
__props__.__dict__["effective_labels"] = effective_labels
|
@@ -738,6 +816,18 @@ class Instance(pulumi.CustomResource):
|
|
738
816
|
__props__.__dict__["state"] = state
|
739
817
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
740
818
|
|
819
|
+
@property
|
820
|
+
@pulumi.getter(name="autoscalingConfig")
|
821
|
+
def autoscaling_config(self) -> pulumi.Output[Optional['outputs.InstanceAutoscalingConfig']]:
|
822
|
+
"""
|
823
|
+
The autoscaling configuration. Autoscaling is enabled if this field is set.
|
824
|
+
When autoscaling is enabled, num_nodes and processing_units are treated as,
|
825
|
+
OUTPUT_ONLY fields and reflect the current compute capacity allocated to
|
826
|
+
the instance.
|
827
|
+
Structure is documented below.
|
828
|
+
"""
|
829
|
+
return pulumi.get(self, "autoscaling_config")
|
830
|
+
|
741
831
|
@property
|
742
832
|
@pulumi.getter
|
743
833
|
def config(self) -> pulumi.Output[str]:
|
@@ -767,8 +857,7 @@ class Instance(pulumi.CustomResource):
|
|
767
857
|
@pulumi.getter(name="effectiveLabels")
|
768
858
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
769
859
|
"""
|
770
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
771
|
-
clients and services.
|
860
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
772
861
|
"""
|
773
862
|
return pulumi.get(self, "effective_labels")
|
774
863
|
|
@@ -300,28 +300,20 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
300
300
|
|
301
301
|
## Import
|
302
302
|
|
303
|
-
|
303
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
304
304
|
|
305
|
-
|
306
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding instance "project-name/instance-name roles/viewer user:foo@example.com"
|
307
|
-
```
|
305
|
+
id = {{project}}/{{instance}}
|
308
306
|
|
309
|
-
|
307
|
+
to = google_spanner_instance_iam_policy.default }
|
310
308
|
|
311
309
|
```sh
|
312
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding
|
310
|
+
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
313
311
|
```
|
314
312
|
|
315
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
316
|
-
|
317
313
|
```sh
|
318
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding
|
314
|
+
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding default {{project}}/{{instance}}
|
319
315
|
```
|
320
316
|
|
321
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
322
|
-
|
323
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
324
|
-
|
325
317
|
:param str resource_name: The name of the resource.
|
326
318
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
327
319
|
:param pulumi.Input[str] instance: The name of the instance.
|
@@ -401,28 +393,20 @@ class InstanceIAMBinding(pulumi.CustomResource):
|
|
401
393
|
|
402
394
|
## Import
|
403
395
|
|
404
|
-
|
396
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
405
397
|
|
406
|
-
|
407
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding instance "project-name/instance-name roles/viewer user:foo@example.com"
|
408
|
-
```
|
398
|
+
id = {{project}}/{{instance}}
|
409
399
|
|
410
|
-
|
400
|
+
to = google_spanner_instance_iam_policy.default }
|
411
401
|
|
412
402
|
```sh
|
413
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding
|
403
|
+
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
414
404
|
```
|
415
405
|
|
416
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
417
|
-
|
418
406
|
```sh
|
419
|
-
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding
|
407
|
+
$ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding default {{project}}/{{instance}}
|
420
408
|
```
|
421
409
|
|
422
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
423
|
-
|
424
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
425
|
-
|
426
410
|
:param str resource_name: The name of the resource.
|
427
411
|
:param InstanceIAMBindingArgs args: The arguments to use to populate this resource's properties.
|
428
412
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -300,28 +300,20 @@ class InstanceIAMMember(pulumi.CustomResource):
|
|
300
300
|
|
301
301
|
## Import
|
302
302
|
|
303
|
-
|
303
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
304
304
|
|
305
|
-
|
306
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember instance "project-name/instance-name roles/viewer user:foo@example.com"
|
307
|
-
```
|
305
|
+
id = {{project}}/{{instance}}
|
308
306
|
|
309
|
-
|
307
|
+
to = google_spanner_instance_iam_policy.default }
|
310
308
|
|
311
309
|
```sh
|
312
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember
|
310
|
+
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
313
311
|
```
|
314
312
|
|
315
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
316
|
-
|
317
313
|
```sh
|
318
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember
|
314
|
+
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember default {{project}}/{{instance}}
|
319
315
|
```
|
320
316
|
|
321
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
322
|
-
|
323
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
324
|
-
|
325
317
|
:param str resource_name: The name of the resource.
|
326
318
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
327
319
|
:param pulumi.Input[str] instance: The name of the instance.
|
@@ -401,28 +393,20 @@ class InstanceIAMMember(pulumi.CustomResource):
|
|
401
393
|
|
402
394
|
## Import
|
403
395
|
|
404
|
-
|
396
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
405
397
|
|
406
|
-
|
407
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember instance "project-name/instance-name roles/viewer user:foo@example.com"
|
408
|
-
```
|
398
|
+
id = {{project}}/{{instance}}
|
409
399
|
|
410
|
-
|
400
|
+
to = google_spanner_instance_iam_policy.default }
|
411
401
|
|
412
402
|
```sh
|
413
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember
|
403
|
+
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
414
404
|
```
|
415
405
|
|
416
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
417
|
-
|
418
406
|
```sh
|
419
|
-
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember
|
407
|
+
$ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember default {{project}}/{{instance}}
|
420
408
|
```
|
421
409
|
|
422
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
423
|
-
|
424
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
425
|
-
|
426
410
|
:param str resource_name: The name of the resource.
|
427
411
|
:param InstanceIAMMemberArgs args: The arguments to use to populate this resource's properties.
|
428
412
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -245,28 +245,20 @@ class InstanceIAMPolicy(pulumi.CustomResource):
|
|
245
245
|
|
246
246
|
## Import
|
247
247
|
|
248
|
-
|
248
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
249
249
|
|
250
|
-
|
251
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy instance "project-name/instance-name roles/viewer user:foo@example.com"
|
252
|
-
```
|
250
|
+
id = {{project}}/{{instance}}
|
253
251
|
|
254
|
-
|
252
|
+
to = google_spanner_instance_iam_policy.default }
|
255
253
|
|
256
254
|
```sh
|
257
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy
|
255
|
+
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
258
256
|
```
|
259
257
|
|
260
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
261
|
-
|
262
258
|
```sh
|
263
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy
|
259
|
+
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy default {{project}}/{{instance}}
|
264
260
|
```
|
265
261
|
|
266
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
267
|
-
|
268
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
269
|
-
|
270
262
|
:param str resource_name: The name of the resource.
|
271
263
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
272
264
|
:param pulumi.Input[str] instance: The name of the instance.
|
@@ -345,28 +337,20 @@ class InstanceIAMPolicy(pulumi.CustomResource):
|
|
345
337
|
|
346
338
|
## Import
|
347
339
|
|
348
|
-
|
340
|
+
### Importing IAM policies IAM policy imports use the identifier of the Spanner Instances resource . For example* `{{project}}/{{instance}}` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import IAM policiestf import {
|
349
341
|
|
350
|
-
|
351
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy instance "project-name/instance-name roles/viewer user:foo@example.com"
|
352
|
-
```
|
342
|
+
id = {{project}}/{{instance}}
|
353
343
|
|
354
|
-
|
344
|
+
to = google_spanner_instance_iam_policy.default }
|
355
345
|
|
356
346
|
```sh
|
357
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy
|
347
|
+
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
358
348
|
```
|
359
349
|
|
360
|
-
IAM policy imports use the identifier of the resource in question, e.g.
|
361
|
-
|
362
350
|
```sh
|
363
|
-
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy
|
351
|
+
$ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy default {{project}}/{{instance}}
|
364
352
|
```
|
365
353
|
|
366
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
367
|
-
|
368
|
-
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
369
|
-
|
370
354
|
:param str resource_name: The name of the resource.
|
371
355
|
:param InstanceIAMPolicyArgs args: The arguments to use to populate this resource's properties.
|
372
356
|
:param pulumi.ResourceOptions opts: Options for the resource.
|