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/spanner/outputs.py
CHANGED
@@ -8,13 +8,20 @@ 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
|
'DatabaseEncryptionConfig',
|
14
15
|
'DatabaseIAMBindingCondition',
|
15
16
|
'DatabaseIAMMemberCondition',
|
17
|
+
'InstanceAutoscalingConfig',
|
18
|
+
'InstanceAutoscalingConfigAutoscalingLimits',
|
19
|
+
'InstanceAutoscalingConfigAutoscalingTargets',
|
16
20
|
'InstanceIAMBindingCondition',
|
17
21
|
'InstanceIAMMemberCondition',
|
22
|
+
'GetInstanceAutoscalingConfigResult',
|
23
|
+
'GetInstanceAutoscalingConfigAutoscalingLimitResult',
|
24
|
+
'GetInstanceAutoscalingConfigAutoscalingTargetResult',
|
18
25
|
]
|
19
26
|
|
20
27
|
@pulumi.output_type
|
@@ -108,6 +115,178 @@ class DatabaseIAMMemberCondition(dict):
|
|
108
115
|
return pulumi.get(self, "description")
|
109
116
|
|
110
117
|
|
118
|
+
@pulumi.output_type
|
119
|
+
class InstanceAutoscalingConfig(dict):
|
120
|
+
@staticmethod
|
121
|
+
def __key_warning(key: str):
|
122
|
+
suggest = None
|
123
|
+
if key == "autoscalingLimits":
|
124
|
+
suggest = "autoscaling_limits"
|
125
|
+
elif key == "autoscalingTargets":
|
126
|
+
suggest = "autoscaling_targets"
|
127
|
+
|
128
|
+
if suggest:
|
129
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceAutoscalingConfig. Access the value via the '{suggest}' property getter instead.")
|
130
|
+
|
131
|
+
def __getitem__(self, key: str) -> Any:
|
132
|
+
InstanceAutoscalingConfig.__key_warning(key)
|
133
|
+
return super().__getitem__(key)
|
134
|
+
|
135
|
+
def get(self, key: str, default = None) -> Any:
|
136
|
+
InstanceAutoscalingConfig.__key_warning(key)
|
137
|
+
return super().get(key, default)
|
138
|
+
|
139
|
+
def __init__(__self__, *,
|
140
|
+
autoscaling_limits: Optional['outputs.InstanceAutoscalingConfigAutoscalingLimits'] = None,
|
141
|
+
autoscaling_targets: Optional['outputs.InstanceAutoscalingConfigAutoscalingTargets'] = None):
|
142
|
+
"""
|
143
|
+
:param 'InstanceAutoscalingConfigAutoscalingLimitsArgs' autoscaling_limits: Defines scale in controls to reduce the risk of response latency
|
144
|
+
and outages due to abrupt scale-in events
|
145
|
+
Structure is documented below.
|
146
|
+
:param 'InstanceAutoscalingConfigAutoscalingTargetsArgs' autoscaling_targets: Defines scale in controls to reduce the risk of response latency
|
147
|
+
and outages due to abrupt scale-in events
|
148
|
+
Structure is documented below.
|
149
|
+
"""
|
150
|
+
if autoscaling_limits is not None:
|
151
|
+
pulumi.set(__self__, "autoscaling_limits", autoscaling_limits)
|
152
|
+
if autoscaling_targets is not None:
|
153
|
+
pulumi.set(__self__, "autoscaling_targets", autoscaling_targets)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter(name="autoscalingLimits")
|
157
|
+
def autoscaling_limits(self) -> Optional['outputs.InstanceAutoscalingConfigAutoscalingLimits']:
|
158
|
+
"""
|
159
|
+
Defines scale in controls to reduce the risk of response latency
|
160
|
+
and outages due to abrupt scale-in events
|
161
|
+
Structure is documented below.
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "autoscaling_limits")
|
164
|
+
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="autoscalingTargets")
|
167
|
+
def autoscaling_targets(self) -> Optional['outputs.InstanceAutoscalingConfigAutoscalingTargets']:
|
168
|
+
"""
|
169
|
+
Defines scale in controls to reduce the risk of response latency
|
170
|
+
and outages due to abrupt scale-in events
|
171
|
+
Structure is documented below.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "autoscaling_targets")
|
174
|
+
|
175
|
+
|
176
|
+
@pulumi.output_type
|
177
|
+
class InstanceAutoscalingConfigAutoscalingLimits(dict):
|
178
|
+
@staticmethod
|
179
|
+
def __key_warning(key: str):
|
180
|
+
suggest = None
|
181
|
+
if key == "maxProcessingUnits":
|
182
|
+
suggest = "max_processing_units"
|
183
|
+
elif key == "minProcessingUnits":
|
184
|
+
suggest = "min_processing_units"
|
185
|
+
|
186
|
+
if suggest:
|
187
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceAutoscalingConfigAutoscalingLimits. Access the value via the '{suggest}' property getter instead.")
|
188
|
+
|
189
|
+
def __getitem__(self, key: str) -> Any:
|
190
|
+
InstanceAutoscalingConfigAutoscalingLimits.__key_warning(key)
|
191
|
+
return super().__getitem__(key)
|
192
|
+
|
193
|
+
def get(self, key: str, default = None) -> Any:
|
194
|
+
InstanceAutoscalingConfigAutoscalingLimits.__key_warning(key)
|
195
|
+
return super().get(key, default)
|
196
|
+
|
197
|
+
def __init__(__self__, *,
|
198
|
+
max_processing_units: Optional[int] = None,
|
199
|
+
min_processing_units: Optional[int] = None):
|
200
|
+
"""
|
201
|
+
:param int max_processing_units: Specifies maximum number of processing units allocated to the instance.
|
202
|
+
If set, this number should be multiples of 1000 and be greater than or equal to
|
203
|
+
min_processing_units.
|
204
|
+
:param int min_processing_units: Specifies minimum number of processing units allocated to the instance.
|
205
|
+
If set, this number should be multiples of 1000.
|
206
|
+
"""
|
207
|
+
if max_processing_units is not None:
|
208
|
+
pulumi.set(__self__, "max_processing_units", max_processing_units)
|
209
|
+
if min_processing_units is not None:
|
210
|
+
pulumi.set(__self__, "min_processing_units", min_processing_units)
|
211
|
+
|
212
|
+
@property
|
213
|
+
@pulumi.getter(name="maxProcessingUnits")
|
214
|
+
def max_processing_units(self) -> Optional[int]:
|
215
|
+
"""
|
216
|
+
Specifies maximum number of processing units allocated to the instance.
|
217
|
+
If set, this number should be multiples of 1000 and be greater than or equal to
|
218
|
+
min_processing_units.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "max_processing_units")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter(name="minProcessingUnits")
|
224
|
+
def min_processing_units(self) -> Optional[int]:
|
225
|
+
"""
|
226
|
+
Specifies minimum number of processing units allocated to the instance.
|
227
|
+
If set, this number should be multiples of 1000.
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "min_processing_units")
|
230
|
+
|
231
|
+
|
232
|
+
@pulumi.output_type
|
233
|
+
class InstanceAutoscalingConfigAutoscalingTargets(dict):
|
234
|
+
@staticmethod
|
235
|
+
def __key_warning(key: str):
|
236
|
+
suggest = None
|
237
|
+
if key == "highPriorityCpuUtilizationPercent":
|
238
|
+
suggest = "high_priority_cpu_utilization_percent"
|
239
|
+
elif key == "storageUtilizationPercent":
|
240
|
+
suggest = "storage_utilization_percent"
|
241
|
+
|
242
|
+
if suggest:
|
243
|
+
pulumi.log.warn(f"Key '{key}' not found in InstanceAutoscalingConfigAutoscalingTargets. Access the value via the '{suggest}' property getter instead.")
|
244
|
+
|
245
|
+
def __getitem__(self, key: str) -> Any:
|
246
|
+
InstanceAutoscalingConfigAutoscalingTargets.__key_warning(key)
|
247
|
+
return super().__getitem__(key)
|
248
|
+
|
249
|
+
def get(self, key: str, default = None) -> Any:
|
250
|
+
InstanceAutoscalingConfigAutoscalingTargets.__key_warning(key)
|
251
|
+
return super().get(key, default)
|
252
|
+
|
253
|
+
def __init__(__self__, *,
|
254
|
+
high_priority_cpu_utilization_percent: Optional[int] = None,
|
255
|
+
storage_utilization_percent: Optional[int] = None):
|
256
|
+
"""
|
257
|
+
:param int high_priority_cpu_utilization_percent: Specifies the target high priority cpu utilization percentage that the autoscaler
|
258
|
+
should be trying to achieve for the instance.
|
259
|
+
This number is on a scale from 0 (no utilization) to 100 (full utilization)..
|
260
|
+
:param int storage_utilization_percent: Specifies the target storage utilization percentage that the autoscaler
|
261
|
+
should be trying to achieve for the instance.
|
262
|
+
This number is on a scale from 0 (no utilization) to 100 (full utilization).
|
263
|
+
"""
|
264
|
+
if high_priority_cpu_utilization_percent is not None:
|
265
|
+
pulumi.set(__self__, "high_priority_cpu_utilization_percent", high_priority_cpu_utilization_percent)
|
266
|
+
if storage_utilization_percent is not None:
|
267
|
+
pulumi.set(__self__, "storage_utilization_percent", storage_utilization_percent)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter(name="highPriorityCpuUtilizationPercent")
|
271
|
+
def high_priority_cpu_utilization_percent(self) -> Optional[int]:
|
272
|
+
"""
|
273
|
+
Specifies the target high priority cpu utilization percentage that the autoscaler
|
274
|
+
should be trying to achieve for the instance.
|
275
|
+
This number is on a scale from 0 (no utilization) to 100 (full utilization)..
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "high_priority_cpu_utilization_percent")
|
278
|
+
|
279
|
+
@property
|
280
|
+
@pulumi.getter(name="storageUtilizationPercent")
|
281
|
+
def storage_utilization_percent(self) -> Optional[int]:
|
282
|
+
"""
|
283
|
+
Specifies the target storage utilization percentage that the autoscaler
|
284
|
+
should be trying to achieve for the instance.
|
285
|
+
This number is on a scale from 0 (no utilization) to 100 (full utilization).
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "storage_utilization_percent")
|
288
|
+
|
289
|
+
|
111
290
|
@pulumi.output_type
|
112
291
|
class InstanceIAMBindingCondition(dict):
|
113
292
|
def __init__(__self__, *,
|
@@ -162,3 +341,60 @@ class InstanceIAMMemberCondition(dict):
|
|
162
341
|
return pulumi.get(self, "description")
|
163
342
|
|
164
343
|
|
344
|
+
@pulumi.output_type
|
345
|
+
class GetInstanceAutoscalingConfigResult(dict):
|
346
|
+
def __init__(__self__, *,
|
347
|
+
autoscaling_limits: Sequence['outputs.GetInstanceAutoscalingConfigAutoscalingLimitResult'],
|
348
|
+
autoscaling_targets: Sequence['outputs.GetInstanceAutoscalingConfigAutoscalingTargetResult']):
|
349
|
+
pulumi.set(__self__, "autoscaling_limits", autoscaling_limits)
|
350
|
+
pulumi.set(__self__, "autoscaling_targets", autoscaling_targets)
|
351
|
+
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="autoscalingLimits")
|
354
|
+
def autoscaling_limits(self) -> Sequence['outputs.GetInstanceAutoscalingConfigAutoscalingLimitResult']:
|
355
|
+
return pulumi.get(self, "autoscaling_limits")
|
356
|
+
|
357
|
+
@property
|
358
|
+
@pulumi.getter(name="autoscalingTargets")
|
359
|
+
def autoscaling_targets(self) -> Sequence['outputs.GetInstanceAutoscalingConfigAutoscalingTargetResult']:
|
360
|
+
return pulumi.get(self, "autoscaling_targets")
|
361
|
+
|
362
|
+
|
363
|
+
@pulumi.output_type
|
364
|
+
class GetInstanceAutoscalingConfigAutoscalingLimitResult(dict):
|
365
|
+
def __init__(__self__, *,
|
366
|
+
max_processing_units: int,
|
367
|
+
min_processing_units: int):
|
368
|
+
pulumi.set(__self__, "max_processing_units", max_processing_units)
|
369
|
+
pulumi.set(__self__, "min_processing_units", min_processing_units)
|
370
|
+
|
371
|
+
@property
|
372
|
+
@pulumi.getter(name="maxProcessingUnits")
|
373
|
+
def max_processing_units(self) -> int:
|
374
|
+
return pulumi.get(self, "max_processing_units")
|
375
|
+
|
376
|
+
@property
|
377
|
+
@pulumi.getter(name="minProcessingUnits")
|
378
|
+
def min_processing_units(self) -> int:
|
379
|
+
return pulumi.get(self, "min_processing_units")
|
380
|
+
|
381
|
+
|
382
|
+
@pulumi.output_type
|
383
|
+
class GetInstanceAutoscalingConfigAutoscalingTargetResult(dict):
|
384
|
+
def __init__(__self__, *,
|
385
|
+
high_priority_cpu_utilization_percent: int,
|
386
|
+
storage_utilization_percent: int):
|
387
|
+
pulumi.set(__self__, "high_priority_cpu_utilization_percent", high_priority_cpu_utilization_percent)
|
388
|
+
pulumi.set(__self__, "storage_utilization_percent", storage_utilization_percent)
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="highPriorityCpuUtilizationPercent")
|
392
|
+
def high_priority_cpu_utilization_percent(self) -> int:
|
393
|
+
return pulumi.get(self, "high_priority_cpu_utilization_percent")
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="storageUtilizationPercent")
|
397
|
+
def storage_utilization_percent(self) -> int:
|
398
|
+
return pulumi.get(self, "storage_utilization_percent")
|
399
|
+
|
400
|
+
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1114,8 +1114,7 @@ class DatabaseInstanceSettingsDataCacheConfigArgs:
|
|
1114
1114
|
def __init__(__self__, *,
|
1115
1115
|
data_cache_enabled: Optional[pulumi.Input[bool]] = None):
|
1116
1116
|
"""
|
1117
|
-
:param pulumi.Input[bool] data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `false
|
1118
|
-
Can only be used with MYSQL.
|
1117
|
+
:param pulumi.Input[bool] data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
|
1119
1118
|
"""
|
1120
1119
|
if data_cache_enabled is not None:
|
1121
1120
|
pulumi.set(__self__, "data_cache_enabled", data_cache_enabled)
|
@@ -1124,8 +1123,7 @@ class DatabaseInstanceSettingsDataCacheConfigArgs:
|
|
1124
1123
|
@pulumi.getter(name="dataCacheEnabled")
|
1125
1124
|
def data_cache_enabled(self) -> Optional[pulumi.Input[bool]]:
|
1126
1125
|
"""
|
1127
|
-
Whether data cache is enabled for the instance. Defaults to `false
|
1128
|
-
Can only be used with MYSQL.
|
1126
|
+
Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
|
1129
1127
|
"""
|
1130
1128
|
return pulumi.get(self, "data_cache_enabled")
|
1131
1129
|
|
@@ -1323,7 +1321,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1323
1321
|
ipv4_enabled: Optional[pulumi.Input[bool]] = None,
|
1324
1322
|
private_network: Optional[pulumi.Input[str]] = None,
|
1325
1323
|
psc_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]]] = None,
|
1326
|
-
require_ssl: Optional[pulumi.Input[bool]] = None
|
1324
|
+
require_ssl: Optional[pulumi.Input[bool]] = None,
|
1325
|
+
ssl_mode: Optional[pulumi.Input[str]] = None):
|
1327
1326
|
"""
|
1328
1327
|
:param pulumi.Input[str] allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
|
1329
1328
|
:param pulumi.Input[bool] enable_private_path_for_google_cloud_services: Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
|
@@ -1335,7 +1334,11 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1335
1334
|
Specifying a network enables private IP.
|
1336
1335
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1337
1336
|
This setting can be updated, but it cannot be removed after it is set.
|
1338
|
-
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not.
|
1337
|
+
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1338
|
+
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1339
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1340
|
+
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1341
|
+
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1339
1342
|
"""
|
1340
1343
|
if allocated_ip_range is not None:
|
1341
1344
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
@@ -1351,6 +1354,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1351
1354
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
1352
1355
|
if require_ssl is not None:
|
1353
1356
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
1357
|
+
if ssl_mode is not None:
|
1358
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
1354
1359
|
|
1355
1360
|
@property
|
1356
1361
|
@pulumi.getter(name="allocatedIpRange")
|
@@ -1428,7 +1433,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1428
1433
|
@pulumi.getter(name="requireSsl")
|
1429
1434
|
def require_ssl(self) -> Optional[pulumi.Input[bool]]:
|
1430
1435
|
"""
|
1431
|
-
Whether SSL connections over IP are enforced or not.
|
1436
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1432
1437
|
"""
|
1433
1438
|
return pulumi.get(self, "require_ssl")
|
1434
1439
|
|
@@ -1436,6 +1441,21 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1436
1441
|
def require_ssl(self, value: Optional[pulumi.Input[bool]]):
|
1437
1442
|
pulumi.set(self, "require_ssl", value)
|
1438
1443
|
|
1444
|
+
@property
|
1445
|
+
@pulumi.getter(name="sslMode")
|
1446
|
+
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1447
|
+
"""
|
1448
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1449
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1450
|
+
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1451
|
+
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1452
|
+
"""
|
1453
|
+
return pulumi.get(self, "ssl_mode")
|
1454
|
+
|
1455
|
+
@ssl_mode.setter
|
1456
|
+
def ssl_mode(self, value: Optional[pulumi.Input[str]]):
|
1457
|
+
pulumi.set(self, "ssl_mode", value)
|
1458
|
+
|
1439
1459
|
|
1440
1460
|
@pulumi.input_type
|
1441
1461
|
class DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs:
|
pulumi_gcp/sql/database.py
CHANGED
@@ -356,7 +356,15 @@ class Database(pulumi.CustomResource):
|
|
356
356
|
|
357
357
|
## Import
|
358
358
|
|
359
|
-
Database can be imported using any of these accepted formats
|
359
|
+
Database can be imported using any of these accepted formats* `projects/{{project}}/instances/{{instance}}/databases/{{name}}` * `instances/{{instance}}/databases/{{name}}` * `{{project}}/{{instance}}/{{name}}` * `{{instance}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Database using one of the formats above. For exampletf import {
|
360
|
+
|
361
|
+
id = "projects/{{project}}/instances/{{instance}}/databases/{{name}}"
|
362
|
+
|
363
|
+
to = google_sql_database.default }
|
364
|
+
|
365
|
+
```sh
|
366
|
+
$ pulumi import gcp:sql/database:Database When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Database can be imported using one of the formats above. For example
|
367
|
+
```
|
360
368
|
|
361
369
|
```sh
|
362
370
|
$ pulumi import gcp:sql/database:Database default projects/{{project}}/instances/{{instance}}/databases/{{name}}
|
@@ -452,7 +460,15 @@ class Database(pulumi.CustomResource):
|
|
452
460
|
|
453
461
|
## Import
|
454
462
|
|
455
|
-
Database can be imported using any of these accepted formats
|
463
|
+
Database can be imported using any of these accepted formats* `projects/{{project}}/instances/{{instance}}/databases/{{name}}` * `instances/{{instance}}/databases/{{name}}` * `{{project}}/{{instance}}/{{name}}` * `{{instance}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Database using one of the formats above. For exampletf import {
|
464
|
+
|
465
|
+
id = "projects/{{project}}/instances/{{instance}}/databases/{{name}}"
|
466
|
+
|
467
|
+
to = google_sql_database.default }
|
468
|
+
|
469
|
+
```sh
|
470
|
+
$ pulumi import gcp:sql/database:Database When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Database can be imported using one of the formats above. For example
|
471
|
+
```
|
456
472
|
|
457
473
|
```sh
|
458
474
|
$ pulumi import gcp:sql/database:Database default projects/{{project}}/instances/{{instance}}/databases/{{name}}
|
@@ -877,18 +877,26 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
877
877
|
|
878
878
|
## Import
|
879
879
|
|
880
|
-
Database instances can be imported using one of any of these accepted formats
|
880
|
+
Database instances can be imported using one of 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 Database instances using one of the formats above. For exampletf import {
|
881
|
+
|
882
|
+
id = "projects/{{project}}/instances/{{name}}"
|
883
|
+
|
884
|
+
to = google_sql_database_instance.default }
|
885
|
+
|
886
|
+
```sh
|
887
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Database instances can be imported using one of the formats above. For example
|
888
|
+
```
|
881
889
|
|
882
890
|
```sh
|
883
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
891
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default projects/{{project}}/instances/{{name}}
|
884
892
|
```
|
885
893
|
|
886
894
|
```sh
|
887
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
895
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default {{project}}/{{name}}
|
888
896
|
```
|
889
897
|
|
890
898
|
```sh
|
891
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
899
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default {{name}}
|
892
900
|
```
|
893
901
|
|
894
902
|
config and set on the server. When importing, double-check that your config has all the fields set that you expect- just seeing no diff isn't sufficient to know that your config could reproduce the imported resource.
|
@@ -1029,18 +1037,26 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1029
1037
|
|
1030
1038
|
## Import
|
1031
1039
|
|
1032
|
-
Database instances can be imported using one of any of these accepted formats
|
1040
|
+
Database instances can be imported using one of 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 Database instances using one of the formats above. For exampletf import {
|
1041
|
+
|
1042
|
+
id = "projects/{{project}}/instances/{{name}}"
|
1043
|
+
|
1044
|
+
to = google_sql_database_instance.default }
|
1045
|
+
|
1046
|
+
```sh
|
1047
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Database instances can be imported using one of the formats above. For example
|
1048
|
+
```
|
1033
1049
|
|
1034
1050
|
```sh
|
1035
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
1051
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default projects/{{project}}/instances/{{name}}
|
1036
1052
|
```
|
1037
1053
|
|
1038
1054
|
```sh
|
1039
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
1055
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default {{project}}/{{name}}
|
1040
1056
|
```
|
1041
1057
|
|
1042
1058
|
```sh
|
1043
|
-
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance
|
1059
|
+
$ pulumi import gcp:sql/databaseInstance:DatabaseInstance default {{name}}
|
1044
1060
|
```
|
1045
1061
|
|
1046
1062
|
config and set on the server. When importing, double-check that your config has all the fields set that you expect- just seeing no diff isn't sufficient to know that your config could reproduce the imported resource.
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1159,8 +1159,7 @@ class DatabaseInstanceSettingsDataCacheConfig(dict):
|
|
1159
1159
|
def __init__(__self__, *,
|
1160
1160
|
data_cache_enabled: Optional[bool] = None):
|
1161
1161
|
"""
|
1162
|
-
:param bool data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `false
|
1163
|
-
Can only be used with MYSQL.
|
1162
|
+
:param bool data_cache_enabled: Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
|
1164
1163
|
"""
|
1165
1164
|
if data_cache_enabled is not None:
|
1166
1165
|
pulumi.set(__self__, "data_cache_enabled", data_cache_enabled)
|
@@ -1169,8 +1168,7 @@ class DatabaseInstanceSettingsDataCacheConfig(dict):
|
|
1169
1168
|
@pulumi.getter(name="dataCacheEnabled")
|
1170
1169
|
def data_cache_enabled(self) -> Optional[bool]:
|
1171
1170
|
"""
|
1172
|
-
Whether data cache is enabled for the instance. Defaults to `false
|
1173
|
-
Can only be used with MYSQL.
|
1171
|
+
Whether data cache is enabled for the instance. Defaults to `false`. Can be used with MYSQL and PostgreSQL only.
|
1174
1172
|
"""
|
1175
1173
|
return pulumi.get(self, "data_cache_enabled")
|
1176
1174
|
|
@@ -1378,6 +1376,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1378
1376
|
suggest = "psc_configs"
|
1379
1377
|
elif key == "requireSsl":
|
1380
1378
|
suggest = "require_ssl"
|
1379
|
+
elif key == "sslMode":
|
1380
|
+
suggest = "ssl_mode"
|
1381
1381
|
|
1382
1382
|
if suggest:
|
1383
1383
|
pulumi.log.warn(f"Key '{key}' not found in DatabaseInstanceSettingsIpConfiguration. Access the value via the '{suggest}' property getter instead.")
|
@@ -1397,7 +1397,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1397
1397
|
ipv4_enabled: Optional[bool] = None,
|
1398
1398
|
private_network: Optional[str] = None,
|
1399
1399
|
psc_configs: Optional[Sequence['outputs.DatabaseInstanceSettingsIpConfigurationPscConfig']] = None,
|
1400
|
-
require_ssl: Optional[bool] = None
|
1400
|
+
require_ssl: Optional[bool] = None,
|
1401
|
+
ssl_mode: Optional[str] = None):
|
1401
1402
|
"""
|
1402
1403
|
:param str allocated_ip_range: The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
|
1403
1404
|
:param bool enable_private_path_for_google_cloud_services: Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
|
@@ -1409,7 +1410,11 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1409
1410
|
Specifying a network enables private IP.
|
1410
1411
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1411
1412
|
This setting can be updated, but it cannot be removed after it is set.
|
1412
|
-
:param bool require_ssl: Whether SSL connections over IP are enforced or not.
|
1413
|
+
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1414
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1415
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1416
|
+
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1417
|
+
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1413
1418
|
"""
|
1414
1419
|
if allocated_ip_range is not None:
|
1415
1420
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
@@ -1425,6 +1430,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1425
1430
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
1426
1431
|
if require_ssl is not None:
|
1427
1432
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
1433
|
+
if ssl_mode is not None:
|
1434
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
1428
1435
|
|
1429
1436
|
@property
|
1430
1437
|
@pulumi.getter(name="allocatedIpRange")
|
@@ -1478,10 +1485,21 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1478
1485
|
@pulumi.getter(name="requireSsl")
|
1479
1486
|
def require_ssl(self) -> Optional[bool]:
|
1480
1487
|
"""
|
1481
|
-
Whether SSL connections over IP are enforced or not.
|
1488
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1482
1489
|
"""
|
1483
1490
|
return pulumi.get(self, "require_ssl")
|
1484
1491
|
|
1492
|
+
@property
|
1493
|
+
@pulumi.getter(name="sslMode")
|
1494
|
+
def ssl_mode(self) -> Optional[str]:
|
1495
|
+
"""
|
1496
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1497
|
+
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1498
|
+
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1499
|
+
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
1500
|
+
"""
|
1501
|
+
return pulumi.get(self, "ssl_mode")
|
1502
|
+
|
1485
1503
|
|
1486
1504
|
@pulumi.output_type
|
1487
1505
|
class DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork(dict):
|
@@ -2766,7 +2784,8 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
2766
2784
|
ipv4_enabled: bool,
|
2767
2785
|
private_network: str,
|
2768
2786
|
psc_configs: Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationPscConfigResult'],
|
2769
|
-
require_ssl: bool
|
2787
|
+
require_ssl: bool,
|
2788
|
+
ssl_mode: str):
|
2770
2789
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
2771
2790
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
2772
2791
|
pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
|
@@ -2774,6 +2793,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
2774
2793
|
pulumi.set(__self__, "private_network", private_network)
|
2775
2794
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
2776
2795
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
2796
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
2777
2797
|
|
2778
2798
|
@property
|
2779
2799
|
@pulumi.getter(name="allocatedIpRange")
|
@@ -2810,6 +2830,11 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
2810
2830
|
def require_ssl(self) -> bool:
|
2811
2831
|
return pulumi.get(self, "require_ssl")
|
2812
2832
|
|
2833
|
+
@property
|
2834
|
+
@pulumi.getter(name="sslMode")
|
2835
|
+
def ssl_mode(self) -> str:
|
2836
|
+
return pulumi.get(self, "ssl_mode")
|
2837
|
+
|
2813
2838
|
|
2814
2839
|
@pulumi.output_type
|
2815
2840
|
class GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkResult(dict):
|
@@ -3804,7 +3829,8 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
3804
3829
|
ipv4_enabled: bool,
|
3805
3830
|
private_network: str,
|
3806
3831
|
psc_configs: Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigResult'],
|
3807
|
-
require_ssl: bool
|
3832
|
+
require_ssl: bool,
|
3833
|
+
ssl_mode: str):
|
3808
3834
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
3809
3835
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
3810
3836
|
pulumi.set(__self__, "enable_private_path_for_google_cloud_services", enable_private_path_for_google_cloud_services)
|
@@ -3812,6 +3838,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
3812
3838
|
pulumi.set(__self__, "private_network", private_network)
|
3813
3839
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
3814
3840
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
3841
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
3815
3842
|
|
3816
3843
|
@property
|
3817
3844
|
@pulumi.getter(name="allocatedIpRange")
|
@@ -3848,6 +3875,11 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
3848
3875
|
def require_ssl(self) -> bool:
|
3849
3876
|
return pulumi.get(self, "require_ssl")
|
3850
3877
|
|
3878
|
+
@property
|
3879
|
+
@pulumi.getter(name="sslMode")
|
3880
|
+
def ssl_mode(self) -> str:
|
3881
|
+
return pulumi.get(self, "ssl_mode")
|
3882
|
+
|
3851
3883
|
|
3852
3884
|
@pulumi.output_type
|
3853
3885
|
class GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetworkResult(dict):
|