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
@@ -0,0 +1,609 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['UserArgs', 'User']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class UserArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
cluster: pulumi.Input[str],
|
18
|
+
user_id: pulumi.Input[str],
|
19
|
+
user_type: pulumi.Input[str],
|
20
|
+
database_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
21
|
+
password: Optional[pulumi.Input[str]] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a User resource.
|
24
|
+
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
25
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
26
|
+
:param pulumi.Input[str] user_id: The database role name of the user.
|
27
|
+
:param pulumi.Input[str] user_type: The type of this user.
|
28
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
29
|
+
|
30
|
+
|
31
|
+
- - -
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
33
|
+
:param pulumi.Input[str] password: Password for this database user.
|
34
|
+
"""
|
35
|
+
pulumi.set(__self__, "cluster", cluster)
|
36
|
+
pulumi.set(__self__, "user_id", user_id)
|
37
|
+
pulumi.set(__self__, "user_type", user_type)
|
38
|
+
if database_roles is not None:
|
39
|
+
pulumi.set(__self__, "database_roles", database_roles)
|
40
|
+
if password is not None:
|
41
|
+
pulumi.set(__self__, "password", password)
|
42
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter
|
45
|
+
def cluster(self) -> pulumi.Input[str]:
|
46
|
+
"""
|
47
|
+
Identifies the alloydb cluster. Must be in the format
|
48
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
49
|
+
"""
|
50
|
+
return pulumi.get(self, "cluster")
|
51
|
+
|
52
|
+
@cluster.setter
|
53
|
+
def cluster(self, value: pulumi.Input[str]):
|
54
|
+
pulumi.set(self, "cluster", value)
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="userId")
|
58
|
+
def user_id(self) -> pulumi.Input[str]:
|
59
|
+
"""
|
60
|
+
The database role name of the user.
|
61
|
+
"""
|
62
|
+
return pulumi.get(self, "user_id")
|
63
|
+
|
64
|
+
@user_id.setter
|
65
|
+
def user_id(self, value: pulumi.Input[str]):
|
66
|
+
pulumi.set(self, "user_id", value)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="userType")
|
70
|
+
def user_type(self) -> pulumi.Input[str]:
|
71
|
+
"""
|
72
|
+
The type of this user.
|
73
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
74
|
+
|
75
|
+
|
76
|
+
- - -
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "user_type")
|
79
|
+
|
80
|
+
@user_type.setter
|
81
|
+
def user_type(self, value: pulumi.Input[str]):
|
82
|
+
pulumi.set(self, "user_type", value)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="databaseRoles")
|
86
|
+
def database_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
87
|
+
"""
|
88
|
+
List of database roles this database user has.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "database_roles")
|
91
|
+
|
92
|
+
@database_roles.setter
|
93
|
+
def database_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
94
|
+
pulumi.set(self, "database_roles", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
Password for this database user.
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "password")
|
103
|
+
|
104
|
+
@password.setter
|
105
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
106
|
+
pulumi.set(self, "password", value)
|
107
|
+
|
108
|
+
|
109
|
+
@pulumi.input_type
|
110
|
+
class _UserState:
|
111
|
+
def __init__(__self__, *,
|
112
|
+
cluster: Optional[pulumi.Input[str]] = None,
|
113
|
+
database_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
114
|
+
name: Optional[pulumi.Input[str]] = None,
|
115
|
+
password: Optional[pulumi.Input[str]] = None,
|
116
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
117
|
+
user_type: Optional[pulumi.Input[str]] = None):
|
118
|
+
"""
|
119
|
+
Input properties used for looking up and filtering User resources.
|
120
|
+
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
121
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
122
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
123
|
+
:param pulumi.Input[str] name: Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
124
|
+
:param pulumi.Input[str] password: Password for this database user.
|
125
|
+
:param pulumi.Input[str] user_id: The database role name of the user.
|
126
|
+
:param pulumi.Input[str] user_type: The type of this user.
|
127
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
128
|
+
|
129
|
+
|
130
|
+
- - -
|
131
|
+
"""
|
132
|
+
if cluster is not None:
|
133
|
+
pulumi.set(__self__, "cluster", cluster)
|
134
|
+
if database_roles is not None:
|
135
|
+
pulumi.set(__self__, "database_roles", database_roles)
|
136
|
+
if name is not None:
|
137
|
+
pulumi.set(__self__, "name", name)
|
138
|
+
if password is not None:
|
139
|
+
pulumi.set(__self__, "password", password)
|
140
|
+
if user_id is not None:
|
141
|
+
pulumi.set(__self__, "user_id", user_id)
|
142
|
+
if user_type is not None:
|
143
|
+
pulumi.set(__self__, "user_type", user_type)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def cluster(self) -> Optional[pulumi.Input[str]]:
|
148
|
+
"""
|
149
|
+
Identifies the alloydb cluster. Must be in the format
|
150
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "cluster")
|
153
|
+
|
154
|
+
@cluster.setter
|
155
|
+
def cluster(self, value: Optional[pulumi.Input[str]]):
|
156
|
+
pulumi.set(self, "cluster", value)
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="databaseRoles")
|
160
|
+
def database_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
161
|
+
"""
|
162
|
+
List of database roles this database user has.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "database_roles")
|
165
|
+
|
166
|
+
@database_roles.setter
|
167
|
+
def database_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
168
|
+
pulumi.set(self, "database_roles", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter
|
172
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
175
|
+
"""
|
176
|
+
return pulumi.get(self, "name")
|
177
|
+
|
178
|
+
@name.setter
|
179
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
pulumi.set(self, "name", value)
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter
|
184
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
185
|
+
"""
|
186
|
+
Password for this database user.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "password")
|
189
|
+
|
190
|
+
@password.setter
|
191
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
192
|
+
pulumi.set(self, "password", value)
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="userId")
|
196
|
+
def user_id(self) -> Optional[pulumi.Input[str]]:
|
197
|
+
"""
|
198
|
+
The database role name of the user.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "user_id")
|
201
|
+
|
202
|
+
@user_id.setter
|
203
|
+
def user_id(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "user_id", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="userType")
|
208
|
+
def user_type(self) -> Optional[pulumi.Input[str]]:
|
209
|
+
"""
|
210
|
+
The type of this user.
|
211
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
212
|
+
|
213
|
+
|
214
|
+
- - -
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "user_type")
|
217
|
+
|
218
|
+
@user_type.setter
|
219
|
+
def user_type(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
pulumi.set(self, "user_type", value)
|
221
|
+
|
222
|
+
|
223
|
+
class User(pulumi.CustomResource):
|
224
|
+
@overload
|
225
|
+
def __init__(__self__,
|
226
|
+
resource_name: str,
|
227
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
228
|
+
cluster: Optional[pulumi.Input[str]] = None,
|
229
|
+
database_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
230
|
+
password: Optional[pulumi.Input[str]] = None,
|
231
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
232
|
+
user_type: Optional[pulumi.Input[str]] = None,
|
233
|
+
__props__=None):
|
234
|
+
"""
|
235
|
+
A database user in an AlloyDB cluster.
|
236
|
+
|
237
|
+
To get more information about User, see:
|
238
|
+
|
239
|
+
* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.users/create)
|
240
|
+
* How-to Guides
|
241
|
+
* [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
242
|
+
|
243
|
+
## Example Usage
|
244
|
+
### Alloydb User Builtin
|
245
|
+
|
246
|
+
```python
|
247
|
+
import pulumi
|
248
|
+
import pulumi_gcp as gcp
|
249
|
+
|
250
|
+
default_network = gcp.compute.Network("defaultNetwork")
|
251
|
+
default_cluster = gcp.alloydb.Cluster("defaultCluster",
|
252
|
+
cluster_id="alloydb-cluster",
|
253
|
+
location="us-central1",
|
254
|
+
network=default_network.id,
|
255
|
+
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
256
|
+
password="cluster_secret",
|
257
|
+
))
|
258
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
259
|
+
address_type="INTERNAL",
|
260
|
+
purpose="VPC_PEERING",
|
261
|
+
prefix_length=16,
|
262
|
+
network=default_network.id)
|
263
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
264
|
+
network=default_network.id,
|
265
|
+
service="servicenetworking.googleapis.com",
|
266
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
267
|
+
default_instance = gcp.alloydb.Instance("defaultInstance",
|
268
|
+
cluster=default_cluster.name,
|
269
|
+
instance_id="alloydb-instance",
|
270
|
+
instance_type="PRIMARY",
|
271
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
272
|
+
project = gcp.organizations.get_project()
|
273
|
+
user1 = gcp.alloydb.User("user1",
|
274
|
+
cluster=default_cluster.name,
|
275
|
+
user_id="user1",
|
276
|
+
user_type="ALLOYDB_BUILT_IN",
|
277
|
+
password="user_secret",
|
278
|
+
database_roles=["alloydbsuperuser"],
|
279
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
280
|
+
```
|
281
|
+
### Alloydb User Iam
|
282
|
+
|
283
|
+
```python
|
284
|
+
import pulumi
|
285
|
+
import pulumi_gcp as gcp
|
286
|
+
|
287
|
+
default_network = gcp.compute.Network("defaultNetwork")
|
288
|
+
default_cluster = gcp.alloydb.Cluster("defaultCluster",
|
289
|
+
cluster_id="alloydb-cluster",
|
290
|
+
location="us-central1",
|
291
|
+
network=default_network.id,
|
292
|
+
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
293
|
+
password="cluster_secret",
|
294
|
+
))
|
295
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
296
|
+
address_type="INTERNAL",
|
297
|
+
purpose="VPC_PEERING",
|
298
|
+
prefix_length=16,
|
299
|
+
network=default_network.id)
|
300
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
301
|
+
network=default_network.id,
|
302
|
+
service="servicenetworking.googleapis.com",
|
303
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
304
|
+
default_instance = gcp.alloydb.Instance("defaultInstance",
|
305
|
+
cluster=default_cluster.name,
|
306
|
+
instance_id="alloydb-instance",
|
307
|
+
instance_type="PRIMARY",
|
308
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
309
|
+
project = gcp.organizations.get_project()
|
310
|
+
user2 = gcp.alloydb.User("user2",
|
311
|
+
cluster=default_cluster.name,
|
312
|
+
user_id="user2@foo.com",
|
313
|
+
user_type="ALLOYDB_IAM_USER",
|
314
|
+
database_roles=["alloydbiamuser"],
|
315
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
316
|
+
```
|
317
|
+
|
318
|
+
## Import
|
319
|
+
|
320
|
+
User can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}` * `{{project}}/{{location}}/{{cluster}}/{{user_id}}` * `{{location}}/{{cluster}}/{{user_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import User using one of the formats above. For exampletf import {
|
321
|
+
|
322
|
+
id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}"
|
323
|
+
|
324
|
+
to = google_alloydb_user.default }
|
325
|
+
|
326
|
+
```sh
|
327
|
+
$ pulumi import gcp:alloydb/user:User When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), User can be imported using one of the formats above. For example
|
328
|
+
```
|
329
|
+
|
330
|
+
```sh
|
331
|
+
$ pulumi import gcp:alloydb/user:User default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}
|
332
|
+
```
|
333
|
+
|
334
|
+
```sh
|
335
|
+
$ pulumi import gcp:alloydb/user:User default {{project}}/{{location}}/{{cluster}}/{{user_id}}
|
336
|
+
```
|
337
|
+
|
338
|
+
```sh
|
339
|
+
$ pulumi import gcp:alloydb/user:User default {{location}}/{{cluster}}/{{user_id}}
|
340
|
+
```
|
341
|
+
|
342
|
+
:param str resource_name: The name of the resource.
|
343
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
344
|
+
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
345
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
346
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
347
|
+
:param pulumi.Input[str] password: Password for this database user.
|
348
|
+
:param pulumi.Input[str] user_id: The database role name of the user.
|
349
|
+
:param pulumi.Input[str] user_type: The type of this user.
|
350
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
351
|
+
|
352
|
+
|
353
|
+
- - -
|
354
|
+
"""
|
355
|
+
...
|
356
|
+
@overload
|
357
|
+
def __init__(__self__,
|
358
|
+
resource_name: str,
|
359
|
+
args: UserArgs,
|
360
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
361
|
+
"""
|
362
|
+
A database user in an AlloyDB cluster.
|
363
|
+
|
364
|
+
To get more information about User, see:
|
365
|
+
|
366
|
+
* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.users/create)
|
367
|
+
* How-to Guides
|
368
|
+
* [AlloyDB](https://cloud.google.com/alloydb/docs/)
|
369
|
+
|
370
|
+
## Example Usage
|
371
|
+
### Alloydb User Builtin
|
372
|
+
|
373
|
+
```python
|
374
|
+
import pulumi
|
375
|
+
import pulumi_gcp as gcp
|
376
|
+
|
377
|
+
default_network = gcp.compute.Network("defaultNetwork")
|
378
|
+
default_cluster = gcp.alloydb.Cluster("defaultCluster",
|
379
|
+
cluster_id="alloydb-cluster",
|
380
|
+
location="us-central1",
|
381
|
+
network=default_network.id,
|
382
|
+
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
383
|
+
password="cluster_secret",
|
384
|
+
))
|
385
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
386
|
+
address_type="INTERNAL",
|
387
|
+
purpose="VPC_PEERING",
|
388
|
+
prefix_length=16,
|
389
|
+
network=default_network.id)
|
390
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
391
|
+
network=default_network.id,
|
392
|
+
service="servicenetworking.googleapis.com",
|
393
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
394
|
+
default_instance = gcp.alloydb.Instance("defaultInstance",
|
395
|
+
cluster=default_cluster.name,
|
396
|
+
instance_id="alloydb-instance",
|
397
|
+
instance_type="PRIMARY",
|
398
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
399
|
+
project = gcp.organizations.get_project()
|
400
|
+
user1 = gcp.alloydb.User("user1",
|
401
|
+
cluster=default_cluster.name,
|
402
|
+
user_id="user1",
|
403
|
+
user_type="ALLOYDB_BUILT_IN",
|
404
|
+
password="user_secret",
|
405
|
+
database_roles=["alloydbsuperuser"],
|
406
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
407
|
+
```
|
408
|
+
### Alloydb User Iam
|
409
|
+
|
410
|
+
```python
|
411
|
+
import pulumi
|
412
|
+
import pulumi_gcp as gcp
|
413
|
+
|
414
|
+
default_network = gcp.compute.Network("defaultNetwork")
|
415
|
+
default_cluster = gcp.alloydb.Cluster("defaultCluster",
|
416
|
+
cluster_id="alloydb-cluster",
|
417
|
+
location="us-central1",
|
418
|
+
network=default_network.id,
|
419
|
+
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
420
|
+
password="cluster_secret",
|
421
|
+
))
|
422
|
+
private_ip_alloc = gcp.compute.GlobalAddress("privateIpAlloc",
|
423
|
+
address_type="INTERNAL",
|
424
|
+
purpose="VPC_PEERING",
|
425
|
+
prefix_length=16,
|
426
|
+
network=default_network.id)
|
427
|
+
vpc_connection = gcp.servicenetworking.Connection("vpcConnection",
|
428
|
+
network=default_network.id,
|
429
|
+
service="servicenetworking.googleapis.com",
|
430
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
431
|
+
default_instance = gcp.alloydb.Instance("defaultInstance",
|
432
|
+
cluster=default_cluster.name,
|
433
|
+
instance_id="alloydb-instance",
|
434
|
+
instance_type="PRIMARY",
|
435
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
436
|
+
project = gcp.organizations.get_project()
|
437
|
+
user2 = gcp.alloydb.User("user2",
|
438
|
+
cluster=default_cluster.name,
|
439
|
+
user_id="user2@foo.com",
|
440
|
+
user_type="ALLOYDB_IAM_USER",
|
441
|
+
database_roles=["alloydbiamuser"],
|
442
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
443
|
+
```
|
444
|
+
|
445
|
+
## Import
|
446
|
+
|
447
|
+
User can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}` * `{{project}}/{{location}}/{{cluster}}/{{user_id}}` * `{{location}}/{{cluster}}/{{user_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import User using one of the formats above. For exampletf import {
|
448
|
+
|
449
|
+
id = "projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}"
|
450
|
+
|
451
|
+
to = google_alloydb_user.default }
|
452
|
+
|
453
|
+
```sh
|
454
|
+
$ pulumi import gcp:alloydb/user:User When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), User can be imported using one of the formats above. For example
|
455
|
+
```
|
456
|
+
|
457
|
+
```sh
|
458
|
+
$ pulumi import gcp:alloydb/user:User default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}
|
459
|
+
```
|
460
|
+
|
461
|
+
```sh
|
462
|
+
$ pulumi import gcp:alloydb/user:User default {{project}}/{{location}}/{{cluster}}/{{user_id}}
|
463
|
+
```
|
464
|
+
|
465
|
+
```sh
|
466
|
+
$ pulumi import gcp:alloydb/user:User default {{location}}/{{cluster}}/{{user_id}}
|
467
|
+
```
|
468
|
+
|
469
|
+
:param str resource_name: The name of the resource.
|
470
|
+
:param UserArgs args: The arguments to use to populate this resource's properties.
|
471
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
472
|
+
"""
|
473
|
+
...
|
474
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
475
|
+
resource_args, opts = _utilities.get_resource_args_opts(UserArgs, pulumi.ResourceOptions, *args, **kwargs)
|
476
|
+
if resource_args is not None:
|
477
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
478
|
+
else:
|
479
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
480
|
+
|
481
|
+
def _internal_init(__self__,
|
482
|
+
resource_name: str,
|
483
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
484
|
+
cluster: Optional[pulumi.Input[str]] = None,
|
485
|
+
database_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
486
|
+
password: Optional[pulumi.Input[str]] = None,
|
487
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
488
|
+
user_type: Optional[pulumi.Input[str]] = None,
|
489
|
+
__props__=None):
|
490
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
491
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
492
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
493
|
+
if opts.id is None:
|
494
|
+
if __props__ is not None:
|
495
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
496
|
+
__props__ = UserArgs.__new__(UserArgs)
|
497
|
+
|
498
|
+
if cluster is None and not opts.urn:
|
499
|
+
raise TypeError("Missing required property 'cluster'")
|
500
|
+
__props__.__dict__["cluster"] = cluster
|
501
|
+
__props__.__dict__["database_roles"] = database_roles
|
502
|
+
__props__.__dict__["password"] = password
|
503
|
+
if user_id is None and not opts.urn:
|
504
|
+
raise TypeError("Missing required property 'user_id'")
|
505
|
+
__props__.__dict__["user_id"] = user_id
|
506
|
+
if user_type is None and not opts.urn:
|
507
|
+
raise TypeError("Missing required property 'user_type'")
|
508
|
+
__props__.__dict__["user_type"] = user_type
|
509
|
+
__props__.__dict__["name"] = None
|
510
|
+
super(User, __self__).__init__(
|
511
|
+
'gcp:alloydb/user:User',
|
512
|
+
resource_name,
|
513
|
+
__props__,
|
514
|
+
opts)
|
515
|
+
|
516
|
+
@staticmethod
|
517
|
+
def get(resource_name: str,
|
518
|
+
id: pulumi.Input[str],
|
519
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
520
|
+
cluster: Optional[pulumi.Input[str]] = None,
|
521
|
+
database_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
522
|
+
name: Optional[pulumi.Input[str]] = None,
|
523
|
+
password: Optional[pulumi.Input[str]] = None,
|
524
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
525
|
+
user_type: Optional[pulumi.Input[str]] = None) -> 'User':
|
526
|
+
"""
|
527
|
+
Get an existing User resource's state with the given name, id, and optional extra
|
528
|
+
properties used to qualify the lookup.
|
529
|
+
|
530
|
+
:param str resource_name: The unique name of the resulting resource.
|
531
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
532
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
533
|
+
:param pulumi.Input[str] cluster: Identifies the alloydb cluster. Must be in the format
|
534
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
535
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] database_roles: List of database roles this database user has.
|
536
|
+
:param pulumi.Input[str] name: Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
537
|
+
:param pulumi.Input[str] password: Password for this database user.
|
538
|
+
:param pulumi.Input[str] user_id: The database role name of the user.
|
539
|
+
:param pulumi.Input[str] user_type: The type of this user.
|
540
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
541
|
+
|
542
|
+
|
543
|
+
- - -
|
544
|
+
"""
|
545
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
546
|
+
|
547
|
+
__props__ = _UserState.__new__(_UserState)
|
548
|
+
|
549
|
+
__props__.__dict__["cluster"] = cluster
|
550
|
+
__props__.__dict__["database_roles"] = database_roles
|
551
|
+
__props__.__dict__["name"] = name
|
552
|
+
__props__.__dict__["password"] = password
|
553
|
+
__props__.__dict__["user_id"] = user_id
|
554
|
+
__props__.__dict__["user_type"] = user_type
|
555
|
+
return User(resource_name, opts=opts, __props__=__props__)
|
556
|
+
|
557
|
+
@property
|
558
|
+
@pulumi.getter
|
559
|
+
def cluster(self) -> pulumi.Output[str]:
|
560
|
+
"""
|
561
|
+
Identifies the alloydb cluster. Must be in the format
|
562
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
563
|
+
"""
|
564
|
+
return pulumi.get(self, "cluster")
|
565
|
+
|
566
|
+
@property
|
567
|
+
@pulumi.getter(name="databaseRoles")
|
568
|
+
def database_roles(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
569
|
+
"""
|
570
|
+
List of database roles this database user has.
|
571
|
+
"""
|
572
|
+
return pulumi.get(self, "database_roles")
|
573
|
+
|
574
|
+
@property
|
575
|
+
@pulumi.getter
|
576
|
+
def name(self) -> pulumi.Output[str]:
|
577
|
+
"""
|
578
|
+
Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
|
579
|
+
"""
|
580
|
+
return pulumi.get(self, "name")
|
581
|
+
|
582
|
+
@property
|
583
|
+
@pulumi.getter
|
584
|
+
def password(self) -> pulumi.Output[Optional[str]]:
|
585
|
+
"""
|
586
|
+
Password for this database user.
|
587
|
+
"""
|
588
|
+
return pulumi.get(self, "password")
|
589
|
+
|
590
|
+
@property
|
591
|
+
@pulumi.getter(name="userId")
|
592
|
+
def user_id(self) -> pulumi.Output[str]:
|
593
|
+
"""
|
594
|
+
The database role name of the user.
|
595
|
+
"""
|
596
|
+
return pulumi.get(self, "user_id")
|
597
|
+
|
598
|
+
@property
|
599
|
+
@pulumi.getter(name="userType")
|
600
|
+
def user_type(self) -> pulumi.Output[str]:
|
601
|
+
"""
|
602
|
+
The type of this user.
|
603
|
+
Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
|
604
|
+
|
605
|
+
|
606
|
+
- - -
|
607
|
+
"""
|
608
|
+
return pulumi.get(self, "user_type")
|
609
|
+
|
pulumi_gcp/apigateway/api.py
CHANGED
@@ -134,8 +134,7 @@ class _ApiState:
|
|
134
134
|
- - -
|
135
135
|
:param pulumi.Input[str] create_time: Creation timestamp in RFC3339 text format.
|
136
136
|
:param pulumi.Input[str] display_name: A user-visible name for the API.
|
137
|
-
: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
|
138
|
-
clients and services.
|
137
|
+
: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.
|
139
138
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata.
|
140
139
|
|
141
140
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -210,8 +209,7 @@ class _ApiState:
|
|
210
209
|
@pulumi.getter(name="effectiveLabels")
|
211
210
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
212
211
|
"""
|
213
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
214
|
-
clients and services.
|
212
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
215
213
|
"""
|
216
214
|
return pulumi.get(self, "effective_labels")
|
217
215
|
|
@@ -319,7 +317,15 @@ class Api(pulumi.CustomResource):
|
|
319
317
|
|
320
318
|
## Import
|
321
319
|
|
322
|
-
Api can be imported using any of these accepted formats
|
320
|
+
Api can be imported using any of these accepted formats* `projects/{{project}}/locations/global/apis/{{api_id}}` * `{{project}}/{{api_id}}` * `{{api_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Api using one of the formats above. For exampletf import {
|
321
|
+
|
322
|
+
id = "projects/{{project}}/locations/global/apis/{{api_id}}"
|
323
|
+
|
324
|
+
to = google_api_gateway_api.default }
|
325
|
+
|
326
|
+
```sh
|
327
|
+
$ pulumi import gcp:apigateway/api:Api When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Api can be imported using one of the formats above. For example
|
328
|
+
```
|
323
329
|
|
324
330
|
```sh
|
325
331
|
$ pulumi import gcp:apigateway/api:Api default projects/{{project}}/locations/global/apis/{{api_id}}
|
@@ -377,7 +383,15 @@ class Api(pulumi.CustomResource):
|
|
377
383
|
|
378
384
|
## Import
|
379
385
|
|
380
|
-
Api can be imported using any of these accepted formats
|
386
|
+
Api can be imported using any of these accepted formats* `projects/{{project}}/locations/global/apis/{{api_id}}` * `{{project}}/{{api_id}}` * `{{api_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Api using one of the formats above. For exampletf import {
|
387
|
+
|
388
|
+
id = "projects/{{project}}/locations/global/apis/{{api_id}}"
|
389
|
+
|
390
|
+
to = google_api_gateway_api.default }
|
391
|
+
|
392
|
+
```sh
|
393
|
+
$ pulumi import gcp:apigateway/api:Api When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Api can be imported using one of the formats above. For example
|
394
|
+
```
|
381
395
|
|
382
396
|
```sh
|
383
397
|
$ pulumi import gcp:apigateway/api:Api default projects/{{project}}/locations/global/apis/{{api_id}}
|
@@ -465,8 +479,7 @@ class Api(pulumi.CustomResource):
|
|
465
479
|
- - -
|
466
480
|
:param pulumi.Input[str] create_time: Creation timestamp in RFC3339 text format.
|
467
481
|
:param pulumi.Input[str] display_name: A user-visible name for the API.
|
468
|
-
: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
|
469
|
-
clients and services.
|
482
|
+
: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.
|
470
483
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata.
|
471
484
|
|
472
485
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -525,8 +538,7 @@ class Api(pulumi.CustomResource):
|
|
525
538
|
@pulumi.getter(name="effectiveLabels")
|
526
539
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
527
540
|
"""
|
528
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
529
|
-
clients and services.
|
541
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
530
542
|
"""
|
531
543
|
return pulumi.get(self, "effective_labels")
|
532
544
|
|