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
pulumi_gcp/alloydb/instance.py
CHANGED
@@ -21,6 +21,7 @@ class InstanceArgs:
|
|
21
21
|
instance_type: pulumi.Input[str],
|
22
22
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
23
23
|
availability_type: Optional[pulumi.Input[str]] = None,
|
24
|
+
client_connection_config: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']] = None,
|
24
25
|
database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
25
26
|
display_name: Optional[pulumi.Input[str]] = None,
|
26
27
|
gce_zone: Optional[pulumi.Input[str]] = None,
|
@@ -36,8 +37,15 @@ class InstanceArgs:
|
|
36
37
|
|
37
38
|
|
38
39
|
- - -
|
39
|
-
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
40
|
-
|
40
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
41
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
42
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
43
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
44
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
45
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
46
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
47
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
48
|
+
"SECONDARY"]
|
41
49
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
|
42
50
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
43
51
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -48,6 +56,8 @@ class InstanceArgs:
|
|
48
56
|
Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
|
49
57
|
can have regional availability (nodes are present in 2 or more zones in a region).'
|
50
58
|
Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
|
59
|
+
:param pulumi.Input['InstanceClientConnectionConfigArgs'] client_connection_config: Client connection specific configurations.
|
60
|
+
Structure is documented below.
|
51
61
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
|
52
62
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
|
53
63
|
:param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
@@ -68,6 +78,8 @@ class InstanceArgs:
|
|
68
78
|
pulumi.set(__self__, "annotations", annotations)
|
69
79
|
if availability_type is not None:
|
70
80
|
pulumi.set(__self__, "availability_type", availability_type)
|
81
|
+
if client_connection_config is not None:
|
82
|
+
pulumi.set(__self__, "client_connection_config", client_connection_config)
|
71
83
|
if database_flags is not None:
|
72
84
|
pulumi.set(__self__, "database_flags", database_flags)
|
73
85
|
if display_name is not None:
|
@@ -115,8 +127,15 @@ class InstanceArgs:
|
|
115
127
|
@pulumi.getter(name="instanceType")
|
116
128
|
def instance_type(self) -> pulumi.Input[str]:
|
117
129
|
"""
|
118
|
-
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
119
|
-
|
130
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
131
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
132
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
133
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
134
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
135
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
136
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
137
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
138
|
+
"SECONDARY"]
|
120
139
|
"""
|
121
140
|
return pulumi.get(self, "instance_type")
|
122
141
|
|
@@ -156,6 +175,19 @@ class InstanceArgs:
|
|
156
175
|
def availability_type(self, value: Optional[pulumi.Input[str]]):
|
157
176
|
pulumi.set(self, "availability_type", value)
|
158
177
|
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="clientConnectionConfig")
|
180
|
+
def client_connection_config(self) -> Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]:
|
181
|
+
"""
|
182
|
+
Client connection specific configurations.
|
183
|
+
Structure is documented below.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "client_connection_config")
|
186
|
+
|
187
|
+
@client_connection_config.setter
|
188
|
+
def client_connection_config(self, value: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]):
|
189
|
+
pulumi.set(self, "client_connection_config", value)
|
190
|
+
|
159
191
|
@property
|
160
192
|
@pulumi.getter(name="databaseFlags")
|
161
193
|
def database_flags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -251,6 +283,7 @@ class _InstanceState:
|
|
251
283
|
def __init__(__self__, *,
|
252
284
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
253
285
|
availability_type: Optional[pulumi.Input[str]] = None,
|
286
|
+
client_connection_config: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']] = None,
|
254
287
|
cluster: Optional[pulumi.Input[str]] = None,
|
255
288
|
create_time: Optional[pulumi.Input[str]] = None,
|
256
289
|
database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -283,6 +316,8 @@ class _InstanceState:
|
|
283
316
|
Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
|
284
317
|
can have regional availability (nodes are present in 2 or more zones in a region).'
|
285
318
|
Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
|
319
|
+
:param pulumi.Input['InstanceClientConnectionConfigArgs'] client_connection_config: Client connection specific configurations.
|
320
|
+
Structure is documented below.
|
286
321
|
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
287
322
|
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
288
323
|
:param pulumi.Input[str] create_time: Time the Instance was created in UTC.
|
@@ -290,15 +325,21 @@ class _InstanceState:
|
|
290
325
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
|
291
326
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
292
327
|
Terraform, other clients and services.
|
293
|
-
: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
|
294
|
-
clients and services.
|
328
|
+
: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.
|
295
329
|
:param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
296
330
|
:param pulumi.Input[str] instance_id: The ID of the alloydb instance.
|
297
331
|
|
298
332
|
|
299
333
|
- - -
|
300
|
-
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
301
|
-
|
334
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
335
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
336
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
337
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
338
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
339
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
340
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
341
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
342
|
+
"SECONDARY"]
|
302
343
|
:param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
|
303
344
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
304
345
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -321,6 +362,8 @@ class _InstanceState:
|
|
321
362
|
pulumi.set(__self__, "annotations", annotations)
|
322
363
|
if availability_type is not None:
|
323
364
|
pulumi.set(__self__, "availability_type", availability_type)
|
365
|
+
if client_connection_config is not None:
|
366
|
+
pulumi.set(__self__, "client_connection_config", client_connection_config)
|
324
367
|
if cluster is not None:
|
325
368
|
pulumi.set(__self__, "cluster", cluster)
|
326
369
|
if create_time is not None:
|
@@ -394,6 +437,19 @@ class _InstanceState:
|
|
394
437
|
def availability_type(self, value: Optional[pulumi.Input[str]]):
|
395
438
|
pulumi.set(self, "availability_type", value)
|
396
439
|
|
440
|
+
@property
|
441
|
+
@pulumi.getter(name="clientConnectionConfig")
|
442
|
+
def client_connection_config(self) -> Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]:
|
443
|
+
"""
|
444
|
+
Client connection specific configurations.
|
445
|
+
Structure is documented below.
|
446
|
+
"""
|
447
|
+
return pulumi.get(self, "client_connection_config")
|
448
|
+
|
449
|
+
@client_connection_config.setter
|
450
|
+
def client_connection_config(self, value: Optional[pulumi.Input['InstanceClientConnectionConfigArgs']]):
|
451
|
+
pulumi.set(self, "client_connection_config", value)
|
452
|
+
|
397
453
|
@property
|
398
454
|
@pulumi.getter
|
399
455
|
def cluster(self) -> Optional[pulumi.Input[str]]:
|
@@ -460,8 +516,7 @@ class _InstanceState:
|
|
460
516
|
@pulumi.getter(name="effectiveLabels")
|
461
517
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
462
518
|
"""
|
463
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
464
|
-
clients and services.
|
519
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
465
520
|
"""
|
466
521
|
return pulumi.get(self, "effective_labels")
|
467
522
|
|
@@ -500,8 +555,15 @@ class _InstanceState:
|
|
500
555
|
@pulumi.getter(name="instanceType")
|
501
556
|
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
502
557
|
"""
|
503
|
-
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
504
|
-
|
558
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
559
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
560
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
561
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
562
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
563
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
564
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
565
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
566
|
+
"SECONDARY"]
|
505
567
|
"""
|
506
568
|
return pulumi.get(self, "instance_type")
|
507
569
|
|
@@ -655,6 +717,7 @@ class Instance(pulumi.CustomResource):
|
|
655
717
|
opts: Optional[pulumi.ResourceOptions] = None,
|
656
718
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
657
719
|
availability_type: Optional[pulumi.Input[str]] = None,
|
720
|
+
client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
|
658
721
|
cluster: Optional[pulumi.Input[str]] = None,
|
659
722
|
database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
660
723
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -667,14 +730,6 @@ class Instance(pulumi.CustomResource):
|
|
667
730
|
read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
|
668
731
|
__props__=None):
|
669
732
|
"""
|
670
|
-
A managed alloydb cluster instance.
|
671
|
-
|
672
|
-
To get more information about Instance, see:
|
673
|
-
|
674
|
-
* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances/create)
|
675
|
-
* How-to Guides
|
676
|
-
* [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
677
|
-
|
678
733
|
## Example Usage
|
679
734
|
### Alloydb Instance Basic
|
680
735
|
|
@@ -709,10 +764,69 @@ class Instance(pulumi.CustomResource):
|
|
709
764
|
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
710
765
|
project = gcp.organizations.get_project()
|
711
766
|
```
|
767
|
+
### Alloydb Secondary Instance Basic
|
768
|
+
|
769
|
+
```python
|
770
|
+
import pulumi
|
771
|
+
import pulumi_gcp as gcp
|
772
|
+
|
773
|
+
default = gcp.compute.Network("default")
|
774
|
+
primary_cluster = gcp.alloydb.Cluster("primaryCluster",
|
775
|
+
cluster_id="alloydb-primary-cluster",
|
776
|
+
location="us-central1",
|
777
|
+
network=default.id)
|
778
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
779
|
+
address_type="INTERNAL",
|
780
|
+
purpose="VPC_PEERING",
|
781
|
+
prefix_length=16,
|
782
|
+
network=default.id)
|
783
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
784
|
+
network=default.id,
|
785
|
+
service="servicenetworking.googleapis.com",
|
786
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
787
|
+
primary_instance = gcp.alloydb.Instance("primaryInstance",
|
788
|
+
cluster=primary_cluster.name,
|
789
|
+
instance_id="alloydb-primary-instance",
|
790
|
+
instance_type="PRIMARY",
|
791
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
792
|
+
cpu_count=2,
|
793
|
+
),
|
794
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
795
|
+
secondary_cluster = gcp.alloydb.Cluster("secondaryCluster",
|
796
|
+
cluster_id="alloydb-secondary-cluster",
|
797
|
+
location="us-east1",
|
798
|
+
network=default.id,
|
799
|
+
cluster_type="SECONDARY",
|
800
|
+
continuous_backup_config=gcp.alloydb.ClusterContinuousBackupConfigArgs(
|
801
|
+
enabled=False,
|
802
|
+
),
|
803
|
+
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
804
|
+
primary_cluster_name=primary_cluster.name,
|
805
|
+
),
|
806
|
+
deletion_policy="FORCE",
|
807
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
808
|
+
secondary_instance = gcp.alloydb.Instance("secondaryInstance",
|
809
|
+
cluster=secondary_cluster.name,
|
810
|
+
instance_id="alloydb-secondary-instance",
|
811
|
+
instance_type=secondary_cluster.cluster_type,
|
812
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
813
|
+
cpu_count=2,
|
814
|
+
),
|
815
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
816
|
+
project = gcp.organizations.get_project()
|
817
|
+
```
|
712
818
|
|
713
819
|
## Import
|
714
820
|
|
715
|
-
Instance can be imported using any of these accepted formats
|
821
|
+
Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{cluster}}/{{instance_id}}` * `{{location}}/{{cluster}}/{{instance_id}}` 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 {
|
822
|
+
|
823
|
+
id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}"
|
824
|
+
|
825
|
+
to = google_alloydb_instance.default }
|
826
|
+
|
827
|
+
```sh
|
828
|
+
$ pulumi import gcp:alloydb/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
|
829
|
+
```
|
716
830
|
|
717
831
|
```sh
|
718
832
|
$ pulumi import gcp:alloydb/instance:Instance default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}
|
@@ -738,6 +852,8 @@ class Instance(pulumi.CustomResource):
|
|
738
852
|
Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
|
739
853
|
can have regional availability (nodes are present in 2 or more zones in a region).'
|
740
854
|
Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
|
855
|
+
:param pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']] client_connection_config: Client connection specific configurations.
|
856
|
+
Structure is documented below.
|
741
857
|
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
742
858
|
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
743
859
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
|
@@ -747,8 +863,15 @@ class Instance(pulumi.CustomResource):
|
|
747
863
|
|
748
864
|
|
749
865
|
- - -
|
750
|
-
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
751
|
-
|
866
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
867
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
868
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
869
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
870
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
871
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
872
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
873
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
874
|
+
"SECONDARY"]
|
752
875
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
753
876
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
754
877
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -766,14 +889,6 @@ class Instance(pulumi.CustomResource):
|
|
766
889
|
args: InstanceArgs,
|
767
890
|
opts: Optional[pulumi.ResourceOptions] = None):
|
768
891
|
"""
|
769
|
-
A managed alloydb cluster instance.
|
770
|
-
|
771
|
-
To get more information about Instance, see:
|
772
|
-
|
773
|
-
* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances/create)
|
774
|
-
* How-to Guides
|
775
|
-
* [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
776
|
-
|
777
892
|
## Example Usage
|
778
893
|
### Alloydb Instance Basic
|
779
894
|
|
@@ -808,10 +923,69 @@ class Instance(pulumi.CustomResource):
|
|
808
923
|
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
809
924
|
project = gcp.organizations.get_project()
|
810
925
|
```
|
926
|
+
### Alloydb Secondary Instance Basic
|
927
|
+
|
928
|
+
```python
|
929
|
+
import pulumi
|
930
|
+
import pulumi_gcp as gcp
|
931
|
+
|
932
|
+
default = gcp.compute.Network("default")
|
933
|
+
primary_cluster = gcp.alloydb.Cluster("primaryCluster",
|
934
|
+
cluster_id="alloydb-primary-cluster",
|
935
|
+
location="us-central1",
|
936
|
+
network=default.id)
|
937
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
938
|
+
address_type="INTERNAL",
|
939
|
+
purpose="VPC_PEERING",
|
940
|
+
prefix_length=16,
|
941
|
+
network=default.id)
|
942
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
943
|
+
network=default.id,
|
944
|
+
service="servicenetworking.googleapis.com",
|
945
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
946
|
+
primary_instance = gcp.alloydb.Instance("primaryInstance",
|
947
|
+
cluster=primary_cluster.name,
|
948
|
+
instance_id="alloydb-primary-instance",
|
949
|
+
instance_type="PRIMARY",
|
950
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
951
|
+
cpu_count=2,
|
952
|
+
),
|
953
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
954
|
+
secondary_cluster = gcp.alloydb.Cluster("secondaryCluster",
|
955
|
+
cluster_id="alloydb-secondary-cluster",
|
956
|
+
location="us-east1",
|
957
|
+
network=default.id,
|
958
|
+
cluster_type="SECONDARY",
|
959
|
+
continuous_backup_config=gcp.alloydb.ClusterContinuousBackupConfigArgs(
|
960
|
+
enabled=False,
|
961
|
+
),
|
962
|
+
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
963
|
+
primary_cluster_name=primary_cluster.name,
|
964
|
+
),
|
965
|
+
deletion_policy="FORCE",
|
966
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
967
|
+
secondary_instance = gcp.alloydb.Instance("secondaryInstance",
|
968
|
+
cluster=secondary_cluster.name,
|
969
|
+
instance_id="alloydb-secondary-instance",
|
970
|
+
instance_type=secondary_cluster.cluster_type,
|
971
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
972
|
+
cpu_count=2,
|
973
|
+
),
|
974
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
975
|
+
project = gcp.organizations.get_project()
|
976
|
+
```
|
811
977
|
|
812
978
|
## Import
|
813
979
|
|
814
|
-
Instance can be imported using any of these accepted formats
|
980
|
+
Instance can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}` * `{{project}}/{{location}}/{{cluster}}/{{instance_id}}` * `{{location}}/{{cluster}}/{{instance_id}}` 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 {
|
981
|
+
|
982
|
+
id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}"
|
983
|
+
|
984
|
+
to = google_alloydb_instance.default }
|
985
|
+
|
986
|
+
```sh
|
987
|
+
$ pulumi import gcp:alloydb/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
|
988
|
+
```
|
815
989
|
|
816
990
|
```sh
|
817
991
|
$ pulumi import gcp:alloydb/instance:Instance default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}
|
@@ -842,6 +1016,7 @@ class Instance(pulumi.CustomResource):
|
|
842
1016
|
opts: Optional[pulumi.ResourceOptions] = None,
|
843
1017
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
844
1018
|
availability_type: Optional[pulumi.Input[str]] = None,
|
1019
|
+
client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
|
845
1020
|
cluster: Optional[pulumi.Input[str]] = None,
|
846
1021
|
database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
847
1022
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -863,6 +1038,7 @@ class Instance(pulumi.CustomResource):
|
|
863
1038
|
|
864
1039
|
__props__.__dict__["annotations"] = annotations
|
865
1040
|
__props__.__dict__["availability_type"] = availability_type
|
1041
|
+
__props__.__dict__["client_connection_config"] = client_connection_config
|
866
1042
|
if cluster is None and not opts.urn:
|
867
1043
|
raise TypeError("Missing required property 'cluster'")
|
868
1044
|
__props__.__dict__["cluster"] = cluster
|
@@ -903,6 +1079,7 @@ class Instance(pulumi.CustomResource):
|
|
903
1079
|
opts: Optional[pulumi.ResourceOptions] = None,
|
904
1080
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
905
1081
|
availability_type: Optional[pulumi.Input[str]] = None,
|
1082
|
+
client_connection_config: Optional[pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']]] = None,
|
906
1083
|
cluster: Optional[pulumi.Input[str]] = None,
|
907
1084
|
create_time: Optional[pulumi.Input[str]] = None,
|
908
1085
|
database_flags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -940,6 +1117,8 @@ class Instance(pulumi.CustomResource):
|
|
940
1117
|
Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
|
941
1118
|
can have regional availability (nodes are present in 2 or more zones in a region).'
|
942
1119
|
Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
|
1120
|
+
:param pulumi.Input[pulumi.InputType['InstanceClientConnectionConfigArgs']] client_connection_config: Client connection specific configurations.
|
1121
|
+
Structure is documented below.
|
943
1122
|
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
944
1123
|
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
945
1124
|
:param pulumi.Input[str] create_time: Time the Instance was created in UTC.
|
@@ -947,15 +1126,21 @@ class Instance(pulumi.CustomResource):
|
|
947
1126
|
:param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
|
948
1127
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
|
949
1128
|
Terraform, other clients and services.
|
950
|
-
: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
|
951
|
-
clients and services.
|
1129
|
+
: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.
|
952
1130
|
:param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
|
953
1131
|
:param pulumi.Input[str] instance_id: The ID of the alloydb instance.
|
954
1132
|
|
955
1133
|
|
956
1134
|
- - -
|
957
|
-
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
958
|
-
|
1135
|
+
:param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
1136
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
1137
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
1138
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
1139
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
1140
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
1141
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
1142
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
1143
|
+
"SECONDARY"]
|
959
1144
|
:param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
|
960
1145
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
|
961
1146
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -980,6 +1165,7 @@ class Instance(pulumi.CustomResource):
|
|
980
1165
|
|
981
1166
|
__props__.__dict__["annotations"] = annotations
|
982
1167
|
__props__.__dict__["availability_type"] = availability_type
|
1168
|
+
__props__.__dict__["client_connection_config"] = client_connection_config
|
983
1169
|
__props__.__dict__["cluster"] = cluster
|
984
1170
|
__props__.__dict__["create_time"] = create_time
|
985
1171
|
__props__.__dict__["database_flags"] = database_flags
|
@@ -1026,6 +1212,15 @@ class Instance(pulumi.CustomResource):
|
|
1026
1212
|
"""
|
1027
1213
|
return pulumi.get(self, "availability_type")
|
1028
1214
|
|
1215
|
+
@property
|
1216
|
+
@pulumi.getter(name="clientConnectionConfig")
|
1217
|
+
def client_connection_config(self) -> pulumi.Output['outputs.InstanceClientConnectionConfig']:
|
1218
|
+
"""
|
1219
|
+
Client connection specific configurations.
|
1220
|
+
Structure is documented below.
|
1221
|
+
"""
|
1222
|
+
return pulumi.get(self, "client_connection_config")
|
1223
|
+
|
1029
1224
|
@property
|
1030
1225
|
@pulumi.getter
|
1031
1226
|
def cluster(self) -> pulumi.Output[str]:
|
@@ -1072,8 +1267,7 @@ class Instance(pulumi.CustomResource):
|
|
1072
1267
|
@pulumi.getter(name="effectiveLabels")
|
1073
1268
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
1074
1269
|
"""
|
1075
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
1076
|
-
clients and services.
|
1270
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
1077
1271
|
"""
|
1078
1272
|
return pulumi.get(self, "effective_labels")
|
1079
1273
|
|
@@ -1100,8 +1294,15 @@ class Instance(pulumi.CustomResource):
|
|
1100
1294
|
@pulumi.getter(name="instanceType")
|
1101
1295
|
def instance_type(self) -> pulumi.Output[str]:
|
1102
1296
|
"""
|
1103
|
-
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the
|
1104
|
-
|
1297
|
+
The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
|
1298
|
+
'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
|
1299
|
+
secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
|
1300
|
+
google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
|
1301
|
+
type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
|
1302
|
+
instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
|
1303
|
+
the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
|
1304
|
+
importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
|
1305
|
+
"SECONDARY"]
|
1105
1306
|
"""
|
1106
1307
|
return pulumi.get(self, "instance_type")
|
1107
1308
|
|
pulumi_gcp/alloydb/outputs.py
CHANGED
@@ -32,6 +32,9 @@ __all__ = [
|
|
32
32
|
'ClusterNetworkConfig',
|
33
33
|
'ClusterRestoreBackupSource',
|
34
34
|
'ClusterRestoreContinuousBackupSource',
|
35
|
+
'ClusterSecondaryConfig',
|
36
|
+
'InstanceClientConnectionConfig',
|
37
|
+
'InstanceClientConnectionConfigSslConfig',
|
35
38
|
'InstanceMachineConfig',
|
36
39
|
'InstanceQueryInsightsConfig',
|
37
40
|
'InstanceReadPoolConfig',
|
@@ -1123,6 +1126,133 @@ class ClusterRestoreContinuousBackupSource(dict):
|
|
1123
1126
|
return pulumi.get(self, "point_in_time")
|
1124
1127
|
|
1125
1128
|
|
1129
|
+
@pulumi.output_type
|
1130
|
+
class ClusterSecondaryConfig(dict):
|
1131
|
+
@staticmethod
|
1132
|
+
def __key_warning(key: str):
|
1133
|
+
suggest = None
|
1134
|
+
if key == "primaryClusterName":
|
1135
|
+
suggest = "primary_cluster_name"
|
1136
|
+
|
1137
|
+
if suggest:
|
1138
|
+
pulumi.log.warn(f"Key '{key}' not found in ClusterSecondaryConfig. Access the value via the '{suggest}' property getter instead.")
|
1139
|
+
|
1140
|
+
def __getitem__(self, key: str) -> Any:
|
1141
|
+
ClusterSecondaryConfig.__key_warning(key)
|
1142
|
+
return super().__getitem__(key)
|
1143
|
+
|
1144
|
+
def get(self, key: str, default = None) -> Any:
|
1145
|
+
ClusterSecondaryConfig.__key_warning(key)
|
1146
|
+
return super().get(key, default)
|
1147
|
+
|
1148
|
+
def __init__(__self__, *,
|
1149
|
+
primary_cluster_name: str):
|
1150
|
+
"""
|
1151
|
+
:param str primary_cluster_name: Name of the primary cluster must be in the format
|
1152
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
1153
|
+
"""
|
1154
|
+
pulumi.set(__self__, "primary_cluster_name", primary_cluster_name)
|
1155
|
+
|
1156
|
+
@property
|
1157
|
+
@pulumi.getter(name="primaryClusterName")
|
1158
|
+
def primary_cluster_name(self) -> str:
|
1159
|
+
"""
|
1160
|
+
Name of the primary cluster must be in the format
|
1161
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
1162
|
+
"""
|
1163
|
+
return pulumi.get(self, "primary_cluster_name")
|
1164
|
+
|
1165
|
+
|
1166
|
+
@pulumi.output_type
|
1167
|
+
class InstanceClientConnectionConfig(dict):
|
1168
|
+
@staticmethod
|
1169
|
+
def __key_warning(key: str):
|
1170
|
+
suggest = None
|
1171
|
+
if key == "requireConnectors":
|
1172
|
+
suggest = "require_connectors"
|
1173
|
+
elif key == "sslConfig":
|
1174
|
+
suggest = "ssl_config"
|
1175
|
+
|
1176
|
+
if suggest:
|
1177
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceClientConnectionConfig. Access the value via the '{suggest}' property getter instead.")
|
1178
|
+
|
1179
|
+
def __getitem__(self, key: str) -> Any:
|
1180
|
+
InstanceClientConnectionConfig.__key_warning(key)
|
1181
|
+
return super().__getitem__(key)
|
1182
|
+
|
1183
|
+
def get(self, key: str, default = None) -> Any:
|
1184
|
+
InstanceClientConnectionConfig.__key_warning(key)
|
1185
|
+
return super().get(key, default)
|
1186
|
+
|
1187
|
+
def __init__(__self__, *,
|
1188
|
+
require_connectors: Optional[bool] = None,
|
1189
|
+
ssl_config: Optional['outputs.InstanceClientConnectionConfigSslConfig'] = None):
|
1190
|
+
"""
|
1191
|
+
:param bool require_connectors: Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
|
1192
|
+
:param 'InstanceClientConnectionConfigSslConfigArgs' ssl_config: SSL config option for this instance.
|
1193
|
+
Structure is documented below.
|
1194
|
+
"""
|
1195
|
+
if require_connectors is not None:
|
1196
|
+
pulumi.set(__self__, "require_connectors", require_connectors)
|
1197
|
+
if ssl_config is not None:
|
1198
|
+
pulumi.set(__self__, "ssl_config", ssl_config)
|
1199
|
+
|
1200
|
+
@property
|
1201
|
+
@pulumi.getter(name="requireConnectors")
|
1202
|
+
def require_connectors(self) -> Optional[bool]:
|
1203
|
+
"""
|
1204
|
+
Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
|
1205
|
+
"""
|
1206
|
+
return pulumi.get(self, "require_connectors")
|
1207
|
+
|
1208
|
+
@property
|
1209
|
+
@pulumi.getter(name="sslConfig")
|
1210
|
+
def ssl_config(self) -> Optional['outputs.InstanceClientConnectionConfigSslConfig']:
|
1211
|
+
"""
|
1212
|
+
SSL config option for this instance.
|
1213
|
+
Structure is documented below.
|
1214
|
+
"""
|
1215
|
+
return pulumi.get(self, "ssl_config")
|
1216
|
+
|
1217
|
+
|
1218
|
+
@pulumi.output_type
|
1219
|
+
class InstanceClientConnectionConfigSslConfig(dict):
|
1220
|
+
@staticmethod
|
1221
|
+
def __key_warning(key: str):
|
1222
|
+
suggest = None
|
1223
|
+
if key == "sslMode":
|
1224
|
+
suggest = "ssl_mode"
|
1225
|
+
|
1226
|
+
if suggest:
|
1227
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceClientConnectionConfigSslConfig. Access the value via the '{suggest}' property getter instead.")
|
1228
|
+
|
1229
|
+
def __getitem__(self, key: str) -> Any:
|
1230
|
+
InstanceClientConnectionConfigSslConfig.__key_warning(key)
|
1231
|
+
return super().__getitem__(key)
|
1232
|
+
|
1233
|
+
def get(self, key: str, default = None) -> Any:
|
1234
|
+
InstanceClientConnectionConfigSslConfig.__key_warning(key)
|
1235
|
+
return super().get(key, default)
|
1236
|
+
|
1237
|
+
def __init__(__self__, *,
|
1238
|
+
ssl_mode: Optional[str] = None):
|
1239
|
+
"""
|
1240
|
+
:param str ssl_mode: SSL mode. Specifies client-server SSL/TLS connection behavior.
|
1241
|
+
Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
|
1242
|
+
"""
|
1243
|
+
if ssl_mode is not None:
|
1244
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
1245
|
+
|
1246
|
+
@property
|
1247
|
+
@pulumi.getter(name="sslMode")
|
1248
|
+
def ssl_mode(self) -> Optional[str]:
|
1249
|
+
"""
|
1250
|
+
SSL mode. Specifies client-server SSL/TLS connection behavior.
|
1251
|
+
Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
|
1252
|
+
"""
|
1253
|
+
return pulumi.get(self, "ssl_mode")
|
1254
|
+
|
1255
|
+
|
1126
1256
|
@pulumi.output_type
|
1127
1257
|
class InstanceMachineConfig(dict):
|
1128
1258
|
@staticmethod
|