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,1003 @@
|
|
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__ = ['PolicyBasedRouteArgs', 'PolicyBasedRoute']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class PolicyBasedRouteArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
filter: pulumi.Input['PolicyBasedRouteFilterArgs'],
|
20
|
+
network: pulumi.Input[str],
|
21
|
+
description: Optional[pulumi.Input[str]] = None,
|
22
|
+
interconnect_attachment: Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']] = None,
|
23
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
24
|
+
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
next_hop_ilb_ip: Optional[pulumi.Input[str]] = None,
|
26
|
+
next_hop_other_routes: Optional[pulumi.Input[str]] = None,
|
27
|
+
priority: Optional[pulumi.Input[int]] = None,
|
28
|
+
project: Optional[pulumi.Input[str]] = None,
|
29
|
+
virtual_machine: Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a PolicyBasedRoute resource.
|
32
|
+
:param pulumi.Input['PolicyBasedRouteFilterArgs'] filter: The filter to match L4 traffic.
|
33
|
+
Structure is documented below.
|
34
|
+
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
35
|
+
:param pulumi.Input[str] description: An optional description of this resource.
|
36
|
+
:param pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs'] interconnect_attachment: The interconnect attachments that this policy-based route applies to.
|
37
|
+
Structure is documented below.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels.
|
39
|
+
|
40
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
41
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
42
|
+
:param pulumi.Input[str] name: The name of the policy based route.
|
43
|
+
:param pulumi.Input[str] next_hop_ilb_ip: The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
44
|
+
:param pulumi.Input[str] next_hop_other_routes: Other routes that will be referenced to determine the next hop of the packet.
|
45
|
+
Possible values are: `DEFAULT_ROUTING`.
|
46
|
+
:param pulumi.Input[int] priority: The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
47
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
48
|
+
If it is not provided, the provider project is used.
|
49
|
+
:param pulumi.Input['PolicyBasedRouteVirtualMachineArgs'] virtual_machine: VM instances to which this policy-based route applies to.
|
50
|
+
Structure is documented below.
|
51
|
+
"""
|
52
|
+
pulumi.set(__self__, "filter", filter)
|
53
|
+
pulumi.set(__self__, "network", network)
|
54
|
+
if description is not None:
|
55
|
+
pulumi.set(__self__, "description", description)
|
56
|
+
if interconnect_attachment is not None:
|
57
|
+
pulumi.set(__self__, "interconnect_attachment", interconnect_attachment)
|
58
|
+
if labels is not None:
|
59
|
+
pulumi.set(__self__, "labels", labels)
|
60
|
+
if name is not None:
|
61
|
+
pulumi.set(__self__, "name", name)
|
62
|
+
if next_hop_ilb_ip is not None:
|
63
|
+
pulumi.set(__self__, "next_hop_ilb_ip", next_hop_ilb_ip)
|
64
|
+
if next_hop_other_routes is not None:
|
65
|
+
pulumi.set(__self__, "next_hop_other_routes", next_hop_other_routes)
|
66
|
+
if priority is not None:
|
67
|
+
pulumi.set(__self__, "priority", priority)
|
68
|
+
if project is not None:
|
69
|
+
pulumi.set(__self__, "project", project)
|
70
|
+
if virtual_machine is not None:
|
71
|
+
pulumi.set(__self__, "virtual_machine", virtual_machine)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def filter(self) -> pulumi.Input['PolicyBasedRouteFilterArgs']:
|
76
|
+
"""
|
77
|
+
The filter to match L4 traffic.
|
78
|
+
Structure is documented below.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "filter")
|
81
|
+
|
82
|
+
@filter.setter
|
83
|
+
def filter(self, value: pulumi.Input['PolicyBasedRouteFilterArgs']):
|
84
|
+
pulumi.set(self, "filter", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def network(self) -> pulumi.Input[str]:
|
89
|
+
"""
|
90
|
+
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "network")
|
93
|
+
|
94
|
+
@network.setter
|
95
|
+
def network(self, value: pulumi.Input[str]):
|
96
|
+
pulumi.set(self, "network", value)
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
101
|
+
"""
|
102
|
+
An optional description of this resource.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "description")
|
105
|
+
|
106
|
+
@description.setter
|
107
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
108
|
+
pulumi.set(self, "description", value)
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter(name="interconnectAttachment")
|
112
|
+
def interconnect_attachment(self) -> Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']]:
|
113
|
+
"""
|
114
|
+
The interconnect attachments that this policy-based route applies to.
|
115
|
+
Structure is documented below.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "interconnect_attachment")
|
118
|
+
|
119
|
+
@interconnect_attachment.setter
|
120
|
+
def interconnect_attachment(self, value: Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']]):
|
121
|
+
pulumi.set(self, "interconnect_attachment", value)
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
126
|
+
"""
|
127
|
+
User-defined labels.
|
128
|
+
|
129
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
130
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "labels")
|
133
|
+
|
134
|
+
@labels.setter
|
135
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
136
|
+
pulumi.set(self, "labels", value)
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter
|
140
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
"""
|
142
|
+
The name of the policy based route.
|
143
|
+
"""
|
144
|
+
return pulumi.get(self, "name")
|
145
|
+
|
146
|
+
@name.setter
|
147
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
pulumi.set(self, "name", value)
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="nextHopIlbIp")
|
152
|
+
def next_hop_ilb_ip(self) -> Optional[pulumi.Input[str]]:
|
153
|
+
"""
|
154
|
+
The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "next_hop_ilb_ip")
|
157
|
+
|
158
|
+
@next_hop_ilb_ip.setter
|
159
|
+
def next_hop_ilb_ip(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
pulumi.set(self, "next_hop_ilb_ip", value)
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="nextHopOtherRoutes")
|
164
|
+
def next_hop_other_routes(self) -> Optional[pulumi.Input[str]]:
|
165
|
+
"""
|
166
|
+
Other routes that will be referenced to determine the next hop of the packet.
|
167
|
+
Possible values are: `DEFAULT_ROUTING`.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "next_hop_other_routes")
|
170
|
+
|
171
|
+
@next_hop_other_routes.setter
|
172
|
+
def next_hop_other_routes(self, value: Optional[pulumi.Input[str]]):
|
173
|
+
pulumi.set(self, "next_hop_other_routes", value)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter
|
177
|
+
def priority(self) -> Optional[pulumi.Input[int]]:
|
178
|
+
"""
|
179
|
+
The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "priority")
|
182
|
+
|
183
|
+
@priority.setter
|
184
|
+
def priority(self, value: Optional[pulumi.Input[int]]):
|
185
|
+
pulumi.set(self, "priority", value)
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
190
|
+
"""
|
191
|
+
The ID of the project in which the resource belongs.
|
192
|
+
If it is not provided, the provider project is used.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "project")
|
195
|
+
|
196
|
+
@project.setter
|
197
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
198
|
+
pulumi.set(self, "project", value)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="virtualMachine")
|
202
|
+
def virtual_machine(self) -> Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']]:
|
203
|
+
"""
|
204
|
+
VM instances to which this policy-based route applies to.
|
205
|
+
Structure is documented below.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "virtual_machine")
|
208
|
+
|
209
|
+
@virtual_machine.setter
|
210
|
+
def virtual_machine(self, value: Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']]):
|
211
|
+
pulumi.set(self, "virtual_machine", value)
|
212
|
+
|
213
|
+
|
214
|
+
@pulumi.input_type
|
215
|
+
class _PolicyBasedRouteState:
|
216
|
+
def __init__(__self__, *,
|
217
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
218
|
+
description: Optional[pulumi.Input[str]] = None,
|
219
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
220
|
+
filter: Optional[pulumi.Input['PolicyBasedRouteFilterArgs']] = None,
|
221
|
+
interconnect_attachment: Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']] = None,
|
222
|
+
kind: Optional[pulumi.Input[str]] = None,
|
223
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
224
|
+
name: Optional[pulumi.Input[str]] = None,
|
225
|
+
network: Optional[pulumi.Input[str]] = None,
|
226
|
+
next_hop_ilb_ip: Optional[pulumi.Input[str]] = None,
|
227
|
+
next_hop_other_routes: Optional[pulumi.Input[str]] = None,
|
228
|
+
priority: Optional[pulumi.Input[int]] = None,
|
229
|
+
project: Optional[pulumi.Input[str]] = None,
|
230
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
231
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
232
|
+
virtual_machine: Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']] = None,
|
233
|
+
warnings: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyBasedRouteWarningArgs']]]] = None):
|
234
|
+
"""
|
235
|
+
Input properties used for looking up and filtering PolicyBasedRoute resources.
|
236
|
+
:param pulumi.Input[str] create_time: Time when the policy-based route was created.
|
237
|
+
:param pulumi.Input[str] description: An optional description of this resource.
|
238
|
+
: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.
|
239
|
+
:param pulumi.Input['PolicyBasedRouteFilterArgs'] filter: The filter to match L4 traffic.
|
240
|
+
Structure is documented below.
|
241
|
+
:param pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs'] interconnect_attachment: The interconnect attachments that this policy-based route applies to.
|
242
|
+
Structure is documented below.
|
243
|
+
:param pulumi.Input[str] kind: Type of this resource.
|
244
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels.
|
245
|
+
|
246
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
247
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
248
|
+
:param pulumi.Input[str] name: The name of the policy based route.
|
249
|
+
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
250
|
+
:param pulumi.Input[str] next_hop_ilb_ip: The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
251
|
+
:param pulumi.Input[str] next_hop_other_routes: Other routes that will be referenced to determine the next hop of the packet.
|
252
|
+
Possible values are: `DEFAULT_ROUTING`.
|
253
|
+
:param pulumi.Input[int] priority: The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
254
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
255
|
+
If it is not provided, the provider project is used.
|
256
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
257
|
+
and default labels configured on the provider.
|
258
|
+
:param pulumi.Input[str] update_time: Time when the policy-based route was created.
|
259
|
+
:param pulumi.Input['PolicyBasedRouteVirtualMachineArgs'] virtual_machine: VM instances to which this policy-based route applies to.
|
260
|
+
Structure is documented below.
|
261
|
+
:param pulumi.Input[Sequence[pulumi.Input['PolicyBasedRouteWarningArgs']]] warnings: If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
262
|
+
Structure is documented below.
|
263
|
+
"""
|
264
|
+
if create_time is not None:
|
265
|
+
pulumi.set(__self__, "create_time", create_time)
|
266
|
+
if description is not None:
|
267
|
+
pulumi.set(__self__, "description", description)
|
268
|
+
if effective_labels is not None:
|
269
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
270
|
+
if filter is not None:
|
271
|
+
pulumi.set(__self__, "filter", filter)
|
272
|
+
if interconnect_attachment is not None:
|
273
|
+
pulumi.set(__self__, "interconnect_attachment", interconnect_attachment)
|
274
|
+
if kind is not None:
|
275
|
+
pulumi.set(__self__, "kind", kind)
|
276
|
+
if labels is not None:
|
277
|
+
pulumi.set(__self__, "labels", labels)
|
278
|
+
if name is not None:
|
279
|
+
pulumi.set(__self__, "name", name)
|
280
|
+
if network is not None:
|
281
|
+
pulumi.set(__self__, "network", network)
|
282
|
+
if next_hop_ilb_ip is not None:
|
283
|
+
pulumi.set(__self__, "next_hop_ilb_ip", next_hop_ilb_ip)
|
284
|
+
if next_hop_other_routes is not None:
|
285
|
+
pulumi.set(__self__, "next_hop_other_routes", next_hop_other_routes)
|
286
|
+
if priority is not None:
|
287
|
+
pulumi.set(__self__, "priority", priority)
|
288
|
+
if project is not None:
|
289
|
+
pulumi.set(__self__, "project", project)
|
290
|
+
if pulumi_labels is not None:
|
291
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
292
|
+
if update_time is not None:
|
293
|
+
pulumi.set(__self__, "update_time", update_time)
|
294
|
+
if virtual_machine is not None:
|
295
|
+
pulumi.set(__self__, "virtual_machine", virtual_machine)
|
296
|
+
if warnings is not None:
|
297
|
+
pulumi.set(__self__, "warnings", warnings)
|
298
|
+
|
299
|
+
@property
|
300
|
+
@pulumi.getter(name="createTime")
|
301
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
302
|
+
"""
|
303
|
+
Time when the policy-based route was created.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "create_time")
|
306
|
+
|
307
|
+
@create_time.setter
|
308
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
309
|
+
pulumi.set(self, "create_time", value)
|
310
|
+
|
311
|
+
@property
|
312
|
+
@pulumi.getter
|
313
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
314
|
+
"""
|
315
|
+
An optional description of this resource.
|
316
|
+
"""
|
317
|
+
return pulumi.get(self, "description")
|
318
|
+
|
319
|
+
@description.setter
|
320
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
321
|
+
pulumi.set(self, "description", value)
|
322
|
+
|
323
|
+
@property
|
324
|
+
@pulumi.getter(name="effectiveLabels")
|
325
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
326
|
+
"""
|
327
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "effective_labels")
|
330
|
+
|
331
|
+
@effective_labels.setter
|
332
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
333
|
+
pulumi.set(self, "effective_labels", value)
|
334
|
+
|
335
|
+
@property
|
336
|
+
@pulumi.getter
|
337
|
+
def filter(self) -> Optional[pulumi.Input['PolicyBasedRouteFilterArgs']]:
|
338
|
+
"""
|
339
|
+
The filter to match L4 traffic.
|
340
|
+
Structure is documented below.
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "filter")
|
343
|
+
|
344
|
+
@filter.setter
|
345
|
+
def filter(self, value: Optional[pulumi.Input['PolicyBasedRouteFilterArgs']]):
|
346
|
+
pulumi.set(self, "filter", value)
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter(name="interconnectAttachment")
|
350
|
+
def interconnect_attachment(self) -> Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']]:
|
351
|
+
"""
|
352
|
+
The interconnect attachments that this policy-based route applies to.
|
353
|
+
Structure is documented below.
|
354
|
+
"""
|
355
|
+
return pulumi.get(self, "interconnect_attachment")
|
356
|
+
|
357
|
+
@interconnect_attachment.setter
|
358
|
+
def interconnect_attachment(self, value: Optional[pulumi.Input['PolicyBasedRouteInterconnectAttachmentArgs']]):
|
359
|
+
pulumi.set(self, "interconnect_attachment", value)
|
360
|
+
|
361
|
+
@property
|
362
|
+
@pulumi.getter
|
363
|
+
def kind(self) -> Optional[pulumi.Input[str]]:
|
364
|
+
"""
|
365
|
+
Type of this resource.
|
366
|
+
"""
|
367
|
+
return pulumi.get(self, "kind")
|
368
|
+
|
369
|
+
@kind.setter
|
370
|
+
def kind(self, value: Optional[pulumi.Input[str]]):
|
371
|
+
pulumi.set(self, "kind", value)
|
372
|
+
|
373
|
+
@property
|
374
|
+
@pulumi.getter
|
375
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
376
|
+
"""
|
377
|
+
User-defined labels.
|
378
|
+
|
379
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
380
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
381
|
+
"""
|
382
|
+
return pulumi.get(self, "labels")
|
383
|
+
|
384
|
+
@labels.setter
|
385
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
386
|
+
pulumi.set(self, "labels", value)
|
387
|
+
|
388
|
+
@property
|
389
|
+
@pulumi.getter
|
390
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
391
|
+
"""
|
392
|
+
The name of the policy based route.
|
393
|
+
"""
|
394
|
+
return pulumi.get(self, "name")
|
395
|
+
|
396
|
+
@name.setter
|
397
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
398
|
+
pulumi.set(self, "name", value)
|
399
|
+
|
400
|
+
@property
|
401
|
+
@pulumi.getter
|
402
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
403
|
+
"""
|
404
|
+
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
405
|
+
"""
|
406
|
+
return pulumi.get(self, "network")
|
407
|
+
|
408
|
+
@network.setter
|
409
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
410
|
+
pulumi.set(self, "network", value)
|
411
|
+
|
412
|
+
@property
|
413
|
+
@pulumi.getter(name="nextHopIlbIp")
|
414
|
+
def next_hop_ilb_ip(self) -> Optional[pulumi.Input[str]]:
|
415
|
+
"""
|
416
|
+
The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
417
|
+
"""
|
418
|
+
return pulumi.get(self, "next_hop_ilb_ip")
|
419
|
+
|
420
|
+
@next_hop_ilb_ip.setter
|
421
|
+
def next_hop_ilb_ip(self, value: Optional[pulumi.Input[str]]):
|
422
|
+
pulumi.set(self, "next_hop_ilb_ip", value)
|
423
|
+
|
424
|
+
@property
|
425
|
+
@pulumi.getter(name="nextHopOtherRoutes")
|
426
|
+
def next_hop_other_routes(self) -> Optional[pulumi.Input[str]]:
|
427
|
+
"""
|
428
|
+
Other routes that will be referenced to determine the next hop of the packet.
|
429
|
+
Possible values are: `DEFAULT_ROUTING`.
|
430
|
+
"""
|
431
|
+
return pulumi.get(self, "next_hop_other_routes")
|
432
|
+
|
433
|
+
@next_hop_other_routes.setter
|
434
|
+
def next_hop_other_routes(self, value: Optional[pulumi.Input[str]]):
|
435
|
+
pulumi.set(self, "next_hop_other_routes", value)
|
436
|
+
|
437
|
+
@property
|
438
|
+
@pulumi.getter
|
439
|
+
def priority(self) -> Optional[pulumi.Input[int]]:
|
440
|
+
"""
|
441
|
+
The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
442
|
+
"""
|
443
|
+
return pulumi.get(self, "priority")
|
444
|
+
|
445
|
+
@priority.setter
|
446
|
+
def priority(self, value: Optional[pulumi.Input[int]]):
|
447
|
+
pulumi.set(self, "priority", value)
|
448
|
+
|
449
|
+
@property
|
450
|
+
@pulumi.getter
|
451
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
452
|
+
"""
|
453
|
+
The ID of the project in which the resource belongs.
|
454
|
+
If it is not provided, the provider project is used.
|
455
|
+
"""
|
456
|
+
return pulumi.get(self, "project")
|
457
|
+
|
458
|
+
@project.setter
|
459
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
460
|
+
pulumi.set(self, "project", value)
|
461
|
+
|
462
|
+
@property
|
463
|
+
@pulumi.getter(name="pulumiLabels")
|
464
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
465
|
+
"""
|
466
|
+
The combination of labels configured directly on the resource
|
467
|
+
and default labels configured on the provider.
|
468
|
+
"""
|
469
|
+
return pulumi.get(self, "pulumi_labels")
|
470
|
+
|
471
|
+
@pulumi_labels.setter
|
472
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
473
|
+
pulumi.set(self, "pulumi_labels", value)
|
474
|
+
|
475
|
+
@property
|
476
|
+
@pulumi.getter(name="updateTime")
|
477
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
478
|
+
"""
|
479
|
+
Time when the policy-based route was created.
|
480
|
+
"""
|
481
|
+
return pulumi.get(self, "update_time")
|
482
|
+
|
483
|
+
@update_time.setter
|
484
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
485
|
+
pulumi.set(self, "update_time", value)
|
486
|
+
|
487
|
+
@property
|
488
|
+
@pulumi.getter(name="virtualMachine")
|
489
|
+
def virtual_machine(self) -> Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']]:
|
490
|
+
"""
|
491
|
+
VM instances to which this policy-based route applies to.
|
492
|
+
Structure is documented below.
|
493
|
+
"""
|
494
|
+
return pulumi.get(self, "virtual_machine")
|
495
|
+
|
496
|
+
@virtual_machine.setter
|
497
|
+
def virtual_machine(self, value: Optional[pulumi.Input['PolicyBasedRouteVirtualMachineArgs']]):
|
498
|
+
pulumi.set(self, "virtual_machine", value)
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter
|
502
|
+
def warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PolicyBasedRouteWarningArgs']]]]:
|
503
|
+
"""
|
504
|
+
If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
505
|
+
Structure is documented below.
|
506
|
+
"""
|
507
|
+
return pulumi.get(self, "warnings")
|
508
|
+
|
509
|
+
@warnings.setter
|
510
|
+
def warnings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyBasedRouteWarningArgs']]]]):
|
511
|
+
pulumi.set(self, "warnings", value)
|
512
|
+
|
513
|
+
|
514
|
+
class PolicyBasedRoute(pulumi.CustomResource):
|
515
|
+
@overload
|
516
|
+
def __init__(__self__,
|
517
|
+
resource_name: str,
|
518
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
519
|
+
description: Optional[pulumi.Input[str]] = None,
|
520
|
+
filter: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteFilterArgs']]] = None,
|
521
|
+
interconnect_attachment: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteInterconnectAttachmentArgs']]] = None,
|
522
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
523
|
+
name: Optional[pulumi.Input[str]] = None,
|
524
|
+
network: Optional[pulumi.Input[str]] = None,
|
525
|
+
next_hop_ilb_ip: Optional[pulumi.Input[str]] = None,
|
526
|
+
next_hop_other_routes: Optional[pulumi.Input[str]] = None,
|
527
|
+
priority: Optional[pulumi.Input[int]] = None,
|
528
|
+
project: Optional[pulumi.Input[str]] = None,
|
529
|
+
virtual_machine: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteVirtualMachineArgs']]] = None,
|
530
|
+
__props__=None):
|
531
|
+
"""
|
532
|
+
Policy-based Routes are more powerful routes that route L4 network traffic based on not just destination IP, but also source IP, protocol and more. A Policy-based Route always take precedence when it conflicts with other types of routes.
|
533
|
+
|
534
|
+
To get more information about PolicyBasedRoute, see:
|
535
|
+
|
536
|
+
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.global.policyBasedRoutes)
|
537
|
+
* How-to Guides
|
538
|
+
* [Use policy-based routes](https://cloud.google.com/vpc/docs/use-policy-based-routes#api)
|
539
|
+
|
540
|
+
## Example Usage
|
541
|
+
### Network Connectivity Policy Based Route Basic
|
542
|
+
|
543
|
+
```python
|
544
|
+
import pulumi
|
545
|
+
import pulumi_gcp as gcp
|
546
|
+
|
547
|
+
my_network = gcp.compute.Network("myNetwork", auto_create_subnetworks=False)
|
548
|
+
default = gcp.networkconnectivity.PolicyBasedRoute("default",
|
549
|
+
network=my_network.id,
|
550
|
+
filter=gcp.networkconnectivity.PolicyBasedRouteFilterArgs(
|
551
|
+
protocol_version="IPV4",
|
552
|
+
),
|
553
|
+
next_hop_other_routes="DEFAULT_ROUTING")
|
554
|
+
```
|
555
|
+
### Network Connectivity Policy Based Route Full
|
556
|
+
|
557
|
+
```python
|
558
|
+
import pulumi
|
559
|
+
import pulumi_gcp as gcp
|
560
|
+
|
561
|
+
my_network = gcp.compute.Network("myNetwork", auto_create_subnetworks=False)
|
562
|
+
# This example substitutes an arbitrary internal IP for an internal network
|
563
|
+
# load balancer for brevity. Consult https://cloud.google.com/load-balancing/docs/internal
|
564
|
+
# to set one up.
|
565
|
+
ilb = gcp.compute.GlobalAddress("ilb")
|
566
|
+
default = gcp.networkconnectivity.PolicyBasedRoute("default",
|
567
|
+
description="My routing policy",
|
568
|
+
network=my_network.id,
|
569
|
+
priority=2302,
|
570
|
+
filter=gcp.networkconnectivity.PolicyBasedRouteFilterArgs(
|
571
|
+
protocol_version="IPV4",
|
572
|
+
ip_protocol="UDP",
|
573
|
+
src_range="10.0.0.0/24",
|
574
|
+
dest_range="0.0.0.0/0",
|
575
|
+
),
|
576
|
+
next_hop_ilb_ip=ilb.address,
|
577
|
+
virtual_machine=gcp.networkconnectivity.PolicyBasedRouteVirtualMachineArgs(
|
578
|
+
tags=["restricted"],
|
579
|
+
),
|
580
|
+
labels={
|
581
|
+
"env": "default",
|
582
|
+
})
|
583
|
+
```
|
584
|
+
|
585
|
+
## Import
|
586
|
+
|
587
|
+
PolicyBasedRoute can be imported using any of these accepted formats* `projects/{{project}}/locations/global/policyBasedRoutes/{{name}}` * `{{project}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import PolicyBasedRoute using one of the formats above. For exampletf import {
|
588
|
+
|
589
|
+
id = "projects/{{project}}/locations/global/policyBasedRoutes/{{name}}"
|
590
|
+
|
591
|
+
to = google_network_connectivity_policy_based_route.default }
|
592
|
+
|
593
|
+
```sh
|
594
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), PolicyBasedRoute can be imported using one of the formats above. For example
|
595
|
+
```
|
596
|
+
|
597
|
+
```sh
|
598
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default projects/{{project}}/locations/global/policyBasedRoutes/{{name}}
|
599
|
+
```
|
600
|
+
|
601
|
+
```sh
|
602
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{project}}/{{name}}
|
603
|
+
```
|
604
|
+
|
605
|
+
```sh
|
606
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{name}}
|
607
|
+
```
|
608
|
+
|
609
|
+
:param str resource_name: The name of the resource.
|
610
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
611
|
+
:param pulumi.Input[str] description: An optional description of this resource.
|
612
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteFilterArgs']] filter: The filter to match L4 traffic.
|
613
|
+
Structure is documented below.
|
614
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteInterconnectAttachmentArgs']] interconnect_attachment: The interconnect attachments that this policy-based route applies to.
|
615
|
+
Structure is documented below.
|
616
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels.
|
617
|
+
|
618
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
619
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
620
|
+
:param pulumi.Input[str] name: The name of the policy based route.
|
621
|
+
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
622
|
+
:param pulumi.Input[str] next_hop_ilb_ip: The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
623
|
+
:param pulumi.Input[str] next_hop_other_routes: Other routes that will be referenced to determine the next hop of the packet.
|
624
|
+
Possible values are: `DEFAULT_ROUTING`.
|
625
|
+
:param pulumi.Input[int] priority: The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
626
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
627
|
+
If it is not provided, the provider project is used.
|
628
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteVirtualMachineArgs']] virtual_machine: VM instances to which this policy-based route applies to.
|
629
|
+
Structure is documented below.
|
630
|
+
"""
|
631
|
+
...
|
632
|
+
@overload
|
633
|
+
def __init__(__self__,
|
634
|
+
resource_name: str,
|
635
|
+
args: PolicyBasedRouteArgs,
|
636
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
637
|
+
"""
|
638
|
+
Policy-based Routes are more powerful routes that route L4 network traffic based on not just destination IP, but also source IP, protocol and more. A Policy-based Route always take precedence when it conflicts with other types of routes.
|
639
|
+
|
640
|
+
To get more information about PolicyBasedRoute, see:
|
641
|
+
|
642
|
+
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.global.policyBasedRoutes)
|
643
|
+
* How-to Guides
|
644
|
+
* [Use policy-based routes](https://cloud.google.com/vpc/docs/use-policy-based-routes#api)
|
645
|
+
|
646
|
+
## Example Usage
|
647
|
+
### Network Connectivity Policy Based Route Basic
|
648
|
+
|
649
|
+
```python
|
650
|
+
import pulumi
|
651
|
+
import pulumi_gcp as gcp
|
652
|
+
|
653
|
+
my_network = gcp.compute.Network("myNetwork", auto_create_subnetworks=False)
|
654
|
+
default = gcp.networkconnectivity.PolicyBasedRoute("default",
|
655
|
+
network=my_network.id,
|
656
|
+
filter=gcp.networkconnectivity.PolicyBasedRouteFilterArgs(
|
657
|
+
protocol_version="IPV4",
|
658
|
+
),
|
659
|
+
next_hop_other_routes="DEFAULT_ROUTING")
|
660
|
+
```
|
661
|
+
### Network Connectivity Policy Based Route Full
|
662
|
+
|
663
|
+
```python
|
664
|
+
import pulumi
|
665
|
+
import pulumi_gcp as gcp
|
666
|
+
|
667
|
+
my_network = gcp.compute.Network("myNetwork", auto_create_subnetworks=False)
|
668
|
+
# This example substitutes an arbitrary internal IP for an internal network
|
669
|
+
# load balancer for brevity. Consult https://cloud.google.com/load-balancing/docs/internal
|
670
|
+
# to set one up.
|
671
|
+
ilb = gcp.compute.GlobalAddress("ilb")
|
672
|
+
default = gcp.networkconnectivity.PolicyBasedRoute("default",
|
673
|
+
description="My routing policy",
|
674
|
+
network=my_network.id,
|
675
|
+
priority=2302,
|
676
|
+
filter=gcp.networkconnectivity.PolicyBasedRouteFilterArgs(
|
677
|
+
protocol_version="IPV4",
|
678
|
+
ip_protocol="UDP",
|
679
|
+
src_range="10.0.0.0/24",
|
680
|
+
dest_range="0.0.0.0/0",
|
681
|
+
),
|
682
|
+
next_hop_ilb_ip=ilb.address,
|
683
|
+
virtual_machine=gcp.networkconnectivity.PolicyBasedRouteVirtualMachineArgs(
|
684
|
+
tags=["restricted"],
|
685
|
+
),
|
686
|
+
labels={
|
687
|
+
"env": "default",
|
688
|
+
})
|
689
|
+
```
|
690
|
+
|
691
|
+
## Import
|
692
|
+
|
693
|
+
PolicyBasedRoute can be imported using any of these accepted formats* `projects/{{project}}/locations/global/policyBasedRoutes/{{name}}` * `{{project}}/{{name}}` * `{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import PolicyBasedRoute using one of the formats above. For exampletf import {
|
694
|
+
|
695
|
+
id = "projects/{{project}}/locations/global/policyBasedRoutes/{{name}}"
|
696
|
+
|
697
|
+
to = google_network_connectivity_policy_based_route.default }
|
698
|
+
|
699
|
+
```sh
|
700
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), PolicyBasedRoute can be imported using one of the formats above. For example
|
701
|
+
```
|
702
|
+
|
703
|
+
```sh
|
704
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default projects/{{project}}/locations/global/policyBasedRoutes/{{name}}
|
705
|
+
```
|
706
|
+
|
707
|
+
```sh
|
708
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{project}}/{{name}}
|
709
|
+
```
|
710
|
+
|
711
|
+
```sh
|
712
|
+
$ pulumi import gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute default {{name}}
|
713
|
+
```
|
714
|
+
|
715
|
+
:param str resource_name: The name of the resource.
|
716
|
+
:param PolicyBasedRouteArgs args: The arguments to use to populate this resource's properties.
|
717
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
718
|
+
"""
|
719
|
+
...
|
720
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
721
|
+
resource_args, opts = _utilities.get_resource_args_opts(PolicyBasedRouteArgs, pulumi.ResourceOptions, *args, **kwargs)
|
722
|
+
if resource_args is not None:
|
723
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
724
|
+
else:
|
725
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
726
|
+
|
727
|
+
def _internal_init(__self__,
|
728
|
+
resource_name: str,
|
729
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
730
|
+
description: Optional[pulumi.Input[str]] = None,
|
731
|
+
filter: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteFilterArgs']]] = None,
|
732
|
+
interconnect_attachment: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteInterconnectAttachmentArgs']]] = None,
|
733
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
734
|
+
name: Optional[pulumi.Input[str]] = None,
|
735
|
+
network: Optional[pulumi.Input[str]] = None,
|
736
|
+
next_hop_ilb_ip: Optional[pulumi.Input[str]] = None,
|
737
|
+
next_hop_other_routes: Optional[pulumi.Input[str]] = None,
|
738
|
+
priority: Optional[pulumi.Input[int]] = None,
|
739
|
+
project: Optional[pulumi.Input[str]] = None,
|
740
|
+
virtual_machine: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteVirtualMachineArgs']]] = None,
|
741
|
+
__props__=None):
|
742
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
743
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
744
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
745
|
+
if opts.id is None:
|
746
|
+
if __props__ is not None:
|
747
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
748
|
+
__props__ = PolicyBasedRouteArgs.__new__(PolicyBasedRouteArgs)
|
749
|
+
|
750
|
+
__props__.__dict__["description"] = description
|
751
|
+
if filter is None and not opts.urn:
|
752
|
+
raise TypeError("Missing required property 'filter'")
|
753
|
+
__props__.__dict__["filter"] = filter
|
754
|
+
__props__.__dict__["interconnect_attachment"] = interconnect_attachment
|
755
|
+
__props__.__dict__["labels"] = labels
|
756
|
+
__props__.__dict__["name"] = name
|
757
|
+
if network is None and not opts.urn:
|
758
|
+
raise TypeError("Missing required property 'network'")
|
759
|
+
__props__.__dict__["network"] = network
|
760
|
+
__props__.__dict__["next_hop_ilb_ip"] = next_hop_ilb_ip
|
761
|
+
__props__.__dict__["next_hop_other_routes"] = next_hop_other_routes
|
762
|
+
__props__.__dict__["priority"] = priority
|
763
|
+
__props__.__dict__["project"] = project
|
764
|
+
__props__.__dict__["virtual_machine"] = virtual_machine
|
765
|
+
__props__.__dict__["create_time"] = None
|
766
|
+
__props__.__dict__["effective_labels"] = None
|
767
|
+
__props__.__dict__["kind"] = None
|
768
|
+
__props__.__dict__["pulumi_labels"] = None
|
769
|
+
__props__.__dict__["update_time"] = None
|
770
|
+
__props__.__dict__["warnings"] = None
|
771
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
772
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
773
|
+
super(PolicyBasedRoute, __self__).__init__(
|
774
|
+
'gcp:networkconnectivity/policyBasedRoute:PolicyBasedRoute',
|
775
|
+
resource_name,
|
776
|
+
__props__,
|
777
|
+
opts)
|
778
|
+
|
779
|
+
@staticmethod
|
780
|
+
def get(resource_name: str,
|
781
|
+
id: pulumi.Input[str],
|
782
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
783
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
784
|
+
description: Optional[pulumi.Input[str]] = None,
|
785
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
786
|
+
filter: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteFilterArgs']]] = None,
|
787
|
+
interconnect_attachment: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteInterconnectAttachmentArgs']]] = None,
|
788
|
+
kind: Optional[pulumi.Input[str]] = None,
|
789
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
790
|
+
name: Optional[pulumi.Input[str]] = None,
|
791
|
+
network: Optional[pulumi.Input[str]] = None,
|
792
|
+
next_hop_ilb_ip: Optional[pulumi.Input[str]] = None,
|
793
|
+
next_hop_other_routes: Optional[pulumi.Input[str]] = None,
|
794
|
+
priority: Optional[pulumi.Input[int]] = None,
|
795
|
+
project: Optional[pulumi.Input[str]] = None,
|
796
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
797
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
798
|
+
virtual_machine: Optional[pulumi.Input[pulumi.InputType['PolicyBasedRouteVirtualMachineArgs']]] = None,
|
799
|
+
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PolicyBasedRouteWarningArgs']]]]] = None) -> 'PolicyBasedRoute':
|
800
|
+
"""
|
801
|
+
Get an existing PolicyBasedRoute resource's state with the given name, id, and optional extra
|
802
|
+
properties used to qualify the lookup.
|
803
|
+
|
804
|
+
:param str resource_name: The unique name of the resulting resource.
|
805
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
806
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
807
|
+
:param pulumi.Input[str] create_time: Time when the policy-based route was created.
|
808
|
+
:param pulumi.Input[str] description: An optional description of this resource.
|
809
|
+
: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.
|
810
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteFilterArgs']] filter: The filter to match L4 traffic.
|
811
|
+
Structure is documented below.
|
812
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteInterconnectAttachmentArgs']] interconnect_attachment: The interconnect attachments that this policy-based route applies to.
|
813
|
+
Structure is documented below.
|
814
|
+
:param pulumi.Input[str] kind: Type of this resource.
|
815
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels.
|
816
|
+
|
817
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
818
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
819
|
+
:param pulumi.Input[str] name: The name of the policy based route.
|
820
|
+
:param pulumi.Input[str] network: Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
821
|
+
:param pulumi.Input[str] next_hop_ilb_ip: The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
822
|
+
:param pulumi.Input[str] next_hop_other_routes: Other routes that will be referenced to determine the next hop of the packet.
|
823
|
+
Possible values are: `DEFAULT_ROUTING`.
|
824
|
+
:param pulumi.Input[int] priority: The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
825
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
826
|
+
If it is not provided, the provider project is used.
|
827
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
828
|
+
and default labels configured on the provider.
|
829
|
+
:param pulumi.Input[str] update_time: Time when the policy-based route was created.
|
830
|
+
:param pulumi.Input[pulumi.InputType['PolicyBasedRouteVirtualMachineArgs']] virtual_machine: VM instances to which this policy-based route applies to.
|
831
|
+
Structure is documented below.
|
832
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PolicyBasedRouteWarningArgs']]]] warnings: If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
833
|
+
Structure is documented below.
|
834
|
+
"""
|
835
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
836
|
+
|
837
|
+
__props__ = _PolicyBasedRouteState.__new__(_PolicyBasedRouteState)
|
838
|
+
|
839
|
+
__props__.__dict__["create_time"] = create_time
|
840
|
+
__props__.__dict__["description"] = description
|
841
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
842
|
+
__props__.__dict__["filter"] = filter
|
843
|
+
__props__.__dict__["interconnect_attachment"] = interconnect_attachment
|
844
|
+
__props__.__dict__["kind"] = kind
|
845
|
+
__props__.__dict__["labels"] = labels
|
846
|
+
__props__.__dict__["name"] = name
|
847
|
+
__props__.__dict__["network"] = network
|
848
|
+
__props__.__dict__["next_hop_ilb_ip"] = next_hop_ilb_ip
|
849
|
+
__props__.__dict__["next_hop_other_routes"] = next_hop_other_routes
|
850
|
+
__props__.__dict__["priority"] = priority
|
851
|
+
__props__.__dict__["project"] = project
|
852
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
853
|
+
__props__.__dict__["update_time"] = update_time
|
854
|
+
__props__.__dict__["virtual_machine"] = virtual_machine
|
855
|
+
__props__.__dict__["warnings"] = warnings
|
856
|
+
return PolicyBasedRoute(resource_name, opts=opts, __props__=__props__)
|
857
|
+
|
858
|
+
@property
|
859
|
+
@pulumi.getter(name="createTime")
|
860
|
+
def create_time(self) -> pulumi.Output[str]:
|
861
|
+
"""
|
862
|
+
Time when the policy-based route was created.
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "create_time")
|
865
|
+
|
866
|
+
@property
|
867
|
+
@pulumi.getter
|
868
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
869
|
+
"""
|
870
|
+
An optional description of this resource.
|
871
|
+
"""
|
872
|
+
return pulumi.get(self, "description")
|
873
|
+
|
874
|
+
@property
|
875
|
+
@pulumi.getter(name="effectiveLabels")
|
876
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
877
|
+
"""
|
878
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
879
|
+
"""
|
880
|
+
return pulumi.get(self, "effective_labels")
|
881
|
+
|
882
|
+
@property
|
883
|
+
@pulumi.getter
|
884
|
+
def filter(self) -> pulumi.Output['outputs.PolicyBasedRouteFilter']:
|
885
|
+
"""
|
886
|
+
The filter to match L4 traffic.
|
887
|
+
Structure is documented below.
|
888
|
+
"""
|
889
|
+
return pulumi.get(self, "filter")
|
890
|
+
|
891
|
+
@property
|
892
|
+
@pulumi.getter(name="interconnectAttachment")
|
893
|
+
def interconnect_attachment(self) -> pulumi.Output[Optional['outputs.PolicyBasedRouteInterconnectAttachment']]:
|
894
|
+
"""
|
895
|
+
The interconnect attachments that this policy-based route applies to.
|
896
|
+
Structure is documented below.
|
897
|
+
"""
|
898
|
+
return pulumi.get(self, "interconnect_attachment")
|
899
|
+
|
900
|
+
@property
|
901
|
+
@pulumi.getter
|
902
|
+
def kind(self) -> pulumi.Output[str]:
|
903
|
+
"""
|
904
|
+
Type of this resource.
|
905
|
+
"""
|
906
|
+
return pulumi.get(self, "kind")
|
907
|
+
|
908
|
+
@property
|
909
|
+
@pulumi.getter
|
910
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
911
|
+
"""
|
912
|
+
User-defined labels.
|
913
|
+
|
914
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
915
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
916
|
+
"""
|
917
|
+
return pulumi.get(self, "labels")
|
918
|
+
|
919
|
+
@property
|
920
|
+
@pulumi.getter
|
921
|
+
def name(self) -> pulumi.Output[str]:
|
922
|
+
"""
|
923
|
+
The name of the policy based route.
|
924
|
+
"""
|
925
|
+
return pulumi.get(self, "name")
|
926
|
+
|
927
|
+
@property
|
928
|
+
@pulumi.getter
|
929
|
+
def network(self) -> pulumi.Output[str]:
|
930
|
+
"""
|
931
|
+
Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
|
932
|
+
"""
|
933
|
+
return pulumi.get(self, "network")
|
934
|
+
|
935
|
+
@property
|
936
|
+
@pulumi.getter(name="nextHopIlbIp")
|
937
|
+
def next_hop_ilb_ip(self) -> pulumi.Output[Optional[str]]:
|
938
|
+
"""
|
939
|
+
The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets.
|
940
|
+
"""
|
941
|
+
return pulumi.get(self, "next_hop_ilb_ip")
|
942
|
+
|
943
|
+
@property
|
944
|
+
@pulumi.getter(name="nextHopOtherRoutes")
|
945
|
+
def next_hop_other_routes(self) -> pulumi.Output[Optional[str]]:
|
946
|
+
"""
|
947
|
+
Other routes that will be referenced to determine the next hop of the packet.
|
948
|
+
Possible values are: `DEFAULT_ROUTING`.
|
949
|
+
"""
|
950
|
+
return pulumi.get(self, "next_hop_other_routes")
|
951
|
+
|
952
|
+
@property
|
953
|
+
@pulumi.getter
|
954
|
+
def priority(self) -> pulumi.Output[Optional[int]]:
|
955
|
+
"""
|
956
|
+
The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
|
957
|
+
"""
|
958
|
+
return pulumi.get(self, "priority")
|
959
|
+
|
960
|
+
@property
|
961
|
+
@pulumi.getter
|
962
|
+
def project(self) -> pulumi.Output[str]:
|
963
|
+
"""
|
964
|
+
The ID of the project in which the resource belongs.
|
965
|
+
If it is not provided, the provider project is used.
|
966
|
+
"""
|
967
|
+
return pulumi.get(self, "project")
|
968
|
+
|
969
|
+
@property
|
970
|
+
@pulumi.getter(name="pulumiLabels")
|
971
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
972
|
+
"""
|
973
|
+
The combination of labels configured directly on the resource
|
974
|
+
and default labels configured on the provider.
|
975
|
+
"""
|
976
|
+
return pulumi.get(self, "pulumi_labels")
|
977
|
+
|
978
|
+
@property
|
979
|
+
@pulumi.getter(name="updateTime")
|
980
|
+
def update_time(self) -> pulumi.Output[str]:
|
981
|
+
"""
|
982
|
+
Time when the policy-based route was created.
|
983
|
+
"""
|
984
|
+
return pulumi.get(self, "update_time")
|
985
|
+
|
986
|
+
@property
|
987
|
+
@pulumi.getter(name="virtualMachine")
|
988
|
+
def virtual_machine(self) -> pulumi.Output[Optional['outputs.PolicyBasedRouteVirtualMachine']]:
|
989
|
+
"""
|
990
|
+
VM instances to which this policy-based route applies to.
|
991
|
+
Structure is documented below.
|
992
|
+
"""
|
993
|
+
return pulumi.get(self, "virtual_machine")
|
994
|
+
|
995
|
+
@property
|
996
|
+
@pulumi.getter
|
997
|
+
def warnings(self) -> pulumi.Output[Sequence['outputs.PolicyBasedRouteWarning']]:
|
998
|
+
"""
|
999
|
+
If potential misconfigurations are detected for this route, this field will be populated with warning messages.
|
1000
|
+
Structure is documented below.
|
1001
|
+
"""
|
1002
|
+
return pulumi.get(self, "warnings")
|
1003
|
+
|