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,547 @@
|
|
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
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['BackupScheduleArgs', 'BackupSchedule']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class BackupScheduleArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
retention: pulumi.Input[str],
|
20
|
+
daily_recurrence: Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']] = None,
|
21
|
+
database: Optional[pulumi.Input[str]] = None,
|
22
|
+
project: Optional[pulumi.Input[str]] = None,
|
23
|
+
weekly_recurrence: Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a BackupSchedule resource.
|
26
|
+
:param pulumi.Input[str] retention: At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
27
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
28
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
29
|
+
|
30
|
+
|
31
|
+
- - -
|
32
|
+
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily at a specified time.
|
33
|
+
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
34
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
35
|
+
If it is not provided, the provider project is used.
|
36
|
+
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day and time.
|
37
|
+
Structure is documented below.
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "retention", retention)
|
40
|
+
if daily_recurrence is not None:
|
41
|
+
pulumi.set(__self__, "daily_recurrence", daily_recurrence)
|
42
|
+
if database is not None:
|
43
|
+
pulumi.set(__self__, "database", database)
|
44
|
+
if project is not None:
|
45
|
+
pulumi.set(__self__, "project", project)
|
46
|
+
if weekly_recurrence is not None:
|
47
|
+
pulumi.set(__self__, "weekly_recurrence", weekly_recurrence)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def retention(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
54
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
55
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
56
|
+
|
57
|
+
|
58
|
+
- - -
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "retention")
|
61
|
+
|
62
|
+
@retention.setter
|
63
|
+
def retention(self, value: pulumi.Input[str]):
|
64
|
+
pulumi.set(self, "retention", value)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="dailyRecurrence")
|
68
|
+
def daily_recurrence(self) -> Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]:
|
69
|
+
"""
|
70
|
+
For a schedule that runs daily at a specified time.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "daily_recurrence")
|
73
|
+
|
74
|
+
@daily_recurrence.setter
|
75
|
+
def daily_recurrence(self, value: Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]):
|
76
|
+
pulumi.set(self, "daily_recurrence", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def database(self) -> Optional[pulumi.Input[str]]:
|
81
|
+
"""
|
82
|
+
The Firestore database id. Defaults to `"(default)"`.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "database")
|
85
|
+
|
86
|
+
@database.setter
|
87
|
+
def database(self, value: Optional[pulumi.Input[str]]):
|
88
|
+
pulumi.set(self, "database", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The ID of the project in which the resource belongs.
|
95
|
+
If it is not provided, the provider project is used.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "project")
|
98
|
+
|
99
|
+
@project.setter
|
100
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
101
|
+
pulumi.set(self, "project", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="weeklyRecurrence")
|
105
|
+
def weekly_recurrence(self) -> Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]:
|
106
|
+
"""
|
107
|
+
For a schedule that runs weekly on a specific day and time.
|
108
|
+
Structure is documented below.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "weekly_recurrence")
|
111
|
+
|
112
|
+
@weekly_recurrence.setter
|
113
|
+
def weekly_recurrence(self, value: Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]):
|
114
|
+
pulumi.set(self, "weekly_recurrence", value)
|
115
|
+
|
116
|
+
|
117
|
+
@pulumi.input_type
|
118
|
+
class _BackupScheduleState:
|
119
|
+
def __init__(__self__, *,
|
120
|
+
daily_recurrence: Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']] = None,
|
121
|
+
database: Optional[pulumi.Input[str]] = None,
|
122
|
+
name: Optional[pulumi.Input[str]] = None,
|
123
|
+
project: Optional[pulumi.Input[str]] = None,
|
124
|
+
retention: Optional[pulumi.Input[str]] = None,
|
125
|
+
weekly_recurrence: Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']] = None):
|
126
|
+
"""
|
127
|
+
Input properties used for looking up and filtering BackupSchedule resources.
|
128
|
+
:param pulumi.Input['BackupScheduleDailyRecurrenceArgs'] daily_recurrence: For a schedule that runs daily at a specified time.
|
129
|
+
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
130
|
+
:param pulumi.Input[str] name: The unique backup schedule identifier across all locations and databases for the given project. Format:
|
131
|
+
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}
|
132
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
133
|
+
If it is not provided, the provider project is used.
|
134
|
+
:param pulumi.Input[str] retention: At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
135
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
136
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
137
|
+
|
138
|
+
|
139
|
+
- - -
|
140
|
+
:param pulumi.Input['BackupScheduleWeeklyRecurrenceArgs'] weekly_recurrence: For a schedule that runs weekly on a specific day and time.
|
141
|
+
Structure is documented below.
|
142
|
+
"""
|
143
|
+
if daily_recurrence is not None:
|
144
|
+
pulumi.set(__self__, "daily_recurrence", daily_recurrence)
|
145
|
+
if database is not None:
|
146
|
+
pulumi.set(__self__, "database", database)
|
147
|
+
if name is not None:
|
148
|
+
pulumi.set(__self__, "name", name)
|
149
|
+
if project is not None:
|
150
|
+
pulumi.set(__self__, "project", project)
|
151
|
+
if retention is not None:
|
152
|
+
pulumi.set(__self__, "retention", retention)
|
153
|
+
if weekly_recurrence is not None:
|
154
|
+
pulumi.set(__self__, "weekly_recurrence", weekly_recurrence)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="dailyRecurrence")
|
158
|
+
def daily_recurrence(self) -> Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]:
|
159
|
+
"""
|
160
|
+
For a schedule that runs daily at a specified time.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "daily_recurrence")
|
163
|
+
|
164
|
+
@daily_recurrence.setter
|
165
|
+
def daily_recurrence(self, value: Optional[pulumi.Input['BackupScheduleDailyRecurrenceArgs']]):
|
166
|
+
pulumi.set(self, "daily_recurrence", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter
|
170
|
+
def database(self) -> Optional[pulumi.Input[str]]:
|
171
|
+
"""
|
172
|
+
The Firestore database id. Defaults to `"(default)"`.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "database")
|
175
|
+
|
176
|
+
@database.setter
|
177
|
+
def database(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
pulumi.set(self, "database", value)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
183
|
+
"""
|
184
|
+
The unique backup schedule identifier across all locations and databases for the given project. Format:
|
185
|
+
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "name")
|
188
|
+
|
189
|
+
@name.setter
|
190
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
191
|
+
pulumi.set(self, "name", value)
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter
|
195
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
"""
|
197
|
+
The ID of the project in which the resource belongs.
|
198
|
+
If it is not provided, the provider project is used.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "project")
|
201
|
+
|
202
|
+
@project.setter
|
203
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
204
|
+
pulumi.set(self, "project", value)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def retention(self) -> Optional[pulumi.Input[str]]:
|
209
|
+
"""
|
210
|
+
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
211
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
212
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
213
|
+
|
214
|
+
|
215
|
+
- - -
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "retention")
|
218
|
+
|
219
|
+
@retention.setter
|
220
|
+
def retention(self, value: Optional[pulumi.Input[str]]):
|
221
|
+
pulumi.set(self, "retention", value)
|
222
|
+
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="weeklyRecurrence")
|
225
|
+
def weekly_recurrence(self) -> Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]:
|
226
|
+
"""
|
227
|
+
For a schedule that runs weekly on a specific day and time.
|
228
|
+
Structure is documented below.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "weekly_recurrence")
|
231
|
+
|
232
|
+
@weekly_recurrence.setter
|
233
|
+
def weekly_recurrence(self, value: Optional[pulumi.Input['BackupScheduleWeeklyRecurrenceArgs']]):
|
234
|
+
pulumi.set(self, "weekly_recurrence", value)
|
235
|
+
|
236
|
+
|
237
|
+
class BackupSchedule(pulumi.CustomResource):
|
238
|
+
@overload
|
239
|
+
def __init__(__self__,
|
240
|
+
resource_name: str,
|
241
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
242
|
+
daily_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']]] = None,
|
243
|
+
database: Optional[pulumi.Input[str]] = None,
|
244
|
+
project: Optional[pulumi.Input[str]] = None,
|
245
|
+
retention: Optional[pulumi.Input[str]] = None,
|
246
|
+
weekly_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']]] = None,
|
247
|
+
__props__=None):
|
248
|
+
"""
|
249
|
+
A backup schedule for a Cloud Firestore Database.
|
250
|
+
This resource is owned by the database it is backing up, and is deleted along with the database.
|
251
|
+
The actual backups are not though.
|
252
|
+
|
253
|
+
To get more information about BackupSchedule, see:
|
254
|
+
|
255
|
+
* [API documentation](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.backupSchedules)
|
256
|
+
* How-to Guides
|
257
|
+
* [Official Documentation](https://cloud.google.com/firestore/docs/backups)
|
258
|
+
|
259
|
+
> **Warning:** This resource creates a Firestore Backup Schedule on a project that already has
|
260
|
+
a Firestore database.
|
261
|
+
This resource is owned by the database it is backing up, and is deleted along
|
262
|
+
with the database. The actual backups are not though.
|
263
|
+
|
264
|
+
## Example Usage
|
265
|
+
### Firestore Backup Schedule Daily
|
266
|
+
|
267
|
+
```python
|
268
|
+
import pulumi
|
269
|
+
import pulumi_gcp as gcp
|
270
|
+
|
271
|
+
daily_backup = gcp.firestore.BackupSchedule("daily-backup",
|
272
|
+
daily_recurrence=gcp.firestore.BackupScheduleDailyRecurrenceArgs(),
|
273
|
+
project="my-project-name",
|
274
|
+
retention="604800s")
|
275
|
+
# 7 days (maximum possible value for daily backups)
|
276
|
+
```
|
277
|
+
### Firestore Backup Schedule Weekly
|
278
|
+
|
279
|
+
```python
|
280
|
+
import pulumi
|
281
|
+
import pulumi_gcp as gcp
|
282
|
+
|
283
|
+
weekly_backup = gcp.firestore.BackupSchedule("weekly-backup",
|
284
|
+
database="(default)",
|
285
|
+
project="my-project-name",
|
286
|
+
retention="8467200s",
|
287
|
+
weekly_recurrence=gcp.firestore.BackupScheduleWeeklyRecurrenceArgs(
|
288
|
+
day="SUNDAY",
|
289
|
+
))
|
290
|
+
```
|
291
|
+
|
292
|
+
## Import
|
293
|
+
|
294
|
+
BackupSchedule can be imported using any of these accepted formats* `projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}` * `{{project}}/{{database}}/{{name}}` * `{{database}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import BackupSchedule using one of the formats above. For exampletf import {
|
295
|
+
|
296
|
+
id = "projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}"
|
297
|
+
|
298
|
+
to = google_firestore_backup_schedule.default }
|
299
|
+
|
300
|
+
```sh
|
301
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), BackupSchedule can be imported using one of the formats above. For example
|
302
|
+
```
|
303
|
+
|
304
|
+
```sh
|
305
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}
|
306
|
+
```
|
307
|
+
|
308
|
+
```sh
|
309
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default {{project}}/{{database}}/{{name}}
|
310
|
+
```
|
311
|
+
|
312
|
+
```sh
|
313
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default {{database}}/{{name}}
|
314
|
+
```
|
315
|
+
|
316
|
+
:param str resource_name: The name of the resource.
|
317
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
318
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily at a specified time.
|
319
|
+
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
320
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
321
|
+
If it is not provided, the provider project is used.
|
322
|
+
:param pulumi.Input[str] retention: At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
323
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
324
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
325
|
+
|
326
|
+
|
327
|
+
- - -
|
328
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day and time.
|
329
|
+
Structure is documented below.
|
330
|
+
"""
|
331
|
+
...
|
332
|
+
@overload
|
333
|
+
def __init__(__self__,
|
334
|
+
resource_name: str,
|
335
|
+
args: BackupScheduleArgs,
|
336
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
337
|
+
"""
|
338
|
+
A backup schedule for a Cloud Firestore Database.
|
339
|
+
This resource is owned by the database it is backing up, and is deleted along with the database.
|
340
|
+
The actual backups are not though.
|
341
|
+
|
342
|
+
To get more information about BackupSchedule, see:
|
343
|
+
|
344
|
+
* [API documentation](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.backupSchedules)
|
345
|
+
* How-to Guides
|
346
|
+
* [Official Documentation](https://cloud.google.com/firestore/docs/backups)
|
347
|
+
|
348
|
+
> **Warning:** This resource creates a Firestore Backup Schedule on a project that already has
|
349
|
+
a Firestore database.
|
350
|
+
This resource is owned by the database it is backing up, and is deleted along
|
351
|
+
with the database. The actual backups are not though.
|
352
|
+
|
353
|
+
## Example Usage
|
354
|
+
### Firestore Backup Schedule Daily
|
355
|
+
|
356
|
+
```python
|
357
|
+
import pulumi
|
358
|
+
import pulumi_gcp as gcp
|
359
|
+
|
360
|
+
daily_backup = gcp.firestore.BackupSchedule("daily-backup",
|
361
|
+
daily_recurrence=gcp.firestore.BackupScheduleDailyRecurrenceArgs(),
|
362
|
+
project="my-project-name",
|
363
|
+
retention="604800s")
|
364
|
+
# 7 days (maximum possible value for daily backups)
|
365
|
+
```
|
366
|
+
### Firestore Backup Schedule Weekly
|
367
|
+
|
368
|
+
```python
|
369
|
+
import pulumi
|
370
|
+
import pulumi_gcp as gcp
|
371
|
+
|
372
|
+
weekly_backup = gcp.firestore.BackupSchedule("weekly-backup",
|
373
|
+
database="(default)",
|
374
|
+
project="my-project-name",
|
375
|
+
retention="8467200s",
|
376
|
+
weekly_recurrence=gcp.firestore.BackupScheduleWeeklyRecurrenceArgs(
|
377
|
+
day="SUNDAY",
|
378
|
+
))
|
379
|
+
```
|
380
|
+
|
381
|
+
## Import
|
382
|
+
|
383
|
+
BackupSchedule can be imported using any of these accepted formats* `projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}` * `{{project}}/{{database}}/{{name}}` * `{{database}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import BackupSchedule using one of the formats above. For exampletf import {
|
384
|
+
|
385
|
+
id = "projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}"
|
386
|
+
|
387
|
+
to = google_firestore_backup_schedule.default }
|
388
|
+
|
389
|
+
```sh
|
390
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), BackupSchedule can be imported using one of the formats above. For example
|
391
|
+
```
|
392
|
+
|
393
|
+
```sh
|
394
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default projects/{{project}}/databases/{{database}}/backupSchedules/{{name}}
|
395
|
+
```
|
396
|
+
|
397
|
+
```sh
|
398
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default {{project}}/{{database}}/{{name}}
|
399
|
+
```
|
400
|
+
|
401
|
+
```sh
|
402
|
+
$ pulumi import gcp:firestore/backupSchedule:BackupSchedule default {{database}}/{{name}}
|
403
|
+
```
|
404
|
+
|
405
|
+
:param str resource_name: The name of the resource.
|
406
|
+
:param BackupScheduleArgs args: The arguments to use to populate this resource's properties.
|
407
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
408
|
+
"""
|
409
|
+
...
|
410
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
411
|
+
resource_args, opts = _utilities.get_resource_args_opts(BackupScheduleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
412
|
+
if resource_args is not None:
|
413
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
414
|
+
else:
|
415
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
416
|
+
|
417
|
+
def _internal_init(__self__,
|
418
|
+
resource_name: str,
|
419
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
420
|
+
daily_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']]] = None,
|
421
|
+
database: Optional[pulumi.Input[str]] = None,
|
422
|
+
project: Optional[pulumi.Input[str]] = None,
|
423
|
+
retention: Optional[pulumi.Input[str]] = None,
|
424
|
+
weekly_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']]] = None,
|
425
|
+
__props__=None):
|
426
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
427
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
428
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
429
|
+
if opts.id is None:
|
430
|
+
if __props__ is not None:
|
431
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
432
|
+
__props__ = BackupScheduleArgs.__new__(BackupScheduleArgs)
|
433
|
+
|
434
|
+
__props__.__dict__["daily_recurrence"] = daily_recurrence
|
435
|
+
__props__.__dict__["database"] = database
|
436
|
+
__props__.__dict__["project"] = project
|
437
|
+
if retention is None and not opts.urn:
|
438
|
+
raise TypeError("Missing required property 'retention'")
|
439
|
+
__props__.__dict__["retention"] = retention
|
440
|
+
__props__.__dict__["weekly_recurrence"] = weekly_recurrence
|
441
|
+
__props__.__dict__["name"] = None
|
442
|
+
super(BackupSchedule, __self__).__init__(
|
443
|
+
'gcp:firestore/backupSchedule:BackupSchedule',
|
444
|
+
resource_name,
|
445
|
+
__props__,
|
446
|
+
opts)
|
447
|
+
|
448
|
+
@staticmethod
|
449
|
+
def get(resource_name: str,
|
450
|
+
id: pulumi.Input[str],
|
451
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
452
|
+
daily_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']]] = None,
|
453
|
+
database: Optional[pulumi.Input[str]] = None,
|
454
|
+
name: Optional[pulumi.Input[str]] = None,
|
455
|
+
project: Optional[pulumi.Input[str]] = None,
|
456
|
+
retention: Optional[pulumi.Input[str]] = None,
|
457
|
+
weekly_recurrence: Optional[pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']]] = None) -> 'BackupSchedule':
|
458
|
+
"""
|
459
|
+
Get an existing BackupSchedule resource's state with the given name, id, and optional extra
|
460
|
+
properties used to qualify the lookup.
|
461
|
+
|
462
|
+
:param str resource_name: The unique name of the resulting resource.
|
463
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
464
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
465
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleDailyRecurrenceArgs']] daily_recurrence: For a schedule that runs daily at a specified time.
|
466
|
+
:param pulumi.Input[str] database: The Firestore database id. Defaults to `"(default)"`.
|
467
|
+
:param pulumi.Input[str] name: The unique backup schedule identifier across all locations and databases for the given project. Format:
|
468
|
+
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}
|
469
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
470
|
+
If it is not provided, the provider project is used.
|
471
|
+
:param pulumi.Input[str] retention: At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
472
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
473
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
474
|
+
|
475
|
+
|
476
|
+
- - -
|
477
|
+
:param pulumi.Input[pulumi.InputType['BackupScheduleWeeklyRecurrenceArgs']] weekly_recurrence: For a schedule that runs weekly on a specific day and time.
|
478
|
+
Structure is documented below.
|
479
|
+
"""
|
480
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
481
|
+
|
482
|
+
__props__ = _BackupScheduleState.__new__(_BackupScheduleState)
|
483
|
+
|
484
|
+
__props__.__dict__["daily_recurrence"] = daily_recurrence
|
485
|
+
__props__.__dict__["database"] = database
|
486
|
+
__props__.__dict__["name"] = name
|
487
|
+
__props__.__dict__["project"] = project
|
488
|
+
__props__.__dict__["retention"] = retention
|
489
|
+
__props__.__dict__["weekly_recurrence"] = weekly_recurrence
|
490
|
+
return BackupSchedule(resource_name, opts=opts, __props__=__props__)
|
491
|
+
|
492
|
+
@property
|
493
|
+
@pulumi.getter(name="dailyRecurrence")
|
494
|
+
def daily_recurrence(self) -> pulumi.Output[Optional['outputs.BackupScheduleDailyRecurrence']]:
|
495
|
+
"""
|
496
|
+
For a schedule that runs daily at a specified time.
|
497
|
+
"""
|
498
|
+
return pulumi.get(self, "daily_recurrence")
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter
|
502
|
+
def database(self) -> pulumi.Output[Optional[str]]:
|
503
|
+
"""
|
504
|
+
The Firestore database id. Defaults to `"(default)"`.
|
505
|
+
"""
|
506
|
+
return pulumi.get(self, "database")
|
507
|
+
|
508
|
+
@property
|
509
|
+
@pulumi.getter
|
510
|
+
def name(self) -> pulumi.Output[str]:
|
511
|
+
"""
|
512
|
+
The unique backup schedule identifier across all locations and databases for the given project. Format:
|
513
|
+
`projects/{{project}}/databases/{{database}}/backupSchedules/{{backupSchedule}}
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "name")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter
|
519
|
+
def project(self) -> pulumi.Output[str]:
|
520
|
+
"""
|
521
|
+
The ID of the project in which the resource belongs.
|
522
|
+
If it is not provided, the provider project is used.
|
523
|
+
"""
|
524
|
+
return pulumi.get(self, "project")
|
525
|
+
|
526
|
+
@property
|
527
|
+
@pulumi.getter
|
528
|
+
def retention(self) -> pulumi.Output[str]:
|
529
|
+
"""
|
530
|
+
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
|
531
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
532
|
+
For a daily backup recurrence, set this to a value up to 7 days. If you set a weekly backup recurrence, set this to a value up to 14 weeks.
|
533
|
+
|
534
|
+
|
535
|
+
- - -
|
536
|
+
"""
|
537
|
+
return pulumi.get(self, "retention")
|
538
|
+
|
539
|
+
@property
|
540
|
+
@pulumi.getter(name="weeklyRecurrence")
|
541
|
+
def weekly_recurrence(self) -> pulumi.Output[Optional['outputs.BackupScheduleWeeklyRecurrence']]:
|
542
|
+
"""
|
543
|
+
For a schedule that runs weekly on a specific day and time.
|
544
|
+
Structure is documented below.
|
545
|
+
"""
|
546
|
+
return pulumi.get(self, "weekly_recurrence")
|
547
|
+
|
pulumi_gcp/firestore/database.py
CHANGED
@@ -520,7 +520,9 @@ class Database(pulumi.CustomResource):
|
|
520
520
|
|
521
521
|
If you wish to use Firestore with App Engine, use the
|
522
522
|
`appengine.Application`
|
523
|
-
resource instead.
|
523
|
+
resource instead. If you were previously using the `appengine.Application` resource exclusively for managing a Firestore database
|
524
|
+
and would like to use the `firestore.Database` resource instead, please follow the instructions
|
525
|
+
[here](https://cloud.google.com/firestore/docs/app-engine-requirement).
|
524
526
|
|
525
527
|
To get more information about Database, see:
|
526
528
|
|
@@ -545,7 +547,15 @@ class Database(pulumi.CustomResource):
|
|
545
547
|
|
546
548
|
## Import
|
547
549
|
|
548
|
-
Database can be imported using any of these accepted formats
|
550
|
+
Database can be imported using any of these accepted formats* `projects/{{project}}/databases/{{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 using one of the formats above. For exampletf import {
|
551
|
+
|
552
|
+
id = "projects/{{project}}/databases/{{name}}"
|
553
|
+
|
554
|
+
to = google_firestore_database.default }
|
555
|
+
|
556
|
+
```sh
|
557
|
+
$ pulumi import gcp:firestore/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
|
558
|
+
```
|
549
559
|
|
550
560
|
```sh
|
551
561
|
$ pulumi import gcp:firestore/database:Database default projects/{{project}}/databases/{{name}}
|
@@ -603,7 +613,9 @@ class Database(pulumi.CustomResource):
|
|
603
613
|
|
604
614
|
If you wish to use Firestore with App Engine, use the
|
605
615
|
`appengine.Application`
|
606
|
-
resource instead.
|
616
|
+
resource instead. If you were previously using the `appengine.Application` resource exclusively for managing a Firestore database
|
617
|
+
and would like to use the `firestore.Database` resource instead, please follow the instructions
|
618
|
+
[here](https://cloud.google.com/firestore/docs/app-engine-requirement).
|
607
619
|
|
608
620
|
To get more information about Database, see:
|
609
621
|
|
@@ -628,7 +640,15 @@ class Database(pulumi.CustomResource):
|
|
628
640
|
|
629
641
|
## Import
|
630
642
|
|
631
|
-
Database can be imported using any of these accepted formats
|
643
|
+
Database can be imported using any of these accepted formats* `projects/{{project}}/databases/{{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 using one of the formats above. For exampletf import {
|
644
|
+
|
645
|
+
id = "projects/{{project}}/databases/{{name}}"
|
646
|
+
|
647
|
+
to = google_firestore_database.default }
|
648
|
+
|
649
|
+
```sh
|
650
|
+
$ pulumi import gcp:firestore/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
|
651
|
+
```
|
632
652
|
|
633
653
|
```sh
|
634
654
|
$ pulumi import gcp:firestore/database:Database default projects/{{project}}/databases/{{name}}
|
pulumi_gcp/firestore/document.py
CHANGED
@@ -295,6 +295,8 @@ class Document(pulumi.CustomResource):
|
|
295
295
|
`appengine.Application` resource with `database_type` set to
|
296
296
|
`"CLOUD_FIRESTORE"`. Your Firestore location will be the same as
|
297
297
|
the App Engine location specified.
|
298
|
+
Note: The surface does not support configurable database id. Only `(default)`
|
299
|
+
is allowed for the database parameter.
|
298
300
|
|
299
301
|
## Example Usage
|
300
302
|
### Firestore Document Basic
|
@@ -334,7 +336,15 @@ class Document(pulumi.CustomResource):
|
|
334
336
|
|
335
337
|
## Import
|
336
338
|
|
337
|
-
Document can be imported using any of these accepted formats
|
339
|
+
Document can be imported using any of these accepted formats* `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Document using one of the formats above. For exampletf import {
|
340
|
+
|
341
|
+
id = "{{name}}"
|
342
|
+
|
343
|
+
to = google_firestore_document.default }
|
344
|
+
|
345
|
+
```sh
|
346
|
+
$ pulumi import gcp:firestore/document:Document When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Document can be imported using one of the formats above. For example
|
347
|
+
```
|
338
348
|
|
339
349
|
```sh
|
340
350
|
$ pulumi import gcp:firestore/document:Document default {{name}}
|
@@ -376,6 +386,8 @@ class Document(pulumi.CustomResource):
|
|
376
386
|
`appengine.Application` resource with `database_type` set to
|
377
387
|
`"CLOUD_FIRESTORE"`. Your Firestore location will be the same as
|
378
388
|
the App Engine location specified.
|
389
|
+
Note: The surface does not support configurable database id. Only `(default)`
|
390
|
+
is allowed for the database parameter.
|
379
391
|
|
380
392
|
## Example Usage
|
381
393
|
### Firestore Document Basic
|
@@ -415,7 +427,15 @@ class Document(pulumi.CustomResource):
|
|
415
427
|
|
416
428
|
## Import
|
417
429
|
|
418
|
-
Document can be imported using any of these accepted formats
|
430
|
+
Document can be imported using any of these accepted formats* `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Document using one of the formats above. For exampletf import {
|
431
|
+
|
432
|
+
id = "{{name}}"
|
433
|
+
|
434
|
+
to = google_firestore_document.default }
|
435
|
+
|
436
|
+
```sh
|
437
|
+
$ pulumi import gcp:firestore/document:Document When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Document can be imported using one of the formats above. For example
|
438
|
+
```
|
419
439
|
|
420
440
|
```sh
|
421
441
|
$ pulumi import gcp:firestore/document:Document default {{name}}
|